:root {
    --black: #0c0c0c;
    --white: #f7f5f2;
    --gold: #c9b37e;
    --blue: #1e3a8a;
    --blue_light: #3260E1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura', Montserrat, sans-serif;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #faf8f5 30%,
        #f7f5f2 60%,
        #faf8f5 100%
    );
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}

/* Pattern de fond */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

/* Header simple */
.header {
    padding: 24px 40px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.brand-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 50px;
    opacity: 0.8;
}

.brand {
    align-items: center;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 18px;
    color: var(--black);
}

/* Contenu principal */
.main-content {
    flex: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 10;
    min-height: auto;
}

/* Badge V3 avec animation ping */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(30, 58, 138, 0.2);
    padding: 8px 30px;
    border-radius: 50px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ping-container {
    position: relative;
    width: 8px;
    height: 8px;
}

.ping-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--blue_light);
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.ping-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    z-index: 1;
}

.status-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Titre principal */
h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--black);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue_light) 40%, var(--black) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(12, 12, 12, 0.7);
    max-width: 650px;
    line-height: 1.6;
}
h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--blue);
    max-width: 600px;
    line-height: 1.6;
}

/* Formulaire notification */
.notify-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    width: 100%;
    margin-bottom: 40px;
}

.notify-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(30, 58, 138, 0.2);
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Futura', Montserrat, sans-serif;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.notify-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.notify-button {
    padding: 14px 32px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Futura', Montserrat, sans-serif;
}

.notify-button:hover {
    background: var(--blue_light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}
/* Icônes features */
.desc1 {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 60px;
    margin-bottom: 0px;
}
.desc1 h2 {
    font-size: 20px;
    font-weight: 400;
    color: var(--blue);
    max-width: 600px;
    margin-bottom: 0px;
}
.desc2 {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 5px;
}
 .desc2 h2 {
    font-size: 16px;
    font-weight: 400;
    color: rgba(12, 12, 12, 0.7);
    max-width: 700px;
    margin-bottom: 30px;
}

/* Icônes features */
.features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(12, 12, 12, 0.8);
    font-size: 15px;
    font-weight: 500;
}
.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue_light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}
.feature-icon:hover {
    background: var(--blue_light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}
/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(12, 12, 12, 0.6);
    position: relative;
    z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 16px;
    }

    .notify-form {
        flex-direction: column;
    }

    .features {
        flex-direction: column;
        gap: 20px;
    }

    .brand {
        font-size: 14px;
    }

    .logo {
        height: 40px;
    }
}

/* Animation apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.main-content > *:nth-child(1) {
    animation-delay: 0.1s;
}

.main-content > *:nth-child(2) {
    animation-delay: 0.2s;
}

.main-content > *:nth-child(3) {
    animation-delay: 0.3s;
}

.main-content > *:nth-child(4) {
    animation-delay: 0.4s;
}

.main-content > *:nth-child(5) {
    animation-delay: 0.5s;
}

/* ========================================
   SSL BADGE FOOTER
======================================== */
.ssl-badge-footer-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    max-width: 150px;
    padding: 4px 8px;
    border-radius: 12px;
    height: 50px;
    background: linear-gradient(135deg, #13d494, #002b1c);
    background-size: 200% 200%;
    animation: gradientMoveFooter 6s ease infinite;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    transition: box-shadow 0.3s ease, filter 0.2s ease;
    font-size: 10px;
    margin: 0 auto;
    margin-bottom: 6px;
}

.ssl-badge-footer-centered:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    filter: brightness(1.05);
}

.certifie {
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

/* Ligne contenant cadenas + badge */
.ssl-row {
    display: flex;
    flex-direction: row;
    align-items: baseline; /* alignement parfait par la baseline */
    justify-content: center;
    gap: 4px;
}

/* Cadenas */
.lock-icon {
    height: 18px;
    display: inline-block;
    vertical-align: bottom; /* assure que la base du cadenas touche la baseline */
}

/* Badge SSL */
.ssl-badge-img {
    height: 20px;
    display: inline-block;
    vertical-align: bottom; /* base du badge alignée */
    border-radius: 4px;
}

/* Animation gradient */
@keyframes gradientMoveFooter {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 400px) {
    .ssl-badge-footer-centered {
        width: 70%;
        height: auto;
        padding: 6px;
    }
}

/* ========================================
   CTA BUTTON (remplace .notify-form)
======================================== */
.cta-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.cta-button {
    padding: 16px 44px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Futura', Montserrat, sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.cta-button:hover {
    background: var(--blue_light);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(30, 58, 138, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ========================================
   MODAL DE CONTACT
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    padding: 40px 20px;
    overflow-y: auto;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: rgba(12, 12, 12, 0.4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(12, 12, 12, 0.05);
    color: var(--black);
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    text-align: left;
    max-width: none;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 15px;
    color: rgba(12, 12, 12, 0.6);
    margin-bottom: 28px;
    text-align: left;
    line-height: 1.5;
    max-width: none;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.modal-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-fieldset legend {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(30, 58, 138, 0.1);
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group > label {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.form-group label .optional {
    font-weight: 400;
    color: rgba(12, 12, 12, 0.5);
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid rgba(30, 58, 138, 0.15);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Futura', Montserrat, sans-serif;
    background: #ffffff;
    color: var(--black);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 80px;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e3a8a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
}

.checkbox-group label,
.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
    color: rgba(12, 12, 12, 0.85);
}

.checkbox-group input[type="checkbox"],
.radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    cursor: pointer;
}

.checkbox-rgpd {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: rgba(12, 12, 12, 0.75);
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-rgpd input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--blue);
    cursor: pointer;
}

.form-feedback {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-feedback.error {
    display: block;
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
    flex-wrap: wrap;
}

.modal-submit {
    padding: 13px 30px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Futura', Montserrat, sans-serif;
}

.modal-submit:hover:not(:disabled) {
    background: var(--blue_light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-cancel {
    padding: 13px 24px;
    background: transparent;
    color: var(--black);
    border: 2px solid rgba(12, 12, 12, 0.12);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Futura', Montserrat, sans-serif;
}

.modal-cancel:hover {
    border-color: var(--black);
    background: rgba(12, 12, 12, 0.03);
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Vue succès dans le modal */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.modal-success .success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.modal-success h3 {
    font-size: 24px;
    color: var(--black);
    margin-bottom: 12px;
    max-width: none;
}

.modal-success p {
    font-size: 15px;
    color: rgba(12, 12, 12, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: none;
}

.modal-success .btn-primary {
    padding: 12px 32px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Futura', Montserrat, sans-serif;
    transition: background 0.2s ease;
}

.modal-success .btn-primary:hover {
    background: var(--blue_light);
}

/* Responsive modal */
@media (max-width: 640px) {
    .modal-overlay { padding: 20px 12px; }
    .modal-card {
        padding: 28px 20px;
        border-radius: 12px;
    }
    .modal-title { font-size: 22px; }
    .modal-subtitle { font-size: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .modal-actions {
        flex-direction: column-reverse;
    }
    .modal-actions button {
        width: 100%;
    }
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Scroll lock body quand modal ouvert */
body.modal-open {
    overflow: hidden !important;
}
