.conteneur {
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 25px;
    padding-top: 0;
}

.carte {
    width: 340px;
    height: 600px;
    box-sizing: border-box;
    padding: 35px;
    border-radius: 25px;
    background-color: #A27B5C;
    color: white;
    text-align: center;
}

.carte h2 {
    margin-top: 0;
    font-size: 25px;
    text-align: center;
}

.carte p {
    font-size: 17px;
}

.carte-presentation,
.carte-ressources {
    text-align: left;
}

.carte-presentation h2,
.carte-ressources h2 {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-align: left;
}

.carte-presentation p {
    font-size: 16px;
    line-height: 1.65;
}

.carte-presentation p + p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.resource-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.resource-link:focus-visible {
    outline: 2px solid white;
    outline-offset: 3px;
}

.resource-link-copy,
.resource-link-copy span {
    display: block;
}

.resource-link-copy strong {
    font-size: 15px;
}

.resource-link-copy span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.resource-link > i {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.78);
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    text-align: left;
}

.stat p {
    margin: 0 0 4px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.carte.stats {
    background-color: #A27B5C;
}

.stat-detail {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.stat-value {
    flex: 0 0 auto;
    color: white;
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.titre {
    margin-top: 50px;
    color: black;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    text-align: center;
}

@media (max-width: 768px) {
    .conteneur {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .carte {
        width: min(400px, 100%);
    }
}

@media (max-width: 420px) {
    .carte {
        width: min(400px, calc(100vw - 50px));
        padding: 30px 18px;
    }
}