/* --- VARIABLES & RESET --- */
:root {
    /* Palette de Bleus */
    --bg-body: #F8FAFC;          /* Gris très pâle bleuté */
    --primary-blue: #2563EB;     /* Bleu roi vibrant */
    --dark-blue: #0F172A;        /* Bleu nuit profond (presque noir) */
    --medium-blue: #1E40AF;      /* Bleu intermédiaire */
    --light-blue: #DBEAFE;       /* Bleu ciel très clair */
    --white: #FFFFFF;
    
    --radius: 8px;
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--dark-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- UI ELEMENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--medium-blue);
    transform: translateY(-2px);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 0.9rem;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.section-padding {
    padding: 5rem 0;
}

/* --- HEADER --- */
header {
    background-color: rgba(219, 231, 250, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--light-blue);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-blue);
}

/* --- HERO SECTION --- */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--dark-blue), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* --- LA PÂTE WEBSTEP (FORMAT ÉCRAN LARGE + FLUIDE) --- */
.scrolling-wrapper {
    background-color: transparent;
    /* Réduction du padding vertical pour que le titre soit plus proche */
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scrolling-title {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: none;
}

.slider {
    display: flex;
    width: max-content;
    animation: scroll 90s linear infinite;
}

/* Style des placeholders (si utilisés) */
.slide {
    /* NOUVELLES DIMENSIONS pour un format plus large */
    height: 300px; /* Plus petit */
    width: 800px;  /* Plus large */
    margin-right: 0;
    flex-shrink: 0;
    background-color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-weight: bold;
    font-size: 2rem;
    background-image: linear-gradient(45deg, #1e40af 25%, #2563eb 25%, #2563eb 50%, #1e40af 50%, #1e40af 75%, #2563eb 75%, #2563eb 100%);
    background-size: 60px 60px;
}

/* Style pour vos images */
.slide-img {
    /* MÊMES NOUVELLES DIMENSIONS */
    height: 400px; /* Plus petit */
    width: 850px;  /* Plus large */
    margin-right: 0;
    flex-shrink: 0;
    object-fit: cover; /* Rempli le cadre sans déformer */
    /* IMPORTANT : on s'assure que le haut de l'image est toujours visible */
    object-position: top;
    display: block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- POURQUOI WEBSTEP --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--light-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748B;
    font-size: 0.95rem;
}

/* --- ILS ONT AIMÉ WEBSTEP --- */
.testimonials {
    background-color: var(--white);
}

.review-card {
    background-color: var(--bg-body);
    padding: 2rem;
    border-radius: var(--radius);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0.1;
    width: 40px;
    fill: var(--dark-blue);
}

.review-text {
    font-style: italic;
    color: #334155;
    margin-bottom: 1.5rem;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.reviewer-info h4 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 0;
}

.reviewer-info span {
    font-size: 0.8rem;
    color: #64748B;
}

/* --- CONTACT --- */
.contact-section {
    background-color: var(--dark-blue);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info p {
    color: #94A3B8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-method {
    display: flex; 
    gap: 1rem; 
    align-items: center; 
    margin-bottom: 1rem;
}

form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    color: var(--dark-blue);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--light-blue);
}

/* --- FOOTER --- */
footer {
    background-color: #020617;
    color: #64748B;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .contact-container { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Pour simplifier sans JS */
}