@import url('https://fonts.googleapis.com/css2?family=Anta&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --anta-font: "Anta", sans-serif;
    --inter-font: "Inter", sans-serif;

    --color-main-red: rgb(191, 30, 45);
    --color-light-red: #FFC7CC;
    --color-hover-red: #FFE7E9;
    --color-foreground: #5B646F;
    --color-main-blue: #2c2f7b;
    --color-light-blue: #EDF2F8;
    --color-text-primary: #000000;
    --color-text-on-colored: #FFFFFF;
    --color-header: rgba(240, 240, 240, 0.9);
    --color-border-header: #E8E8E8;
    --color-menu-text: #7B7B7B;
    --color-footer: #071727;

}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--inter-font);
}
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

h1,h2,h3,h4,h5,h6, .site-title {
    font-family: var(--anta-font);
}

h2 {
    font-size: 32px;
}

.site-header {
    padding: 20;
    background-color: var(--color-header);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    clip-path: inset(0 0 -300px 0);

}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--color-text-primary);
}

.site-branding {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 0 10px;
}

.site-title {
    font-size: 1.3rem;
}

.menu-toggle {
    display: none;
}

.nav-menu {
    padding: 0;
}

.btn-connect,
.btn-subscribe {
    width: 133px;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    background-color: var(--color-main-red);
    display: flex;
    align-items: center;
    border-radius: 4px;

    a {
        color: var(--color-text-on-colored) !important;
    }
}

.btn-connect:hover,
.btn-subscribe:hover {
    background-color: var(--color-main-blue);
}

.a-link-button {
    background-color: var(--color-main-red);
    display: flex;
    padding-right: 21px;
    padding-left: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 260px;
    align-items: center;
    text-align: center;
    color: var(--color-text-on-colored);
    border-radius: 10px;
    span {
        margin-left: auto;
        transform: translateY(3px);
        transition: transform 0.3s ;
    }

}

.a-link-button:hover span {
    transform: translate(5px, 3px);
}

.main-navigation {
    flex: 1;
}

.site-footer {
    background-color: var(--color-footer);
    color: var(--color-light-blue);
    padding: 20px;
}

.contact-info {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;

}

.footer-hours {
    list-style: none;
    padding: 0;
}
.footer-hours li {
    display: flex;
    width: 150px;
    justify-content: space-between;
    align-items: center;
}

.legal-info {
    border-top: 1px solid var(--color-foreground);
    color: var(--color-foreground);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay so text is readable over the video */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-text-on-colored);
    padding: 2rem;
}

.hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero__catchphrase {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--color-text-on-colored);
}

/* Hero menu */
.hero__menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 0;
    margin: 0;

    .menu-item:first-child {
        margin-left: 0;
    }
}

.hero__menu a {
    color: var(--color-text-on-colored);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    border: 2px solid var(--color-text-on-colored);
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.hero__menu a:hover {
    background: var(--color-text-on-colored);
    color: var(--color-main-blue);
}

.high_section, .card_section, .low_section, .join_section, .blog_section, .page_section {
    padding: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.high_section h2, .card_section h2, .low_section h2, .join_section h2 {
    color: var(--color-main-red);
    font-size: 20px;
    text-transform: uppercase;
}
.high_section h3, .card_section h3, .low_section h3, .join_section h3 {
    font-size: 32px;
}
.high_section p, .low_section p, .join_section p {
    font-size: 15px;
    width: 60%;
    min-width: 350px;
}

.card_section {
    background-color: var(--color-light-blue);
}

.card-grid {
    display: grid;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    gap: 40px;
    grid-template-columns: repeat(2, 1fr);
}

@media screen and (min-width: 1400px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 800px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}


@media screen and (min-width: 901px) {


    .site-header {
        display: flex;
        align-items: center;
    }

    .nav-menu {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 25px;
        flex: 1;
        justify-content: center;
        padding: 0 10px;
    }

    .menu-item:first-child {
        margin-left: auto;
    }

    .nav-menu .menu-item {
        font-size: 20px;
    }

    .btn-connect {
        margin-left: auto;
    }

    .label-menu-toggle {
        display: none;
    }

    .site-info {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    .site-info > div {
        display: flex;
        flex-direction: column;
        align-items: start;
    }

    .legal-info {
        display: flex;
        justify-content: space-between;
        align-items: center;

    }
    .legal-info p {
        font-size: 16px;
    }
    .legal-info .nav-menu {
        a {color: var(--color-foreground);font-size: 16px;}
    }

}


@media screen and (max-width: 900px) {

    .label-menu-toggle {
        margin-left: auto;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation:has(#menu-checkbox:checked) {
        border-top: 1px solid var(--color-border-header);
        display: block;
        padding: 20px;
    }
    .nav-menu {
        display: flex;
        gap: 10px;
        flex-direction: column;
        list-style: none;
        padding: 0;
    }

    .legal-info .nav-menu {
        a {color: var(--color-foreground);font-size: 16px;}
    }
}


.card {
    background-color: white;
    box-shadow: 0px 4px 10px 0 rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 350px;
}

.card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
    border-radius: 8px;
}
.card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 25px;
    font-size: 24px;
    letter-spacing: -2%;
    h4 {margin: 0;}
}
.card__header span {
    background-color: var(--color-light-red);
    color: var(--color-main-red);
    border-radius: 8px;
    padding: 5px 8px;
    svg {
        transform: translateY(2px);
    }
}
.card__body {
    font-size: 18;
    color: var(--color-foreground);
    text-align: left;
    padding: 0 25px;
    p {margin: 0;}
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-list__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-main-red);
}

.contact-list__icon svg {
    width: 100%;
    height: 100%;
}

.contact-list__text {
    color: var(--color-foreground);
    font-size: 1rem;
}

.site-main {
    padding: 0 40px;
}

.wpforms-submit {
    background-color: var(--color-main-red) !important;
    color: var(--color-text-on-colored) !important;
}

.wpforms-container-full {
    font-family: var(--inter-font);
}
.wpforms-field-label {
    font-family: var(--inter-font);
}

.wp-block-list {
    list-style: none;
    color: var(--color-foreground);
}

.reduced_flex_contact {
    justify-content: left;
}

.reduced_flex_contact .wp-block-column {
    max-width: fit-content;
    word-break: keep-all;
    overflow-wrap: normal;
    ul {
        padding: 0;
    }
}

.join_section { 
    margin-top: 100px;
    margin-bottom: 100px;
}

.join_section p {
    width: auto;
}

.carded {
    width: 100%;
    max-width: 1200px;
    box-shadow: 0px 4px 10px 0 rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    text-align: center;
}
.choix-list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.choix_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    span {
        color: var(--color-main-red);
        font-size: 20px;
    }
    h5 {
        font-size: 20px;
    }
}

.join_section p {
    min-width: auto
}

.choix {
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--color-foreground);
    overflow-wrap:break-word;
}

.choix .choix_selected {
    display: none;
    color: var(--color-main-red);
    justify-content: start;
    align-items: center;
    text-align: left;
    gap: 10px;
    
    
}
.choix:has(input:checked) .choix_selected {
    display: flex;
}

.choix:hover {
    border: 1px solid var(--color-main-red);

}

.choix:has(input:checked) {
    background-color: var(--color-light-red);
    border: 1px solid var(--color-main-red);

}

.choix-description {
    padding: 20px;
    margin-top: 50px;
    text-align: left;
}


.post-template-default .site-main {
    padding: 0;
    margin: 0;
}

.post-thumbnail {
    width: 100%;
    height: 500px;
    img {
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
}


.blog_section, .page_section {
    text-align: left;
    h1 {
        font-size: 42px;
        text-align: center;
    }
    .post-meta {
        text-align: center;
    }
    h2 {
        font-size: 35px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 25px;
    }
    h5 {
        font-size: 23px;
    }
    h6 {
        font-size: 20px
    }
    .post-content {
        width: 100%;
        text-align: left;
    }
}

.footer-socials {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
}

.footer-socials a {
    color: var(--color-light-blue);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    color: var(--color-main-red);
}


.card--post {
    text-decoration: none;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0px 8px 20px 0 rgba(0, 0, 0, 0.2);
}

.archive_section {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.archive_section h2 {
    font-size: 32px;
    font-weight: 700;
}

.article__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.post-excerpt {
    border-top: 1px solid var(--color-foreground);
    padding: 10px 0;
}


.search_bar {
    background-color: var(--color-header);
    position: absolute;
    right: 0;
    top: 100%;
    padding: 10px;
    border-top: 1px solid var(--color-border-header);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 11;
    border-bottom-left-radius: 8px;
}

.search-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border-header);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--color-text-primary);
}

.search-btn {
    background: var(--color-main-red);
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background: var(--color-main-blue);
}

.searchbar-toggle-svg {
    transform: translateY(2px);
}
.searchbar-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search_bar {
    transform: translateX(270px);
    transition: transform 0.5s ease-in;
}

.arrow-svg {
    transition: transform 0.5s ease-in;
}
.search_bar:has(input:checked) {
    transform: translateX(0px);

    .arrow-svg {
        transform: rotateZ(-180deg);
    }
}

.error-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    gap: 16px;
}

.error-404 h1 {
    font-size: clamp(80px, 20vw, 160px);
    font-weight: 700;
    color: var(--color-main-red);
    line-height: 1;
}

.error-404 h2 {
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 700;
}

.error-404 p {
    font-size: 16px;
    color: var(--color-foreground);
}

.btn-home {
    margin-top: 8px;
    background: var(--color-main-red);
    color: var(--color-text-on-colored);
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-home:hover {
    background: var(--color-main-blue);
}


.bouton-rouge:hover a {
    background-color: var(--color-main-red) !important;
    color: var(--color-text-on-colored) !important;
}


.mepr-price-box {
  border-radius: 12px;
  border: 1px solid #EDF2F8;
  font-family: "Inter", sans-serif;
}
.mepr-price-box-title { font-family: "Anta", sans-serif; color: #2C2F7B; }
.mepr-price-box-button a,
.mepr-submit { background: #BF1E2D; border-radius: 8px; color: #fff; }
.mepr-price-box-button a:hover { background: #FFE7E9; color: #BF1E2D; }
