.domaines {
    padding: 6rem 0;
    background-color: #f4f4f4;
    color: #111;
    font-family: 'Inter', sans-serif;
}

/* --- Intro --- */
.domaines__intro {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.domaines__intro-pills {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.domaines__intro-pills-line {
    width: 28px;
    height: 3px;
    background-color: var(--color-red, #f20000);
    border-radius: 2px;
}

.domaines__intro-pills-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-red, #f20000);
}

.domaines__intro-title {
    margin: 0 0 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: #111;
}

.domaines__intro-title span {
    color: var(--color-blue, #0c5cc0);
}

.domaines__intro-description {
    margin: 0;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #6b7280;
}

/* --- Grille --- */
.domaines__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* --- Carte --- */
.domaine-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 240px;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.domaine-card:hover {
    border-color: #111;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.domaine-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.domaine-card__title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
}

.domaine-card__excerpt {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: #6b7280;
}

.domaine-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.domaine-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.domaine-card__tag {
    padding: 0.4rem 1rem;
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #4b5563;
}

.domaine-card__arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #9ca3af;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.domaine-card:hover .domaine-card__arrow {
    background-color: var(--color-red, #f20000);
    color: #fff;
}

/* --- Partenaires --- */
.domaines__partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.domaines__partners-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.domaines__partners-list {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #111;
}

.domaines__partners-sep {
    margin: 0 0.15rem;
    color: var(--color-red, #f20000);
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .domaines {
        padding: 4rem 0;
    }

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