/* Styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
}

h2 {
    font-size: 3rem;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

h3.subtitle {
    color: #000000;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 500;
}

/* Boutons de langue */
.language-buttons {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

.language-buttons button {
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
}

.language-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-buttons button.active {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.language-buttons button img {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
}

/* Section Objectifs */
.objectives {
    padding: 6rem 2rem 18rem;
    background: #EEEFF8;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.objective-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #66d8ff 10%, #6000ff 110%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.objective-item:hover .icon-circle {
    transform: scale(1.1);
}

.icon-circle .material-symbols-outlined {
    font-size: 48px;
    color: white;
}

.objective-item p {
    font-size: 1.1rem;
    color: #584E6D;
    line-height: 1.6;
}

/* Section Mode Opératoire */
.operational-mode {
    padding: 4rem 2rem;
    background: #fff;
}

.operational-mode h3.subtitle {
	margin-bottom: 1rem;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 1.5rem 0 .5rem;;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #66d8ff, #951cff);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
    padding-left: calc(50% + 4rem);
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.5s ease forwards;
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: calc(50% + 4rem);
    text-align: right;
    transform: translateX(50px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }
.timeline-item:nth-child(5) { animation-delay: 0.9s; }

.timeline .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: calc(50% - 35px);
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.pink {
    background: linear-gradient(135deg, #ff77ff, #ff257d);
}

.blue {
    background: linear-gradient(135deg, #66d8ff 10%, #6000ff 110%);
}

.yellow {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}

.timeline-item h4 {
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0;
    padding-top: 1rem;
}

.timeline-item p {
    color: #584E6D;
    margin: 0.25rem 0;
    line-height: 1.6;
}
.timeline-item .stepTitle {
	display: flex;
	align-items: baseline;
}
.timeline-item .time-specification {
	font-weight: 500;
	padding-left: 1rem;
	font-size: 1rem;
}
 
/* Section Méthodologie */
.methodology {
    padding: 6rem 2rem 18rem;
    background: #EEEFF8;
}

.methodology-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 30px;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step.blue {
    background: linear-gradient(135deg, #66d8ff 10%, #6000ff 110%);
}

.step.purple {
    background: linear-gradient(135deg, #c084fc, #951cff);
}

.number {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    line-height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.phases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.phase {
    padding: 1.5rem;
    text-align: center;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.phase.diagnostic {
    background: linear-gradient(135deg, #66d8ff 10%, #6000ff 110%);
    color: white;
}

.phase.transformation {
    background: linear-gradient(135deg, #c084fc, #951cff);
    color: white;
}

/* Media Queries */
@media (max-width: 768px) {
	
	.objectives, .methodology {
		padding: 4rem 2rem;
	}
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
	.objectives-grid .icon-circle {
		width: 80px;
    height: 80px;
	}

    .timeline::before {
        left: 30px;
    }
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 100px;
        padding-right: 0;
        text-align: left;
    }
    .timeline .icon {
        left: 0;
    }

    .methodology-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    h2 {
        font-size: 2.5rem;
    }

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

    .methodology-container {
        padding: 1.5rem;
        transform: none;
    }
}