@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --red: #d71920;
    --red2: #ff3138;
    --black: #07090b;
    --dark: #0d1013;
    --white: #f5f5f2;
    --muted: #9da2a8;
    --line: #282d31;
    --max: 1180px
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, Arial, sans-serif;
    background: #f5f5f2;
    color: #121416;
    line-height: 1.6
}

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

button,
input,
textarea {
    font: inherit
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 9, 11, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #25282b;
    color: white
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

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

.brand-mark {
    width: 80px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 10px;
}

.brand strong {
    display: block;
    font-family: 'Barlow Condensed';
    font-size: 25px;
    line-height: .9
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #aaa;
    margin-top: 3px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase
}

.main-nav a {
    color: #ddd;
    transition: .2s
}

.main-nav a:hover,
.main-nav a.active {
    color: white
}

.nav-cta {
    background: var(--red);
    padding: 11px 15px;
    border-radius: 4px !important;
    color: #fff !important
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 28px
}

.hero {
    position: relative;
    min-height: 650px;
    background: #07090b;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 45%, rgba(215, 25, 32, .25), transparent 25%), linear-gradient(90deg, #07090b 20%, rgba(7, 9, 11, .7) 55%, rgba(7, 9, 11, .2)), url('../images/dragon-fbac.svg') center/cover no-repeat
}

.hero-content {
    position: relative;
    padding: 90px 0
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 10px
}

.hero h1 {
    font: 900 clamp(55px, 8vw, 105px)/.83 'Barlow Condensed';
    letter-spacing: -2px
}

.hero h1 span {
    color: #fff;
    margin-top: 10px;
    display: flex;
}

.hero-text {
    max-width: 530px;
    color: #c7c9ca;
    margin: 25px 0 30px;
    font-size: 16px
}

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

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 4px;
    padding: 13px 22px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer
}

.btn-primary {
    background: var(--red);
    color: white
}

.btn-primary:hover {
    background: var(--red2)
}

.btn-ghost {
    border: 1px solid #555;
    color: white
}

.btn-dark {
    background: #101214;
    color: white
}

.values {
    background: #0b0d0f;
    color: white;
    border-top: 1px solid #292c2f
}

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

.values article {
    padding: 28px 25px;
    border-right: 1px solid #24282b
}

.values article:last-child {
    border: 0
}

.values span {
    color: var(--red);
    font-size: 22px
}

.values h3 {
    font: 700 23px 'Barlow Condensed';
    text-transform: uppercase;
    margin: 4px 0
}

.values p {
    font-size: 12px;
    color: #999
}

.section {
    padding: 90px 0
}

.section-dark {
    background: #0b0d0f;
    color: white
}

.section-light {
    background: #e9e9e5
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px
}

h2 {
    font: 800 clamp(40px, 5vw, 60px)/.95 'Barlow Condensed';
    text-transform: uppercase;
    letter-spacing: -.5px
}

.text-button {
    background: none;
    border: 0;
    color: var(--red);
    font-weight: 800;
    cursor: pointer
}

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

.news-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden
}

.news-image {
    height: 190px;
    background: linear-gradient(135deg, #15191d, #42474d);
    display: flex;
    align-items: end;
    color: #fff;
    font: 800 34px 'Barlow Condensed';
    position: relative
}

.news-image:after {
    content: 'FBAC';
    position: absolute;
    right: 12px;
    top: 10px;
    color: rgba(255, 255, 255, .35);
    font-size: 14px
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.hidden-news {
    display: none;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

/* =========================
   GALERIE
   ========================= */

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

.gallery-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    min-width: 0;
    border: 1px solid #303439;
    background: #171a1e;
    cursor: pointer;
}

.gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.15) 65%,
            transparent);
}

.gallery-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 18px;
}

.gallery-overlay .tag {
    display: inline-block;
    margin-bottom: 6px;
}

.gallery-overlay h3 {
    margin: 0;
    font: 800 26px/1 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}

.gallery-overlay p {
    margin: 6px 0 0;
    font-size: 12px;
    color: #ccc;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.hidden-gallery {
    display: none;
}

#showMoreGallery {
    display: block;
    margin: 30px auto 0;
}

/* =========================
   LIGHTBOX GALERIE
   ========================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.94);
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;

    width: min(1100px, 90vw);
    max-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightboxImage {
    display: block;

    max-width: 100%;
    max-height: 80vh;

    object-fit: contain;

    border: 1px solid #303439;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 12px;

    color: #fff;
}

.lightbox-caption strong {
    font: 700 20px/1 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
}

#lightboxCounter {
    font-size: 13px;
    color: #aaa;
    white-space: nowrap;
}


/* BOUTONS */

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;

    z-index: 3;

    border: 0;
    background: none;

    color: #fff;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--red);
}


/* FERMER */

.lightbox-close {
    top: 20px;
    right: 25px;

    font-size: 42px;
    line-height: 1;
}


/* PRECEDENTE */

.lightbox-prev,
.lightbox-next {
    top: 50%;

    transform: translateY(-50%);

    font-size: 70px;
    line-height: 1;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}


/* MOBILE */

@media (max-width: 720px) {

    .gallery-lightbox {
        padding: 15px;
    }

    .lightbox-content {
        width: 100%;
    }

    #lightboxImage {
        max-width: 100%;
        max-height: 75vh;
    }

    .lightbox-caption strong {
        font-size: 17px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 50px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }
}

.news-body {
    padding: 18px
}

.tag {
    font-size: 10px;
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase
}

.news-body h3 {
    font: 700 27px/1 'Barlow Condensed';
    text-transform: uppercase;
    margin: 7px 0
}

.news-body p {
    font-size: 13px;
    color: #474747;
}

.news-date {
    font-size: 10px;
    color: #999;
    margin-top: 13px
}

/* .events-list {
    display: grid;
    gap: 10px
} */

.events-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* .event {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    align-items: center;
    gap: 25px;
    padding: 20px;
    border: 1px solid #292e32;
    background: #111418
} */

.event {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    border: 1px solid #292e32;
    background: #111418;
    min-width: 300px;
    width: 48%;
}

.event-date {
    font: 800 34px/1 'Barlow Condensed';
    text-transform: uppercase
}

.event-date small {
    display: block;
    color: var(--red);
    font-size: 15px
}

.event h3 {
    font: 700 24px 'Barlow Condensed';
    text-transform: uppercase
}

.event p {
    font-size: 12px;
    color: #9ea2a6
}

.event-type {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid #632126;
    padding: 5px 8px;
    width: max-content;
}

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

.split>div:first-child p:not(.eyebrow) {
    max-width: 580px;
    color: #666;
    margin: 16px 0
}

.accent {
    color: var(--red)
}

.club-card {
    min-height: 390px;
    background: linear-gradient(145deg, #111418, #050607);
    color: white;
    border-radius: 6px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.club-card:after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 35px solid rgba(215, 25, 32, .15);
    border-radius: 50%;
    right: -100px;
    top: -80px
}

.club-card-big {
    font: 900 110px/.8 'Barlow Condensed';
    color: var(--red);
    position: relative;
    z-index: 1
}

.club-card p {
    font: 700 13px 'Barlow Condensed';
    letter-spacing: 2px;
    position: relative;
    z-index: 1
}

.club-stats {
    display: flex;
    gap: 25px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin-top: 55px;
    position: relative;
    z-index: 1;
}

.club-stats strong {
    display: block;
    font: 800 30px 'Barlow Condensed'
}

.club-stats span {
    font-size: 9px;
    text-transform: uppercase;
    color: #888
}

.schedule-wrap {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 18px
}

.schedule-card,
.disciplines {
    background: #fff;
    border: 1px solid #d7d7d2;
    border-radius: 5px;
    padding: 25px
}

.schedule-card h3,
.disciplines h3 {
    font: 800 30px 'Barlow Condensed';
    text-transform: uppercase;
    margin-bottom: 12px
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 10px;
    border-top: 1px solid #ddd;
    padding: 13px 0;
    font-size: 13px
}

.schedule-row em {
    font-style: normal;
    color: var(--red);
    text-align: right
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.chips span {
    background: #111418;
    color: white;
    border-radius: 3px;
    padding: 9px 11px;
    font: 600 12px 'Barlow Condensed';
    text-transform: uppercase
}

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

.prices article {
    background: #f0f0ec;
    border: 1px solid #d4d4cf;
    padding: 30px;
    text-align: center
}

.prices article.featured {
    background: #111418;
    color: white;
    border-color: #111418
}

.prices span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px
}

.prices strong {
    display: block;
    font: 900 65px 'Barlow Condensed';
    color: var(--red);
    line-height: 1.1
}

.prices small {
    font-size: 11px;
    color: #888
}

.featured small {
    color: #aaa
}

.registration-box {
    margin-top: 18px;
    background: #111418;
    color: white;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px
}

.registration-box h3 {
    font: 800 28px 'Barlow Condensed';
    text-transform: uppercase
}

.registration-box p {
    font-size: 12px;
    color: #999;
    max-width: 650px
}

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

.contact-grid>div>p:not(.eyebrow) {
    color: #666;
    max-width: 530px;
    margin: 15px 0
}

.contact-info {
    margin-top: 25px;
    display: grid;
    gap: 8px;
    font-size: 13px
}

.contact-form {
    display: grid;
    gap: 14px
}

.contact-form label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase
}

.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    border: 1px solid #d2d2ce;
    background: #fff;
    padding: 13px;
    outline: none
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--red)
}

.form-message {
    font-size: 12px;
    color: var(--red)
}

.form-status {
    width: 100%;
    min-height: 250px;
    box-sizing: border-box;
    padding: 40px 20px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    text-align: center;
    background: #111418;
    color: white;
}

.form-status.active {
    display: flex;
}

/* =========================
   LOADER
   ========================= */

.loader {
    width: min(280px, 80%);
    height: 4px;
    background: #292d32;
    overflow: hidden;
    margin-bottom: 25px;
}

.loader span {
    display: block;
    width: 40%;
    height: 100%;
    background: #e30613;

    animation: loaderMove 1.2s ease-in-out infinite;
}

.form-success {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.form-success svg {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    overflow: visible;
}

.form-success circle {
    fill: none;
    stroke: #e30613;
    stroke-width: 2;
    stroke-dasharray: 151;
    stroke-dashoffset: 151;
    animation: drawCircle 0.6s ease forwards;
}

.form-success path {
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 0.4s ease 0.5s forwards;
}

.form-success strong {
    opacity: 0;
    animation: successText 0.4s ease 0.8s forwards;
}

.form-success p {
    opacity: 0;
    margin-top: 8px;
    animation: successText 0.4s ease 1s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes successText {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.footer {
    background: #07090b;
    color: white;
    padding: 55px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px
}

.footer p {
    color: #777;
    font-size: 12px;
    max-width: 260px;
    margin-top: 15px
}

.footer h4 {
    font: 700 20px 'Barlow Condensed';
    text-transform: uppercase;
    margin-bottom: 12px
}

.footer-grid>div>a {
    display: block;
    color: #888;
    font-size: 12px;
    margin: 6px 0
}

.socials {
    display: flex;
    gap: 8px
}

.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid #333;
    display: grid !important;
    place-items: center;
    border-radius: 50%;
    color: white !important
}

.copyright {
    border-top: 1px solid #222;
    margin-top: 45px;
    padding-top: 18px;
    color: #555;
    font-size: 10px
}

code {
    background: #202328;
    padding: 2px 5px
}

@media(max-width:900px) {
    .main-nav {
        gap: 12px
    }

    .split,
    .contact-grid {
        gap: 35px
    }

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

    .news-grid {
        grid-template-columns: 1fr 1fr
    }

    .schedule-wrap {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
}

@media(max-width:720px) {
    .container {
        width: min(calc(100% - 28px), var(--max))
    }

    .menu-toggle {
        display: block
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #080a0c;
        padding: 15px 20px;
        flex-direction: column;
        align-items: stretch;
        border-bottom: 1px solid #25282b
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        padding: 8px
    }

    .hero {
        min-height: 600px
    }

    .hero h1 {
        font-size: 65px
    }

    .section {
        padding: 65px 0
    }

    .section-heading {
        align-items: start;
        flex-direction: column
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-overlay {
        padding: 16px;
    }

    .gallery-overlay h3 {
        font-size: 24px;
    }

    .gallery-item:hover img {
        transform: none;
    }

    .values-grid,
    .news-grid,
    .split,
    .prices,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .values article {
        border-right: 0;
        border-bottom: 1px solid #24282b
    }

    .event {
        width: 100%;
    }

    .event-type {
        display: flex;
        /* width: 100%; */
        justify-content: space-around;
    }



    .registration-box {
        align-items: flex-start;
        flex-direction: column
    }

    .club-card {
        min-height: 320px
    }

    .club-card-big {
        font-size: 85px
    }

    .club-stats {
        margin-top: 35px
    }

    .schedule-row {
        grid-template-columns: 1fr 1.3fr
    }

    @media (max-width: 720px) {
        .schedule-row em {
            display: flex;
        }
    }
}

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

    50% {
        transform: translateX(150%);
    }

    100% {
        transform: translateX(250%);
    }
}

.form-status strong {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.form-status small {
    margin-top: 6px;
    color: #8c9299;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
}

@media (max-width: 600px) {

    .form-status {
        min-height: 220px;
        padding: 30px 15px;
    }

    .loader {
        width: min(240px, 85%);
    }

    .form-status strong {
        font-size: 1.3rem;
    }
}