/**
 * Styles spécifiques pour les pages de démonstration
 * Captcha Fusion Theme
 */

/* ========================================
   STYLES COMMUNS DEMOS
   ======================================== */

/* Style général pour les pages démo individuelles */
.demo-container {
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 3rem auto;
}

.demo-info {
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.demo-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li::before {
    content: "✓";
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.demo-form {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.demo-form h2 {
    font-size: 1.8rem;
    color: #202124;
    margin-bottom: 0.5rem;
}

.demo-form .subtitle {
    color: #5f6368;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #202124;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a73e8;
}

/* Styles spécifiques Contact Form 7 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.score-selector {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 4px;
}

.score-selector label {
    display: block;
    color: #202124;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.score-selector input[type="range"] {
    width: 100%;
    margin: 0.5rem 0;
}

.score-value {
    text-align: center;
    font-weight: 600;
    color: #34a853;
    margin-top: 0.25rem;
}

.captcha-container {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #1a73e8;
}

.captcha-placeholder {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    color: #5f6368;
    font-size: 0.9rem;
}

.captcha-info {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-badge {
    display: inline-block;
    background: #34a853;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.btn-submit {
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.demo-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #856404;
}

/* ========================================
   STYLES PAGE HUB DEMOS
   ======================================== */

.demos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.demos-header h1 {
    font-size: 3rem;
    color: #202124;
    margin-bottom: 1rem;
}

.demos-header .subtitle {
    font-size: 1.2rem;
    color: #5f6368;
    margin-bottom: 2rem;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.demo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.demo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.demo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.demo-card h2 {
    font-size: 1.5rem;
    color: #202124;
    margin-bottom: 0.75rem;
}

.demo-card p {
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.demo-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.demo-features li {
    padding: 0.5rem 0;
    color: #5f6368;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-features li::before {
    content: "✓";
    color: #34a853;
    font-weight: bold;
}

.demo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1a73e8, #34a853);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.coming-soon {
    opacity: 0.6;
    position: relative;
}

.coming-soon::after {
    content: "Bientôt disponible";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ffc107;
    color: #856404;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.info-section {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-top: 3rem;
}

.info-section h2 {
    font-size: 2rem;
    color: #202124;
    margin-bottom: 1.5rem;
}

.info-section p {
    color: #5f6368;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .demo-info {
        padding: 2rem;
    }
    
    .demo-form {
        padding: 2rem;
    }
    
    .demos-header h1 {
        font-size: 2rem;
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
    }
}
