/* Styles Généraux */
body {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: url(assets/red-purple-halo.png) no-repeat 60% 50%;
    background-color: #0C0052;
    background-size: 50%;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
}

main {
    max-width: 664px;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Header */
.main-header {
    text-align: center;
    width: 100%;
    margin-bottom: 48px;
    padding: 24px;
    box-sizing: border-box;
}

.main-logo {
    display: flex;
    align-items: flex-end;
    column-gap: 16px;
}

.main-logo::before,
.main-logo::after {
    background: #FFFFFF;
    content: "";
    height: 1px;
    flex: 1;
    margin-bottom: 6px;
}

.main-logo img {
    width: 309px;
    height: auto;
}

p {
    margin-top: 0;
    margin-bottom: .5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.txt-center {
    text-align: center;
}

.bold {
    font-weight: 700;
}

.container-cards {
    margin-top: 48px;
    display: flex;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.card {
    flex: 1;
    background: #ffffff;
    border-radius: 4px;
    border-bottom-left-radius: 30px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card::after {
    content: "";
    position: absolute;
    left: -8px;
    bottom: -8px;
    width: 45px;
    height: 45px;
    border-left: 16px solid #bffff2;
    border-bottom: 16px solid #bffff2;
    border-bottom-left-radius: 38px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
}

.card p {
    margin-top: 0;
}

.card-logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.loader-container {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: #bffff2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fallback-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-top: 10px;
}

.fallback-link a {
    color: #bffff2;
    text-decoration: underline;
    font-weight: 500;
}

.fallback-link a:hover {
    color: #ffffff;
}

.btn {
    display: inline-block;
    margin-top: 24px;
    padding: 4px 16px;
    background-color: #FFA500;
    color: #100157;
    border-radius: 24px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.btn-icon {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.btn-icon::after {
    content: "";
    width: 16px;
}

.btn-icon--arrow::after {
    content: url(assets/icon_arrow.svg);
    font-size: 1.2rem;
}

footer {
    position: fixed;
    bottom: 0;
    text-align: center;
}
footer p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.partner-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.partner-link {
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.75;
    display: inline-flex;
    align-items: center;
    flex: 1;
}

.partner-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-logo-img {
    height: 28px;
    width: auto;
}

@media (max-width: 480px) {
    .main-logo img {
        width: 180px;
    }
    .partner-logos {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container-cards {
        flex-direction: column;
    }
}
