:root{
    /* Couleurs */
    --color-title: #1E499B;
    --color-text: #001136;
    --color-footer: #ffffff;
    --color-link: #1E499B;

    /* Couleur de fonds */
    --bck-page: #0C2A6A;
    --bck-bloc: #ffffff;
    --bck-grid: #F0F1F5;
    --bck-grid-hosting: #E8F2FA;

    /* Bouton */
    --color-btn: #1E499B;
    --color-btn-primary: #ffffff;
    --bck-btn: transparent;
    --bck-btn-hosting: #FF6500;
    --bradius-btn: 8px;

    /* Typographie */
    --font-family-base: 'Poppins', sans-serif !important;
    --font-size-base: 16px;
}

.hd_site {
    /* Couleurs */
    --color-title: #075FBE;
    --color-link: #075FBE;

    /* Couleur de fonds */
    --bck-page: #1E1A39;

    /* Bouton */
    --color-btn: #001136;
    --bck-btn: transparent;
    --bck-btn-hosting: transparent linear-gradient(90deg, #FF9A03 0%, #FF7800 100%) 0% 0% no-repeat padding-box;
}

.one_site {
    /* Couleurs */
    --color-title: #4889E3;
    --color-link: #4666DF;

    /* Couleur de fonds */
    --bck-page: #263984;

    /* Bouton */
    --color-btn: #4666DF;
    --bck-btn: transparent;
    --bck-btn-hosting: #07D19C;
    --bradius-btn: 22px;
}

.seven_site {
    /* Couleurs */
    --color-title: #2EAD44;
    --color-link: #001136;

    /* Couleur de fonds */
    --bck-page: #3C5841;
    --bck-grid-hosting: #E2F7EB;

    /* Bouton */
    --color-btn: #001136;
    --bck-btn: transparent;
    --bck-btn-hosting: #2EAD44;
    --bradius-btn: 0;
}

.aa_site {
    /* Couleurs */
    --color-title: #86C724;
    --color-link: #001136;

    /* Couleur de fonds */
    --bck-page: #2A363F;
    --bck-grid-hosting: #EDF7E4;

    /* Bouton */
    --color-btn: #001136;
    --bck-btn: transparent;
    --bck-btn-hosting: #86C724;
}

.hw_site {
    /* Couleurs */
    --color-title: #8AC501;
    --color-link: #247EE1;

    /* Couleur de fonds */
    --bck-page: #164E8B;
    --bck-grid-hosting: #EDF7E4;

    /* Bouton */
    --color-btn: #247EE1;
    --bck-btn: transparent;
    --bck-btn-hosting: #8AC501;
}

.mh_site {
    /* Couleurs */
    --color-title: #4CB001;
    --color-link: #175BB5;

    /* Couleur de fonds */
    --bck-page: #0E3569;
    --bck-grid-hosting: #E5F7E2;

    /* Bouton */
    --color-btn: #001136;
    --bck-btn: transparent;
    --bck-btn-hosting: #4CB001;
}

.toph_site {
    /* Couleurs */
    --color-title: #00CC5F;
    --color-link: #001136;

    /* Couleur de fonds */
    --bck-page: #3D4654;
    --bck-grid-hosting: #E4F5EC;

    /* Bouton */
    --color-btn: #FFFFFF;
    --bck-btn: #3D4654;
    --bck-btn-hosting: #00CC5F;
}

html { 
    font-size: var(--font-size-base);
}

body {
    font-size: 0.875rem;
    line-height: 1.438rem;
    color: var(--color-text);
    font-family: var(--font-family-base);
    background-color: var(--bck-page);
    background-image: url("./img/fond.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.wrapper { 
    display:flex;
    flex-direction: column;
    gap: 1.875rem;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 1.875rem 0;
}

section.logo {
    position: relative;
}

section.logo > a {
    display: block;
    width: max-content;
    margin: 0 auto;
}

section.logo > div.lang {
    position: absolute;
    content: '';
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

section.logo > div.lang img {
    cursor: pointer;
}

#widgetaffiliationlws {
    margin: 10px 0 0;
}

section.congrats,
section.more,
section.unknown {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.625rem;
}

section.congrats .big-title,
section.more .big-title,
section.unknown .big-title {
    font-size: 2.125rem;
    line-height: 2.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-title);
}

section.congrats .mid-title,
section.more .mid-title,
section.unknown .mid-title {
    font-size: 1.625rem;
    line-height: 2.25rem;
    font-weight: 600;
    text-align: center;
}

section.congrats h4,
section.more h4,
section.unknown h4 {
    font-size: 1.375rem;
    line-height: 2rem;
    font-weight: 600;
    text-align: center;
}

section.congrats > *:not(:first-child),
section.more > *:not(:first-child),
section.unknown > *:not(:first-child) {
    margin-top: 1.25rem;
}

section.congrats p.subtitle,
section.more p.subtitle,
section.unknown p.subtitle {
    font-size: var(--font-size-base);
    text-align: center;
    margin-top: 0.625rem;
}

section.congrats p a,
section.more p a,
section.unknown p a {
    color: var(--color-link);
    text-decoration: underline;
}

section.congrats a.btn,
section.more a.btn,
section.unknown a.btn {
    display: block;
    color: var(--color-btn);
    background: var(--bck-btn);
    border: 2px solid var(--color-btn);
    border-radius: var(--bradius-btn);
    margin: 1.25rem auto 0;
    padding: 0.5rem 1.25rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    width: max-content;
    max-width: 100%;
}

/* Services 3 blocs */
div.bloc3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.875rem !important;
}

div.bloc3cols.primary {
    margin-top: 0 !important;
}

div.bloc3cols div.elem {
    background: var(--bck-grid);
    border-radius: 0.5rem;
    padding: 1.875rem;
}

div.bloc3cols.primary div.elem {
    background: var(--bck-grid-hosting);
}

div.bloc3cols div.elem div.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.938rem;
}

div.bloc3cols div.elem div.btn-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    margin-top: 0.938rem;
}

div.bloc3cols div.elem div.btn-row a.btn {
    margin: 0;
}

div.bloc3cols.primary div.elem div.btn-row a.btn {
   background: var(--bck-btn-hosting);
   color: var(--color-btn-primary);
   border: 2px solid var(--bck-btn-hosting);
}

/* Footer */
footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: var(--color-footer);
}

footer div.right {
    display: flex;
    flex-direction: row;
    gap: 1.125rem;
    align-items: center;
}

/* Responsive */
@media (max-width: 1199px) {
    .wrapper { max-width: 970px; }
    div.bloc3cols { grid-template-columns: repeat(1, 1fr); }
    div.bloc3cols div.elem div.title,
    div.bloc3cols div.elem div.btn-row { justify-content: center; }
    div.bloc3cols div.elem * { text-align: center; }
}

@media (max-width: 991px) {
    .wrapper { max-width: 740px; }
}

@media (max-width: 767px) {
    .wrapper { max-width: calc(100% - 40px); }
    section.congrats p,
    section.more p,
    section.unknown p { text-align: center; }
}

@media (max-width: 519px) {
    footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
}