body { background: radial-gradient(circle at top, rgba(255, 122, 26, 0.16), transparent 35%), #0a0a10; margin: 0; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: white; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; } .captcha-shell { width: 100%; max-width: 1100px; } .captcha-card, .success-screen { background: linear-gradient(180deg, #111116 0%, #161622 100%); border: 1px solid #262638; border-radius: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); padding: 30px; animation: cardEnter 0.5s ease; } @keyframes cardEnter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } .captcha-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 122, 26, 0.14); border: 1px solid rgba(255, 122, 26, 0.3); color: #ffa155; font-size: 13px; font-weight: bold; margin-bottom: 18px; } .captcha-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 18px; } .captcha-title { margin: 0 0 10px; font-size: 34px; font-weight: 800; } .captcha-subtitle { margin: 0; color: #c1c1cf; font-size: 16px; line-height: 1.7; max-width: 700px; } .captcha-subtitle strong { color: #ffa155; } .captcha-target { min-width: 240px; background-color: #1a1a24; border: 1px solid #262638; border-radius: 18px; padding: 18px; } .captcha-target span { display: block; color: #8f8fa8; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; } .captcha-target strong { font-size: 22px; color: #ffa155; } .captcha-stats { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; } .captcha-attempts { display: flex; align-items: center; gap: 14px; background-color: #171b28; border: 1px solid #283049; border-radius: 14px; padding: 12px 16px; } .captcha-attempts span { display: block; color: #99a0bc; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; } .captcha-attempts strong { font-size: 22px; color: #ffffff; } /* Pastilles visuelles représentant les essais restants */ .attempts-dots { display: flex; gap: 6px; } .attempts-dots span { width: 10px; height: 10px; border-radius: 50%; transition: background-color 0.3s ease, transform 0.3s ease; } .attempts-dots .dot-filled { background: linear-gradient(180deg, #ff7a1a 0%, #e8630a 100%); box-shadow: 0 0 8px rgba(255, 122, 26, 0.5); } .attempts-dots .dot-empty { background-color: #2a2f42; } .captcha-reset, .captcha-secondary-button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; text-decoration: none; color: white; background-color: #2a2a3a; border: 1px solid #3a3a4e; transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; } .captcha-reset:hover, .captcha-secondary-button:hover { background-color: #34344a; border-color: rgba(255, 122, 26, 0.4); transform: translateY(-1px); } .captcha-error { margin-bottom: 18px; background-color: rgba(161, 44, 47, 0.15); border: 1px solid rgba(255, 84, 84, 0.45); border-radius: 12px; color: #ffb8bb; padding: 14px 16px; font-size: 14px; animation: errorShake 0.4s ease; } @keyframes errorShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } } .mailbox { background-color: #0f1118; border: 1px solid #22263a; border-radius: 20px; overflow: hidden; } .mailbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background-color: #141825; border-bottom: 1px solid #22263a; } .mailbox-dots { display: flex; gap: 8px; } .mailbox-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; } .mailbox-dots span:nth-child(1) { background-color: #ff5f57; } .mailbox-dots span:nth-child(2) { background-color: #febc2e; } .mailbox-dots span:nth-child(3) { background-color: #28c840; } .mailbox-label { color: #d6daf0; font-size: 14px; font-weight: bold; } .mail-list { display: flex; flex-direction: column; } .mail-option { position: relative; opacity: 0; animation: mailEnter 0.4s ease forwards; animation-delay: calc(var(--mail-index, 0) * 0.04s); } @keyframes mailEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } .mail-option-disabled { pointer-events: none; opacity: 0.5; } .mail-option input { position: absolute; opacity: 0; pointer-events: none; } /* Anneau de focus visible au clavier (accessibilité) sur la ligne associée à la checkbox */ .mail-option input:focus-visible + .mail-row { outline: 2px solid #ff7a1a; outline-offset: -2px; } .mail-row { display: grid; grid-template-columns: 26px 48px minmax(120px, 220px) 1fr 70px; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #1d2234; cursor: pointer; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; } .mail-row:hover { background-color: #161b2a; transform: translateX(2px); } .mail-option input:checked + .mail-row { background-color: rgba(255, 122, 26, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.35); } /* Case à cocher personnalisée */ .mail-check { width: 22px; height: 22px; border-radius: 6px; background-color: #1a1a24; border: 1px solid #3a3a4e; display: flex; align-items: center; justify-content: center; color: transparent; font-size: 12px; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.15s ease, transform 0.15s ease; } .mail-option input:checked + .mail-row .mail-check { background: linear-gradient(180deg, #ff7a1a 0%, #e8630a 100%); border-color: #ff7a1a; color: white; transform: scale(1.08); } .mail-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #2a2a3a 0%, #1a1a24 100%); border: 1px solid #303040; display: flex; align-items: center; justify-content: center; color: #d7dcf2; font-weight: bold; font-size: 15px; } .mail-sender { font-weight: bold; color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mail-content { min-width: 0; } .mail-subject { color: #f3f4fb; font-size: 15px; margin-bottom: 4px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mail-preview { color: #b5b8ca; font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mail-time { color: #8f8fa8; font-size: 13px; text-align: right; } /* Champ piège (honeypot) : invisible pour un humain, exclu du tabulateur, mais toujours présent dans le HTML pour les robots qui remplissent tout */ .captcha-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } .captcha-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; } .captcha-note { color: #b7bbcd; font-size: 14px; line-height: 1.6; max-width: 720px; } .captcha-actions { display: flex; gap: 12px; } .captcha-submit { background: linear-gradient(180deg, #ff8c3a 0%, #e8630a 100%); color: white; border: none; border-radius: 12px; padding: 14px 24px; font-size: 15px; font-weight: bold; cursor: pointer; transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 12px 24px rgba(232, 99, 10, 0.32); } .captcha-submit:hover { transform: translateY(-1px) scale(1.01); box-shadow: 0 16px 30px rgba(232, 99, 10, 0.4); } .captcha-submit:active { transform: translateY(1px) scale(0.99); } .success-mode { overflow: hidden; } .success-screen { text-align: center; position: relative; overflow: hidden; animation: successPop 0.6s ease; } .success-icon { font-size: 68px; margin-bottom: 14px; animation: bounceIn 0.9s ease; } .success-screen h1 { margin: 0 0 12px; font-size: 40px; } .success-screen p { margin: 0 auto 12px; max-width: 520px; color: #ced2e6; font-size: 18px; } /* Bloc pédagogique listant les indices de phishing repérés */ .success-reasons { max-width: 460px; margin: 18px auto 26px; padding: 18px 22px; text-align: left; background: rgba(255, 122, 26, 0.08); border: 1px solid rgba(255, 122, 26, 0.25); border-radius: 16px; animation: cardEnter 0.5s ease 0.3s both; } .success-reasons-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #ffa155; } .success-reasons ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; } .success-reasons li { display: flex; align-items: flex-start; gap: 10px; color: #d8d9e6; font-size: 14.5px; line-height: 1.5; } .reason-dot { flex-shrink: 0; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #ff8c3a; } .success-loader { width: 240px; height: 10px; margin: 0 auto; background: #23283d; border-radius: 999px; overflow: hidden; border: 1px solid #323a5b; } .success-loader span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffa155 0%, #ff7a1a 100%); animation: loadingBar 2.4s linear forwards; } .success-burst { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(255, 197, 92, 0.25), transparent 18%), radial-gradient(circle at 80% 20%, rgba(98, 210, 111, 0.2), transparent 18%), radial-gradient(circle at 30% 80%, rgba(255, 122, 26, 0.22), transparent 20%), radial-gradient(circle at 75% 70%, rgba(255, 145, 77, 0.18), transparent 18%); animation: burstPulse 1s ease-in-out infinite alternate; } @keyframes successPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } } @keyframes bounceIn { 0% { opacity: 0; transform: scale(0.3) translateY(20px); } 60% { opacity: 1; transform: scale(1.08) translateY(-6px); } 100% { transform: scale(1) translateY(0); } } @keyframes loadingBar { from { width: 0; } to { width: 100%; } } @keyframes burstPulse { from { opacity: 0.7; transform: scale(1); } to { opacity: 1; transform: scale(1.03); } } @media (prefers-reduced-motion: reduce) { .captcha-card, .success-screen, .mail-option, .success-reasons, .success-icon, .captcha-error { animation: none; opacity: 1; } .success-burst { animation: none; } } @media (max-width: 900px) { .captcha-top { flex-direction: column; } .captcha-target { width: 100%; min-width: 0; } .mail-row { grid-template-columns: 22px 42px 1fr 56px; } .mail-sender { display: none; } .captcha-footer { flex-direction: column; align-items: stretch; } .captcha-actions { width: 100%; } .captcha-submit, .captcha-secondary-button { width: 100%; } } @media (max-width: 640px) { body { padding: 14px; } .captcha-card, .success-screen { padding: 20px; border-radius: 18px; } .captcha-title { font-size: 28px; } .mailbox-toolbar { padding: 14px 16px; } .mail-row { grid-template-columns: 20px 36px 1fr; gap: 10px; padding: 14px 14px; } .mail-time { display: none; } .success-screen h1 { font-size: 30px; } .success-screen p { font-size: 16px; } .success-loader { width: 100%; } }