:root {
    --prem-gold: #f6a321;
    --prem-green: #0f6a2c;
    --history-green: #00963F;
    --prem-dark: #111827;
    --prem-gray: #4b5563;
    --prem-light: #f9fafb;
    --prem-white: #ffffff;
    --prem-font-title: 'Plane', 'Montserrat', sans-serif;
    --prem-font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --shadow-soft: 0 5px 20px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--prem-font-body);
    color: var(--prem-dark);
    margin: 0;
    background-color: var(--prem-light);
}

.hero-video { position: relative; height: 90vh; min-height: 500px; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.hero-video__wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video__media { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-video__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15, 106, 44, 0.3), rgba(0, 0, 0, 0.7)); z-index: 1; }
.hero-video__content { position: relative; z-index: 10; max-width: 1000px; margin-top: 4rem; padding: 0 20px; }
.badge-wrapper { margin-bottom: 2rem; display: inline-block; }
.hero-badge { display: inline-block; padding: 8px 18px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--prem-gold); font-weight: 700; position: relative; }
.hero-title { font-family: var(--prem-font-title); font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.1; margin: 0 0 1.5rem 0; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero-title.quote-main { font-style: italic; font-weight: 400; }
.author-name { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255, 255, 255, 0.85); margin: -0.5rem 0 1.75rem; font-weight: 600; text-shadow: 0 2px 5px rgba(0,0,0,0.4); }
.hero-text { font-size: 1.15rem; max-width: 750px; margin: 0 auto 3rem; line-height: 1.6; color: rgba(255, 255, 255, 0.95); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.btn-scroll { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 5px; transition: all 0.3s; }

.metrics-bar { position: relative; margin-top: -5rem; z-index: 20; padding-bottom: 4rem; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); padding: 2rem; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-top: 4px solid var(--prem-gold); }
.metric-item { text-align: center; border-right: 1px solid #eee; }
.metric-item:last-child { border-right: none; }
@media (max-width: 768px) { .metrics-bar { margin-top: -3rem; } .metric-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 1rem; } }
.metric-val { display: block; font-family: var(--prem-font-title); font-size: 2.2rem; color: var(--prem-green); margin-bottom: 0.5rem; }
.metric-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: var(--prem-gray); }

.section-split { padding: 4rem 0; background: #fff; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { .grid-split { grid-template-columns: 1fr; gap: 2rem; } }
.split-visual img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-hover); position: relative; z-index: 2; }
.section-title { font-family: var(--prem-font-title); font-size: 2.5rem; color: var(--prem-green); margin: 0 0 1rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid #eee; padding-top: 1.5rem; }
@media (max-width: 600px) { .info-grid { grid-template-columns: 1fr; } }
.premium-list { list-style: none; padding: 0; margin: 0; }
.premium-list li { padding: 8px 0; font-size: 0.95rem; color: var(--prem-dark); }
.premium-list strong { color: var(--prem-green); font-weight: 700; }

.section-history-road { padding: 4rem 0 6rem; background-color: var(--prem-light); overflow: hidden; }
.center { text-align: center; margin-bottom: 3rem; }
.timeline-road-container { position: relative; max-width: 900px; margin: 0 auto; padding: 20px 0; }

.road-line {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 6px;
    background: #e2e8f0;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 0;
}

.road-draw {
    position: absolute;
    top: 0; left: 0; width: 100%;
    height: 0%;
    background: var(--history-green);
    border-radius: 10px;
    transition: height 0.1s linear;
}

.road-step {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem 0;
    opacity: 0.3;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.road-step.is-active { opacity: 1; transform: scale(1.02); }

.step-dot {
    position: absolute;
    left: 50%; top: 1.5rem;
    width: 16px; height: 16px;
    background: #fff;
    border: 4px solid #cbd5e1;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: border-color 0.3s, background-color 0.3s, transform 0.3s;
}

.road-step.is-active .step-dot {
    border-color: var(--history-green);
    background: var(--history-green);
    transform: translateX(-50%) scale(1.3);
}

.step-content { width: 42%; position: relative; padding: 0 1rem; }

.road-step:nth-child(even) { flex-direction: row-reverse; }
.road-step:nth-child(even) .step-content { text-align: right; margin-left: auto; }
.road-step:nth-child(odd) .step-content { text-align: left; margin-right: auto; }

.step-year {
    display: block;
    font-family: var(--prem-font-title);
    font-size: 1.8rem;
    color: var(--history-green);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.step-title { font-size: 1.1rem; font-weight: 700; color: var(--prem-dark); margin: 0 0 0.3rem; }
.step-desc { font-size: 0.95rem; color: var(--prem-gray); line-height: 1.4; margin: 0; }

@media (max-width: 768px) {
    .road-line { left: 20px; }
    .road-step { flex-direction: column !important; align-items: flex-start; padding-left: 50px; padding-bottom: 2rem; }
    .step-dot { left: 20px; top: 0; }
    .step-content { width: 100%; text-align: left !important; padding: 0; }
}

.section-expertise { padding: 4rem 0; background: #fff; }
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.expertise-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.3s; display: flex; flex-direction: column; border: 1px solid #f3f4f6; }
.expertise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-bg { height: 180px; background-size: cover; background-position: center; }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-tag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: var(--prem-gold); margin-bottom: 0.5rem; }
.card-content h3 { font-family: var(--prem-font-title); font-size: 1.3rem; color: var(--prem-green); margin: 0 0 0.8rem; }
.card-content p { color: var(--prem-gray); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.5rem; flex-grow: 1; }
.card-link { font-weight: 700; color: var(--prem-green); text-decoration: none; border-bottom: 2px solid transparent; width: fit-content; transition: border-color 0.2s; font-size: 0.9rem; }
.card-link:hover { border-color: var(--prem-green); }

.expertise-uniform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.expertise-uniform-grid .expertise-card {
    flex: unset;
}
@media (max-width: 1100px) { .expertise-uniform-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .expertise-uniform-grid { grid-template-columns: 1fr; } }

.section-sites { padding: 5rem 0; background: var(--prem-light); }
.sites-grid { display: grid; gap: 1rem; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1199px) { .sites-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .sites-grid { grid-template-columns: 1fr; } }
.site-item { display: block; height: 300px; border-radius: 16px; overflow: hidden; position: relative; background-size: cover; background-position: center; box-shadow: var(--shadow-soft); transition: transform 0.3s; }
.site-item:hover { transform: translateY(-5px); }
.site-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 77, 64, 0.95) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff; }

.section-recrutement { position: relative; padding: 6rem 0; text-align: center; color: #fff; overflow: hidden; }
.recrutement-bg { position: absolute; inset: 0; background-image: url('http://eliard-spcp.fr/wp-content/uploads/2025/11/AdobeStock_144681959-scaled.jpeg'); background-size: cover; background-position: center; filter: brightness(0.4); z-index: 0; transition: transform 10s ease; }
.section-recrutement:hover .recrutement-bg { transform: scale(1.05); }
.recrutement-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 0 20px; }
.recrutement-title { font-family: var(--prem-font-title); font-size: 2.5rem; margin-bottom: 1.5rem; }
.btn-recrutement { display: inline-block; background: var(--prem-gold); color: #fff; padding: 1rem 3rem; border-radius: 50px; font-weight: 800; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 25px rgba(246, 163, 33, 0.4); transition: transform 0.3s; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); z-index: 9999; display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: #fff; width: 90%; max-width: 500px; padding: 2rem; border-radius: 16px; transform: translateY(20px); transition: transform 0.3s ease; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--prem-gray); }
.modal-content h3 { font-family: var(--prem-font-title); color: var(--prem-green); font-size: 1.5rem; border-bottom: 2px solid #f3f4f6; padding-bottom: 1rem; margin: 0 0 1rem; }
.modal-content ul { padding-left: 1.2rem; color: var(--prem-gray); line-height: 1.5; margin: 0; font-size: 0.95rem; }
.highlight-eco { margin-top: 1.5rem; background: #ecfdf5; color: #065f46; padding: 1rem; border-radius: 8px; font-weight: 500; font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s; }
.is-visible { opacity: 1; transform: translateY(0); }