/* =========================================================
   BREAD AND BUTTER
   ========================================================= */

:root {
    --orange: #ff7a24;
    --orange-dark: #ef5727;
    --yellow: #ffc637;
    --cream: #f7f2e8;
    --white: #ffffff;
    --black: #171310;
    --brown: #2b1b13;
    --text: #302a25;
    --muted: #6d655f;
    --discord: #5865f2;

    --green-card: #dcefd4;
    --red-card: #f6d7d4;
    --blue-card: #d6e8f5;
    --yellow-card: #f6e5b8;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.45;

    color: var(--text);
    background: var(--cream);
}

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

a {
    color: inherit;
}

.page-width {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   TITRES
   ========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h2 {
    margin-bottom: 20px;

    color: var(--black);

    font-size: 25px;
    line-height: 1;

    text-transform: uppercase;
}

h3 {
    color: var(--black);
}


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

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255,255,255,.16) 0,
            rgba(255,255,255,.16) 100px,
            transparent 102px
        ),
        linear-gradient(
            120deg,
            #ffc32d 0%,
            #ff9825 55%,
            #f45c2c 100%
        );

    border-bottom: 5px solid var(--orange-dark);
}

.hero::after {
    content: "";

    position: absolute;
    right: -80px;
    bottom: -160px;

    width: 300px;
    height: 300px;

    border: 35px solid rgba(255,255,255,.08);

    transform: rotate(25deg);
}

.hero-inner {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));
    min-height: 330px;

    margin: 0 auto;
    padding: 30px 0;

    display: grid;
    grid-template-columns: 260px 1fr 190px;
    align-items: center;
    gap: 42px;
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.hero-logo img {
    width: 255px;
    height: auto;
}

.hero-kicker {
    margin-bottom: 5px;

    color: var(--brown);

    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-main h1 {
    max-width: 700px;
    margin-bottom: 14px;

    color: var(--black);

    font-size: clamp(34px, 3.2vw, 48px);
    line-height: .95;
    letter-spacing: -1.5px;

    text-transform: uppercase;
}

.hero-tags {
    margin-bottom: 20px;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-side {
    display: flex;
    flex-direction: column;

    color: var(--black);

    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    line-height: .95;

    transform: rotate(-4deg);
}


/* =========================================================
   BOUTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 17px;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

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

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-light {
    background: #ffe674;
    color: var(--black);

    border: 1px solid rgba(0,0,0,.15);
}

.btn-white {
    background: var(--white);
    color: var(--discord);

    white-space: nowrap;
}


/* =========================================================
   ASSOCIATION + ACTIVITÉS
   ========================================================= */

.intro-section {
    padding: 38px 0 42px;

    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 55px;
}

.about p {
    max-width: 430px;
    margin-bottom: 11px;
}

.about-signature {
    margin-top: 18px;

    font-size: 18px;
    line-height: .9;
    font-weight: 900;
    font-style: italic;

    transform: rotate(-3deg);
}

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

.activity-card {
    min-height: 190px;
    padding: 20px 17px;

    background: rgba(255,255,255,.52);

    border-radius: 13px;

    text-align: center;
}

.round-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

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

    border-radius: 50%;

    background: #f15c38;

    font-size: 27px;
}

.round-icon.orange {
    background: #f7a52a;
}

.round-icon.red {
    background: #ef5735;
}

.activity-card h3 {
    margin-bottom: 8px;

    font-size: 15px;
    line-height: 1.05;

    text-transform: uppercase;
}

.activity-card p {
    margin: 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.35;
}


/* =========================================================
   PHOTOS
   ========================================================= */

.photos-section {
    padding: 28px 0 24px;

    background: #1d1916;
    color: var(--white);
}

.photos-section .section-heading {
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section-heading-light {
    color: var(--white);
}

.section-heading-light h2 {
    margin: 0;

    color: var(--white);
}

.section-heading-light span {
    margin-left: auto;

    color: #ffb52b;

    font-size: 12px;
    font-weight: 700;
}

.gallery {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;
}

.photo-grid {
    min-width: 0;
    flex: 1;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gallery-photo {
    height: 210px;

    overflow: hidden;

    background: #29231f;

    border-radius: 10px;
}

.gallery-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.gallery-arrow {
    width: 34px;
    height: 34px;

    padding: 0;
    flex-shrink: 0;

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

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    background: rgba(0,0,0,.35);
    color: var(--white);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.gallery-arrow:hover {
    background: var(--orange);
    color: var(--black);

    transform: scale(1.05);
}

.gallery-dots {
    min-height: 8px;
    margin-top: 10px;

    display: flex;
    justify-content: center;
    gap: 6px;
}

.gallery-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.35);

    cursor: pointer;
}

.gallery-dot.active {
    background: var(--orange);
}

.gallery-empty {
    grid-column: 1 / -1;

    padding: 50px;

    text-align: center;
}


/* =========================================================
   DISCORD
   ========================================================= */

.discord-box {
    width: 100%;

    margin-top: 20px;
    padding: 18px 22px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;

    background:
        linear-gradient(
            120deg,
            #4854dc,
            #6672ff
        );

    border-radius: 16px;
}

.discord-symbol {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

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

    background: var(--white);
    color: var(--discord);

    border-radius: 50%;
}

.discord-symbol svg {
    display: block;

    width: 38px;
    height: 38px;

    fill: var(--discord);
}

.discord-text {
    min-width: 0;
}

.discord-text h3 {
    margin: 0 0 3px;

    color: var(--white);

    font-size: 20px;

    text-transform: uppercase;
}

.discord-text p {
    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 13px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 17px;

    background: var(--white);
    color: var(--discord);

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 800;

    white-space: nowrap;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.discord-button:hover {
    background: #f5f5f5;

    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}


/* =========================================================
   NOUS SOUTENIR
   ========================================================= */

.support-section {
    padding: 30px 0 35px;

    background: var(--cream);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.support-card {
    min-width: 0;
    min-height: 155px;

    padding: 18px;

    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-content: start;
    gap: 12px;

    border-radius: 12px;
}

.support-green {
    background: var(--green-card);
}

.support-red {
    background: var(--red-card);
}

.support-blue {
    background: var(--blue-card);
}

.support-yellow {
    background: var(--yellow-card);
}

.support-icon {
    width: 46px;
    height: 46px;

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

    background: rgba(255,255,255,.55);

    border-radius: 50%;

    font-size: 22px;
}

.support-card h3 {
    margin-bottom: 6px;

    font-size: 15px;
}

.support-card p {
    margin-bottom: 12px;

    font-size: 12px;
    line-height: 1.35;
}

.support-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    max-width: 100%;

    padding: 7px 10px;

    background: rgba(255,255,255,.65);

    border: 1px solid rgba(0,0,0,.35);
    border-radius: 7px;

    color: var(--black);
    text-decoration: none;

    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;

    white-space: nowrap;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 25px 0 15px;

    background: #191512;
    color: var(--white);
}

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

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

.footer-brand img {
    width: 80px;
    height: auto;
}

.footer-brand strong,
.footer-social strong {
    font-size: 15px;
}

.footer-brand p {
    margin: 4px 0 0;

    color: rgba(255,255,255,.65);

    font-size: 11px;
}

.footer-social {
    text-align: right;
}

.social-links {
    margin-top: 10px;

    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;

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

    background: rgba(255,255,255,.09);
    color: var(--white);

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;

    text-decoration: none;

    transition:
        transform .15s ease,
        background .15s ease,
        color .15s ease;
}

.social-links a:hover {
    background: var(--orange);
    color: var(--black);

    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;

    fill: currentColor;
}

.social-links span {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    white-space: nowrap;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 12px;

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;

    color: rgba(255,255,255,.35);

    font-size: 10px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

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

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


@media (max-width: 900px) {

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

    .hero-logo img {
        width: 180px;
    }

    .hero-side {
        display: none;
    }

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

    .about p {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

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

    .gallery-photo {
        height: 240px;
    }

    .photos-section .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .section-heading-light span {
        margin-left: 0;
    }
}


@media (max-width: 650px) {

    body {
        font-size: 14px;
    }

    .page-width,
    .hero-inner {
        width: min(100% - 28px, 1180px);
    }


    /* HERO */

    .hero-inner {
        min-height: 0;

        padding: 25px 0 30px;

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-logo img {
        width: 150px;
    }

    .hero-main h1 {
        margin-left: auto;
        margin-right: auto;

        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .hero-kicker {
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }


    /* ASSOCIATION */

    .intro-section {
        padding: 30px 0;
    }

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

    .activity-card {
        min-height: auto;
    }


    /* GALERIE */

    .photos-section {
        padding: 24px 0;
    }

    .gallery {
        gap: 7px;
    }

    .gallery-photo {
        height: 220px;
    }

    .gallery-arrow {
        width: 30px;
        height: 30px;

        font-size: 21px;
    }


    /* DISCORD */

    .discord-box {
        padding: 18px;

        grid-template-columns: 1fr;
        gap: 12px;

        text-align: center;
    }

    .discord-symbol {
        margin: 0 auto;
    }

    .discord-text h3 {
        font-size: 18px;
    }

    .discord-button {
        justify-self: center;
    }


    /* SOUTIEN */

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

    .support-card {
        min-height: auto;
    }


    /* FOOTER */

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

        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-social {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}


/* =========================================================
   PROCHAINS ÉVÉNEMENTS
   ========================================================= */

.events-section {
    position: relative;
    padding: 55px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.events-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 5px;
    background: var(--orange);
    border-radius: 0 0 999px 999px;
}

.events-section .section-heading {
    margin-bottom: 24px;
}

.events-section .section-kicker {
    margin: 0 0 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
}

.events-section .section-heading h2 {
    margin: 0 0 10px;
}

.events-section .section-heading > p:last-child {
    margin: 0;
}


/* Carrousel */

.events-carousel {
    display: flex;
    align-items: stretch;
    gap: 18px;
}

.events-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}


/* Carte événement */

.event-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 230px;
    padding: 24px;

    background: var(--cream);
    border-radius: 18px;
}

.event-type {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 6px 11px;

    background: var(--yellow);
    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.event-title {
    margin: 0 0 16px;
    font-size: 1.35rem;
    line-height: 1.15;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.event-details p {
    margin: 0;
}

.event-location {
    line-height: 1.4;
}

.event-location a {
    font-weight: 700;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0;
}

.event-meta:empty {
    display: none;
}

.event-meta span {
    padding: 5px 9px;
    background: #fff;
    border-radius: 999px;

    font-size: 0.8rem;
    font-weight: 700;
}

.event-description {
    margin: 8px 0 14px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.event-date {
    font-weight: 700;
}

/* =========================================================
   ACTIONS DES ÉVÉNEMENTS
   ========================================================= */

.event-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

/* Bouton secondaire : Maps */

.event-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;

    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;

    color: var(--black);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;

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

.event-map:hover {
    border-color: var(--orange);
    transform: translateY(-1px);
}


/* Action principale : inscription */

.event-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;

    background: var(--orange);
    border-radius: 10px;

    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;

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

.event-register:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
}


/* Inscription sous forme de texte */

.event-registration {
    margin: auto 0 0;
    padding-top: 14px;

    font-size: 0.85rem;
}


/* Flèches */

.events-prev,
.events-next {
    flex: 0 0 44px;

    border: 0;
    background: transparent;

    font-size: 2.4rem;
    font-weight: 400;

    cursor: pointer;
}

.events-prev:hover,
.events-next:hover {
    transform: scale(1.08);
}


/* Points */

.events-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.events-dot {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #ccc;
    cursor: pointer;
}

.events-dot.active {
    background: var(--orange);
}


/* Tablette */

@media (max-width: 1000px) {
    .events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Mobile */

@media (max-width: 700px) {
    .events-section {
        padding: 55px 0;
    }

    .event-actions {
        flex-wrap: wrap;
    }

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

    .event-card {
        min-height: 260px;
        padding: 20px;
    }

    .events-prev,
    .events-next {
        flex-basis: 30px;
        font-size: 2rem;
    }
}

/* =========================================================
   AUTORISATION PARENTALE
   ========================================================= */

.events-minors {
    margin-top: 16px;
    padding: 18px 20px;

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

    background: var(--cream);
    border-left: 4px solid var(--orange);
    border-radius: 12px;
}

.events-minors-text {
    min-width: 0;
}

.events-minors-text strong {
    display: block;
    margin-bottom: 5px;

    color: var(--black);
    font-size: 0.95rem;
}

.events-minors-text p {
    margin: 0;

    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.events-minors-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    background: var(--orange);
    color: #fff;

    border-radius: 9px;

    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 800;

    white-space: nowrap;
}

.events-minors-button:hover {
    background: var(--orange);
    filter: brightness(0.95);
}

@media (max-width: 700px) {
    .events-minors {
        align-items: flex-start;
        flex-direction: column;
    }

    .events-minors-button {
        width: 100%;
    }
}

@media (min-width: 1001px) {

    .events-grid.events-one {
        grid-template-columns: minmax(0, 360px);
        justify-content: center;
    }

    .events-grid.events-two {
        grid-template-columns:
            repeat(2, minmax(0, 360px));
        justify-content: center;
    }
}