
@font-face {
    font-family: 'Great Vibes';
    src: url('/static/fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

h1, .logo-text {
    font-family: 'Great Vibes', cursive;
}


body {
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #c94b4b, #4b134f);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.logo {
    width: 180px;
    margin-bottom: 1rem;
}

.slogan {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* MAIN */
main {
    max-width: 1100px;
    margin: auto;
    padding: 2rem 1rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    margin-bottom: 1rem;
    color: #4b134f;
}

/* INTRO */
.intro p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* VALUES */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.card h3 {
    margin-bottom: 0.5rem;
}

/* CTA */
.cta {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.6rem;
    background: #c94b4b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

.btn:hover {
    background: #a93c3c;
}



.btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.btn-style {
    background: linear-gradient(135deg, #c94b4b, #4b134f);
    color: white;
}

.btn-style:hover {
    background: #3a0f3d;
    opacity: 0.9;
}



/* FOOTER */
.footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    background: #eee;
    color: #555;
}

/* FORMULAIRE */
.form-section {
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}


.form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-intro {
    margin-bottom: 1.5rem;
}

form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.4rem;
    border-radius: 8px;
    border: 1px solid #ccc;
}

form textarea {
    min-height: 100px;
    resize: vertical;
}

form .btn {
    width: 100%;
    margin-top: 1.5rem;
}


/* PROTECTION */
.protection {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}


.thankyou-section {
    max-width: 600px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.thankyou-section h2 {
    color: #4b134f;
    margin-bottom: 1rem;
}
.thankyou-section p {
    margin-top: 1rem;
    font-size: 1rem;
}


.nav-line {
    margin-top: 1.8rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-line a {
    position: relative;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    padding-bottom: 0.3rem;
}

.nav-line a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav-line a:hover::after,
.nav-line a.active::after {
    width: 100%;
}

.msg-auth {
    list-style: none;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 0.7rem;
    border-radius: 8px;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }
    .logo {
        width: 140px;
    }
    .nav-line {
        flex-direction: column;
        gap: 1rem;
    }
    main {
        padding: 1rem;
    }
}
