/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #ffffff;
    color: #222;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --blue: #081f35;
    --red: #c40000;
    --red-dark: #b00020;
    --red-light: #d0002d;

    --white: #ffffff;
    --black: #111111;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #666666;

    --light-bg: #f7f7f7;
    --calendar-bg: #f8f8f8;
    --border: #dddddd;

    --radius: 8px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);

    --transition: 0.3s ease;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(8, 31, 53, 0.92);
    backdrop-filter: blur(10px);

    border-bottom: 3px solid var(--red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    z-index: 1000;
}

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

.logo img {
    display: block;
    height: 60px;
    width: auto;
}

/* =========================================================
   NAVIGATION
========================================================= */

header nav {
    display: flex;
    align-items: center;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

header nav a {
    position: relative;

    display: block;
    padding: 10px 4px;

    color: var(--white);
    font-weight: 500;

    transition: color var(--transition);
}

header nav a:hover {
    color: var(--red);
}

/* Soulignement desktop */

header nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

header nav a:hover::after,
header nav a.active::after {
    transform: scaleX(1);
}

/* =========================================================
   MENU HAMBURGER
========================================================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 8px;
    border: 0;
    background: transparent;

    cursor: pointer;

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

    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;

    width: 27px;
    height: 2px;

    background: var(--white);
    border-radius: 2px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.hero {
    position: relative;

    min-height: 100vh;

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

    padding: 100px 20px 60px;

    background:
        url("../images/top-page\(1\).png")
        center center / cover no-repeat;

    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;

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

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

    width: 100%;
    max-width: 700px;

    color: var(--white);
}

.hero h1 {
    margin-bottom: 20px;

    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;

    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h2 {
    margin-top: 20px;

    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.35;

    font-weight: 300;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.7;

    color: #ddd;
}

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

.btn {
    display: inline-block;

    margin-top: 40px;
    margin-right: 15px;

    padding: 15px 35px;

    background: var(--red-dark);
    color: var(--white);

    border: none;
    border-radius: 40px;

    cursor: pointer;

    transition:
        background var(--transition),
        transform var(--transition);
}

.btn:hover {
    background: var(--red-light);
    transform: translateY(-3px);
}

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

.btn-secondaire:hover {
    background: #efefef;
}

.btn-inscription {
    background-color: #d4a017;
    color: #ffffff;
}

.btn-inscription:hover {
    background-color: #b8860b;
}   

/* =========================================================
   PAGE BANNER
========================================================= */

.page-banner {
    position: relative;

    height: 350px;

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

    background:
        url("../images/club-banner.jpg")
        center / cover no-repeat;

    color: var(--white);
}

.page-banner .overlay {
    background: rgba(0, 0, 0, 0.65);
}

.page-banner-content {
    position: relative;
    z-index: 1;

    padding: 20px;

    text-align: center;
}

.page-banner-content h1 {
    margin-bottom: 10px;

    font-size: 52px;
    line-height: 1.1;
}

.page-banner-content p {
    font-size: 20px;
    line-height: 1.5;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;

    text-align: center;
}

.section-title span {
    color: var(--red);

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    margin-top: 10px;

    font-size: 38px;
    line-height: 1.2;
}

.section-title p {
    max-width: 700px;

    margin: 15px auto 0;

    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================================
   PAGE CLUB
========================================================= */

.club-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    gap: 50px;

    align-items: center;
}

.club-text p {
    margin-bottom: 20px;

    line-height: 1.8;
}

.club-image img {
    display: block;

    width: 100%;

    border-radius: var(--radius);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   NIPPON KEMPO
========================================================= */

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

.discipline-content {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}

.discipline-content p {
    margin-bottom: 20px;

    line-height: 1.8;
}

/* =========================================================
   VALEURS
========================================================= */

.values-grid {
    display: grid;

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

    gap: 30px;
}

.value-card {
    padding: 35px 25px;

    background: var(--light-bg);

    border-radius: var(--radius);

    text-align: center;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.value-icon {
    margin-bottom: 15px;

    font-size: 45px;
}

.value-card h3 {
    margin-bottom: 15px;

    font-size: 22px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.cta {
    padding: 80px 20px;

    background: var(--red);

    color: var(--white);

    text-align: center;
}

.cta h2 {
    margin-bottom: 15px;

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

.cta p {
    margin-bottom: 30px;
}

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

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

footer {
    padding: 25px 20px;

    background: var(--black);

    color: var(--white);

    text-align: center;
}

footer p {
    margin: 0;
}

/* =========================================================
   CALENDRIER
========================================================= */

.calendar-section {
    background: var(--calendar-bg);
}

.calendar-legend {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 30px;

    margin-bottom: 50px;
}

.calendar-legend > div {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 14px;
    font-weight: 600;
}

.legend-color {
    display: inline-block;

    width: 14px;
    height: 14px;

    border-radius: 50%;
}

.legend-color.training {
    background: var(--red);
}

.legend-color.stage {
    background: #1d6fa5;
}

.legend-color.competition {
    background: #222;
}

.legend-color.event {
    background: #d49a00;
}

.events-list {
    display: flex;
    flex-direction: column;

    max-width: 900px;

    margin: 0 auto;

    gap: 25px;
}

.event-card {
    display: grid;

    grid-template-columns: 130px minmax(0, 1fr);

    overflow: hidden;

    background: var(--white);

    border-left: 5px solid var(--red);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.event-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-hover);
}

.event-card.stage {
    border-left-color: #1d6fa5;
}

.event-card.competition {
    border-left-color: #222;
}

.event-card.event {
    border-left-color: #d49a00;
}

.event-date {
    display: flex;
    flex-direction: column;

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

    padding: 25px 15px;

    background: #f1f1f1;
}

.event-day {
    color: #222;

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

    font-weight: 700;
}

.event-month {
    margin-top: 8px;

    color: var(--red);

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

.event-content {
    padding: 25px 30px;
}

.event-type {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--red);

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

    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card.stage .event-type {
    color: #1d6fa5;
}

.event-card.competition .event-type {
    color: #222;
}

.event-card.event .event-type {
    color: #d49a00;
}

.event-content h3 {
    margin-bottom: 10px;

    font-size: 22px;
}

.event-content p {
    margin-bottom: 12px;

    color: var(--text-muted);

    line-height: 1.7;
}

.event-location,
.event-time {
    color: #777;
    font-size: 14px;
}

.event-time {
    display: block;

    margin-top: 5px;
}

/* =========================================================
   PAGE COURS
========================================================= */

.cours-intro {
    background: var(--white);
}

.cours-intro-text {
    max-width: 800px;

    margin: 0 auto;

    text-align: center;
}

.cours-intro-text p {
    margin-bottom: 15px;

    color: var(--text-light);

    line-height: 1.8;
}

.cours-section {
    background: var(--light-bg);
}

.cours-grid {
    display: grid;

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

    max-width: 900px;

    margin: 0 auto;

    gap: 30px;
}

.course-card {
    overflow: hidden;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.course-image {
    height: 230px;

    overflow: hidden;
}

.course-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

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

.course-content {
    padding: 30px;
}

.course-age {
    color: var(--red);

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

    text-transform: uppercase;
    letter-spacing: 1px;
}

.course-content h2 {
    margin: 8px 0 15px;

    font-size: 28px;
}

.course-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.course-content ul {
    margin-top: 20px;
    padding-left: 20px;
}

.course-content li {
    margin-bottom: 8px;

    color: #444;
}

.training-steps {
    display: grid;

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

    gap: 30px;
}

.training-step {
    text-align: center;
}

.training-step > span {
    display: flex;

    width: 55px;
    height: 55px;

    margin: 0 auto 20px;

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

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

    color: var(--red);

    font-weight: 700;
}

.training-step h3 {
    margin-bottom: 12px;
}

.training-step p {
    color: #bbb;
    line-height: 1.7;
}

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

.contact-section {
    background: var(--light-bg);
}

.contact-container {
    display: grid;

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

    max-width: 1100px;

    margin: 0 auto;

    gap: 50px;
}

.contact-info,
.contact-form {
    min-width: 0;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 20px;

    font-size: 30px;
    line-height: 1.3;
}

.contact-info > p {
    margin-bottom: 20px;

    color: var(--text-light);

    line-height: 1.8;
}

/* Informations */

.info-item {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    width: 100%;
    min-width: 0;

    margin-top: 25px;
    padding: 22px;

    background: var(--white);

    border-left: 4px solid var(--red);
    border-radius: 5px;

    box-shadow: var(--shadow);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.info-item:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-hover);
}

.info-icon {
    flex: 0 0 35px;

    font-size: 30px;
}

.info-item > div:last-child {
    flex: 1;

    min-width: 0;
}

.info-item h3 {
    margin-bottom: 5px;

    font-size: 19px;
}

.info-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.info-item a {
    color: var(--red);

    overflow-wrap: anywhere;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Formulaire */

.contact-form {
    width: 100%;

    padding: 40px;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    width: 100%;
    min-width: 0;

    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #333;

    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 14px 15px;

    border: 1px solid var(--border);
    border-radius: 5px;

    background: var(--white);

    font-size: 14px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;

    border-color: var(--red);

    box-shadow: 0 0 0 3px rgba(196, 0, 0, 0.08);
}

.form-group textarea {
    min-height: 140px;

    resize: vertical;
}

.contact-form .btn {
    margin-top: 10px;

    border: none;

    cursor: pointer;
}

/* Messages */

.message-success,
.message-error {
    max-width: 900px;

    margin: 0 auto 30px;

    padding: 18px 25px;

    border-radius: 5px;

    line-height: 1.6;
}

.message-success {
    background: #e8f7ed;

    color: #176b35;

    border-left: 4px solid #2e9d57;
}

.message-error {
    background: #fdecec;

    color: #a00000;

    border-left: 4px solid var(--red);
}

/* Anti-spam */

.anti-spam {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

/* =========================================================
   MODALITÉS DE PAIEMENT
========================================================= */

.payment-section {
    padding: 80px 0;

    background: var(--light-bg);
}

.payment-grid {
    display: grid;

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

    max-width: 1100px;

    margin: 40px auto 0;

    gap: 20px;
}

.payment-card {
    min-width: 0;

    padding: 28px 18px;

    background: var(--white);

    border-top: 4px solid #b11226;
    border-radius: 10px;

    text-align: center;

    box-shadow: var(--shadow);

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

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

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.payment-icon {
    margin-bottom: 15px;

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

.payment-card h3 {
    margin-bottom: 10px;

    color: var(--blue);

    font-size: 1.1rem;
}

.payment-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================================
   PAGE MENTIONS LÉGALES
========================================================= */

.mentions-section {
    padding: 80px 0;

    background: var(--light-bg);
}

.mentions-container {
    max-width: 900px;

    margin: 0 auto;
}

.mentions-title {
    margin-bottom: 50px;

    text-align: center;
}

.mentions-title span {
    color: var(--red);

    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.mentions-title h1 {
    margin-top: 10px;

    font-size: 42px;
}

.mentions-content {
    padding: 45px;

    background: var(--white);

    border-radius: var(--radius);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.mentions-block {
    margin-bottom: 35px;
    padding-bottom: 30px;

    border-bottom: 1px solid #e5e5e5;
}

.mentions-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;

    border-bottom: none;
}

.mentions-block h2 {
    margin-bottom: 15px;

    color: var(--red);

    font-size: 24px;
}

.mentions-block p {
    margin-bottom: 10px;

    color: var(--text-light);

    line-height: 1.8;
}

.mentions-block strong {
    color: var(--text);
}

.mentions-block a {
    color: var(--red);

    font-weight: 500;
}

.mentions-block a:hover {
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE — TABLETTES
========================================================= */

@media (max-width: 900px) {

    /* Header */

    header .container {
        height: 75px;
    }

    .logo img {
        height: 55px;
    }

    header nav ul {
        gap: 18px;
    }

    header nav a {
        font-size: 14px;
    }

    /* Hero */

    .hero h1 {
        letter-spacing: 2px;
    }

    /* Club */

    .club-content {
        grid-template-columns: 1fr;
    }

    /* Valeurs */

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

    /* Cours */

    .cours-grid {
        grid-template-columns: 1fr;

        max-width: 600px;
    }

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

    /* Contact */

    .contact-container {
        grid-template-columns: 1fr;

        max-width: 700px;

        gap: 35px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 27px;
    }

    /* Paiement */

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

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

@media (max-width: 700px) {

    /* Header */

    header .container {
        width: 92%;
        height: 72px;
    }

    .logo img {
        height: 52px;
    }

    .menu-toggle {
        display: flex;
    }

    header nav {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: block;

        background: rgba(8, 31, 53, 0.98);

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

        opacity: 0;
        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    header nav.open {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    header nav ul {
        display: flex;

        flex-direction: column;
        align-items: stretch;

        width: 100%;

        gap: 0;
    }

    header nav li {
        width: 100%;
    }

    header nav a {
        width: 100%;

        padding: 17px 25px;

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

        font-size: 16px;

        text-align: center;
    }

    header nav a::after {
        display: none;
    }

    header nav a:hover,
    header nav a.active {
        background: var(--red);
        color: var(--white);
    }

    /* Hero */

    .hero {
        min-height: 100vh;

        padding: 100px 20px 60px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        margin-bottom: 18px;

        letter-spacing: 1.5px;
    }

    .hero h2 {
        margin-top: 22px;
        margin-bottom: 5px;
    }

    .hero p {
        line-height: 1.7;
    }

    .hero .btn {
        display: flex;

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

        width: min(100%, 330px);

        margin: 25px auto 0;

        padding: 14px 20px;
    }

    /* Page banner */

    .page-banner {
        height: 280px;
    }

    .page-banner-content {
        padding: 20px 15px;
    }

    .page-banner-content h1 {
        font-size: 40px;
    }

    .page-banner-content p {
        font-size: 17px;
    }

    /* Sections */

    .section {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .section-title p {
        font-size: 14px;
    }

    /* Calendrier */

    .calendar-legend {
        flex-direction: column;

        align-items: flex-start;

        width: fit-content;

        margin-left: auto;
        margin-right: auto;
    }

    .event-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .event-date {
        padding: 20px 10px;
    }

    .event-day {
        font-size: 32px;
    }

    .event-content {
        padding: 20px;
    }

    .event-content h3 {
        font-size: 19px;
    }

    /* Cours */

    .course-image {
        height: 200px;
    }

    .course-content {
        padding: 25px;
    }

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

    /* Contact */

    .contact-section {
        padding: 55px 15px;
    }

    .contact-section > .container {
        width: 100%;
    }

    .contact-section .section-title {
        margin-bottom: 35px;
    }

    .contact-section .section-title h2 {
        font-size: 29px;
    }

    .contact-container {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 23px;
    }

    .contact-info > p {
        font-size: 14px;
        line-height: 1.7;
    }

    .info-item {
        gap: 12px;

        margin-top: 18px;
        padding: 16px;
    }

    .info-icon {
        flex: 0 0 30px;

        min-width: 30px;

        font-size: 25px;
    }

    .info-item > div:last-child {
        flex: 1;

        min-width: 0;
    }

    .info-item h3 {
        font-size: 17px;
    }

    .info-item p,
    .info-item a {
        font-size: 14px;

        line-height: 1.6;

        overflow-wrap: anywhere;
    }

    .contact-form {
        padding: 25px 18px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 13px 12px;

        font-size: 16px;
    }

    .form-group textarea {
        min-height: 130px;
    }

    .contact-form .btn {
        display: block;

        width: 100%;

        margin: 10px 0 0;

        padding: 14px 12px;

        text-align: center;

        white-space: normal;
    }

    .message-success,
    .message-error {
        width: 100%;

        padding: 15px;

        font-size: 14px;

        overflow-wrap: anywhere;
    }

    /* Paiement */

    .payment-section {
        padding: 60px 15px;
    }

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

        gap: 15px;

        margin-top: 30px;
    }

    .payment-card {
        padding: 22px 12px;
    }

    .payment-card h3 {
        font-size: 16px;
    }

    .payment-card p {
        font-size: 13px;
    }

    /* Mentions */

    .mentions-section {
        padding: 60px 20px;
    }

    .mentions-title {
        margin-bottom: 35px;
    }

    .mentions-title h1 {
        font-size: 36px;
    }

    .mentions-content {
        padding: 30px 25px;
    }

    .mentions-block h2 {
        font-size: 21px;
    }

    /* CTA */

    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 28px;
    }
}

/* =========================================================
   RESPONSIVE — PETITS SMARTPHONES
========================================================= */

@media (max-width: 400px) {

    .container {
        width: 94%;
    }

    header .container {
        width: 94%;
    }

    .logo img {
        height: 47px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .menu-toggle span {
        width: 25px;
    }

    /* Hero */

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero h1 {
        font-size: clamp(2rem, 11vw, 2.6rem);
    }

    .hero h2 {
        font-size: 1.25rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    /* Page banner */

    .page-banner {
        height: 250px;
    }

    .page-banner-content h1 {
        font-size: 32px;
    }

    .page-banner-content p {
        font-size: 14px;
    }

    /* Contact */

    .contact-section {
        padding: 45px 12px;
    }

    .contact-section .section-title h2 {
        font-size: 26px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 21px;
    }

    .info-item {
        gap: 10px;

        padding: 13px 11px;
    }

    .info-icon {
        flex-basis: 26px;

        min-width: 26px;

        font-size: 22px;
    }

    .contact-form {
        padding: 20px 13px;
    }

    /* Paiement */

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

    .payment-card {
        padding: 22px 15px;
    }

    /* Mentions */

    .mentions-section {
        padding: 50px 15px;
    }

    .mentions-title h1 {
        font-size: 30px;
    }

    .mentions-content {
        padding: 25px 20px;
    }

    .mentions-block {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    .mentions-block h2 {
        font-size: 20px;
    }

    .mentions-block p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* =========================================================
   ACCESSIBILITÉ
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .info-item:hover,
    .value-card:hover,
    .course-card:hover,
    .event-card:hover,
    .payment-card:hover,
    .btn:hover {
        transform: none;
    }
}