*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: none;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}

html,
body {
    height: 100%;
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #ffffff;
    color: #121212;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

.cheval-header {
    width: 100%;
    font-family: 'Mulish', sans-serif;
}

.cheval-header__disclaimer {
    background-color: #001f3f;
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
}

.cheval-header__ageicon {
    font-size: 1.2rem;
    color: #ff4136;
}

.cheval-header__helplink {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
}

.cheval-header__mainbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: #f5f5f5;
    border-bottom: 2px solid #eeeeee;
    flex-wrap: wrap;
}

.cheval-header__logo {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: #0045a5;
    background: linear-gradient(to right, #0045a5, #ed2939);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cheval-header__nav {
    display: flex;
}

.cheval-header__list {
    display: flex;
    gap: 2rem;
}

.cheval-header__item {
    list-style: none;
}

.cheval-header__link {
    color: #121212;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    transition: color 0.3s;
}

.cheval-header__link:hover {
    color: #ed2939;
}

.cheval-header__burger {
    display: none;
    background: none;
    cursor: pointer;
}

.cheval-header__burgericon {
    font-size: 2rem;
    color: #121212;
}

@media (max-width: 768px) {
    .cheval-header__nav {
        display: none;
        width: 100%;
    }

    .cheval-header__nav.active {
        display: block;
        margin-top: 1rem;
    }

    .cheval-header__list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cheval-header__burger {
        display: block;
    }
}

.cheval-hero {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    background: repeating-linear-gradient(-45deg,
        #ef4135,
        #ef4135 20px,
        #ffffff 20px,
        #ffffff 40px,
        #0055a4 40px,
        #0055a4 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.cheval-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.68);
    z-index: 1;
}

.container-hero {
    position: relative;
    z-index: 2;
    max-width: 860px;
    text-align: center;
    padding: 2rem;
}

.cheval-hero__title {
    font-family: 'Racing Sans One', cursive;
    font-size: 3rem;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    background: linear-gradient(90deg, #0055a4, #ffffff, #ef4135);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: chevalTitleAnim 6s ease-in-out infinite alternate;
}

@keyframes chevalTitleAnim {
    0% {
        background-position: 0%
    }

    100% {
        background-position: 100%
    }
}

.cheval-hero__subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 1.2rem;
    color: #f0f0f0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px #00000088;
}

@media (max-width: 768px) {
    .cheval-hero__title {
        font-size: 2.2rem;
    }

    .cheval-hero__subtitle {
        font-size: 1rem;
    }
}

.cheval-catalogue {
    background-color: #ffffff;
    padding: 4rem 1rem;
}

.cheval-catalogue__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
}

.cheval-catalogue__card {
    position: relative;
    padding: 3.5rem 2rem 2.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease;
}

.cheval-catalogue__card:hover {
    transform: translateY(-8px);
}

.cheval-catalogue__card--blue {
    background: linear-gradient(135deg, rgba(0, 85, 164, 0.4), rgba(0, 85, 164, 0.2));
}

.cheval-catalogue__card--red {
    background: linear-gradient(135deg, rgba(239, 65, 53, 0.4), rgba(239, 65, 53, 0.2));
}

.cheval-catalogue__logo img {
    max-width: 165px;
    max-height: 50px;
    margin-bottom: 1.2rem;
}

.cheval-catalogue__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.cheval-catalogue__badge {
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 1rem;
    color: #fff;
    display: inline-block;
}

.cheval-catalogue__badge--exclusive {
    background: #0055a4;
}

.cheval-catalogue__badge--choice {
    background: #ef4135;
}

.cheval-catalogue__desc {
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    color: #222;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cheval-catalogue__scoreblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.8rem;
}

.cheval-catalogue__score {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.4rem;
    color: #0055a4;
    margin-bottom: 0.3rem;
}

.cheval-catalogue__stars i {
    color: #ffc107;
    font-size: 1.1rem;
}

.cheval-catalogue__votes {
    font-size: 0.85rem;
    color: #555555;
    margin-top: 0.3rem;
}

.cheval-catalogue__btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: linear-gradient(to right, #0055a4, #ef4135);
    color: #ffffff;
    font-weight: bold;
    border-radius: 2rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.cheval-catalogue__btn:hover {
    opacity: 0.85;
}

.cheval-info {
    position: relative;
    padding: 4rem 1.5rem;
    z-index: 1;
    overflow: hidden;
}

.cheval-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../galeries-du-turf/bg-info.jpg') center/cover no-repeat;
    filter: blur(14px);
    opacity: 0.4;
    z-index: 0;
}

.cheval-info__container {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}


.cheval-info__section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(245, 245, 245, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cheval-info__section:hover {
    transform: translateY(-4px);
}

.cheval-info__section--highlight {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(239, 65, 53, 0.2));
    border-left: 6px solid #ef4135;
}

.cheval-info__icon {
    flex-shrink: 0;
}

.cheval-info__icon-i {
    font-size: 2.8rem;
    color: #0055a4;
}

.cheval-info__content {
    flex-grow: 1;
}

.cheval-info__title {
    font-family: 'Racing Sans One', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    color: #121212;
}

.cheval-info__text {
    font-family: 'Mulish', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

.cheval-info__link {
    font-weight: bold;
    color: #ef4135;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cheval-info__section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cheval-info__icon-i {
        font-size: 2.2rem;
    }

    .cheval-info__title {
        font-size: 1.3rem;
    }
}

.cheval-footer {
    background-color: #121212;
    padding: 4rem 1.5rem 2rem;
    font-family: 'Mulish', sans-serif;
    color: #e4e4e4;
}

.cheval-footer__container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.cheval-footer__18plus {
    font-size: 3rem;
    font-weight: 900;
    color: #ef4135;
    background-color: #ffffff;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(239, 65, 53, 0.4);
    display: inline-block;
}

.cheval-footer__disclaimer {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 880px;
    color: #cccccc;
}

.cheval-footer__links-externes {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cheval-footer__links-externes img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease;
    filter: brightness(0.95);
}

.cheval-footer__links-externes img:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

.cheval-footer__legals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}

.cheval-footer__legal-link {
    font-size: 0.9rem;
    color: #9bc1ff;
    text-decoration: underline;
    font-weight: 600;
}

.cheval-footer__legal-link:hover {
    color: #ffffff;
}

.cheval-footer__copyright {
    font-size: 0.85rem;
    color: #777777;
    margin-top: 1.5rem;
}

.modal-age-overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Mulish', sans-serif;
}

.modal-age {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-age__text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #121212;
}

.modal-age__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-age__btn {
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.modal-age__btn--yes {
    background: linear-gradient(to right, #0055a4, #ef4135);
    color: #fff;
}

.modal-age__btn--no {
    background: #eeeeee;
    color: #222;
}

.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #121212;
    color: #f0f0f0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    z-index: 9998;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-bar__text a {
    color: #9bc1ff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-bar__btn {
    background: #ef4135;
    color: white;
    border: none;
    border-radius: 2rem;
    padding: 0.5rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cookie-bar__btn:hover {
    opacity: 0.85;
}

.cheval-about {
    background-color: #ffffff;
    padding: 5rem 1rem;
    font-family: 'Mulish', sans-serif;
}

.cheval-about__container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cheval-about__image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cheval-about__title {
    font-family: 'Racing Sans One', cursive;
    font-size: 2rem;
    color: #0055a4;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cheval-about__content {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: justify;
}

@media (min-width: 992px) {
    .cheval-about__container {
        flex-direction: row;
        gap: 3rem;
    }

    .cheval-about__image {
        flex: 1;
    }

    .cheval-about__content {
        flex: 2;
    }

    .cheval-about__title {
        text-align: left;
    }
}

.cheval-contact {
    background-color: #f9f9f9;
    padding: 5rem 1rem;
    font-family: 'Mulish', sans-serif;
}

.cheval-contact__container {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.cheval-contact__title {
    font-family: 'Racing Sans One', cursive;
    font-size: 2.2rem;
    color: #0055a4;
    margin-bottom: 2.5rem;
}

.cheval-contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cheval-contact__input,
.cheval-contact__textarea {
    padding: 1rem;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    resize: none;
    transition: border 0.3s ease;
}

.cheval-contact__input:focus,
.cheval-contact__textarea:focus {
    border-color: #ef4135;
    outline: none;
}

.cheval-contact__btn {
    background: linear-gradient(to right, #0055a4, #ef4135);
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.cheval-contact__btn:hover {
    opacity: 0.85;
}

.cheval-thanks-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cheval-thanks {
    background: #ffffff;
    padding: 3rem 2rem;
    max-width: 400px;
    text-align: center;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.cheval-thanks__text {
    font-size: 1.2rem;
    color: #121212;
    margin-bottom: 1.5rem;
}

.cheval-thanks__close {
    background: #ef4135;
    color: white;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
}