/* ==========================================================================
   ANTARIA x ESSEC — Landing page
   Scope : .essec-lp { ... }
   Variables locales pour isoler la LP du reste du thème
   ========================================================================== */

.essec-lp {
    --essec-white: #ffffff;
    --essec-dark: #0a254e;
    --essec-teal-900: #0d3b4a;
    --essec-teal-800: #124a5c;
    --essec-blue: #2f9bbb;
    --essec-light: #f0f7fa;
    --essec-cyan: #ddf8ff;
    --essec-text: #1d1d1b;
    --essec-muted: #6b7a90;

    color: var(--essec-text);
}

.essec-lp *,
.essec-lp *::before,
.essec-lp *::after {
    box-sizing: border-box;
}

.essec-lp .essec-container {
    width: 92%;
    max-width: 1440px;
    margin: 0 auto;
}

/* ==========================================================================
   1. HERO / INTRODUCTION
   ========================================================================== */

.essec-hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--essec-teal-900);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--essec-white);
}

.essec-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 59, 74, 0.15) 0%, rgba(13, 59, 74, 0.55) 100%);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 767px) {
    .essec-lp .essec-hero {
        background-size: 320% auto;
        background-position: 46% 0%;
    }
    .essec-lp .essec-hero::before {
        background: linear-gradient(180deg, rgba(13, 59, 74, 0.35) 0%, rgba(13, 59, 74, 0.75) 100%);
    }
    .essec-lp .essec-hero__content {
        gap: 20px;
        padding-top: 28px;
        min-height: auto;
    }
    .essec-lp .essec-hero__logos {
        margin-bottom: 0;
    }
    .essec-lp .essec-hero__logos img {
        max-height: 56px;
    }
    .essec-lp .essec-hero__banner {
        margin-top: 0;
    }
}

/* Zone de contenu (logos, titre, texte, banner, stats)
   Reste en flux naturel sur mobile, cohabite avec le formulaire en absolute en desktop */
.essec-hero__content {
    position: relative;
    z-index: 1;
    padding: 40px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    min-height: 100vh;
}

.essec-hero__logos {
    margin-bottom: auto;
}

@media (min-width: 768px) {
    .essec-hero__content {
        padding: 48px 56px 56px;
    }
}

@media (min-width: 1200px) {
    .essec-hero__content {
        padding: 56px 72px 64px;
        max-width: 60%;
    }
}

@media (min-width: 1400px) {
    .essec-hero__content {
        max-width: 58%;
    }
}

/* Logos */
.essec-hero__logos {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 32px;
    width: fit-content;
}

.essec-hero__logos img {
    max-height: 80px;
    width: auto;
    display: block;
}

.essec-hero__sep {
    display: none;
}

/* Titre */
.essec-hero__title {
    position: relative;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: clamp(32px, 3.3vw, 44px);
    color: var(--essec-white);
    max-width: 600px;
}

/* Sous-texte */
.essec-hero__text {
    position: relative;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: clamp(22px, 1.8vw, 26px);
    color: var(--essec-white);
    max-width: 480px;
}

/* Bandeau "offre réservée..." */
.essec-hero__banner {
    position: relative;
    display: block;
    margin-top: 40px;
    color: #00FFBA;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: clamp(20px, 1.8vw, 24px);
    max-width: 450px;
}

/* 3 stats en bas : tableau 3 cellules collées */
.essec-hero__stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
}

@media (min-width: 1400px) {
    .essec-hero__stats {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .essec-hero__stats {
        width: 100%;
    }
}

.essec-hero__stat {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    border-right: 1px solid #FFFFFF;
}

.essec-hero__stat:last-child {
    border-right: none;
}

@media (max-width: 575px) {
    .essec-lp .essec-hero__stat {
        padding: 12px 8px;
        gap: 5px;
    }
    .essec-lp .essec-hero__stat-title {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }
    .essec-lp .essec-hero__stat-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

.essec-hero__stat-title {
    font-family: 'Montserrat', Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00FFBA;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.essec-hero__stat-text {
    font-size: 16px;
    color: var(--essec-white);
    line-height: 1.4;
}

/* ---- Formulaire : en flux sur mobile, en absolute sur desktop ---- */
.essec-hero__form-wrap {
    position: relative;
    z-index: 2;
    background: #ffffff;
    color: var(--essec-dark);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1200px) {
    .essec-hero__form-wrap {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 420px;
        padding: 40px 32px;
    }
}

@media (min-width: 1400px) {
    .essec-hero__form-wrap {
        width: 560px;
    }
}

.essec-form__title {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: clamp(29px, 2.5vw, 35px);
    font-weight: 700;
    color: var(--essec-dark);
    margin-bottom: 22px;
}

/* CF7 form layout */
.essec-hero__form-wrap .wpcf7-form > div:first-of-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.essec-hero__form-wrap .wpcf7-form > div:first-of-type p {
    margin: 0;
}

.essec-hero__form-wrap .wpcf7-form > div {
    margin-bottom: 14px;
}

.essec-hero__form-wrap .wpcf7-form p {
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: center;
    width: 100%;
}

.essec-hero__form-wrap .wpcf7-form p span {
    width: 100%;
}

.essec-hero__form-wrap .wpcf7-form input[type="text"],
.essec-hero__form-wrap .wpcf7-form input[type="email"],
.essec-hero__form-wrap .wpcf7-form input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #0A254E;
    background: transparent;
    border: .5px solid #0A254E;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.essec-hero__form-wrap .wpcf7-form input::placeholder {
    color: #6b7a90;
}

.essec-hero__form-wrap .wpcf7-form input:focus,
.essec-hero__form-wrap .wpcf7-form select:focus,
.essec-hero__form-wrap .wpcf7-form textarea:focus {
    border-color: var(--essec-blue);
}

.essec-hero__form-wrap .wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #0A254E;
    background: transparent;
    border: .5px solid #0A254E;
    border-radius: 0;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230a254e' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    transition: border-color 0.2s ease;
}

.essec-hero__form-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    color: #0A254E;
    background: transparent;
    border: .5px solid #0A254E;
    border-radius: 0;
    outline: none;
    resize: none;
    height: 100px;
    transition: border-color 0.2s ease;
}

.essec-hero__form-wrap .wpcf7-form textarea::placeholder {
    color: #6b7a90;
}

/* Label fichier */
.essec-hero__form-wrap .wpcf7-form label[for="files"] {
    font-size: 13px;
    font-weight: 600;
    color: #0A254E;
}

/* Input fichier */

.essec-hero__form-wrap .wpcf7-form input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.dnd-upload-counter {
    text-align: center;
    display: none;
}

.codedropz-upload-handler {
    border: 1px dashed var(--essec-blue);
    border-radius: 0px;
}

span.name {
    font-size: 12px;
}

span.name em {
    width: 60px;
}

.codedropz-upload-inner h3 {
    font-size: 16px;
    line-height: 1;
    margin: 0px;
}

.cd-upload-btn {
   color: var(--essec-blue);
}

.codedropz-upload-inner span {
   font-size: 11px;
}

.essec-file-name {
    display: block;
    font-size: 12px;
    color: #2F9BBB;
    font-weight: 600;
    margin-top: 4px;
}

/* Submit */
.essec-hero__form-wrap .wpcf7-form {
    text-align: left;
}

.essec-hero__form-wrap .wpcf7-form > p:has(.wpcf7-submit) {
    text-align: center;
}

.essec-hero__form-wrap .wpcf7-spinner {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.essec-hero__form-wrap .wpcf7-form input[type="submit"] {
    margin: 8px auto 0px auto;
    padding: 16px 32px 16px 52px;
    background-color: var(--essec-dark);
    background-image: url("../img/arrow-cta.png");
    background-repeat: no-repeat;
    background-position: 24px center;
    background-size: 17px auto;
    color: #DDF8FF;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.essec-hero__form-wrap .wpcf7-form input[type="submit"]:hover {
    background-color: var(--essec-blue);
    text-decoration: none;
}

.essec-hero__form-wrap .wpcf7-form input[type="submit"]:focus {
    text-decoration: none;
    outline: none;
}

.essec-hero__form-wrap .wpcf7-response-output {
    font-size: 13px;
    margin: 10px 0 0 0;
    padding: 10px;
    text-align: left;
}

.essec-hero__form-wrap .wpcf7-not-valid-tip {
    text-align: left;
    font-size: 12px;
    margin-top: 4px;
}

.essec-form__footer {
    margin-top: 18px;
    font-size: 12.5px;
    color: #0A254E;
    line-height: 1.5;
    text-align: center;
}

.essec-form__footer a {
    color: #0A254E;
    text-decoration: none;
    font-weight: 600;
}

.essec-form__footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   2. CONSTAT
   ========================================================================== */

.essec-constat {
    background: var(--essec-cyan);
    padding: 48px 0;
}

@media (min-width: 768px) {
    .essec-constat {
        padding: 100px 0;
    }
}

.essec-constat__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

@media (min-width: 992px) {
    .essec-constat__grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
        align-items: center;
    }
}

.essec-constat__surtitle {
    text-transform: uppercase;
    font-size: clamp(10px, 1vw, 12px);
    line-height: 21px;
    color: var(--essec-blue);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0;
}

.essec-constat__title {
    font-size: clamp(26px, 2.8vw, 42px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--essec-dark);
    margin-bottom: 45px;
}

.essec-constat__list {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 2.5vw, 30px);
}

.essec-constat__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
}

.essec-constat__picto {
    height: 20px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.essec-constat__item-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--essec-dark);
    line-height: 1.4;
    margin-bottom: 0px;
}

.essec-constat__item-text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--essec-dark);
    line-height: 1.45;
}

/* ==========================================================================
   3. PROGRAMME
   ========================================================================== */

.essec-programme {
    background: var(--essec-white);
    padding: 48px 0 32px;
}

@media (min-width: 768px) {
    .essec-programme {
        padding: 100px 0 60px;
    }
}

.essec-programme__surtitle {
    text-transform: uppercase;
    font-size: clamp(10px, 1vw, 12px);
    line-height: 21px;
    color: var(--essec-blue);
    font-weight: 700;
    letter-spacing: 0;
}

.essec-programme__title {
    font-size: clamp(26px, 2.8vw, 42px);
    line-height: 1.2;
    font-weight: 700;
    color: var(--essec-dark);
    margin-bottom: 45px !important;
}

.essec-programme__grid {
    display: flex;
    flex-direction: column;
}

.essec-programme__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid #D8D8D8;
}

.essec-programme__item:last-child {
    padding-bottom: 0;
}

.essec-programme__j {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(47, 155, 187, 0.08);
    color: #2F9BBB;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 800;
    border-radius: 8px;
    border: 1px solid #2F9BBB;
    line-height: 1;
    letter-spacing: 0;
}

.essec-programme__content {
    flex: 1;
    min-width: 0;
}

.essec-programme__item-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--essec-dark);
    line-height: 1.4;
    margin-bottom: 0px;
}

.essec-programme__item-text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--essec-dark);
    line-height: 1.45;
}

/* ==========================================================================
   4. OBTENIR + PROCESSUS (2 colonnes avec séparateur)
   ========================================================================== */

.essec-two-cols {
    background: var(--essec-white);
    padding: 0 0 48px;
}

@media (min-width: 768px) {
    .essec-two-cols {
        padding: 0 0 100px;
    }
}

.essec-two-cols > .essec-container {
    border-top: 1px solid #D8D8D8;
    padding-top: 32px;
}

@media (min-width: 768px) {
    .essec-two-cols > .essec-container {
        padding-top: 60px;
    }
}

.essec-two-cols__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .essec-two-cols__grid {
        grid-template-columns: 1fr 1px 1fr;
        gap: 0;
        column-gap: 80px;
    }

    .essec-two-cols__sep {
        background: #000000;
        width: 1px;
        height: 100%;
        justify-self: center;
    }
}

.essec-two-cols__sep {
    display: none;
}

@media (min-width: 992px) {
    .essec-two-cols__sep {
        display: block;
    }
}

.essec-col__surtitle {
    text-transform: uppercase;
    font-size: clamp(10px, 1vw, 12px);
    line-height: 21px;
    color: var(--essec-blue);
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 20px;
}

.essec-col__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: essec-step;
}

.essec-col__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

/* Bullet "point" pour la colonne "obtenir" */
.essec-col__bullet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--essec-blue);
    align-self: start;
    margin-top: 8px;
}

/* Badge numéroté pour la colonne "processus" */
.essec-col__num {
    counter-increment: essec-step;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    margin-top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: var(--essec-blue);
    color: var(--essec-white);
    font-size: clamp(16px, 1vw, 18px);
    font-weight: 700;
    line-height: 1;
}

.essec-col__num::before {
    content: counter(essec-step);
}

.essec-col__title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--essec-dark);
    line-height: 1.4;
    margin-bottom: 0px;
}

.essec-col__text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--essec-dark);
    line-height: 1.45;
}

/* ==========================================================================
   6. CANDIDAT
   ========================================================================== */

.essec-candidat {
    position: relative;
    padding: 48px 0;
    color: var(--essec-white);
    overflow: hidden;
}

@media (min-width: 768px) {
    .essec-candidat {
        padding: 100px 0;
    }
}

.essec-candidat__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}


.essec-candidat__inner {
    position: relative;
    z-index: 1;
}

.essec-candidat__surtitle {
    text-transform: uppercase;
    font-size: clamp(10px, 1vw, 12px);
    letter-spacing: 0;
    color: #00FFBA;
    font-weight: 700;
    margin-bottom: 15px;
}

.essec-candidat__title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 700;
    color: var(--essec-white);
    line-height: 1.15;
    margin-bottom: 50px !important;
}

.essec-candidat__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.essec-candidat__profil {
    max-width: 500px;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    padding: 20px;
}

.essec-candidat__profil-surtitle {
    text-transform: uppercase;
    font-size: clamp(10px, 1vw, 12px);
    letter-spacing: 0;
    color: #00FFBA;
    font-weight: 700;
    margin-bottom: 20px;
}

.essec-candidat__profil-title {
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    color: var(--essec-white);
    margin-bottom: 5px;
    line-height: 1.25;
}

.essec-candidat__profil-text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    white-space: pre-line;
}

.essec-candidat__macaron {
    position: absolute;
    top: -30px;
    right: 20px;
    width: 70px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 992px) {
    .essec-candidat__macaron {
        top: -40px;
        right: 60px;
        width: 140px;
    }
}

/* ==========================================================================
   7. PLACES LIMITÉES (CTA)
   ========================================================================== */

.essec-places {
    background: #0A254E;
    padding: 48px 0;
    text-align: center;
    color: var(--essec-white);
}

@media (min-width: 768px) {
    .essec-places {
        padding: 60px 0;
    }
}

.essec-places__surtitle {
    text-transform: uppercase;
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: clamp(16px, 1.6vw, 22px);
    letter-spacing: 0;
    color: #00FFBA;
    font-weight: 700;
    margin-bottom: 15px;
}

.essec-places__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    color: var(--essec-white);
    line-height: clamp(30px, 3.2vw, 40px);
    margin-bottom: 20px;
}

.essec-places__text {
    font-size: clamp(14px, 1.1vw, 16px);
    color: var(--essec-white);
    line-height: 20px;
    margin: 20px 0 35px 0;
}

.essec-places__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #2F9BBB;
    color: #DDF8FF;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.essec-places__btn:hover {
    background: #258da8;
}

.essec-places__subtitle {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #DDF8FF;
    line-height: clamp(16px, 1.3vw, 19px);
    margin-top: 40px;
}

/* ==========================================================================
   9. CTA "RECEVOIR UN RAPPEL" + POPIN
   ========================================================================== */

.essec-lp .essec-reminder-cta {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--essec-dark);
    color: #DDF8FF;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 16px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0s linear 0.3s;
}

.essec-lp .essec-reminder-cta:hover,
.essec-lp .essec-reminder-cta:focus,
.essec-lp .essec-reminder-cta:active {
    text-decoration: none;
}

.essec-lp .essec-reminder-cta.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, visibility 0s linear 0s;
}

.essec-lp .essec-reminder-cta:hover {
    background: var(--essec-blue);
}

.essec-lp .essec-reminder-cta:focus-visible {
    outline: 2px solid var(--essec-blue);
    outline-offset: 3px;
}

.essec-lp .essec-reminder-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.essec-lp .essec-reminder-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 78, 0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.essec-lp .essec-reminder-overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.essec-lp .essec-reminder-popin {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
    width: calc(100% - 40px);
    max-width: 440px;
    min-height: 260px;
    background: #ffffff;
    color: var(--essec-dark);
    padding: 20px 32px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -45%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.essec-lp .essec-reminder-popin.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

.essec-lp .essec-reminder-popin__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--essec-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.essec-lp .essec-reminder-popin__close:hover,
.essec-lp .essec-reminder-popin__close:focus,
.essec-lp .essec-reminder-popin__close:active {
    color: var(--essec-blue);
    text-decoration: none;
}

.essec-lp .essec-reminder-popin__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--essec-dark);
    margin: 0 0 8px 0;
}

.essec-lp .essec-reminder-popin__text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--essec-text);
    margin: 0 0 18px 0;
}

.essec-lp .essec-reminder-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.essec-lp .essec-reminder-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    font-family: inherit;
    color: var(--essec-dark);
    background: transparent;
    border: .5px solid var(--essec-dark);
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.essec-lp .essec-reminder-form input[type="email"]::placeholder {
    color: #6b7a90;
}

.essec-lp .essec-reminder-form input[type="email"]:focus {
    border-color: var(--essec-blue);
}

.essec-lp .essec-reminder-form__submit {
    padding: 14px 28px;
    background-color: var(--essec-dark);
    color: #DDF8FF;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.essec-lp .essec-reminder-form__submit:hover:not(:disabled),
.essec-lp .essec-reminder-form__submit:focus,
.essec-lp .essec-reminder-form__submit:active {
    background-color: var(--essec-blue);
    text-decoration: none;
}

.essec-lp .essec-reminder-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.essec-lp .essec-reminder-feedback {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.essec-lp .essec-reminder-feedback:empty {
    display: none;
}

.essec-lp .essec-reminder-feedback.is-error,
.essec-lp .essec-reminder-feedback.is-success {
    margin-top: 12px;
}

.essec-lp .essec-reminder-feedback.is-error {
    color: #c0392b;
}

.essec-lp .essec-reminder-feedback.is-success {
    color: #17794c;
}

@media (max-width: 575px) {
    .essec-lp .essec-reminder-cta {
        bottom: 16px;
        padding: 12px 18px;
        font-size: 14px;
    }
}
