/* =========================================
   STYLE PC SUR MESURE (Nouvelle Version)
========================================= */

/* --- HERO --- */
.pc-hero {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('../img/pc-setup.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: white;
    text-align: center;
}

.pc-hero-content { max-width: 800px; margin: 0 auto; }
.pc-hero h1 { font-size: 3rem; margin-bottom: 20px; }
.text-red { color: #E62020; }

/* --- SECTION EXEMPLES (FOND NOIR) --- */
.bg-dark { background-color: #1a1a1a; color: white; }
.white-title { color: white; text-align: center; }

.profile-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.profile-btn {
    background: transparent;
    border: 1px solid #444;
    color: #ccc;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.profile-btn:hover, .profile-btn.active {
    background: #E62020;
    border-color: #E62020;
    color: white;
    box-shadow: 0 0 15px rgba(230, 32, 32, 0.5);
}

.profile-btn i { margin-right: 8px; }

/* Zone d'affichage des exemples */
.config-display {
    background: white;
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    min-height: 350px; /* Moins haut qu'avant */
}

.config-content { display: flex; align-items: stretch; }

.config-text { flex: 1; padding: 40px; }
.config-text h3 { font-size: 1.8rem; margin-bottom: 15px; color: #1a1a1a; }

.benefits-list { margin: 20px 0; list-style: none; }
.benefits-list li { margin-bottom: 10px; display: flex; align-items: center; }
.benefits-list i { color: #E62020; margin-right: 10px; }

.price-range {
    display: inline-block;
    background: #f4f4f4;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    color: #555;
    border-left: 4px solid #E62020;
    margin-top: 20px;
}

/* Visuel à droite */
.config-visual {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

/* Images de fond */
.gaming-bg { background-image: url('https://images.unsplash.com/photo-1593640408182-31c70c8268f5?auto=format&fit=crop&w=800&q=80'); }
.office-bg { background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=800&q=80'); }
.multimedia-bg { background-image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=800&q=80'); }

/* Animation Fade */
.fade-in { animation: fadeIn 0.5s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- SECTION FORMULAIRE --- */
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-intro { text-align: center; margin-bottom: 40px; }
.form-intro h2 { font-size: 2rem; margin-bottom: 15px; color: var(--dark-black); }
.check-list {
    display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap;
}
.check-list i { color: #E62020; margin-right: 5px; }

/* Grille du formulaire */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #444; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 5px; font-family: inherit;
}
input:focus, textarea:focus { border-color: #E62020; outline: none; }

/* Radio Cards (Tour / Portable) */
.radio-options { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.radio-options.three-cols { grid-template-columns: 1fr 1fr 1fr; }

.radio-card input { display: none; } /* On cache le petit rond */

.radio-visual {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 20px; border: 2px solid #eee; border-radius: 8px; cursor: pointer;
    transition: all 0.3s; color: #666; font-weight: bold;
}

.radio-visual i { font-size: 2rem; margin-bottom: 10px; color: #ccc; transition: 0.3s; }

/* Quand sélectionné */
.radio-card input:checked + .radio-visual {
    border-color: #E62020; background: #fff5f5; color: #E62020;
}
.radio-card input:checked + .radio-visual i { color: #E62020; }

.full-width { width: 100%; padding: 15px; font-size: 1.1rem; border: none; font-weight: bold; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .config-content { flex-direction: column; }
    .config-visual { height: 200px; min-height: auto; }
    .form-row { grid-template-columns: 1fr; }
    .radio-options.three-cols { grid-template-columns: 1fr; }
}
/* --- Style du bouton désactivé --- */
button:disabled, .btn:disabled {
    background-color: #cccccc !important; /* Gris */
    color: #666666 !important;
    cursor: not-allowed; /* Curseur sens interdit */
    opacity: 0.7;
    transform: none !important; /* Pas d'animation au survol */
    box-shadow: none !important;
}

/* --- Style du Bandeau Cookie (requis pour le faire fonctionner) --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #111;
    color: #fff;
    padding: 20px;
    display: none; /* Caché par défaut, géré par JS */
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    border-top: 3px solid #E62020;
}
.cookie-banner button {
    background-color: #E62020;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}