:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --bg-dark: #1e293b;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-dark);
    overflow: hidden;
    height: 100vh;
}

.presentation {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide {
    position: absolute;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    display: none;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slide de titre */
.title-slide {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    padding: 3rem;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.title-slide::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.title-emoji {
    font-size: 6rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
    position: relative;
    z-index: 1;
}

.title-slide h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.title-slide h2 {
    font-size: 2rem;
    font-weight: 300;
    color: white;
    opacity: 1;
    animation: fadeInUp 1s ease 0.3s both;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.company-logos {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.company-logo {
    max-width: 200px;
    height: auto;
    background: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Titres généraux */
h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Listes */
ul {
    list-style: none;
    padding-left: 0;
}

li {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.6;
}

li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.8rem;
}

/* Styles spécifiques pour les slides interactives */
.big-question {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.question-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.app-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.app-icon {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1.3rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.1);
}

.big-text {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 2rem;
    color: var(--text-dark);
}

/* Analogies et comparaisons */
.analogy-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
}

.analogy-box p {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.comparison-item.highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.small {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* Myth buster */
.myth-buster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.myth-buster-centered {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
}

.myth, .reality {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.myth {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.myth p {
    font-size: 1.1rem;
    margin: 0;
}

.reality {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.cross, .check {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.example-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 5px solid var(--primary-color);
}

.example-text {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* DevOps explanation */
.devops-explanation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.term {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.term-part {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.term-part.dev {
    color: var(--primary-color);
}

.term-part.ops {
    color: var(--secondary-color);
}

.plus {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.icon-large {
    font-size: 3rem;
    margin: 0.5rem 0;
}

.brand {
    color: var(--primary-color);
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 5px;
}

/* IoT Examples */
.iot-examples {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.iot-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.iot-item:hover {
    transform: translateY(-5px);
}

.example-box.highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 3px solid var(--primary-color);
}

/* AI Usage */
.ai-usage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.ai-before, .ai-after {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    min-width: 250px;
    box-shadow: var(--shadow);
}

.ai-before {
    border: 3px solid #ef4444;
}

.ai-after {
    border: 3px solid var(--success-color);
}

.label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.time {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.arrow {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
}

.ai-tools {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

.tool {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 200px;
    box-shadow: var(--shadow);
}

.reality-box {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 1.5rem;
    border: 3px solid var(--success-color);
}

.reality-box .check {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.reality-box .big-text {
    font-size: 1.6rem;
    color: var(--success-color);
    margin: 0;
}

/* IoT Demo */
.iot-demo {
    margin-top: 1.5rem;
}

.iot-demo h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Benefit box */
.benefit-box {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 1.5rem;
    border: 3px solid var(--success-color);
}

.benefit-box .big-text {
    font-size: 1.4rem;
    color: var(--success-color);
    margin: 0;
    font-weight: 600;
}

/* AI Everyday */
.ai-everyday {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.ai-example {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.ai-example:hover {
    transform: translateY(-5px);
}

/* Project Showcase */
.project-showcase {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.project-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-big {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-big.luxury {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-subtitle {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.project-details {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.project-details.centered-flow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
}

.detail-item .icon {
    font-size: 2rem;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.flow-step {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    min-width: 140px;
    flex: 1;
    box-shadow: var(--shadow);
    border: 2px solid #e5e7eb;
}

.flow-step p {
    font-size: 0.95rem;
    margin: 0;
}

.flow-step.highlight {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.flow-step.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
}

.flow-step.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid var(--success-color);
}

.flow-step .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* Grille de logos clients */
.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    padding: 1rem;
}

.client-logo-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Page 15 - Deux colonnes */
.key-message.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.message-left {
    text-align: center;
}

.big-text-large {
    font-size: 2.2rem !important;
    font-weight: 700;
    line-height: 1.4;
}

.emoji-large {
    font-size: 6rem;
    margin-top: 2rem;
}

.requirements h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirement-item p {
    font-size: 1.4rem;
    margin: 0;
}

.icon-big {
    font-size: 3rem;
}

/* Page 16 - Formations Modern */
.education-path.centered {
    max-width: 900px;
    margin: 0 auto;
}

.path-level {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.path-level:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.path-level.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.path-level.highlight:hover {
    transform: scale(1.05) translateY(-5px);
}

.path-level h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.path-level.highlight h3 {
    color: white;
}

.centered-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.option {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
    flex: 0 1 auto;
}

.option:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.path-level.highlight .option {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

.path-level.highlight .option:hover {
    background: white;
    color: var(--primary-color);
}

.centered-arrow {
    text-align: center;
    font-size: 2rem;
    margin: 0rem 0;
    color: var(--primary-color);
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Pages 17 et 18 - Cards modernes */
.skills-grid.modern, .benefits-grid.modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.skill-card.modern, .benefit-card.modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.skill-card.modern:hover, .benefit-card.modern:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.skill-card.modern h4, .benefit-card.modern h4 {
    color: white;
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem 0;
}

.skill-card.modern p, .benefit-card.modern p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.icon-large {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Page 20 - Questions centrées */
.questions-section.centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faq-list.centered-list {
    list-style: none;
    padding: 0;
}

.faq-list.centered-list li {
    font-size: 1.4rem;
    padding: 1rem 2rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.faq-list.centered-list li::before {
    content: "";
}

/* Page 21 - Contact Simple & Elegant */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 2rem auto;
    align-items: center;
}

.qr-code-box {
    text-align: center;
    padding: 2rem;
}

.qr-code {
    width: 280px;
    height: 280px;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.qr-label {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.website {
    text-align: center;
    padding: 2rem;
}

.website .url {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.website .small {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.thank-you {
    margin-top: -4rem;
    text-align: center;
    grid-column: 1 / -1;
}

.thank-you h1 {
    font-size: 5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}

.thank-you p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

/* Grilles de compétences et sections */
.skills-grid, .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item, .benefit-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover, .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-item h3, .benefit-item h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.skill-item p, .benefit-item p {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Exemples de projets */
.project-example {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--warning-color);
}

.project-example h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.project-example p {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Timeline (parcours) - Page 14 Quinconce */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0px;
    padding: 0;
    overflow-y: auto;
    max-height: 100%;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.timeline-item {
    position: relative;
    width: 48%;
    margin-bottom: 1.5rem;
    background: white;
    padding: 1.2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.timeline-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.timeline-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 0 0 5px var(--primary-color), 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.timeline-item:nth-child(odd)::before {
    right: -65px;
}

.timeline-item:nth-child(even)::before {
    left: -65px;
}

.timeline-item.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.08);
}

.timeline-item.highlight:hover {
    transform: scale(1.1);
}

.timeline-item.highlight::before {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 0 5px #fbbf24, 0 4px 12px rgba(251, 191, 36, 0.5);
    animation: pulse-timeline 2s ease-in-out infinite;
}

.timeline-item .year {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
    min-width: 80px;
}

.timeline-item.highlight .year {
    color: #fbbf24;
}

.timeline-item .event {
    flex: 1;
}

.timeline-item .event h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
    display: inline;
}

.timeline-item.highlight .event h4 {
    color: white;
}

.timeline-item .event p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.timeline-item.highlight .event p {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes pulse-timeline {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 5px #fbbf24, 0 4px 12px rgba(251, 191, 36, 0.5);
    }
    50% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 0 8px #fbbf24, 0 4px 16px rgba(251, 191, 36, 0.7);
    }
}

/* Boxes avec icônes */
.concept-box {
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.concept-box:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.concept-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.concept-box p {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Messages importants */
.highlight-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.highlight-box p {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.6;
}

/* Navigation */
.navigation-container {
    position: fixed;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    z-index: 2000;
}

.navigation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.navigation-bottom {
    text-align: center;
}

.nav-btn {
    background: white;
    color: #1e293b;
    border: 2px solid white;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: #f8fafc;
}

.nav-btn:disabled {
    visibility: hidden;
}

#progress {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 2.0rem;
}

.controls-hint {
    color: white;
    font-size: 0.9rem;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Numéro de slide */
.slide-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: var(--shadow);
}

/* Indicateur de progression */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transition: width 0.3s ease;
    z-index: 1001;
}

/* QR Code */
.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    border: 3px solid var(--primary-color);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .slide {
        width: 95%;
        height: 90vh;
        padding: 2rem;
    }

    .title-slide h1 {
        font-size: 3rem;
    }

    .title-slide h2 {
        font-size: 1.5rem;
    }

    .title-emoji {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .job-title {
        font-size: 1.1rem;
    }

    .company-logo {
        max-width: 150px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    li {
        font-size: 1.2rem;
    }

    .skills-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid.modern, .benefits-grid.modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .key-message.two-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .big-text-large {
        font-size: 1.8rem !important;
    }

    .emoji-large {
        font-size: 4rem;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .iot-examples, .ai-everyday {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .myth-buster {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .myth-buster-centered {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ai-usage {
        flex-direction: column;
    }

    .process-flow {
        gap: 0.3rem;
    }

    .flow-step {
        min-width: 100px;
        padding: 0.8rem 0.5rem;
    }

    .flow-step p {
        font-size: 0.85rem;
    }

    .flow-step .icon {
        font-size: 1.8rem;
    }

    .arrow {
        font-size: 1.5rem;
    }

    .controls-hint {
        font-size: 0.75rem;
    }

    .navigation-top {
        padding: 0 1rem;
    }

    .nav-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 1.5rem;
    }

    .title-slide h1 {
        font-size: 2.2rem;
    }

    .title-slide h2 {
        font-size: 1.1rem;
    }

    .title-emoji {
        font-size: 3.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .job-title {
        font-size: 0.95rem;
    }

    .company-logo {
        max-width: 120px;
        padding: 0.75rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    li {
        font-size: 1rem;
        padding-left: 2rem;
    }

    .nav-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .iot-examples, .ai-everyday {
        grid-template-columns: 1fr;
    }

    .skills-grid.modern, .benefits-grid.modern {
        grid-template-columns: 1fr;
    }

    .project-details {
        grid-template-columns: 1fr;
    }

    .key-message.two-columns {
        grid-template-columns: 1fr;
    }

    .big-text-large {
        font-size: 1.5rem !important;
    }

    .emoji-large {
        font-size: 3rem;
    }

    .requirement-item p {
        font-size: 1.1rem;
    }

    .icon-big {
        font-size: 2.5rem;
    }

    .icon-large {
        font-size: 3rem;
    }

    .faq-list.centered-list li {
        font-size: 1.1rem;
        padding: 0.8rem 1rem;
    }

    .qr-code {
        width: 200px;
        height: 200px;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .website .url {
        font-size: 2rem;
    }

    .thank-you h1 {
        font-size: 3rem;
    }

    .thank-you p {
        font-size: 1.2rem;
    }

    .timeline {
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: -3.2rem;
        width: 25px;
        height: 25px;
    }

    .option {
        min-width: 250px;
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    .path-level h3 {
        font-size: 1.5rem;
    }

    .centered-arrow {
        font-size: 3rem;
    }

    .detail-item {
        padding: 1rem;
        font-size: 1rem;
    }

    .clients-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0.5rem;
    }

    .client-logo-card {
        padding: 1rem;
        min-height: 80px;
    }

    .client-logo {
        max-height: 60px;
    }

    .app-icons {
        flex-direction: column;
    }

    .brand-big {
        font-size: 2.5rem;
    }

    .icon {
        font-size: 2.5rem;
    }

    .icon-large {
        font-size: 3rem;
    }

    .controls-hint {
        display: none;
    }

    .navigation-container {
        bottom: 0.3rem;
    }

    .navigation-top {
        padding: 0 0.5rem;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    #progress {
        font-size: 1rem;
    }

    .process-flow {
        gap: 0.2rem;
    }

    .flow-step {
        min-width: 70px;
        padding: 0.6rem 0.3rem;
    }

    .flow-step p {
        font-size: 0.75rem;
    }

    .flow-step .icon {
        font-size: 1.5rem;
    }

    .arrow {
        font-size: 1.2rem;
    }

    .myth-buster-centered {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Styles spécifiques pour certaines slides */
.final-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
}

.final-message h2 {
    font-size: 2.5rem;
    color: var(--warning-color);
    margin-bottom: 2rem;
}

.final-message p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.qa-slide {
    text-align: center;
}

.qa-slide h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.qa-slide p {
    font-size: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* ===== TOOLBAR (dark mode + language switch) ===== */
.theme-toggle, .lang-toggle, .home-toggle {
    position: fixed;
    top: 1.5rem;
    z-index: 3000;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 250ms ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1e293b;
    font-weight: 700; font-size: 13px;
    font-family: inherit;
    text-decoration: none;
}
.theme-toggle { right: 1.5rem; }
.lang-toggle  { right: 5.2rem; border-radius: 20px; width: auto; padding: 0 14px; }
.home-toggle  { right: 9.8rem; border-radius: 20px; width: auto; padding: 0 14px; }

.theme-toggle:hover, .lang-toggle:hover, .home-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: #667eea;
    color: #667eea;
}

.sun-icon { display: none; }
body.dark .sun-icon  { display: block; }
body.dark .moon-icon { display: none; }

body.dark .theme-toggle,
body.dark .lang-toggle,
body.dark .home-toggle {
    background: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

/* ===== DARK MODE ===== */
body.dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
}

body.dark .slide {
    background: #1e293b;
    color: #e2e8f0;
}

body.dark h2 { color: #a5b4fc; }
body.dark h3 { color: #c4b5fd; }
body.dark h4 { color: #e2e8f0; }
body.dark p  { color: #cbd5e1; }
body.dark .small { color: #94a3b8; }
body.dark .big-text { color: #e2e8f0; }

body.dark .big-question {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
body.dark .question-text { color: #c4b5fd; }
body.dark .app-icon { background: #334155; color: #f1f5f9; }

body.dark .analogy-box {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}
body.dark .analogy-box p { color: #e2e8f0; }

body.dark .comparison-item { background: #334155; }
body.dark .comparison-item.highlight {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
}

body.dark .myth {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
}
body.dark .myth p { color: #fca5a5; }
body.dark .reality {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
}
body.dark .reality p { color: #6ee7b7; }

body.dark .example-box {
    background: linear-gradient(135deg, #0c2540 0%, #1e3a5f 100%);
    border-left-color: #60a5fa;
}
body.dark .example-box.highlight {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: #6366f1;
}

body.dark .term { background: #334155; }
body.dark .term p { color: #e2e8f0; }

body.dark .iot-item { background: #334155; }
body.dark .iot-item p { color: #e2e8f0; }

body.dark .ai-before,
body.dark .ai-after { background: #334155; }
body.dark .ai-before p,
body.dark .ai-after p { color: #e2e8f0; }

body.dark .tool {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}
body.dark .tool p { color: #e2e8f0; }

body.dark .reality-box {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
}
body.dark .benefit-box {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
}

body.dark .ai-example {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}
body.dark .ai-example h4 { color: #e2e8f0; }
body.dark .ai-example p  { color: #cbd5e1; }

body.dark .project-showcase {
    background: #1e293b;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.4);
}
body.dark .project-subtitle { color: #a5b4fc; }

body.dark .detail-item {
    background: linear-gradient(135deg, #0c2540 0%, #1e3a5f 100%);
}
body.dark .detail-item p { color: #e2e8f0; }

body.dark .flow-step {
    background: #334155;
    border-color: #475569;
}
body.dark .flow-step p { color: #e2e8f0; }
body.dark .flow-step.highlight {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
}
body.dark .flow-step.error {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
}
body.dark .flow-step.success {
    background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
}

body.dark .client-logo-card { background: #334155; }

body.dark .message-box {
    background: #334155;
}
body.dark .message-box p { color: #e2e8f0; }
body.dark .message-box.highlight {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

body.dark .path-level {
    background: #334155;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
body.dark .path-level h3 { color: #a5b4fc; }
body.dark .path-level p  { color: #e2e8f0; }
body.dark .path-level.highlight {
    background: linear-gradient(135deg, #312e81 0%, #4c1d95 100%);
}
body.dark .path-level.highlight h3 { color: white; }
body.dark .option {
    background: #1e293b;
    color: #e2e8f0;
    border-color: #6366f1;
}

body.dark .timeline-item {
    background: #334155;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
body.dark .timeline-item::before { border-color: #334155; }
body.dark .timeline-item .year { color: #a5b4fc; }
body.dark .timeline-item .event h4 { color: #e2e8f0; }
body.dark .timeline-item .event p  { color: #94a3b8; }

body.dark .faq-list.centered-list li {
    background: linear-gradient(135deg, #0c2540 0%, #1e3a5f 100%);
    color: #e2e8f0;
    border-left-color: #60a5fa;
}

body.dark .skill-item,
body.dark .benefit-item {
    background: linear-gradient(135deg, #0c2540 0%, #1e3a5f 100%);
}
body.dark .skill-item p,
body.dark .benefit-item p { color: #cbd5e1; }

body.dark .concept-box { background: #334155; border-color: #6366f1; }
body.dark .concept-box p { color: #e2e8f0; }

body.dark .highlight-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
}
body.dark .highlight-box p { color: #93c5fd; }

body.dark .final-message {
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
}
body.dark .final-message p { color: #e2e8f0; }
body.dark .message-points p { color: #e2e8f0; }
body.dark .highlight-text { color: #a5b4fc; }

body.dark .brand {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    color: #93c5fd;
    -webkit-text-fill-color: initial;
}

body.dark .nav-btn {
    background: rgba(30, 41, 59, 0.92);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.2);
}
body.dark .nav-btn:hover {
    background: #334155;
    color: white;
    border-color: white;
}
