/* ============================================================
   PAGE CONTACT
============================================================ */

.aa-contact-page {
    --aa-yellow: #f3c400;
    --aa-bg: #070707;
    --aa-surface: #111111;
    --aa-border: rgba(255, 255, 255, 0.12);
    --aa-text: #ffffff;
    --aa-muted: #999999;

    background: var(--aa-bg);
    color: var(--aa-text);

    overflow: hidden;
}


/* ============================================================
   GLOBAL
============================================================ */

.aa-contact-container {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
}

.aa-contact-section {
    padding: 90px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aa-contact-kicker {
    display: block;

    margin-bottom: 17px;

    color: var(--aa-yellow);

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.aa-contact-heading {
    margin-bottom: 42px;
}

.aa-contact-heading h2,
.aa-contact-location-intro h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(38px, 4vw, 58px);
    font-weight: 800;
    line-height: 1;

    letter-spacing: -0.045em;
}

.aa-contact-heading h2 strong,
.aa-contact-location-intro h2 strong {
    color: var(--aa-yellow);
    font-weight: inherit;
}


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

.aa-contact-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    background: #050505;

    overflow: hidden;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* IMAGE */

.aa-contact-hero::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 72%;

    background-image:
        url("https://archers-agathois.fr/wp-content/uploads/2026/08/azul222-archery-2692634-scaled.jpg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    z-index: 0;
}


/* FONDU */

.aa-contact-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #050505 0%,
            #050505 24%,
            rgba(5, 5, 5, 0.97) 31%,
            rgba(5, 5, 5, 0.80) 43%,
            rgba(5, 5, 5, 0.40) 60%,
            rgba(5, 5, 5, 0.08) 80%,
            rgba(5, 5, 5, 0.02) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 0%,
            rgba(0, 0, 0, 0.03) 65%,
            rgba(0, 0, 0, 0.30) 100%
        );
}

.aa-contact-hero-inner {
    position: relative;
    z-index: 3;

    padding-top: 55px;
    padding-bottom: 55px;
}

.aa-contact-breadcrumb {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 50px;

    color: #777;

    font-size: 12px;
}

.aa-contact-breadcrumb a {
    color: #aaa;

    text-decoration: none;

    transition: color 0.2s ease;
}

.aa-contact-breadcrumb a:hover {
    color: var(--aa-yellow);
}

.aa-contact-hero-content {
    max-width: 650px;
}

.aa-contact-hero-content h1 {
    margin: 0 0 26px;

    color: #fff;

    font-size: clamp(60px, 6vw, 92px);
    font-weight: 900;
    line-height: 0.92;

    letter-spacing: -0.06em;
}

.aa-contact-hero-content p {
    max-width: 570px;

    margin: 0;

    color: #d0d0d0;

    font-size: 17px;
    line-height: 1.7;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.9);
}

.aa-contact-hero-line {
    width: 65px;
    height: 3px;

    margin-top: 27px;

    background: var(--aa-yellow);

    border-radius: 999px;
}


/* ============================================================
   COORDONNÉES
============================================================ */

.aa-contact-details {
    background:
        linear-gradient(
            180deg,
            #080808,
            #090909
        );
}

.aa-contact-cards {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.aa-contact-card {
    min-height: 175px;

    display: flex;
    align-items: center;

    gap: 25px;

    padding: 30px;

    border: 1px solid var(--aa-border);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(243, 196, 0, 0.05),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #171717,
            #0e0e0e
        );

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.aa-contact-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(243, 196, 0, 0.55);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(243, 196, 0, 0.08),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #191919,
            #101010
        );
}


/* ============================================================
   CERCLES DES ICÔNES
============================================================ */

.aa-contact-card-icon {
    position: relative;

    width: 70px;
    height: 70px;

    min-width: 70px;
    min-height: 70px;

    flex: 0 0 70px;

    padding: 0;

    border: 1px solid var(--aa-yellow);
    border-radius: 50%;

    box-sizing: border-box;
}


/* ============================================================
   ICÔNE EMAIL
============================================================ */

.aa-contact-icon-mail::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 23px;
    height: 16px;

    border: 2px solid var(--aa-yellow);
    border-radius: 2px;

    box-sizing: border-box;

    transform: translate(-50%, -50%);
}

.aa-contact-icon-mail::after {
    content: "";

    position: absolute;

    top: 45%;
    left: 50%;

    width: 11px;
    height: 11px;

    border-right: 2px solid var(--aa-yellow);
    border-bottom: 2px solid var(--aa-yellow);

    box-sizing: border-box;

    transform:
        translate(-50%, -50%)
        rotate(45deg);
}


/* ============================================================
   ICÔNE TÉLÉPHONE
============================================================ */

.aa-contact-icon-phone::before {
    content: "☎";

    position: absolute;

    top: 50%;
    left: 50%;

    color: var(--aa-yellow);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 29px;
    font-weight: 400;
    line-height: 1;

    transform: translate(-50%, -50%);
}


/* ============================================================
   ICÔNE LOCALISATION
============================================================ */

.aa-contact-icon-location::before {
    content: "";

    position: absolute;

    top: 46%;
    left: 50%;

    width: 23px;
    height: 23px;

    border: 2px solid var(--aa-yellow);

    border-radius:
        50% 50% 50% 0;

    box-sizing: border-box;

    transform:
        translate(-50%, -50%)
        rotate(-45deg);
}

.aa-contact-icon-location::after {
    content: "";

    position: absolute;

    top: 46%;
    left: 50%;

    width: 7px;
    height: 7px;

    background: var(--aa-yellow);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}


/* ============================================================
   TEXTE DES CARTES
============================================================ */

.aa-contact-card-content {
    min-width: 0;
}

.aa-contact-card-content span {
    display: block;

    margin-bottom: 10px;

    color: var(--aa-yellow);

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

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.aa-contact-card-content strong {
    display: block;

    color: #fff;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;

    overflow-wrap: anywhere;
}

.aa-contact-card-content small {
    display: block;

    margin-top: 10px;

    color: #858585;

    font-size: 12px;
}


/* ============================================================
   VENIR NOUS VOIR
============================================================ */

.aa-contact-location {
    padding-bottom: 0;

    background:
        radial-gradient(
            circle at 8% 30%,
            rgba(243, 196, 0, 0.045),
            transparent 24%
        ),
        #070707;
}

.aa-contact-location-intro {
    max-width: 620px;

    margin-bottom: 45px;
}

.aa-contact-location-intro p {
    max-width: 580px;

    margin: 23px 0 30px;

    color: var(--aa-muted);

    font-size: 15px;
    line-height: 1.75;
}


/* ============================================================
   BOUTON HORAIRES
============================================================ */

.aa-contact-button {
    min-height: 50px;

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

    gap: 24px;

    padding: 0 24px;

    border: 1px solid var(--aa-yellow);
    border-radius: 7px;

    color: var(--aa-yellow);

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

    letter-spacing: 0.06em;

    text-decoration: none;
    text-transform: uppercase;

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

.aa-contact-button:hover {
    background: var(--aa-yellow);

    color: #080808;

    transform: translateY(-2px);
}


/* ============================================================
   GOOGLE MAPS
============================================================ */

.aa-contact-map {
    position: relative;

    width: 100%;
    height: 360px;

    margin-top: 55px;

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

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);

    overflow: hidden;

    background: #111;
}

.aa-contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    filter:
        grayscale(1)
        brightness(0.72)
        contrast(1.15);
}


/* ============================================================
   CTA
============================================================ */

.aa-contact-cta {
    padding: 55px 0 80px;

    background: #070707;
}

.aa-contact-cta-card {
    min-height: 125px;

    display: grid;

    grid-template-columns:
        auto 1fr auto;

    gap: 26px;

    align-items: center;

    padding: 27px 36px;

    border: 1px solid var(--aa-yellow);
    border-radius: 14px;

    background:
        linear-gradient(
            120deg,
            rgba(243, 196, 0, 0.07),
            #131313 45%,
            #0b0b0b
        );

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);
}

.aa-contact-cta-icon {
    width: 64px;
    height: 64px;

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

    border: 2px solid var(--aa-yellow);
    border-radius: 50%;

    color: var(--aa-yellow);

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

.aa-contact-cta-content span {
    display: block;

    margin-bottom: 6px;

    color: #fff;

    font-size: 19px;
    font-weight: 900;

    text-transform: uppercase;
}

.aa-contact-cta-content p {
    margin: 0;

    color: #999;

    font-size: 13px;
}

.aa-contact-cta-button {
    min-height: 50px;

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

    gap: 24px;

    padding: 0 25px;

    border-radius: 7px;

    background: var(--aa-yellow);

    color: #080808;

    font-size: 11px;
    font-weight: 900;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.aa-contact-cta-button:hover {
    color: #080808;

    transform: translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(243, 196, 0, 0.17);
}


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

@media (max-width: 1000px) {

    .aa-contact-cards {
        grid-template-columns: 1fr;
    }

    .aa-contact-card {
        min-height: 140px;
    }

}


/* ============================================================
   RESPONSIVE 800PX
============================================================ */

@media (max-width: 800px) {

    .aa-contact-container {
        width: min(
            calc(100% - 36px),
            1280px
        );
    }

    .aa-contact-section {
        padding: 65px 0;
    }

    .aa-contact-location {
        padding-bottom: 0;
    }


    /* HERO */

    .aa-contact-hero {
        min-height: 470px;
    }

    .aa-contact-hero::before {
        width: 100%;

        opacity: 0.65;

        background-position: 58% center;
    }

    .aa-contact-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(5, 5, 5, 0.96) 0%,
                rgba(5, 5, 5, 0.88) 55%,
                rgba(5, 5, 5, 0.45) 100%
            );
    }


    /* CARTE GOOGLE */

    .aa-contact-map {
        height: 320px;
    }


    /* CTA */

    .aa-contact-cta-card {
        grid-template-columns:
            auto 1fr;
    }

    .aa-contact-cta-button {
        grid-column: 1 / -1;
    }

}


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

@media (max-width: 560px) {

    .aa-contact-container {
        width: calc(100% - 28px);
    }

    .aa-contact-section {
        padding: 55px 0;
    }

    .aa-contact-location {
        padding-bottom: 0;
    }


    /* HERO */

    .aa-contact-hero {
        min-height: 430px;
    }

    .aa-contact-hero::before {
        width: 100%;

        opacity: 0.55;

        background-position: 62% center;
    }

    .aa-contact-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(5, 5, 5, 0.97) 0%,
                rgba(5, 5, 5, 0.90) 58%,
                rgba(5, 5, 5, 0.58) 100%
            );
    }

    .aa-contact-hero-content h1 {
        font-size: 52px;
    }

    .aa-contact-hero-content p {
        font-size: 15px;
    }


    /* CARTES CONTACT */

    .aa-contact-card {
        min-height: 120px;

        gap: 18px;

        padding: 22px 20px;
    }

    .aa-contact-card-icon {
        width: 56px;
        height: 56px;

        min-width: 56px;
        min-height: 56px;

        flex-basis: 56px;
    }

    .aa-contact-card-content strong {
        font-size: 15px;
    }


    /* EMAIL MOBILE */

    .aa-contact-icon-mail::before {
        width: 20px;
        height: 14px;
    }

    .aa-contact-icon-mail::after {
        width: 10px;
        height: 10px;
    }


    /* TÉLÉPHONE MOBILE */

    .aa-contact-icon-phone::before {
        font-size: 25px;
    }


    /* LOCALISATION MOBILE */

    .aa-contact-icon-location::before {
        width: 20px;
        height: 20px;
    }

    .aa-contact-icon-location::after {
        width: 6px;
        height: 6px;
    }


    /* CARTE */

    .aa-contact-map {
        height: 270px;

        margin-top: 40px;
    }


    /* CTA */

    .aa-contact-cta {
        padding: 45px 0 60px;
    }

    .aa-contact-cta-card {
        grid-template-columns: 1fr;

        padding: 26px;

        text-align: center;
    }

    .aa-contact-cta-icon {
        margin: auto;
    }

    .aa-contact-cta-button {
        width: 100%;
    }

}