/**
 * Sourires de Cuba - Frontend Styles
 * Design festif Noël tropical 🎄🌴
 */

/* Variables de couleurs */
:root {
    --sdc-rouge: #E63946;
    --sdc-or: #FFD166;
    --sdc-vert: #0B6E4F;
    --sdc-bleu: #2EC4B6;
    --sdc-fond: #FFF9F0;
    --sdc-blanc: #FFFFFF;
    --sdc-gris: #F5F5F5;
    --sdc-gris-fonce: #666666;
    --sdc-noir: #333333;
}

/* Reset et base */
.sdc-donation-form-wrapper,
.sdc-campaign-page,
.sdc-widget {
    font-family: 'Open Sans', sans-serif;
    color: var(--sdc-noir);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Titres */
.sdc-form-title,
.sdc-campaign-title,
.sdc-section-title,
.sdc-cta-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* ===================
   FORMULAIRE DE DON
   =================== */

.sdc-donation-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--sdc-blanc);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.sdc-donation-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sdc-form-title {
    font-size: 2rem;
    color: var(--sdc-rouge);
    margin-bottom: 0.5rem;
}

.sdc-form-description {
    font-size: 1rem;
    color: var(--sdc-gris-fonce);
    margin: 0;
}

/* Messages */
.sdc-form-message {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.sdc-form-message.success {
    background: rgba(11, 110, 79, 0.1);
    color: var(--sdc-vert);
    border: 2px solid var(--sdc-vert);
}

.sdc-form-message.error {
    background: rgba(230, 57, 70, 0.1);
    color: var(--sdc-rouge);
    border: 2px solid var(--sdc-rouge);
}

/* Groupes de formulaire */
.sdc-form-group {
    margin-bottom: 1.5rem;
}

.sdc-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1D3557;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.sdc-optional {
    font-weight: 400;
    color: #666666;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Boutons de montants */
.sdc-amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sdc-amount-btn {
    background: #FFFFFF !important;
    border: 3px solid #E0E0E0 !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #333333 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 50px !important;
}

.sdc-amount-btn:hover {
    background: #FFF9F0 !important;
    border-color: #FFD166 !important;
    border-width: 3px !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 209, 102, 0.3) !important;
}

.sdc-amount-btn.active {
    background: #E63946 !important;
    color: #FFFFFF !important;
    border-color: #E63946 !important;
    border-width: 3px !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4) !important;
}

.sdc-amount-custom {
    background: linear-gradient(135deg, #FFD166, #E63946) !important;
    color: #FFFFFF !important;
    border: 3px solid #E63946 !important;
    font-weight: 700 !important;
}

.sdc-amount-custom:hover {
    background: linear-gradient(135deg, #E63946, #FFD166) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4) !important;
}

.sdc-amount-custom.active {
    background: linear-gradient(135deg, #E63946, #d62839) !important;
    border-color: #d62839 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.5) !important;
}
/* Inputs */
.sdc-input,
.sdc-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #D0D0D0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #FFFFFF;
    color: #333333;
    font-weight: 500;
}

.sdc-input:focus,
.sdc-textarea:focus {
    outline: none;
    border-color: var(--sdc-rouge);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}

.sdc-input::placeholder,
.sdc-textarea::placeholder {
    color: #999999;
    font-weight: 400;
}

.sdc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sdc-input-prefix,
.sdc-input-suffix {
    position: absolute;
    font-weight: 600;
    color: var(--sdc-gris-fonce);
}

.sdc-input-prefix {
    left: 1rem;
}

.sdc-input-suffix {
    right: 1rem;
}

.sdc-input-amount {
    padding-left: 2.5rem;
    padding-right: 3.5rem;
}

.sdc-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.sdc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
}

.sdc-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--sdc-rouge);
}

.sdc-checkbox-text {
    font-size: 1rem;
}

/* Section de formulaire */
.sdc-form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--sdc-fond);
    border-radius: 12px;
}

.sdc-section-title {
    font-size: 1.3rem;
    color: var(--sdc-vert);
    margin-bottom: 1rem;
}

/* Conteneur de carte */
.sdc-card-container {
    min-height: 100px;
    padding: 1rem;
    background: var(--sdc-blanc);
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.sdc-secure-notice {
    text-align: center;
    color: var(--sdc-vert);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.5rem 0 0;
}

/* Bouton de soumission */
.sdc-form-actions {
    margin-top: 2rem;
}

.sdc-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--sdc-rouge), #d62839);
    color: var(--sdc-blanc);
    border: none;
    border-radius: 50px;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.3);
}

.sdc-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.sdc-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sdc-btn-icon {
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

/* Loader */
.sdc-loader {
    text-align: center;
    padding: 2rem;
}

.sdc-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border: 4px solid var(--sdc-fond);
    border-top-color: var(--sdc-rouge);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animation de succès */
.sdc-success-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sdc-success-content {
    background: var(--sdc-blanc);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    position: relative;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdc-success-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: heartbeat 1s ease infinite;
}

.sdc-success-title {
    font-size: 2rem;
    color: var(--sdc-rouge);
    margin-bottom: 1rem;
}

.sdc-success-message {
    font-size: 1.2rem;
    color: var(--sdc-gris-fonce);
}

/* ===================
   PAGE DE CAMPAGNE
   =================== */

.sdc-campaign-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* En-tête */
.sdc-campaign-hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--sdc-rouge), var(--sdc-vert));
    border-radius: 20px;
    color: var(--sdc-blanc);
    margin-bottom: 2rem;
}

.sdc-title-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sdc-campaign-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--sdc-blanc);
}

.sdc-campaign-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
}

/* Statistiques */
.sdc-campaign-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sdc-stat-card {
    background: var(--sdc-blanc);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.sdc-stat-main {
    background: linear-gradient(135deg, var(--sdc-rouge), #d62839);
    color: var(--sdc-blanc);
}

.sdc-stat-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.sdc-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.25rem;
}

.sdc-stat-amount {
    color: var(--sdc-or);
}

.sdc-stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.sdc-stat-sublabel {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 0.5rem;
}

/* Barre de progression */
.sdc-progress-section {
    background: var(--sdc-blanc);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sdc-progress-bar-container {
    margin-bottom: 1rem;
}

.sdc-progress-bar {
    height: 40px;
    background: var(--sdc-gris);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.sdc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sdc-rouge), var(--sdc-or));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    transition: width 1s ease;
}

.sdc-progress-text {
    color: var(--sdc-blanc);
    font-weight: 700;
    font-size: 1rem;
}

.sdc-goal-reached,
.sdc-goal-remaining {
    text-align: center;
    font-size: 1.1rem;
}

.sdc-goal-reached {
    color: var(--sdc-vert);
}

.sdc-goal-icon {
    font-size: 1.5rem;
}

/* Dons récents */
.sdc-recent-donations {
    background: var(--sdc-blanc);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sdc-donations-list {
    display: grid;
    gap: 1rem;
}

.sdc-donation-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--sdc-fond);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.sdc-donation-item:hover {
    transform: translateX(5px);
}

.sdc-donation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sdc-rouge), var(--sdc-or));
    color: var(--sdc-blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sdc-donation-content {
    flex: 1;
}

.sdc-donation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.sdc-donation-name {
    font-size: 1rem;
    color: var(--sdc-noir);
}

.sdc-donation-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sdc-rouge);
}

.sdc-donation-message {
    font-style: italic;
    color: var(--sdc-gris-fonce);
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: var(--sdc-blanc);
    border-left: 3px solid var(--sdc-or);
    border-radius: 5px;
}

.sdc-donation-date {
    font-size: 0.85rem;
    color: var(--sdc-gris-fonce);
}

/* Partage social */
.sdc-social-share {
    background: var(--sdc-blanc);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sdc-share-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.sdc-share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.sdc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.sdc-share-facebook {
    background: #1877F2;
    color: var(--sdc-blanc);
}

.sdc-share-twitter {
    background: #000000;
    color: var(--sdc-blanc);
}

.sdc-share-copy {
    background: var(--sdc-vert);
    color: var(--sdc-blanc);
}

.sdc-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.sdc-copy-notification {
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--sdc-vert);
    color: var(--sdc-blanc);
    border-radius: 10px;
    animation: slideDown 0.3s ease;
}

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

/* Appel à l'action */
.sdc-cta-section {
    background: linear-gradient(135deg, var(--sdc-vert), var(--sdc-bleu));
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--sdc-blanc);
}

.sdc-cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--sdc-blanc);
}

.sdc-cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.sdc-cta-btn {
    display: inline-block;
    background: var(--sdc-blanc);
    color: var(--sdc-rouge);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.sdc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ===================
   WIDGET
   =================== */

.sdc-widget {
    background: var(--sdc-blanc);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.sdc-widget-header h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
}

.sdc-widget-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sdc-rouge);
    display: block;
}

.sdc-widget-label {
    font-size: 0.9rem;
    color: var(--sdc-gris-fonce);
}

.sdc-widget-progress {
    height: 20px;
    background: var(--sdc-gris);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.sdc-widget-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sdc-rouge), var(--sdc-or));
    transition: width 1s ease;
}

/* ===================
   THERMOMÈTRE VISUEL
   =================== */

.sdc-thermometer-container {
    background: linear-gradient(135deg, var(--sdc-fond), var(--sdc-blanc));
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.sdc-thermometer-container::before {
    content: "🎁";
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.sdc-thermometer {
    position: relative;
    width: 80px;
    height: 400px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sdc-thermometer::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--sdc-rouge), var(--sdc-or));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
    z-index: 2;
}

.sdc-thermometer-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--sdc-rouge), var(--sdc-or));
    transition: height 2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 0 0 50px 50px;
    z-index: 1;
    animation: pulseFill 3s ease-in-out infinite;
}

@keyframes pulseFill {
    0%, 100% { box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.5); }
}

.sdc-thermometer-marks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
    z-index: 3;
}

.sdc-thermometer-mark {
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
}

.sdc-thermometer-mark::after {
    content: attr(data-value);
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sdc-gris-fonce);
}

.sdc-thermometer-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sdc-blanc);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 4;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

.sdc-thermometer-stats {
    text-align: center;
    margin-top: 1rem;
}

.sdc-thermometer-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sdc-rouge);
    display: block;
    margin-bottom: 0.5rem;
}

.sdc-thermometer-goal {
    font-size: 1.2rem;
    color: var(--sdc-gris-fonce);
}

.sdc-thermometer-remaining {
    font-size: 1.1rem;
    color: var(--sdc-vert);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ===================
   TICKER DÉFILANT
   =================== */

.sdc-ticker-wrapper {
    background: linear-gradient(90deg, var(--sdc-rouge), var(--sdc-vert));
    padding: 1rem 0;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sdc-ticker-title {
    text-align: center;
    color: var(--sdc-blanc);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sdc-ticker {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
}

.sdc-ticker:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sdc-ticker-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.sdc-ticker-emoji {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.sdc-ticker-name {
    font-weight: 700;
    color: var(--sdc-noir);
}

.sdc-ticker-amount {
    color: var(--sdc-rouge);
    font-weight: 700;
    font-size: 1.1rem;
}

.sdc-ticker-message {
    font-style: italic;
    color: var(--sdc-gris-fonce);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===================
   BADGES ET COMPTEURS
   =================== */

.sdc-badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sdc-badge {
    background: var(--sdc-blanc);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sdc-badge::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 209, 102, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.sdc-badge:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sdc-badge-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sdc-badge-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sdc-rouge);
    display: block;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.sdc-badge-label {
    font-size: 1rem;
    color: var(--sdc-gris-fonce);
    font-weight: 600;
}

.sdc-badge-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--sdc-blanc);
}

.sdc-badge-gold .sdc-badge-value,
.sdc-badge-gold .sdc-badge-label {
    color: var(--sdc-blanc);
}

/* Compteur animé */
.sdc-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ===================
   AMÉLIORATIONS PARTAGE
   =================== */

.sdc-share-enhanced {
    background: linear-gradient(135deg, var(--sdc-blanc), var(--sdc-fond));
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sdc-share-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sdc-share-icon-header {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.sdc-share-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.sdc-share-btn-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sdc-share-btn-enhanced::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.sdc-share-btn-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.sdc-share-btn-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.sdc-share-btn-text {
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.sdc-share-email {
    background: var(--sdc-rouge);
    color: var(--sdc-blanc);
}

.sdc-share-whatsapp {
    background: #25D366;
    color: var(--sdc-blanc);
}

.sdc-share-messenger {
    background: #0078FF;
    color: var(--sdc-blanc);
}

.sdc-share-linkedin {
    background: #0A66C2;
    color: var(--sdc-blanc);
}

/* Effet de confettis */
.sdc-confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.sdc-confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--sdc-or);
    top: -10px;
    opacity: 0;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* FORCE 100% LARGEUR SUR TOUTES LES PAGES */
.sdc-donation-form-wrapper,
.sdc-campaign-page,
.sdc-widget,
.sdc-section,
.sdc-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Responsive */
@media (max-width: 768px) {
    /* FORCE 100% LARGEUR SUR MOBILE - CRITIQUE */
    body .sdc-donation-form-wrapper,
    body .sdc-campaign-page,
    body .sdc-widget,
    body .sdc-section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 1.5rem 15px !important;
        box-sizing: border-box !important;
    }
    
    .sdc-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto !important;
    }
    
    .sdc-donation-form-wrapper {
        padding: 1.5rem 15px !important;
        margin: 10px 0 !important;
        border-radius: 15px !important;
    }
    
    .sdc-form-title {
        font-size: 1.5rem !important;
    }
    
    .sdc-campaign-title {
        font-size: 1.8rem !important;
        padding: 0 10px !important;
    }
    
    .sdc-amount-buttons {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .sdc-amount-btn {
        font-size: 1rem !important;
        padding: 0.8rem !important;
    }
    
    .sdc-campaign-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .sdc-share-buttons {
        flex-direction: column !important;
    }
    
    .sdc-share-btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .sdc-thermometer {
        width: 60px !important;
        height: 300px !important;
    }
    
    .sdc-thermometer-percentage {
        font-size: 2rem !important;
    }
    
    .sdc-ticker-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .sdc-badges-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .sdc-share-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    /* Empêcher le débordement horizontal */
    body {
        overflow-x: hidden !important;
    }
    
    .sdc-section,
    .sdc-campaign-page,
    .sdc-donation-form-wrapper {
        overflow-x: hidden !important;
    }
}
