
 /* ****************************************************************** */
/***************************** section 3 ******************************/
/* ****************************************************************** */

/* Section 3 - High priority styles */
#section3 {
position: relative;
z-index: 1000;
padding: 20px;
color: #333;
}

#section3 .section3-container {
display: flex;
flex-direction: column;
max-width: 1200px;
margin: 0 auto;
background-color: #dfdfdf;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
border-radius: 10px;
overflow: hidden;
}

@media (min-width: 768px) {
#section3 .section3-container {
    flex-direction: row;
    min-height: 400px;
}
}

#section3 .section3-image-wrapper {
flex: 1;
position: relative;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #e0e0e0;
background-color: #dfdfdf;
}

@media (min-width: 768px) {
#section3 .section3-image-wrapper {
    border-bottom: none;
    border-right: 1px solid #e0e0e0;
}
}

#section3 .section3-image-container {
position: relative;
width: 100%;
max-width: 250px;
}

#section3 .section3-product-image {
width: 100%;
height: auto;
display: block;
max-height: 600px;
object-fit: contain;
transition: transform 0.3s ease;
}

#section3 .section3-product-image:hover {
transform: scale(1.02);
}

#section3 .section3-spot {
position: absolute;
width: 14px;
height: 14px;
background-color: #005ae0;
border-radius: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
transition: all 0.3s ease;
z-index: 2;
}

#section3 .section3-spot:hover, 
#section3 .section3-spot.section3-active {
background-color: #0d0085;
transform: translate(-50%, -50%) scale(1.3);
box-shadow: 0 0 0 4px rgba(0, 90, 224, 0.3);
}

#section3 .section3-spot-title {
position: absolute;
font-size: 13px;
font-weight: 600;
color: #333;
white-space: nowrap;
padding: 2px 6px;
pointer-events: auto;
opacity: 1;
transition: all 0.2s ease;
z-index: 1;
background-color: rgba(255, 255, 255, 0.9);
border-radius: 4px;
border: 1px solid #e0e0e0;
}

#section3 .section3-spot:hover .section3-spot-title, 
#section3 .section3-spot.section3-active .section3-spot-title,
#section3 .section3-spot-title:hover {
background-color: white;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
color: #0d0085;
}

#section3 .section3-info-panel {
flex: 1;
padding: 25px;
background-color: #ffffff;
min-height: 250px;
display: flex;
flex-direction: column;
position: relative;
}

#section3 .section3-info-content {
display: none;
animation: section3-fadeIn 0.3s ease;
}

#section3 .section3-info-content.section3-active {
display: block;
}

@keyframes section3-fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

#section3 .section3-default-message {
text-align: center;
padding: 30px 20px;
color: #666;
display: none; /* Hidden by default */
flex-direction: column;
align-items: center;
justify-content: center;
flex: 1;
}



#section3 h2 {
color: #005ae0;
margin-bottom: 15px;
font-weight: 600;
}

#section3 .section3-info-content h2 {
margin-bottom: 15px;
font-size: 22px;
position: relative;
padding-bottom: 8px;
}

#section3 .section3-info-content h2::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: #005ae0;
border-radius: 3px;
}

#section3 .section3-info-content p {
color: #333;
margin-bottom: 15px;
font-size: 15px;
line-height: 1.7;
text-align: justify;
}

#section3 .section3-specs-list {
margin-top: 15px;
padding-left: 20px;
}

#section3 .section3-specs-list li {
margin-bottom: 8px;
color: #666;
font-size: 14px;
}

#section3 .section3-default-message p {
max-width: 300px;
margin: 0 auto 20px;
}

#section3 .section3-spot-container {
position: relative;
display: inline-block;
}

#section3 .section3-features-highlight {
background-color: #fff9c4;
padding: 15px;
border-radius: 6px;
margin-top: 20px;
border-left: 4px solid #005ae0;
}

#section3 .section3-features-highlight h3 {
color: #0d0085;
margin-bottom: 10px;
font-size: 16px;
}

#section3 .section3-features-highlight ul {
padding-left: 20px;
}

#section3 .section3-features-highlight li {
margin-bottom: 6px;
font-size: 14px;
}

#section3 .section3-navigation-buttons {
display: flex;
justify-content: space-between;
margin-top: auto;
padding-top: 20px;
}

#section3 .section3-nav-button {
padding: 8px 15px;
background-color: #005ae0;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s;
}

#section3 .section3-nav-button:hover {
background-color: #0d0085;
}

#section3 .section3-nav-button:disabled {
background-color: #cccccc;
cursor: not-allowed;
}

#section3 .section3-technical-note {
font-size: 12px;
color: #888;
margin-top: 10px;
font-style: italic;
}

#section3 .section3-part-number {
display: inline-block;
background-color: #f0f0f0;
padding: 3px 8px;
border-radius: 3px;
font-family: monospace;
font-size: 13px;
margin-top: 5px;
}

#section3 .section3-footer {
text-align: center;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #e0e0e0;
color: #666;
font-size: 14px;
}

#section3 .section3-title { 
font-size: 2rem;
color: var(--text-light);
font-weight: 700;
margin-bottom: 1.5rem;
line-height: 1.2;
text-align: center;
}

#section3 .section3-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    text-align: center !important;
}


/* Remplacez votre CSS mobile existant par celui-ci */

@media (max-width: 767px) {
    /* Style amélioré pour mobile - garde les positions originales */
    #section3 .section3-spot-title.mobile-bottom {
        background-color: white !important;
        border: 2px solid #005ae0 !important;
        border-radius: 6px !important;
        padding: 4px 8px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #005ae0 !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
        max-width: 100px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        z-index: 10 !important;
    }
    
    /* Style au survol/actif pour mobile */
    #section3 .section3-spot:hover .section3-spot-title.mobile-bottom,
    #section3 .section3-spot.section3-active .section3-spot-title.mobile-bottom,
    #section3 .section3-spot-title.mobile-bottom:hover {
        background-color: #005ae0 !important;
        color: white !important;
        border-color: #0d0085 !important;
        box-shadow: 0 4px 15px rgba(0, 90, 224, 0.4) !important;
    }
    
    /* Ajustement des spots pour mobile */
    #section3 .section3-spot {
        width: 18px;
        height: 18px;
        border: 3px solid white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* ****************************************************************** */
/***************************** section 7 ******************************/
/* ****************************************************************** */

#section7 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

}

.section7-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;


    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.section7-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.section7-separator {
width: 300px;
height: 3px;
background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
margin-bottom: 1.5rem;
position: relative;
opacity: 0;
}

.section7-separator::before {
content: '';
position: absolute;
top: -2px;
left: 0;
width: 10px;
height: 7px;
background-color: var(--accent-blue);
border-radius: 3px;
animation: slideLeft 3s infinite alternate;
}

.section7-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
}

.section7-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.section7-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #999;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.section7-tab::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4CC3FF, #5641E5);
    transition: width 0.3s ease;
}

.section7-tab.active {
    color: #fff;
}

.section7-tab.active::after {
    width: 100%;
}

.section7-tab:hover {
    color: #fff;
}

.simulator-container {
    display: block;
    opacity: 1;
}

.simulator-container.active {
    display: block;
    opacity: 1;
}

.section7-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.section7-step {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.section7-step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4CC3FF, #5641E5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(86, 65, 229, 0.3);
}

.section7-step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #4CC3FF;
    padding-left: 10px;
}

.section7-step-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
}

.simulator-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1400px;
    gap: 20px;
    background: rgba(30, 40, 60, 0.4);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

@media (min-width: 768px) {
    .simulator-container {
        grid-template-columns: 1fr 2fr;
        grid-template-areas: 
            "controls display"
            "details display";
    }
}

@media (min-width: 1200px) {
    .simulator-container {
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-areas: 
            "controls display details";
    }
}

.simulator-controls {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    grid-area: controls;
}

.simulator-display {
    background: linear-gradient(145deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    grid-area: display;
    min-height: 400px;
}

.simulator-details {
    background: var(--secondary-bg);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    grid-area: details;
}

.control-section {
    background: rgba(40, 50, 70, 0.5);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid var(--accent-color);
}

.control-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.interactive-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    cursor: grab;
}

.detail-card {
    background: rgba(40, 50, 70, 0.5);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simulation-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.simulation-btn:hover {
    background: color-mix(in srgb, var(--accent-color) 80%, white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.good { background-color: var(--success-color); }
.status-dot.warning { background-color: var(--warning-color); }
.status-dot.danger { background-color: var(--danger-color); }

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 250px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 767px) {
    .simulator-container {
        padding: 10px;
        gap: 10px;
    }

    .simulator-controls,
    .simulator-details {
        padding: 15px;
    }

    .control-section,
    .detail-card {
        padding: 10px;
    }

    .simulation-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    body {
        padding: 0.5rem;
    }
}

#wear-level {
    width: 100%;
    margin-top: 10px;
}

@media (max-width: 767px) {
.simulator-container {
grid-template-areas: 
    "controls"
    "display"
    "details";
grid-template-columns: 1fr;
padding: 10px;
gap: 10px;
}

.simulator-controls,
.simulator-details {
padding: 15px;
}

.control-section,
.detail-card {
padding: 10px;
}

.simulation-btn {
padding: 10px 15px;
font-size: 0.9rem;
}

.section7-steps {
grid-template-columns: 1fr;
}

.section7-step {
margin-bottom: 15px;
}

.simulator-display {
min-height: 300px;
}

/* Make buttons more touch-friendly */
.simulation-btn {
min-height: 44px; /* Minimum touch target size */
}

/* Adjust slider for better mobile usability */
#wear-level {
width: 100%;
height: 15px;
background: #444;
outline: none;
margin: 15px 0;
}

#wear-level::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
background: #4CC3FF;
cursor: pointer;
border-radius: 50%;
}

/* Improve tooltip positioning */
.tooltip {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 90%;
max-width: none;
}
}

/* Additional responsive adjustments for medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
.simulator-container {
grid-template-columns: 1fr 1.5fr;
grid-template-areas: 
    "controls display"
    "details display";
}

.simulator-details {
margin-top: 20px;
}
}

