
/* --- NAVIGATION & LOGO --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 110px;
    display: flex; align-items: center;
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; cursor: pointer; height: 100%; }
.logo svg { height: 80px; width: auto; display: block; transition: transform 0.3s ease; }
.logo:hover svg { transform: scale(1.02); }

/* Logo Footer/Contact */
.footer-logo {
    display: flex; justify-content: center; align-items: center;
    width: 100%; margin-top: 40px;
}
.footer-logo svg { height: 90px; width: auto; display: block; }

.mobile-only-logo { display: none !important; }
.desktop-only-logo { display: flex !important; justify-content: center; width: 100%; }

/* Menu */
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-body); font-weight: 600; font-size: 0.95rem; font-family: var(--font-body); }
.nav-links a:hover { color: var(--teal-600); }
.btn-nav { background: var(--teal-600); color: var(--white) !important; padding: 10px 24px; border-radius: var(--radius-btn); }
.btn-nav:hover { background: #0f766e; }

/* Espace de sécurité pour les ancres (Navbar 110px + 20px de marge) */
[id] {
    scroll-margin-top: 80px;
}

/* Langue */
.lang-dropdown { position: relative; display: inline-block; font-family: var(--font-body); }
.lang-btn {
    background: transparent; border: 1px solid #e2e8f0; padding: 8px 12px;
    border-radius: 20px; cursor: pointer; display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: var(--text-slate-900); transition: all 0.3s ease;
}
.lang-btn:hover { border-color: var(--teal-600); background: #f0fdfa; }
.flag-icon { width: 20px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.2); }

.lang-content {
    display: none; position: absolute; top: 110%; right: 0;
    background-color: var(--white); min-width: 160px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 12px;
    overflow: hidden; z-index: 1000; border: 1px solid #f1f5f9;
}
.lang-content.show { display: block; animation: fadeIn 0.2s ease; }
.lang-item {
    padding: 10px 15px; cursor: pointer; display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-slate-600); transition: background 0.2s;
}
.lang-item:hover { background-color: #f0fdfa; color: var(--teal-600); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.line { width: 25px; height: 3px; background: var(--text-body); border-radius: 3px; }

/* --- HERO --- */
.hero {
    padding: 200px 0 120px; text-align: center;
    background-color: var(--light-bg);
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('../assets/hero-bg.webp');
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-tag {
    display: inline-block; background: rgba(13, 148, 136, 0.1); color: var(--teal-600);
    padding: 6px 16px; border-radius: 20px; font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
    margin-bottom: 32px; letter-spacing: 1px; text-transform: uppercase;
}
.main-title {
    font-family: var(--font-serif); font-weight: 900; color: var(--text-slate-900);
    line-height: 1.15; margin-bottom: 32px; letter-spacing: -0.02em; font-size: 2.8rem; 
}
@media (min-width: 768px) { .main-title { font-size: 4.5rem; } }
.text-gradient {
    background: var(--gradient-text); -webkit-background-clip: text; background-clip: text;
    color: transparent; display: inline-block;
}
.subtitle-style {
    font-family: var(--font-serif); font-style: italic; font-weight: 300;
    font-size: 1.35rem; line-height: 1.6; color: var(--text-slate-600);
    max-width: 800px; margin: 0 auto 48px;
}
.cta-group { display: flex; gap: 16px; justify-content: center; }
.btn {
    padding: 16px 32px; border-radius: var(--radius-btn); font-weight: 600; cursor: pointer;
    border: none; display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: 1rem; transition: all 0.3s ease;
}
.btn-primary { background: var(--text-slate-900); color: var(--white); }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.btn-outline { background: var(--white); border: 1px solid #e2e8f0; color: var(--teal-600); }
.btn-outline:hover { border-color: var(--teal-600); background: #f0fdfa; }

/* --- SECTIONS --- */
.section-science-bg { position: relative; background: var(--light-bg); padding: 100px 0; overflow: hidden; }
#canvas-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.6; }
.relative-content { position: relative; z-index: 1; }
.section-header.center-text { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; color: var(--text-slate-900); }
.section-header .lead { font-family: var(--font-body); font-size: 1.1rem; opacity: 0.8; color: var(--text-slate-600); }
.science-layout.no-visual { display: block; max-width: 800px; margin: 0 auto; }

/* Accordéons */
.accordion-wrapper { display: flex; flex-direction: column; gap: 16px; }
.accordion-item {
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(5px);
    border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px;
    overflow: hidden; transition: all 0.3s ease;
}
.accordion-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-color: var(--teal-600); }
.accordion-header {
    width: 100%; background: none; border: none; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; text-align: left;
}
.acc-title {
    font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
    color: var(--text-slate-900); display: flex; align-items: center; gap: 12px;
}
.icon-teal { color: var(--teal-600); font-size: 1.2rem; }
.arrow { color: #cbd5e1; transition: transform 0.3s ease; }
.accordion-body {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-slate-600); font-size: 0.95rem; line-height: 1.6;
}
.accordion-item.active .accordion-body { padding-bottom: 20px; max-height: 500px; }
.accordion-item.active .arrow { transform: rotate(180deg); color: var(--teal-600); }
.accordion-item.active { border-color: var(--teal-600); background: #f0fdfa; }
.science-link-container { margin-top: 20px; text-align: right; }
.btn-link-arrow { color: var(--teal-600); font-weight: 600; font-family: var(--font-body); }
.btn-link-arrow:hover { text-decoration: underline; }

/* Missions */
.section-gradient { background: var(--section-gradient); padding: 100px 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.mission-card {
    background: var(--white); padding: 40px 30px; border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft); text-align: left; transition: transform 0.3s;
    position: relative; overflow: hidden;
}
.clickable-card { cursor: pointer; transition: transform 0.3s, box-shadow 0.3s; }
.clickable-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.mission-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; }
.card-green::before { background: var(--teal-600); }
.card-orange::before { background: var(--accent-orange); }
.card-blue::before { background: var(--blue-600); }
.icon-circle {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 24px;
}
.card-green .icon-circle { background: rgba(13, 148, 136, 0.1); color: var(--teal-600); }
.card-orange .icon-circle { background: rgba(255,159,67,0.1); color: var(--accent-orange); }
.card-blue .icon-circle { background: rgba(37, 99, 235, 0.1); color: var(--blue-600); }
.icon-orange { color: var(--accent-orange); }
.mission-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--text-slate-900); }
.mission-card p { color: var(--text-slate-600); }


/* Roadmap and Carousel */
/* ROADMAP SPLIT GRID */
.roadmap-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

/* PATIENT HIGHLIGHT BOX */
/* PATIENT HIGHLIGHT BOX */
.patient-highlight-box {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f1f5f9;
}

.patient-carousel {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
    margin-bottom: 0; /* On gère l'espace via le conteneur des dots */
}

.carousel-track {
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active { opacity: 1; z-index: 1; }

/* On traite images et vidéos de la même manière */
.carousel-slide img, 
.carousel-slide video {
    width: 100%; 
    height: 100%;
    object-fit: cover; /* Remplit tout le cadre 16/9 sans déformer */
}

.slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(10, 17, 40, 0.9));
    padding: 60px 24px 24px; /* Plus de padding bas */
    color: white;
    font-size: 0.95rem;
    z-index: 2;
    pointer-events: none; /* Laisse passer les clics si besoin */
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 0; /* Ajoute de l'air au-dessus et au-dessous des points */
}

.dot {
    width: 8px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--teal-600);
    width: 30px; /* Plus long pour un effet design moderne */
    border-radius: 4px;
}

.patient-intro h3 {
    font-size: 1.5rem; color: var(--text-slate-900);
    margin-bottom: 15px; font-family: var(--font-serif);
}

.patient-intro p {
    color: var(--text-slate-600); font-size: 1rem; line-height: 1.6;
}

/* Roadmap */
.section-light { background: var(--light-bg); padding: 100px 0; }
.roadmap-container { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.roadmap-container::before {
    content: ''; position: absolute; inset-inline-start: 50px;
    top: 0; bottom: 0; width: 4px; background: #e2e8f0; border-radius: 2px;
}
.roadmap-item {
    display: flex; gap: 40px; margin-bottom: 50px; position: relative;
    opacity: 0.5; transition: 0.3s;
}
.roadmap-item:hover, .roadmap-item.completed, .roadmap-item.active-step { opacity: 1; }
.roadmap-dot {
    width: 50px; height: 50px; min-width: 50px; background: var(--white);
    border: 4px solid #cbd5e1; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-weight: 700;
    color: #64748b; z-index: 1; margin-inline-start: 27px;
}
.roadmap-item.completed .roadmap-dot { background: var(--teal-600); border-color: var(--teal-600); color: var(--white); }
.roadmap-item.active-step .roadmap-dot {
    background: var(--white); border-color: var(--blue-600); color: var(--blue-600);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.2); transform: scale(1.1);
}
.roadmap-content {
    background: var(--white); padding: 24px; border-radius: 16px;
    box-shadow: var(--shadow-soft); flex: 1; position: relative;
}
.roadmap-content::before {
    content: ''; position: absolute; inset-inline-start: -10px; top: 20px;
    border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
html:not([dir="rtl"]) .roadmap-content::before { border-right: 10px solid var(--white); border-left: none; }
html[dir="rtl"] .roadmap-content::before { border-left: 10px solid var(--white); border-right: none; }
.roadmap-content .date {
    display: block; font-size: 0.85rem; font-weight: 700; color: var(--teal-600);
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;
}
.roadmap-content h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text-slate-900); }
.badge-funding {
    display: inline-block; background: #fee2e2; color: #ef4444;
    font-size: 0.8rem; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; margin-top: 10px; animation: pulse-red 2s infinite;
}
@keyframes pulse-red { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* Contact */

.hidden { display: none !important; }

.section-dark { background: var(--dark-bg); color: var(--white); padding: 100px 0; }
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start;
}
.contact-info h2 { font-size: 3rem; margin-bottom: 24px; }
.contact-info p { font-size: 1.1rem; margin-bottom: 40px; opacity: 0.8; font-family: var(--font-body); }
.email-box {
    display: flex; align-items: center; gap: 20px;
    background: rgba(255,255,255,0.05); padding: 24px; border-radius: 16px;
}
.email-box i { font-size: 1.5rem; color: var(--accent-teal); background: rgba(0,201,167,0.1); padding: 15px; border-radius: 50%; }
.email-box span { display: block; font-size: 0.9rem; opacity: 0.7; margin-bottom: 5px; font-family: var(--font-body); }
.email-link { color: var(--white); font-weight: 700; font-size: 1.1rem; }
.email-link:hover { color: var(--accent-teal); }
.contact-form {
    background: rgba(255,255,255,0.03); padding: 40px;
    border-radius: 24px; border: 1px solid rgba(255,255,255,0.05);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block; font-family: var(--font-body); font-size: 0.75rem;
    font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; opacity: 0.6;
}
.form-group input, .form-group textarea {
    width: 100%; background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1); padding: 16px;
    border-radius: 8px; color: var(--white); font-family: var(--font-body); font-size: 1rem;
}
.form-group textarea { resize: none; height: 150px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent-teal); }
.btn-teal { background: var(--accent-teal); color: var(--white); width: 100%; justify-content: center; font-size: 1.1rem; }
.btn-teal:hover { background: #00a88d; }

/* Footer */
footer {
    background: var(--dark-bg); color: var(--white);
    padding: 40px 0; text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer p { opacity: 0.5; font-size: 0.9rem; }

/* Modales */
dialog.modal {
    margin: auto; padding: 0; border: none; border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2); max-width: 800px; width: 90%;
    max-height: 90vh; overflow: hidden;
}
dialog::backdrop { background: rgba(10, 17, 40, 0.8); backdrop-filter: blur(5px); }
.modal-content {
    background: var(--white); padding: 0;
    display: flex; flex-direction: column; height: 100%; max-height: 90vh;
}
.modal-header {
    padding: 40px 40px 20px 40px; flex-shrink: 0;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-header h2 { font-size: 2rem; margin-bottom: 8px; color: var(--text-slate-900); }
.modal-header p { color: var(--text-slate-600); font-family: var(--font-body); }
.close-btn {
    background: #f0f2f5; border: none; width: 40px; height: 40px;
    border-radius: 50%; font-size: 1.2rem; color: #555; cursor: pointer;
}
.close-btn:hover { background: #e1e4e8; }
.modal-body {
    padding: 0 40px 40px 40px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 30px;
}
.modal-body::-webkit-scrollbar { width: 10px; }
.modal-body::-webkit-scrollbar-track { background: transparent; margin-block: 10px; }
.modal-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1; border-radius: 20px; border: 3px solid var(--white);
}
.modal-body::-webkit-scrollbar-thumb:hover { background-color: var(--teal-600); }
.modal-section h3 {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.3rem; margin-bottom: 16px; color: var(--text-slate-900);
}
.modal-section p { color: var(--text-slate-600); }
.inheritance-diagram {
    display: flex; align-items: center; justify-content: center;
    gap: 15px; margin-top: 30px; text-align: center; font-size: 0.9rem;
    background: var(--white); padding: 20px; border-radius: 12px;
    border: 1px solid #f1f5f9;
}
.parent, .child { 
    padding: 15px; border-radius: 8px; background: #f8fafc; 
    border: 1px solid #e2e8f0; flex: 1;
}
.child { border-color: rgba(239, 68, 68, 0.3); background: #fef2f2; }
.gene {
    display: inline-block; padding: 4px 8px; border-radius: 6px;
    font-weight: 700; font-size: 0.75rem; margin-top: 5px;
}
.gene-ok { background: #dcfce7; color: #166534; }
.gene-mutA { background: #fee2e2; color: #991b1b; }
.gene-mutB { background: #fef9c3; color: #854d0e; }
.plus, .arrow { font-size: 1.5rem; color: #cbd5e1; font-weight: 300; }
.arrow { margin: 0 10px; }
.blue-box { background: #eff6ff; padding: 24px; border-radius: 16px; border: 1px solid #dbeafe; }
.modal-list { margin: 20px 0 20px 20px; }
.modal-list li { margin-bottom: 10px; color: var(--text-slate-600); }
.conclusion { color: var(--blue-600); font-weight: 600; }
.btn-light-blue {
    background: #e3f2fd; color: var(--blue-600); padding: 12px 24px;
    border-radius: 8px; display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; margin-top: 10px; font-family: var(--font-body);
}
.btn-light-blue:hover { background: #bbdefb; }

/* Icon Colors (Global) */
.icon-green { color: var(--teal-600); }
.icon-blue { color: var(--blue-600); }
.icon-purple { color: var(--accent-purple); }
.icon-orange { color: var(--accent-orange); }
.icon-teal { color: var(--teal-600); }

/* --- PAGES DE PAIEMENT (Don & Adhésion) --- */

/* En-tête de page spécifique */
.page-header {
    padding: 160px 0 40px; /* Réduit le padding bas */
    text-align: center;
    background: linear-gradient(to bottom, #f0fdfa, #ffffff);
}
.page-header h1 {
    font-size: 3rem;
    color: var(--text-slate-900);
    margin-bottom: 16px;
}

/* Grille 2 colonnes (Gauche: Arguments / Droite: Formulaire) */
.split-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start; 
    margin-top: 60px;
    margin-bottom: 120px
}

/* Bloc Chiffres Clés */
.impact-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-serif);
    color: var(--teal-600);
    font-weight: 900;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-slate-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Image décorative de fond pour combler le vide */
.side-visual-filler {
    margin-top: 60px;
    opacity: 0.05; /* Très discret pour ne pas distraire */
    text-align: center;
    pointer-events: none;
}

.side-visual-filler svg {
    width: 250px;
    height: auto;
}

/* Colonne Gauche : Arguments */
.donate-content h2 {
    font-size: 1.8rem;
    color: var(--teal-600);
    margin-bottom: 24px;
}
.donate-content p {
    color: var(--text-slate-600);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Liste des bénéfices (avec icônes) */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.benefit-icon {
    background: rgba(13, 148, 136, 0.1);
    color: var(--teal-600);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.benefit-text h4 {
    font-size: 1.1rem;
    color: var(--text-slate-900);
    margin-bottom: 6px;
    font-weight: 600;
}
.benefit-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Boîte de déduction fiscale */
.tax-box {
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    margin-top: 50px;
}
.tax-badge {
    position: absolute;
    top: -14px; left: 30px;
    background: var(--blue-600);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tax-box strong { color: var(--blue-600); }

/* Colonne Droite : Le Formulaire Flottant */
.sticky-form-container {
    position: sticky;
    top: 130px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 20px 10px;
    border: 1px solid #f1f5f9;
    z-index: 10;
    text-align: center; /* Assure le centrage de l'iframe */
}

/* Section Crypto (Nouveau Design Clair) */
.crypto-modern {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    padding: 40px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.crypto-icon i {
    color: var(--teal-600);
    font-size: 3.5rem;
}
.crypto-text h3 {
    color: var(--text-slate-900);
    margin-bottom: 8px;
    font-size: 1.5rem;
}
.crypto-text p {
    color: var(--text-slate-600);
}
.crypto-address-box {
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-top: 20px;
    display: none;
    border: 1px solid #e2e8f0;
    color: var(--text-slate-900);
    word-break: break-all;
}
/* Correction du bouton crypto */
.crypto-modern .btn-outline {
    border: 2px solid var(--teal-600);
    color: var(--teal-600);
    font-weight: 600;
    padding: 12px 24px;
}
.crypto-modern .btn-outline:hover {
    background: var(--teal-600);
    color: white;
}

.crypto-tax-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px 15px;
    background: rgba(13, 148, 136, 0.05); /* Très léger fond teal */
    border-radius: 8px;
    border-left: 3px solid var(--teal-600);
}

.crypto-tax-info i {
    color: var(--teal-600);
    font-size: 1.1rem;
}

.crypto-tax-info p {
    font-size: 0.85rem;
    color: var(--text-slate-600);
    margin: 0;
    line-height: 1.4;
}

.crypto-address-box {
    margin-top: 15px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-family: monospace;
    word-break: break-all;
    border: 1px dashed var(--teal-600);
    color: var(--text-slate-900);
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .split-page-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 40px;
    }
    .page-header { padding-top: 140px; }
    .page-header h1 { font-size: 2.2rem; }
    .sticky-form-container { position: relative; top: 0; padding: 10px 0; box-shadow: none; border: none;}
    .crypto-modern { flex-direction: column; text-align: center; gap: 20px; padding: 30px;}
    .benefit-item { align-items: center; }
}

/* --- PAGE MERCI (Confirmation Don) --- */

/* Configuration spéciale pour le pied de page collé en bas (Sticky Footer) */
body.page-thank-you {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thank-you-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 100px; /* Marge pour la navbar fixe */
    background: linear-gradient(to bottom, #f0fdfa, #ffffff);
}

.thank-you-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    max-width: 700px;
    width: 100%;
    text-align: center;
    animation: slideUp 0.5s ease-out;
}

.page-thank-you, .page-header + .container.split-page-grid {
    background-color: #f8fafc; /* Un gris très doux */
}

/* Animations d'entrée */
@keyframes slideUp { 
    from { transform: translateY(20px); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

@keyframes popIn { 
    0% { transform: scale(0); } 
    100% { transform: scale(1); } 
}

.success-icon {
    width: 90px; height: 90px;
    background: #dcfce7;
    color: #166534;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    box-shadow: 0 10px 30px rgba(22, 101, 52, 0.2);
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.email-confirmation-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.email-icon {
    color: #0284c7;
    font-size: 1.8rem;
    margin-top: 2px;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--teal-600);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    opacity: 0.5;
    
}

.scroll-top-btn.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive pour la page merci */
@media (max-width: 768px) {
    .thank-you-card { padding: 40px 24px; }
    .email-confirmation-box { flex-direction: column; text-align: center; align-items: center; }
}