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

:root {
  --background: #0a0a0a;
  --surface: #151515;
  --text: #f5f5f5;
  --accent: #b7e230;
  --gold: #c8a24d;
}

.header {
    align-items: center;
    background: rgba(9, 10, 8, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 20px clamp(24px, 6vw, 80px);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header a,
.menu a {
    color: var(--text);
    text-decoration: none;
}

.logo {
    font-family: "Montserrat", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.menu a {
    color: #aeb4a7;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.menu a:hover,
.menu a[aria-current="page"] {
    color: var(--accent);
}

.menu {
    display: flex;
    gap: 30px;
}

.menu-toggle {
    background: transparent;
    border: 0;
    color: var(--text);
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

.tarif h1 {
    text-align: center;
    margin: 0 0 20px 0;
}

.tarif p {
    text-align: center;
    margin: 0 0 20px 0;
}

.tarif_intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    margin: 42px auto 40px;
    max-width: 720px;
}

.tarif_intro h2 {
    background: linear-gradient(to right, var(--accent), var(--gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.tarif_intro p {
    color: #aeb4a7;
    line-height: 1.7;
}

.tarif {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 28px;
    height: auto;
    margin: 0 auto;
    max-width: 1100px;
    padding: 0 16px;
}

.tarif-page {
    background: linear-gradient(#0a0a0a, #111111);
    padding: clamp(64px, 8vw, 110px) 0 100px;
}

.card {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: relative;
    background: linear-gradient(145deg, #171817, #101110);
    border-radius: 18px;
    display: flex;
    height: 100%;
    padding: 28px;
    transition: .5s;
    border: 1px solid rgba(183, 226, 48, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    width: 100%;
    height: auto;
    margin-top: 0;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(202, 138, 4, .15);
}

.card h3 {
    color: white;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    transition: .3s;
}

.card:hover h3{
    color: var(--accent);
}

.card > p:not(.detail_prest) {
    color: #b9beb4;
    line-height: 1.6;
    margin: 10px 0 20px;
    text-align: center;
}

.tarif_prest {
    display: flex;
    justify-content: space-between;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: .5s;
    font-size: 0.82em;
    font-family: "Montserrat", sans-serif;
}

.tarif_prest span:last-child {
    color: var(--accent);
    font-weight: 600;
}

.tarif_prest:hover {
    background-color: var(--accent);
    box-shadow: 0 0 15px rgba(202,138,4,.15);
}

.detail_prest {
    font-size: 0.6em;
    font-style: italic;
    margin-top: 15px;
    text-align: center;
    color: #aaa;
}

.site-footer {
    background: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.8rem;
    padding: 24px;
    text-align: center;
}

@media(max-width:760px){

    .header {
        display: block;
        padding: 17px 22px;
    }

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

    .menu {
        display: none;
        gap: 18px;
        padding: 22px 0 4px;
    }

    .menu-toggle {
        display: block;
        padding: 8px;
    }

    .menu.active {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .tarif h1 {
        margin: 0;
    }

    .tarif-page {
        padding-top: 30px;
    }

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

    .card {
        padding: 22px;
    }
}