* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #0c1424;
    color: #f5f1e8;
    font-family: Arial, Helvetica, sans-serif;
}

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


/* =========================
   HEADER
   ========================= */

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    padding: 28px 0;
    background: transparent;
}

/* Pages internes */
.inner-page .site-header {
    position: relative;
    background: #0c1424;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    color: #f5f1e8;
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-nav {
    display: flex;
    gap: 28px;
}

.site-nav a {
    color: #f5f1e8;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: #d9482f;
}


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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    background-image:
        url("/media/arraskendoclub.jpg");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(5, 10, 20, 0.92) 0%,
            rgba(5, 10, 20, 0.70) 55%,
            rgba(5, 10, 20, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;

    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
    padding-top: 100px;
}

.eyebrow {
    margin: 0 0 24px;

    color: #d9482f;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.28em;
}

.hero h1 {
    max-width: 900px;
    margin: 0;

    color: #f5f1e8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 700px;
    margin: 42px 0;

    color: rgba(245, 241, 232, 0.88);

    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.6;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 22px;

    padding: 18px 30px;

    border-radius: 999px;

    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
}

.button-primary {
    background: #d9482f;
    color: #fff;
}

.button-primary:hover {
    background: #c63d28;
}

.button span {
    font-size: 1.5rem;
}


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

.site-footer {
    padding: 40px 0;

    background: #080e1a;
    color: rgba(245, 241, 232, 0.65);
}


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

@media (max-width: 700px) {

    .site-header {
        padding: 22px 0;
    }

    .site-title {
        font-size: 1.4rem;
    }

    .site-nav {
        display: none;
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero-text {
        margin: 32px 0;
        font-size: 1.2rem;
    }

    .button {
        padding: 16px 25px;
    }
}

/* =========================
   PAGES
   ========================= */

.page {
    min-height: 80vh;
    padding: 110px 0 100px;

    background-color: #fafaf8;

    background-image:
        radial-gradient(rgba(0, 0, 0, 0.055) 0.7px,
            transparent 0.7px);

    background-size: 6px 6px;

    color: #20232b;
}

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

.page-header .eyebrow {
    margin-bottom: 20px;
}

.page-header h1 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

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

    font-size: 1.25rem;
    line-height: 1.8;
}

.page-content h2,
.page-content h3 {
    margin-top: 70px;

    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.1;
}

.page-content h2 {
    font-size: 2.5rem;
}

.page-content h3 {
    font-size: 1.8rem;
}

.page-content p {
    margin: 0 0 30px;
}

.page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 50px auto;
    border-radius: 18px;
}

.page-content a {
    color: #c9432d;
}

.page-content ul {
    padding-left: 1.5rem;
}

/* =========================
   HEADER / BRAND
   ========================= */

.header-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

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

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

    color: #f5f1e8;
    text-decoration: none;
}

.brand-logo {
    width: 52px;
    height: 52px;

    object-fit: cover;

    border-radius: 50%;
}

.brand-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
}


/* MENU */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 10px;

    border: 0;
    border-radius: 50%;

    background: #d9482f;
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    margin: 4px auto;

    background: white;
}


/* NAVIGATION */

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    color: #f5f1e8;
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a:hover {
    color: #d9482f;
}


/* PAGE HEADER */

.inner-page .site-header {
    position: relative;
}

.inner-page .site-nav a {
    color: #f5f1e8;
}


/* MOBILE */

@media (max-width: 700px) {

    .header-container {
        width: min(100% - 30px, 1200px);
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
    }
}

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

@media (max-width: 700px) {

    .site-header {
        position: absolute;
    }

    .inner-page .site-header {
        position: relative;
    }

    .header-container {
        position: relative;
    }

    .site-nav.is-open {
        display: flex;
        flex-direction: column;
        gap: 0;

        position: absolute;
        top: 65px;
        left: 0;
        right: 0;

        padding: 15px 0;

        background: #0c1424;
        border-radius: 12px;

        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

    .site-nav.is-open a {
        display: block;
        padding: 14px 20px;

        color: #f5f1e8;
    }

    .site-nav.is-open a:hover {
        background: rgba(217, 72, 47, 0.15);
        color: #d9482f;
    }
}

/* =========================
   PRINCIPES DU KENDO
   ========================= */

.principles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    margin: 70px 0;
}

.principle-card {
    padding: 40px 32px;

    background: #0c1424;
    color: #f5f1e8;

    border-radius: 18px;

    min-height: 360px;

    display: flex;
    flex-direction: column;
}

.principle-kanji {
    margin-bottom: 35px;

    color: #d9482f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1;
}

.principle-card h2 {
    margin: 0 0 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    line-height: 1.2;
}

.principle-card h2 span {
    display: block;

    margin-top: 6px;

    color: rgba(245, 241, 232, 0.6);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.principle-card p {
    margin-top: auto;
    margin-bottom: 0;

    color: rgba(245, 241, 232, 0.82);

    font-size: 1rem;
    line-height: 1.7;
}


/* MOBILE */

@media (max-width: 800px) {

    .principles {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

/* =========================
   ENTRAÎNEMENTS
   ========================= */

.training-times {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    margin: 45px 0 70px;
}

.training-day {
    display: flex;
    flex-direction: column;

    padding: 30px;

    background: #0c1424;
    color: #f5f1e8;

    border-radius: 18px;
}

.training-day strong {
    margin-bottom: 10px;

    color: #d9482f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.training-day span {
    font-size: 1.2rem;
}

.map_canvas {
    width: 100%;
    height: 400px;
    margin: 40px 0 15px;

    overflow: hidden;
    border-radius: 18px;
}

.map_canvas iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.map-link {
    text-align: right;
}

.map-link a {
    font-weight: 700;
    text-decoration: none;
}

.map-link a:hover {
    color: #d9482f;
}


/* Planning CRKDR */

.page-content hr {
    margin: 90px 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.page-content img {
    max-width: 100%;
    height: auto;
}


/* Mobile */

@media (max-width: 700px) {

    .training-times {
        grid-template-columns: 1fr;
    }

    .map_canvas {
        height: 350px;
    }

    .map_canvas iframe {
        height: 350px;
    }
}

/* =========================================================
   LE DOJO
   ========================================================= */

.dojo-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 60px 0 100px;
}

.dojo-value {
    position: relative;
    padding: 38px 32px 40px;
    background: #0c1424;
    color: #f5f1e8;
    border-radius: 18px;
    min-height: 360px;
    overflow: hidden;
}

.dojo-value-number {
    margin-bottom: 45px;
    color: #d9482f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.dojo-value h3 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
    line-height: 1.2;
}

.dojo-value p {
    margin: 0 0 16px;
    color: rgba(245, 241, 232, 0.78);
    font-size: 1rem;
    line-height: 1.7;
}

.dojo-value p:last-child {
    margin-bottom: 0;
}

.dojo-value strong {
    color: #f5f1e8;
}

.dojo-highlight {
    margin-top: 30px !important;
    padding-top: 25px;
    border-top: 1px solid rgba(245, 241, 232, 0.15);
    color: #f5f1e8 !important;
    font-weight: 600;
}


/* Débuter */

.dojo-start {
    margin: 55px 0 30px;
    border-top: 1px solid rgba(12, 20, 36, 0.15);
}

.dojo-step {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 35px;
    padding: 38px 0;
    border-bottom: 1px solid rgba(12, 20, 36, 0.15);
}

.dojo-step-number {
    color: #d9482f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.dojo-step h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.7rem;
    line-height: 1.2;
}

.dojo-step p {
    max-width: 650px;
    margin: 0;
    color: #555b65;
    line-height: 1.7;
}


/* Mobile */

@media (max-width: 800px) {

    .dojo-values {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 45px 0 75px;
    }

    .dojo-value {
        min-height: auto;
    }

    .dojo-step {
        grid-template-columns: 55px 1fr;
        gap: 20px;
    }

    .dojo-step-number {
        font-size: 1.5rem;
    }

}

/* =========================================================
   AFFILIATION
   ========================================================= */

.affiliations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 60px 0 80px;
}

.affiliation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    min-height: 260px;
    padding: 30px;

    background: #ffffff;
    border: 1px solid rgba(12, 20, 36, 0.08);
    border-radius: 18px;

    color: #20232b;
    text-decoration: none;

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

.affiliation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(12, 20, 36, 0.08);
}

.affiliation-card img {
    display: block;

    width: 180px;
    height: 140px;

    object-fit: contain;
}

.affiliation-card span {
    margin-top: 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}


/* Mobile */

@media (max-width: 800px) {

    .affiliations {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 45px 0 65px;
    }

    .affiliation-card {
        min-height: 220px;
    }

}