/* =========================================
   01. VARIABLES GLOBALES & RESET
   ========================================= */
:root {
    --bg-dark: #070913;
    --cyan-neon: #00a2ff;
    --pink-neon: #ff0055;
    --yellow-line: #ffe600;
    --text-light: #e0e6ed;
    --text-grey: #b0c0d0;
    --bg-card: rgba(7, 9, 19, 0.8);
    --border-subtle: rgba(255, 255, 255, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    transition: font-size 0.2s ease;
    scroll-behavior: smooth;
}

@media (min-width: 1400px) { html { font-size: 18px; } }
@media (min-width: 1920px) { html { font-size: 20px; } }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
    background-image: radial-gradient(circle at center, rgba(7, 9, 19, 0.3) 0%, rgba(7, 9, 19, 0.9) 100%), url('png/fond.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* =========================================
   02. TYPOGRAPHIE ET CONTAINERS GLOBAUX
   ========================================= */
.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 100px;
    text-align: center;
}

.page-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: clamp(4px, 1vw, 8px);
    background: linear-gradient(to right, var(--cyan-neon) 42%, var(--pink-neon) 55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(3px 3px 0px #3b3b3b);
    text-align: center;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--pink-neon);
    margin: 10px auto 20px auto;
    text-shadow: 0 0 15px var(--pink-neon);
    text-transform: uppercase;
    text-align: center;
}

.page-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--cyan-neon);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.4);
    text-align: center;
}

.description {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    margin: 0 auto 5px auto;
    color: var(--text-grey);
    max-width: clamp(700px, 60vw, 1000px);
    text-align: left;
}

/* =========================================
   EFFET NÉON ROSE UNI SUR LES TEXTES EN GRAS (FORCÉ)
   ========================================= */
.description strong, 
.premium-list strong,
.card-body strong, 
.prop3-content strong, 
.section-block-desc strong {
    color: var(--cyan-neon) !important;
    -webkit-text-fill-color: var(--cyan-neon) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    
    /* Lueur rose plus marquée pour bien ressortir sur le fond sombre */
    text-shadow: 0 0 12px var(--cyan-neon) !important;
    
    /* On écrase définitivement tout effet de dégradé résiduel */
    background: none !important;
}

/* =========================================
   03. BOUTONS & ÉTIQUETTES
   ========================================= */
.button-row { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-card); border: 1px solid var(--border-subtle);
    color: var(--text-light); padding: clamp(12px, 1.5vh, 18px) clamp(30px, 3vw, 50px);
    font-size: clamp(1rem, 1.2vw, 1.2rem); font-family: 'Orbitron', sans-serif;
    border-radius: 40px; text-decoration: none; transition: all 0.3s ease;
}
.btn-secondary:hover { border-color: var(--cyan-neon); color: var(--cyan-neon); box-shadow: 0 0 15px rgba(0, 162, 255, 0.2); transform: translateY(-2px); }

.btn-back {
    display: inline-block; margin-top: 40px; color: var(--yellow-line);
    text-decoration: none; font-family: 'Orbitron', sans-serif;
    border-bottom: 1px dashed var(--yellow-line); padding-bottom: 5px; transition: 0.3s;
}
.btn-back:hover { color: var(--pink-neon); border-color: var(--pink-neon); }

.spec-labels-container {
    margin-bottom: clamp(40px, 5vh, 70px); font-family: 'Orbitron', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.4rem); color: var(--text-grey);
    display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2vw, 25px);
}

.spec-label { padding: clamp(6px, 1vh, 12px) clamp(15px, 2vw, 30px); border-radius: 3px; border: 1px solid transparent; transition: all 0.3s ease; cursor: default; }
.spec-label.cyan { border-color: rgba(0, 162, 255, 0.3); background: rgba(0, 162, 255, 0.05); }
.spec-label.pink { border-color: rgba(255, 0, 85, 0.3); background: rgba(255, 0, 85, 0.05); }
.spec-label.yellow { border-color: rgba(255, 230, 0, 0.3); background: rgba(255, 230, 0, 0.05); }
.spec-label:hover { transform: scale(1.05) translateY(-3px); color: #ffffff; }

/* =========================================
   04. BLOCS DE CONTENU (LA PARTIE MANQUANTE POUR TA PRÉSENTATION)
   ========================================= */
.content-row { display: flex; align-items: center; gap: 60px; margin-bottom: 100px; width: 100%; }
.content-row.reverse { flex-direction: row-reverse; }

.text-card { flex: 1.2; background: var(--bg-card); border: 1px solid var(--border-subtle); padding: 45px; border-radius: 5px; min-width: 0; transition: transform 0.3s ease; }
.text-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.3); }

.border-pink { border-top: 3px solid var(--pink-neon); }
.border-cyan { border-top: 3px solid var(--cyan-neon); }
.border-yellow { border-top: 3px solid var(--yellow-line); }

.card-heading { font-family: 'Orbitron', sans-serif; font-size: 1.6rem; margin-top: 0; margin-bottom: 25px; text-transform: uppercase; text-align: center; }
.color-pink { color: var(--pink-neon); }
.color-cyan { color: var(--cyan-neon); }
.color-yellow { color: var(--yellow-line); }

.card-body { font-family: 'Rajdhani', sans-serif; font-size: 1.25rem; line-height: 1.6; color: var(--text-grey); margin: 0; text-align: left; }
.card-body strong { color: var(--text-light); font-weight: 700; }

.media-card { flex: 0.8; background: #000; border: 1px solid var(--border-subtle); position: relative; height: 420px; overflow: hidden; border-radius: 5px; width: 100%; min-width: 0; }
.media-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: 0.3s; }
.media-card:hover img { filter: brightness(1); transform: scale(1.02); }

/* =========================================
   LISTES À PUCES : TRACE PCB (AVEC ESPACEMENT)
   ========================================= */
.premium-list { 
    list-style: none; 
    padding: 0; 
    margin-top: 25px; 
    position: relative;
}

.premium-list li { 
    position: relative; 
    padding-left: 55px; 
    
    /* 1. L'ESPACEMENT : On remet une marge de 40px entre chaque point */
    margin-bottom: 10px !important; 
    
    font-size: 1.2rem; 
    color: var(--text-grey); 
    text-align: left; 
    line-height: 1.6; /* Fait respirer le texte s'il y a plusieurs lignes */
    transition: color 0.3s ease;

    /* Ligne horizontale de dérivation */
    background-image: linear-gradient(var(--cyan-neon), var(--cyan-neon));
    background-size: 22px 2px;
    background-position: 10px 16px;
    background-repeat: no-repeat;
}

/* On enlève la marge pour le tout dernier élément pour ne pas créer de vide inutile en bas */
.premium-list li:last-child {
    margin-bottom: 0 !important;
}

/* 2. Le Bus Principal */
.premium-list li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    
    /* LE SECRET MAGIQUE : La ligne descend 40px PLUS BAS que l'élément pour traverser le vide de la marge ! */
    bottom: -10px; 
    
    width: 2px;
    background: var(--cyan-neon);
    box-shadow: 0 0 6px var(--cyan-neon);
    z-index: 1;
}

/* Le 1er élément coupe le fil qui dépasse en haut */
.premium-list li:first-child::before {
    top: 16px;
}

/* Le dernier élément s'arrête net au centre de son propre nœud */
.premium-list li:last-child::before {
    bottom: auto;
    height: 16px;
}

/* 3. Le Pad de soudure (Nœud) */
.premium-list li::after {
    content: '';
    position: absolute;
    top: 10px; 
    left: 32px; 
    width: 12px;
    height: 12px;
    background: var(--bg-dark); 
    border: 2px solid var(--cyan-neon);
    border-radius: 50%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 162, 255, 0.4);
    z-index: 2;
}

/* 4. Animation d'injection de courant au survol */
.premium-list li:hover {
    color: var(--text-light);
    background-image: linear-gradient(#fff, #fff);
}

.premium-list li:hover::after {
    background: var(--pink-neon); 
    border-color: var(--pink-neon);
    box-shadow: 0 0 15px var(--pink-neon);
    transform: scale(1.3);
}

/* Carrousel HUD */
.carousel-inner { position: absolute; width: 100%; height: 100%; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.5s ease; }
.carousel-slide.active { opacity: 1; z-index: 2; }
.holo-projector { position: absolute; bottom: 20px; left: 20px; z-index: 10; background: rgba(0,0,0,0.7); padding: 10px 20px; border-radius: 3px; border-left: 2px solid var(--text-light); }
.holo-text { display: none; font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.holo-text.active { display: block; }
.holo-error { color: var(--pink-neon); }
.holo-diagnostic { color: var(--yellow-line); }
.holo-repair { color: #ffffff; }
.holo-success { color: var(--cyan-neon); }

/* =========================================
   05. ACCORDÉONS (GARANTIES & PRO)
   ========================================= */
.prop3-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(15px, 2vw, 30px); margin: 30px auto 50px auto; width: 100%; max-width: 1400px; align-items: start; }
.prop3-details { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 5px; overflow: hidden; }
.prop3-details summary { padding: clamp(15px, 2vh, 25px); min-height: clamp(80px, 10vh, 100px); cursor: pointer; font-family: 'Orbitron', sans-serif; display: flex; align-items: center; box-sizing: border-box; transition: 0.3s; }
.prop3-details summary:hover { background: rgba(255, 255, 255, 0.05); }
.prop3-details summary::-webkit-details-marker { display: none; }
.prop3-details summary::after { content: '▼'; font-size: 1rem; opacity: 0.7; margin-left: auto; }
.prop3-details[open] summary::after { content: '▲'; }
.holo-icon { font-size: clamp(2rem, 5vh, 2.8rem); margin-right: 20px; filter: drop-shadow(0 0 10px currentColor); }
.summary-title { font-size: clamp(1.05rem, 1.2vw, 1.2rem); flex: 1; text-align: left;text-transform: uppercase; }
.prop3-content { padding: clamp(15px, 2vh, 25px); font-size: 1.05rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-grey); line-height: 1.6; text-align: left; font-family: 'Rajdhani', sans-serif; }
.prop3-details.alert { border-color: var(--pink-neon); }
.prop3-details.alert summary { color: var(--pink-neon); }
.prop3-details.engagements { border-color: var(--cyan-neon); }
.prop3-details.engagements summary { color: var(--cyan-neon); }

/* =========================================
   06. BARRE VISUELLE DE CALIBRATION
   ========================================= */
.calibration-container { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 40px; margin: 50px auto 70px auto; max-width: 1000px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.4); }
.calibration-instruction { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; color: var(--text-grey); margin-bottom: 35px; text-align: center; line-height: 1.6; }
.calibration-instruction strong { color: var(--cyan-neon); font-weight: 700; }
.timeline-wrapper { position: relative; margin: 20px 10px 40px 10px; }
.timeline-bar { display: flex; height: 45px; border-radius: 4px; overflow: hidden; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 10px rgba(0,0,0,0.5); }
.bar-segment { display: flex; align-items: center; justify-content: center; font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 900; letter-spacing: 1px; }
.segment-a { width: 26.6%; background: linear-gradient(rgba(0, 162, 255, 0.15), rgba(0, 162, 255, 0.05)); border-left: 2px solid var(--cyan-neon); color: var(--cyan-neon); }
.segment-b { width: 33.4%; background: linear-gradient(rgba(255, 204, 0, 0.15), rgba(255, 204, 0, 0.05)); border-left: 2px solid var(--yellow-line); color: var(--yellow-line); }
.segment-c { width: 40%; background: linear-gradient(rgba(255, 0, 85, 0.15), rgba(255, 0, 85, 0.05)); border-left: 2px solid var(--pink-neon); color: var(--pink-neon); }
.timeline-axis { position: relative; height: 50px; }
.axis-line { position: absolute; top: 15px; left: 0; width: 100%; height: 1px; background: rgba(255, 255, 255, 0.1); }
.axis-chevrons { position: absolute; top: 10px; left: 0; display: flex; justify-content: space-evenly; color: rgba(255, 255, 255, 0.06); font-size: 0.65rem; pointer-events: none; }
.borne-marker { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.borne-connector { width: 1px; height: 15px; background: rgba(255, 255, 255, 0.4); position: relative; }
.borne-connector::before { content: ''; position: absolute; top: 0; left: -2px; width: 5px; height: 5px; background: var(--text-bright); border-radius: 50%; box-shadow: 0 0 5px rgba(255,255,255,0.8); }
.borne-value { font-family: 'Orbitron', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--text-light); margin-top: 8px; background: var(--bg-card); padding: 0 8px; }

/* =========================================
   07. BLOCS TECHNIQUES & TABLEAUX
   ========================================= */
.tech-section-block { background: rgba(11, 12, 16, 0.4); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 40px; margin-bottom: 50px; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.tech-section-block .section-subtitle { display: flex; justify-content: center; align-items: center; gap: 15px; font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 700; margin-top: 0; margin-bottom: 15px; letter-spacing: 2px; text-transform: uppercase; }
.tech-section-block.cyan-theme .section-subtitle { color: var(--cyan-neon); }
.tech-section-block.pink-theme .section-subtitle { color: var(--pink-neon); }
.tech-section-block.yellow-theme .section-subtitle { color: var(--yellow-line); }
.tech-section-block .section-subtitle::before { content: ''; display: inline-block; width: 6px; height: 18px; border-radius: 2px; }
.tech-section-block.cyan-theme .section-subtitle::before { background: var(--cyan-neon); box-shadow: 0 0 10px var(--cyan-neon); }
.tech-section-block.pink-theme .section-subtitle::before { background: var(--pink-neon); box-shadow: 0 0 10px var(--pink-neon); }
.tech-section-block.yellow-theme .section-subtitle::before { background: var(--yellow-line); box-shadow: 0 0 10px var(--yellow-line); }
.section-block-desc { font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; color: var(--text-grey); margin-top: 0; margin-bottom: 30px; line-height: 1.5; text-align: center; }

/* TABLEAUX */
.table-responsive-container { width: 100%; overflow-x: auto; border-radius: 4px; scrollbar-width: thin; scrollbar-color: var(--border-subtle) transparent; }
.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; background: transparent; border: 1px solid var(--border-subtle); border-radius: 4px; overflow: hidden; }
.pricing-table th { background: rgba(22, 25, 32, 0.8); color: var(--text-light); font-family: 'Orbitron', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 16px 20px; border-bottom: 2px solid var(--border-subtle); text-align: left; }
.pricing-table th:not(:first-child), .pricing-table td:not(:first-child) { text-align: center; width: 15%; }
.pricing-table td { padding: 16px 20px; font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; color: var(--text-grey); border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: all 0.2s ease; }
.pricing-table tr:hover td { background: rgba(0, 162, 255, 0.03); color: var(--text-light); }
.pricing-table tr:last-child td { border-bottom: none; }

/* =========================================
   08. RESPONSIVE MOBILE UNIFIÉ
   ========================================= */
@media (max-width: 992px) {
    .prop3-wrapper { grid-template-columns: 1fr; }
    /* Correction responsive pour la présentation */
    .content-row, .content-row.reverse { flex-direction: column; gap: 30px; margin-bottom: 60px; }
    .text-card { padding: 30px 20px; width: 100%; }
    .media-card { width: 100%; height: 350px; }
}

@media (max-width: 768px) {
    .container { padding-top: 120px; }
    .page-wrapper { padding-top: 120px; padding-left: 15px; padding-right: 15px; }
    .description { font-size: 1.1rem; padding: 0 10px; }
    .btn-secondary { width: 100%; box-sizing: border-box; }
    .calibration-container { padding: 25px 15px; }
    .bar-segment { font-size: 0.9rem; }
    .borne-value { font-size: 0.95rem; }
    .calibration-instruction { font-size: 1.05rem; }
    .tech-section-block { padding: 25px 15px; margin-bottom: 35px; }
    .pricing-table th, .pricing-table td { padding: 12px 14px; font-size: 1rem; }
    .section-block-desc { margin-bottom: 20px; font-size: 1rem; }
}