/* style.css - DA : ICE & PERFORMANCE (Version Fiche Technique) */
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: #e0e0e0;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* === PALETTE DE COULEURS === */
:root {
    --primary: #2FA8FF;       /* Bleu Performance */
    --accent: #35F0D0;        /* Turquoise Watercooling */
    --bg-body: #0C0F12;       /* Noir Profond */
    --bg-card: #1F242B;       /* Gris Technique */
    --text-muted: #94a3b8;    /* Gris clair bleuté */
    --border: #2d3540;        /* Bordure discrète */
    
    --section-padding: 8rem 0; 
    --section-padding-mobile: 4rem 0;
}

/* Layout Utility */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Grilles */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }

/* Navigation */
nav { 
    padding: 1.5rem 0; 
    background: rgba(12, 15, 18, 0.95);
    border-bottom: 1px solid var(--border); 
    position: sticky; top: 0; z-index: 100; 
    backdrop-filter: blur(10px); 
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; }
.logo a { color: #fff; transition: text-shadow 0.3s ease; }
.logo:hover a { text-shadow: 0 0 15px var(--accent); } 
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-nav { border: 1px solid rgba(255,255,255,0.2); padding: 0.6rem 1.2rem; border-radius: 5px; background: rgba(255,255,255,0.05); }
.btn-nav:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 15px rgba(47, 168, 255, 0.4); }

/* Sections Générales */
section { padding: var(--section-padding); } 

/* === HERO & SECTIONS === */
.hero { 
    padding: 10rem 0 8rem; 
    text-align: center; 
    background: radial-gradient(circle at center, #1a2029 0%, var(--bg-body) 70%); 
}
.hero h1 { font-size: 4rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; }
.highlight { 
    background: linear-gradient(to right, var(--primary), var(--accent)); 
    -webkit-background-clip: text; 
    color: transparent; 
}
.hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 650px; margin: 0 auto 3rem; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; }

/* Features */
.features { background: #13171c; }
.feature-card { 
    padding: 2.5rem; 
    background: var(--bg-card); 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; 
}
.feature-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent); 
    box-shadow: 0 5px 20px rgba(53, 240, 208, 0.1);
}
.feature-card h3 { margin-bottom: 0.8rem; font-size: 1.4rem; color: #fff; }
.feature-card p { color: var(--text-muted); font-size: 1rem; }

/* Services Preview */
.services-section { padding: var(--section-padding); }
.section-title { text-align: center; font-size: 2.8rem; margin-bottom: 5rem; }

/* Cartes de prix */
.price-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 10px 40px rgba(47, 168, 255, 0.15);
    border-color: var(--primary); 
}
.popular { border-color: var(--primary); transform: scale(1.05); z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.popular:hover { transform: scale(1.08); }
.badge { 
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%); 
    background: linear-gradient(135deg, var(--primary), var(--accent)); 
    padding: 0.3rem 1.2rem; font-size: 0.85rem; font-weight: bold; border-radius: 20px; 
    color: #0C0F12; 
    box-shadow: 0 5px 15px rgba(53, 240, 208, 0.3); 
}
.price { font-size: 2.5rem; font-weight: 800; margin: 1.5rem 0; color: #fff; text-shadow: 0 0 20px rgba(47, 168, 255, 0.3); }
.price-card ul { flex-grow: 1; margin-bottom: 2rem; }
.price-card ul li { margin-bottom: 1rem; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.8rem; }
.note { font-size: 0.9rem; color: var(--text-muted); font-style: italic; border: none !important; }

/* Boutons */
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; text-align: center; transition: all 0.3s ease; font-size: 1rem; }
.btn:active { transform: scale(0.95); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(47, 168, 255, 0.3); }
.btn-primary:hover { background: var(--accent); color: #0C0F12; box-shadow: 0 4px 20px rgba(53, 240, 208, 0.5); }
.btn-secondary { border: 1px solid #444; color: #fff; background: transparent; }
.btn-secondary:hover { border-color: #fff; background: #fff; color: #000; }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); background: transparent; width: 100%; margin-top: auto; padding: 0.8rem; }
.btn-outline:hover { background: var(--primary); color: #fff; box-shadow: 0 0 15px rgba(47, 168, 255, 0.4); }
.btn-full { display: block; width: 100%; text-align: center; background: linear-gradient(90deg, var(--primary), var(--primary)); padding: 1rem; border-radius: 6px; margin-top: auto; font-weight: 600; color: white; }
.btn-full:hover { background: var(--accent); color: #0C0F12; box-shadow: 0 0 20px rgba(53, 240, 208, 0.4); }

/* Steps */
.steps-grid { display: flex; justify-content: space-between; gap: 3rem; margin-top: 4rem; text-align: center; }
.step-item { transition: transform 0.3s ease; }
.step-item:hover { transform: translateY(-5px); }
.step-item h4 { margin: 1.2rem 0 0.5rem; font-size: 1.2rem; color: #fff; }
.step-number { 
    background: linear-gradient(135deg, #1F242B, #2d3540); border: 1px solid var(--border);
    color: var(--accent); width: 50px; height: 50px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; margin: 0 auto; 
    font-weight: bold; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.muted-small { color: var(--text-muted); font-size: 1rem; }
.cta-inline { text-align: center; margin-top: 4rem; }
.inline-link { color: var(--accent); font-weight: 600; font-size: 1.1rem; }
.inline-link:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary); }

/* Pages Internes */
.page-header { padding: 8rem 0 4rem; text-align: center; border-bottom: 1px solid var(--border); background: #13171c; }
.page-header h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.page-header p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; color: var(--text-muted); }

/* FAQ */
details { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1.5rem; padding: 1.5rem; cursor: pointer; transition: background 0.3s; }
details:hover { background: rgba(47, 168, 255, 0.05); border-color: var(--primary); }
summary { font-weight: 600; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #fff; }
summary::after { color: var(--accent); } 
details[open] p { margin-top: 1.5rem; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; animation: fadeIn 0.5s ease; }

/* Formulaire */
.contact-form { background: var(--bg-card); padding: 3rem; border-radius: 12px; border: 1px solid var(--border); }
.form-group { margin-bottom: 2rem; }
label { display: block; margin-bottom: 0.8rem; font-weight: 600; font-size: 1.05rem; color: var(--accent); }
input, select, textarea { width: 100%; padding: 1rem; background: var(--bg-body); border: 1px solid var(--border); color: #fff; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: border 0.3s; }
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 10px rgba(47, 168, 255, 0.2); }

/* Process Timeline */
.process-timeline { border-left: 2px solid var(--primary); padding-left: 3rem; margin: 2rem 0; }
.process-block { margin-bottom: 4rem; position: relative; }
.process-block::before { content: ''; position: absolute; left: -3.65rem; top: 0; width: 1.2rem; height: 1.2rem; background: var(--bg-body); border-radius: 50%; border: 3px solid var(--accent); box-shadow: 0 0 10px var(--accent); }
.process-block h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.4rem; }
.process-block p { font-size: 1.1rem; color: var(--text-muted); }

/* Footer */
footer { margin-top: auto; padding: 5rem 0 2rem; text-align: center; background: var(--bg-body); border-top: 1px solid var(--border); }
footer h3 { font-size: 1.8rem; margin-bottom: 2rem; }
.footer-links { margin-bottom: 3rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: #fff; font-weight: 600; font-size: 1.1rem; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { margin-bottom: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #222; width: fit-content; margin-left: auto; margin-right: auto; }
.footer-legal a { color: #555; font-size: 0.9rem; margin: 0 15px; transition: 0.3s; }
.footer-legal a:hover { color: #888; text-decoration: underline; }
.footer-note { color: #444; font-size: 0.85rem; margin-top: 1rem; }

/* === NOUVEAU STYLE GALERIE (Fiche Technique sans images) === */
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.config-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.config-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(47, 168, 255, 0.1);
}

.card-top {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.tag {
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.config-card h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.price-indicator {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.specs-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1; /* Pousse le bas si besoin */
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.spec-row span {
    color: var(--text-muted);
}

.spec-row strong {
    color: #fff;
    text-align: right;
}

/* Carte Custom (Dernière) */
.custom-card {
    background: transparent;
    border: 1px dashed var(--primary);
    justify-content: center;
    text-align: center;
    align-items: center;
}
.custom-card:hover {
    background: rgba(47, 168, 255, 0.05);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    section { padding: var(--section-padding-mobile); }
    .hero { padding: 6rem 0 4rem; }
    .page-header { padding: 6rem 0 3rem; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .grid-2, .grid-3, .gallery-grid { grid-template-columns: 1fr; gap: 3rem; }
    .steps-grid { flex-direction: column; gap: 3rem; }
    .popular { transform: scale(1); margin: 2rem 0; }
    .process-timeline { padding-left: 1.5rem; }
    .process-block::before { left: -2.15rem; }
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-load { opacity: 0; animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.scroll-hidden { opacity: 0; transform: translateY(50px); transition: all 1s ease-out; }
.scroll-visible { opacity: 1; transform: translateY(0); }