/* Landing page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: #fff;
    color: #4a4340;
    line-height: 1.7;
    font-weight: 300;
}
.landing {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}
.landing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.landing-logo {
    max-width: 220px;
    height: auto;
}
.landing-content h1 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 1.5rem;
    letter-spacing: .02em;
}
.landing-text {
    margin-bottom: 2.5rem;
}
.landing-text p {
    margin-bottom: 1.5em;
    text-align: justify;
    font-size: 1.125rem;
    font-weight: 600;
}
.landing-warning {
    background-color: #f5ede3;
    border-left: 4px solid #B8956A;
    padding: .75rem 1rem;
    border-radius: 0 4px 4px 0;
    font-size: .9rem;
}

/* Formulaire */
.vbgrille p,
.vbgrille .field {
    max-width: 100%;
    margin-bottom: 1.2em;
}
.vbgrille label {
    display: block;
    margin-bottom: .3em;
    font-weight: 700;
    color: #8B7355;
    font-size: 1.125rem;
}
.vbgrille input:not([type="checkbox"]) {
    display: block;
    width: 100%;
    background-color: #fff;
    border: 1px solid #c9bba8;
    border-radius: 3px;
    padding: .55em .7em;
    font-size: 1rem;
    font-family: 'Josefin Sans', sans-serif;
    color: #4a4340;
    transition: border-color .2s;
}
.vbgrille input:not([type="checkbox"]):focus {
    outline: none;
    border-color: #8B7355;
}
.select-group {
    display: flex;
}
.select-group select {
    flex: 1;
    background-color: #fff;
    border: 1px solid #c9bba8;
    padding: .55em .5em;
    font-size: 1rem;
    font-family: 'Josefin Sans', sans-serif;
    color: #4a4340;
    border-radius: 0;
    min-width: 0;
    transition: border-color .2s;
}
.select-group select:focus {
    outline: none;
    border-color: #8B7355;
}
.select-group select:first-child {
    border-radius: 3px 0 0 3px;
}
.select-group select:last-child {
    border-radius: 0 3px 3px 0;
}
.select-group select:not(:last-child) {
    border-right: 0;
}
.vbgrille small {
    display: block;
    color: #9a8e80;
    margin-top: .3em;
    font-size: 1rem;
}
.vbgrille_error {
    color: #9e3c3c;
    background-color: #f8ece8;
    padding: .5rem .75rem;
    border-radius: 3px;
    border-left: 4px solid #9e3c3c;
    font-size: .9rem;
}

/* Bouton */
.btn {
    display: inline-block;
    background-color: #8B7355;
    color: #fff;
    border: 2px solid #8B7355;
    padding: 1em 1.875em;
    font-size: 1rem;
    line-height: 1;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    letter-spacing: .08em;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all .3s;
}
.btn:hover {
    background-color: transparent;
    color: #8B7355;
}

/* Loader */
.loader {
    display: none;
    text-align: center;
    padding: 3rem 0;
}
.loader.active {
    display: block;
}
.loader p {
    margin-top: 1.5rem;
    color: #9a8e80;
    font-size: .95rem;
}
.loader-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 3px solid #e8ddd0;
    border-top-color: #8B7355;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Résultat */
.vbgrille_result {
    text-align: center;
    padding: 2rem 0;
}
.vbgrille_result p {
    margin-bottom: 1em;
}
