/* * {
    border: red 1px solid;
} */

html {
    scroll-behavior: smooth;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

#autre-zone {
    margin-top: 0.6rem;
    display: none;
}

:root {
    --primary: #4e73df;
    --secondary: #f6c23e;
    --bg: #f8f9fc;
    --text: #343a40;
    --text1: #1E90FF;
    --white: #fff;
    --button: #e0a800;
}

.password-validation {
    background-color: var(--bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
    font-size: 0.85em;
}

.password-validation h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 1em;
}

.validation-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
    /* padding: 2px 0;form */
}

.validation-item::before {
    content: "✗";
    color: #f44336;
    font-weight: bold;
    margin-right: 8px;
    font-size: 1.1em;
}

.validation-item.valid::before {
    content: "✓";
    color: #4caf50;
}

.password-strength {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.strength-weak {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.strength-medium {
    background-color: #fff3e0;
    color: #f57c00;
    border: 1px solid #ff9800;
}

.strength-strong {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.password-input-container {
    position: relative;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 0.9em;
}

.form label.invalid .input {
    border-color: #f44336;
}

.form label.valid .input {
    border-color: #4caf50;
}

.notification {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin: 1rem auto;
    max-width: 500px;
    font-family: "Segoe UI", sans-serif;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.success {
    background-color: #e6f9ec;
    color: #2e7d32;
    border-left: 5px solid #4caf50;
}

.error {
    background-color: #ffeaea;
    color: #c62828;
    border-left: 5px solid #f44336;
}

.mot {
    display: inline-block;
    color: var(--text1);
    font-weight: bold;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.sortie {
    transform: translateY(-20px);
    opacity: 0;
}

.entree {
    transform: translateY(20px);
    opacity: 0;
}

.visible {
    transform: translateY(0);
    opacity: 1;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

header {
    background: var(--primary);
    color: var(--white);
    padding: 24px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.choix {
    background-color: var(--bg);
    font-family: 'Montserrat', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    margin: 10px 0 0 0;
    padding: 10px 10px 20px 10px;
    border-radius: 5px;
    row-gap: 0.5em;
}

@media screen and (min-width: 900px) {
    .container {
        width: 90%;
        max-width: 1200px;
        align-items: center;
        margin: 0 auto;
        padding: 0 16px;
        box-sizing: border-box;
    }
}

@media (max-width: 900px) {
    .container {
        max-width: 100%;
        padding: 0 8px;
        display: flex;
        flex-direction: column;
    }

    .logo {
        margin: 0 0 1em 0;
    }

    ul {
        display: flex;
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 40px 0;
}

.hero-text1 {
    border: #1E90FF 1px solid;
    border-radius: 24px;
    display: flex;
    font-size: 1.3rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.hero-text {
    flex: 1 1 350px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.hero-text .cta {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 32px;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-text .cta:hover {
    background: var(--button);
}

.hero-img {
    justify-content: center;
    flex: 0.9 1 300px;
    text-align: right;
}

.hero-img img {
    max-width: 350px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

section.features {
    display: flex;
    gap: 32px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.feature {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex: 1 1 250px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s;
}

.feature:hover {
    transform: translateY(-8px) scale(1.03);
}

.feature h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    color: var(--primary);
}

.feature p {
    font-size: 1rem;
    color: #555;
}

ul.features1 li {
    margin-bottom: 1em;
}

footer {
    background: #23272b;
    color: var(--white);
    text-align: center;
    padding: 24px 0;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-img {
        text-align: center;
        margin-top: 32px;
    }

    section.features {
        flex-direction: column;
    }
}

.container1 {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    max-width: calc(280px * 4);
    margin: 0 auto;
}

.card {
    background-color: var(--whit);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.title1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.price {
    font-size: 36px;
    display: flex;
    text-align: center;
    color: var(--text1);
    margin: 10px 0 5px 0;
}

.features1 {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    /* text-align: center; */
}

.features1 li {
    margin: 10px 0;
    color: #555;
}

.reduce,
.reduce1 {
    color: var(--text1);
    font-size: 1rem;
    font-weight: 700;
    margin: 10px 0 10px 0;
    text-align: center;
}

.btn {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 24px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary);
}

.btn1 {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1rem;
    font-weight: 700;
}

.btn1:hover {
    background: var(--button);
    color: var(--white);
}

.mensuel {
    display: flex;
    justify-content: center;
}

.switch {
    --_switch-bg-clr: var(--primary);
    --_switch-padding: 4px;
    --_slider-bg-clr: rgba(12, 74, 110, 0.65);
    --_slider-bg-clr-on: rgba(12, 74, 110, 1);
    --_slider-txt-clr: var(--white);
    --_label-padding: 1rem 2rem;
    --_switch-easing: cubic-bezier(0.47, 1.64, 0.41, 0.8);
    font-weight: bold;
    color: var(--white);
    width: fit-content;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 9999px;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
    isolation: isolate;
}

.switch input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.switch>span {
    display: grid;
    place-content: center;
    transition: opacity 300ms ease-in-out 150ms;
    padding: var(--_label-padding);
}

.switch::before,
.switch::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    transition: inset 150ms ease-in-out;
}

.switch::before {
    background-color: var(--_slider-bg-clr);
    inset: var(--_switch-padding) 50% var(--_switch-padding) var(--_switch-padding);
    transition: inset 500ms var(--_switch-easing), background-color 500ms ease-in-out;
    z-index: -1;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.3);
}

.switch::after {
    background-color: var(--_switch-bg-clr);
    inset: 0;
    z-index: -2;
}

.switch:focus-within::after {
    inset: -0.25rem;
}

.switch:has(input:checked):hover>span:first-of-type,
.switch:has(input:not(:checked)):hover>span:last-of-type {
    opacity: 1;
    transition-delay: 0ms;
    transition-duration: 100ms;
}

.switch:has(input:checked):hover::before {
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 45%;
}

.switch:has(input:not(:checked)):hover::before {
    inset: var(--_switch-padding) 45% var(--_switch-padding) var(--_switch-padding);
}

.switch:has(input:checked)::before {
    background-color: var(--_slider-bg-clr-on);
    inset: var(--_switch-padding) var(--_switch-padding) var(--_switch-padding) 50%;
}

.switch>span:last-of-type,
.switch>input:checked+span:first-of-type {
    opacity: 0.75;
}

.switch>input:checked~span:last-of-type {
    opacity: 1;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    background-color: #39529d;
    padding: 20px;
    border-radius: 15px;
    position: relative;
}

.message {
    color: var(--primary);
    font-size: 14px;
}

.flex {
    display: flex;
    width: 100%;
    gap: 6px;
}

.form label {
    position: relative;
    display: flex;
    justify-content: center;
}

.form label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.form label .input+span {
    position: absolute;
    left: 10px;
    top: 15px;
    color: var(--primary);
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.form label .input:placeholder-shown+span {
    top: 15px;
    font-size: 0.9em;
}

.form label .input:focus+span,
.form label .input:valid+span {
    top: 30px;
    font-size: 0.7em;
    font-weight: 600;
}

.form label .input:valid+span {
    color: green;
}

.input01 {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.form label .input01+span {
    position: absolute;
    left: 10px;
    top: 50px;
    color: var(--primary);
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.form label .input01:placeholder-shown+span {
    top: 40px;
    font-size: 0.9em;
}

.form label .input01:focus+span,
.form label .input01:valid+span {
    top: 50px;
    font-size: 0.7em;
    font-weight: 600;
}

.form label .input01:valid+span {
    color: green;
}

.contact {
    display: flex;
    justify-content: center;
    padding: 25px 0 10px 0;
}