/*
 * =========================================
 * CSS Principal pour AUTHENTICATE MY CARD
 * Version: FINALE 3.0 (100% Automatique)
 * Status: Code final, sans sélecteur de langue
 * =========================================
 */

/* --- Polices & Animations Globales --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideshow { 0%, 25%, 100% { opacity: 0; } 5%, 20% { opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 20px var(--energy-color), 0 0 40px rgba(0, 247, 255, 0.3); transform: translate(-50%, -50%) scale(1); } 100% { box-shadow: 0 0 30px var(--energy-color), 0 0 60px rgba(0, 247, 255, 0.5); transform: translate(-50%, -50%) scale(1.1); } }
@keyframes orbit { 0% { transform: rotate(0deg) translateX(80px) rotate(0deg); opacity: 1; } 50% { transform: rotate(180deg) translateX(40px) rotate(-180deg); opacity: 0.7; } 100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); opacity: 1; } }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes wavePulse { 0%, 100% { opacity: 0.3; width: 180px; height: 180px; } 50% { opacity: 0.8; width: 190px; height: 190px; } }

/* --- Variables & Styles de Base --- */
:root {
    --primary-color: #0a2463; --secondary-color: #38c172; --light-bg: #f4f7f6;
    --dark-text: #333; --light-text: #fff; --error-color: #e74c3c;
    --success-color: #2ecc71; --energy-color: #00f7ff;
}
body { font-family: 'Poppins', sans-serif; margin: 0; background-color: var(--light-bg); color: var(--dark-text); line-height: 1.7; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- CORRECTIONS GOOGLE TRANSLATE --- */
body { top: 0 !important; }
.skiptranslate, iframe.goog-te-banner-frame, #google_translate_element { display: none !important; }

/* --- Header & Navigation --- */
#header { background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 1000; }
nav { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links li { margin: 0 15px; }
.nav-links a { text-decoration: none; color: var(--dark-text); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--secondary-color); }
.hamburger { display: none; cursor: pointer; font-size: 1.5rem; z-index: 1002; }

/* --- Sections & Contenu --- */
.hero { position: relative; height: 80vh; color: var(--light-text); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-slideshow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.hero-slideshow .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; animation: slideshow 15s linear infinite; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 5s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 10s; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 36, 99, 0.7); z-index: -1; }
.hero-content { animation: fadeIn 1.5s ease-out; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; }
.hero-btns { margin-top: 2rem; }
.btn { padding: 12px 25px; text-decoration: none; border-radius: 50px; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn-primary { background: var(--secondary-color); color: var(--light-text); border: 2px solid var(--secondary-color); }
.btn-primary:hover { background: transparent; color: var(--secondary-color); }
.btn-secondary { background: var(--primary-color); color: var(--light-text); border: 2px solid var(--primary-color); }
.btn-secondary:hover { background: transparent; color: var(--primary-color); }
.btn-outline { background: transparent; color: var(--light-text); border: 2px solid var(--light-text); }
.btn-outline:hover { background: var(--light-text); color: var(--primary-color); }
section { padding: 4rem 0; animation: fadeIn 1s ease; }
main { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.section-title p { max-width: 500px; margin: 0 auto; color: #666; }
.payment-methods-bar { background: #fff; padding: 2rem 0; text-align: center; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
.payment-methods-bar p { font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }
.payment-methods-bar .logos { max-width: 800px; margin: 0 auto; }
.payment-methods-bar img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.about-content { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.about-text, .about-image { flex: 1 1 300px; }
.about-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.benefits { background: #fff; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.benefit-card { background: var(--light-bg); padding: 2rem; text-align: center; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.benefit-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.benefit-icon { font-size: 3rem; color: var(--secondary-color); margin-bottom: 1rem; }
.steps-container { display: flex; justify-content: space-around; gap: 1.5rem; text-align: center; flex-wrap: wrap; }
.step-item { background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); flex: 1 1 200px; }
.step-number { width: 50px; height: 50px; background: var(--primary-color); color: var(--light-text); border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem auto; border: 3px solid var(--secondary-color); }
.testimonials, .cta { text-align: center; }
.testimonials-container { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.testimonial-card { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07); flex: 1 1 280px; font-style: italic; }
.testimonial-user { font-weight: 600; margin-top: 1rem; font-style: normal; color: var(--primary-color); }
.cta { background: var(--primary-color); color: var(--light-text); }
.cta h2 { color: var(--light-text); }
.partners { background: var(--light-bg); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.partner-card { display: block; text-decoration: none; background: #fff; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.partner-card .logo-container { height: 60px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.partner-card img { max-height: 45px; max-width: 140px; }
.partner-card h3 { color: var(--primary-color); margin: 0.5rem 0; font-size: 1.2rem; }
.partner-card p { color: #777; font-size: 0.9rem; line-height: 1.4; margin: 0; }
.partner-card .reliability { display: flex; align-items: center; justify-content: center; margin-top: 1rem; color: var(--secondary-color); font-weight: 600; font-size: 0.85rem; }
.partner-card .reliability .fas { margin-right: 5px; }
.form-container { display: flex; justify-content: center; align-items: center; }
.form-wrapper { max-width: 700px; width: 100%; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); animation: fadeIn 1s ease; }
.form-title { text-align: center; color: var(--primary-color); margin-bottom: 1rem; }
.form-subtitle { text-align: center; margin-bottom: 2.5rem; color: #666; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--dark-text); }
.form-group.required label::after { content: ' *'; color: var(--error-color); }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: all 0.3s ease; }
.form-control:focus { border-color: var(--primary-color); outline: none; box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.2); }
select.form-control { appearance: none; -webkit-appearance: none; -moz-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; }
.hide-code-toggle { display: flex; align-items: center; margin-bottom: 15px; font-size: 0.9rem; }
.hide-code-toggle input[type="checkbox"] { margin-right: 8px; }
.checkbox-group { display: flex; align-items: flex-start; margin-top: 1.5rem; }
.checkbox-group input[type="checkbox"] { margin-right: 10px; margin-top: 5px; flex-shrink: 0; }
.checkbox-group label { font-size: 0.9rem; color: #555; font-weight: 400; }
.checkbox-group a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.checkbox-group a:hover { text-decoration: underline; }
.btn-submit { display: block; width: 100%; padding: 15px; background: var(--primary-color); color: white; border: none; border-radius: 5px; font-weight: 600; font-size: 1.1rem; cursor: pointer; transition: all 0.3s ease; margin-top: 2rem; }
.btn-submit:hover:not(:disabled) { background: #081d4a; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3); }
.btn-submit:disabled { background-color: #ccc; cursor: not-allowed; }
.form-status-message { padding: 15px; margin-top: 20px; border-radius: 5px; display: none; text-align: center; font-weight: 500; }
.form-status-message.success { background-color: #eafaf1; color: #27ae60; border: 1px solid #a3e9c3; }
.form-status-message.error { background-color: #fbeae9; color: var(--error-color); border: 1px solid #f6c0ba; }
.content-page-container { max-width: 900px; margin: 0 auto; background-color: #fff; padding: 30px 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); }
.content-page-container h1 { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 1rem; border-bottom: 2px solid var(--secondary-color); padding-bottom: 0.5rem; }
.content-page-container h2 { font-size: 1.6rem; color: var(--primary-color); margin-top: 2.5rem; margin-bottom: 1rem; }
.content-page-container p, .content-page-container li { font-size: 1rem; color: #555; line-height: 1.8; }
.content-page-container ul { padding-left: 20px; margin-top: 1rem; }
.content-page-container a { color: var(--secondary-color); font-weight: 600; }
.content-page-container .last-updated { text-align: right; margin-top: 2rem; font-style: italic; color: #888; }
footer { background: #222; color: #ccc; padding: 3rem 0; margin-top: 4rem; }
.footer-content { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-column { flex: 1; min-width: 250px; }
.footer-column h3 { color: var(--light-text); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 1.5rem; }
.footer-bottom a { color: var(--secondary-color); }
.loader-container { padding: 40px 20px; text-align: center; }
.quantum-loader { width: 200px; height: 200px; margin: 0 auto; position: relative; margin-bottom: 20px; }
#progress-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.5rem; font-weight: 700; color: var(--light-text); z-index: 15; text-shadow: 0 0 10px rgba(0, 247, 255, 0.8); }
.core { position: absolute; width: 40px; height: 40px; background: var(--primary-color); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 20px var(--energy-color), 0 0 40px rgba(0, 247, 255, 0.3); z-index: 10; animation: pulse 2s infinite alternate; }
.particle { position: absolute; width: 8px; height: 8px; background: var(--energy-color); border-radius: 50%; filter: drop-shadow(0 0 5px var(--energy-color)); animation: orbit 4s infinite cubic-bezier(0.5, 0, 0.5, 1); }
.particle-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; }
.energy-wave { position: absolute; width: 180px; height: 180px; border: 2px solid transparent; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); border-top-color: var(--energy-color); border-bottom-color: var(--energy-color); animation: rotate 8s linear infinite, wavePulse 3s ease-in-out infinite; }
#progress-status { color: var(--dark-text); font-size: 1.1rem; font-weight: 500; height: 2em; }

/* --- Responsive --- */
@media (max-width: 850px) {
    .nav-links {
        display: flex; position: fixed; top: 0; right: -100%; width: 70%;
        max-width: 300px; height: 100vh; background: rgba(10, 36, 99, 0.98);
        flex-direction: column; justify-content: center; align-items: center;
        transition: right 0.4s ease-in-out; padding: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 15px 0; width: 90%; text-align: center; }
    .nav-links a { color: white; font-size: 1.2rem; }
    .hamburger { display: block; }
    .hamburger.active i::before { content: '\f00d'; }
    .hero h1 { font-size: 2.5rem; }
    .step-item { flex-basis: 40%; min-width: 150px; padding: 1.5rem; }
    .testimonial-card { flex-basis: 100%; }
    .form-wrapper { padding: 20px; }
    .quantum-loader { width: 150px; height: 150px; }
}