html {
    box-sizing: border-box;
    line-height: 1.4;
    font-size: 130%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    height: 100%;
    margin: 0;
}

h1,
h2,
p {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    border-style: none;
    display: block;
}

input,
button {
    font-family: inherit;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}

button {
    cursor: pointer;
    border: 0;
    outline: 0;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.zen-fr {
    color: #fefdfd;
}

.zen-en {
    color: #8c9f8a;
}

.zen-body {
    background-color: #8c9f8a;
}

.zen-wrap {
    min-height: 100%;
    background: url("images/zen-bg.jpg") center center / cover no-repeat;
    background-attachment: fixed;
}

.zen-main {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 0;
    text-align: center;
    font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.zen-header {
    margin-bottom: 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zen-serie-band {
    display: inline-block;
    margin: 0 auto 10px;
    padding: 5px 0;
    background: linear-gradient(90deg,rgba(140, 159, 138, 0) 0%, rgba(140, 159, 138, 1) 10%, rgba(140, 159, 138, 1) 90%, rgba(140, 159, 138, 0) 100%);
    color: #fefdfd;
    font-weight: 600;
    letter-spacing: 0.55em;
    text-indent: 0.55em;
    text-transform: uppercase;
    line-height: 1.2;
    width: 1000px;
    max-width: 90%;
}

.zen-brand {
    margin: 30px auto 25px;
    width: 550px;
    max-width: 80%;
}

.zen-box {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 12px;
    background: rgba(211, 175, 125, 0.85);
}

.zen-box-inner {
    border: 2px solid #8c9f8a;
    padding: 28px 22px 32px;
    text-align: center;
}

.zen-box-titre {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 2px;
}

.zen-box-inner > .zen-en.zen-box-titre {
    font-weight: 400;
    font-size: 1.3125rem;
    margin-bottom: 22px;
}

.zen-texte {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 2px;
    font-weight: 600;
}

.zen-form .zen-texte.zen-en {
    margin-bottom: 14px;
}

.zen-texte-petit {
    font-size: 0.6875rem;
    line-height: 1.55;
    margin-top: 22px;
    margin-bottom: 2px;
}

.zen-texte-petit.zen-en {
    margin-top: 4px;
}

.zen-form {
    width: 100%;
}

.zen-champs {
    width: 100%;
    max-width: 480px;
    margin: 25px auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zen-field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
    cursor: pointer;
    text-align: left;
}

.zen-input {
    display: block;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    background: #fefdfd;
    border: 1px solid transparent;
    border-radius: 0;
    color: #222;
    text-align: left;
}

.zen-input:focus {
    outline: 2px solid #8c9f8a;
    outline-offset: 0;
}

.zen-input--erreur {
    border: 2px solid #c41e3a;
    outline: none;
}

.zen-code-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 0;
}

.zen-code-row .zen-input--code {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.zen-btn {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 0 14px;
    height: 36px;
    background: #8c9f8a;
    color: #fefdfd;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.zen-btn:hover {
    background: #7a8d78;
}

.zen-erreur {
    color: #c41e3a;
    font-size: 0.75rem;
    font-style: italic;
    margin: 10px auto 0;
    max-width: 480px;
    line-height: 1.4;
}

.zen-succes {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 16px auto;
    max-width: 480px;
}

.zen-footer {
    margin-top: 28px;
}

.zen-footer img {
    margin: -40px auto 0;
    max-width: 250px;
}

@media only screen and (min-width: 768px) {
    .zen-main {
        padding: 60px 20px 0;
    }

    .zen-box {
        padding: 16px;
    }

    .zen-box-inner {
        padding: 36px 44px 40px;
    }

    .zen-box-titre {
        font-size: 1.375rem;
    }

    .zen-box-inner > .zen-en.zen-box-titre {
        font-size: 1.4375rem;
    }

    .zen-texte {
        font-size: 0.9375rem;
    }

    .zen-texte-petit {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .zen-field-label {
        font-size: 0.8125rem;
    }

    .zen-input,
    .zen-code-row .zen-input--code {
        height: 40px;
        font-size: 0.9rem;
    }

    .zen-btn {
        height: 40px;
        min-width: 100px;
        font-size: 0.875rem;
    }

    .zen-champs {
        max-width: 520px;
        gap: 12px;
    }

    .zen-code-row {
        max-width: 340px;
    }

    .zen-serie-band {
        font-size: 1.5rem;
        padding: 10px 0 5px;
    }
}
