/* --- VARIABLES & BASE --- */
:root {
    --ts-primary: #6366f1; /* Indigo principal du thème */
    --ts-secondary: #f59e0b; /* Amber accent du thème */
    --ts-background: #f8fafc; /* Fond secondaire du thème */
    --ts-text: #1f2937; /* Texte principal du thème */
    --ts-font-title: 'Poppins', sans-serif;
    --ts-font-body: 'Roboto', sans-serif;
}

/* --- GÉNÉRAL --- */
.ts-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--ts-font-body);
    color: var(--ts-text);
}

.ts-section {
    padding: 40px 0;
    margin-bottom: 30px;
}

.ts-section h2 {
    font-family: var(--ts-font-title);
    color: var(--ts-primary);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ts-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- HERO SECTION --- */
.ts-hero {
    background: url('../images/impression-3d_hero.webp') no-repeat center center / cover;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    z-index: 1;
}

.ts-hero h1 {
    font-size: 3.5em;
    font-family: var(--ts-font-title);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: white;
}

.ts-hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: white;
}

/* --- MACHINE FOCUS (NEPTUNE 3 PRO) --- */
.ts-focus-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 30px;
    border-left: 5px solid var(--ts-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.ts-focus-card-text {
    flex: 2;
    padding-right: 30px;
}

.ts-machine-name {
    font-size: 1.8em;
    color: var(--ts-secondary);
    margin-top: 0;
    font-family: var(--ts-font-title);
}

.ts-machine-specs {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--ts-background);
    padding: 15px;
    border-radius: 5px;
}

.ts-machine-specs li {
    margin-bottom: 8px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
}

.ts-machine-specs li strong {
    color: var(--ts-primary);
}

/* --- FEATURES GRID --- */
.ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: center;
}

.ts-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 180px;
}

.ts-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ts-card i { /* Icon placeholder, use Elementor Icons or Font Awesome */
    font-size: 3em;
    color: var(--ts-secondary);
    margin-bottom: 10px;
}

.ts-card h3 {
    color: var(--ts-primary);
    font-size: 1.2em;
    margin-top: 0;
    font-family: var(--ts-font-title);
}

/* --- CTA --- */
.ts-cta {
    background: var(--ts-background);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
}

.ts-button {
    background-color: var(--ts-secondary);
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
    position: relative;
    z-index: 2;
}

.ts-button:hover {
    background-color: #d97706; /* Amber plus foncé */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .ts-page-container {
        padding: 10px;
    }
    .ts-hero {
        padding: 40px 15px;
    }
    .ts-hero h1 {
        font-size: 2.5em;
    }
    .ts-hero p {
        font-size: 1.1em;
    }
    .ts-section {
        padding: 30px 0;
    }
    .ts-section h2 {
        font-size: 2em;
    }
    .ts-focus-card {
        flex-direction: column;
        padding: 20px;
    }
    .ts-focus-card-text {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .ts-machine-specs {
        padding: 10px;
    }
    .ts-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}