/* --- VARIABLES & RESET (Style System) --- */
:root {
    /* Couleurs style Apple/Google */
    --bg-color: #FFFFFF;
    --bg-grey: #F5F5F7; /* Gris Apple classique */
    --text-main: #1D1D1F; /* Presque noir, plus doux */
    --text-light: #86868B;
    --accent-color: #D93025; /* Rouge inspiré de la photo & Google */
    --accent-hover: #B3261E;
    
    /* Typographie */
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- LAYOUT UTILS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-grey { background-color: var(--bg-grey); }
.text-center { text-align: center; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-weight: 900;
    letter-spacing: -0.02em; /* Look moderne serré */
    margin-bottom: 15px;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.5rem; }
p.lead { font-size: 1.25rem; color: var(--text-light); max-width: 600px; margin-bottom: 30px; }
.dot { color: var(--accent-color); }

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px; /* Arrondi style pilule */
    font-weight: 500;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--text-main);
    color: white;
}
.btn-primary:hover { background-color: #000; transform: translateY(-2px); }

.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid #E5E5E5;
}
.btn-secondary:hover { border-color: var(--text-main); }

.btn-text {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 20px;
}
.btn-text:hover { text-decoration: underline; }

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); /* Effet verre dépoli Apple */
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { font-weight: 700; font-size: 1.2rem; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 0.95rem; color: var(--text-main); }
.nav-links a:hover { color: var(--accent-color); }

/* --- HERO SECTION --- */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text { flex: 1; }

.badge {
    background: #FCE8E6; /* Rouge très pâle */
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 350px;
    border-radius: 20px; /* Arrondi style App icon */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- EXPERTISE (CARDS) --- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
}

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

.icon { font-size: 2.5rem; margin-bottom: 20px; }

.skill-list { margin-top: 20px; }
.skill-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}
.skill-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- PARCOURS --- */
.clients-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
    margin-bottom: 60px;
    opacity: 0.5;
}
.client-name { font-weight: 700; font-size: 1.5rem; color: #ccc; }

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid #E5E5E5;
    padding-left: 40px;
}

.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    left: -47px;
    top: 5px;
    border: 4px solid white;
}

.date { font-size: 0.9rem; color: var(--text-light); margin-bottom: 5px; }

/* --- PORTFOLIO GRID --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.project-card:hover { transform: translateY(-5px); }

.project-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}
.project-info { padding: 20px; }
.project-info h4 { margin-bottom: 5px; font-size: 1.1rem; }
.tag { font-size: 0.8rem; color: var(--accent-color); font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.desc { font-size: 0.9rem; color: var(--text-light); }

/* --- FOOTER --- */
footer {
    background: var(--text-main);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-left h3 { color: white; }
.footer-left p { color: #aaa; }
.footer-right p { margin-bottom: 10px; }
.footer-right a { color: white; }

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text p.lead { margin: 0 auto 30px; }
    .grid-2, .footer-content { display: block; }
    .card, .footer-left { margin-bottom: 30px; }
    .nav-links { display: none; } /* Menu burger à ajouter si besoin, ou simplifier */
}

/* --- TÉMOIGNAGES (TESTIMONIALS) --- */
.testimonial-card {
    background-color: var(--bg-grey); /* Fond gris clair style Apple */
    padding: 35px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Pour que les 3 cartes aient la même hauteur */
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: #f0f0f2; /* Légèrement plus sombre au survol */
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-color);
    font-family: Georgia, serif; /* Police avec empattement pour le guillemet */
    opacity: 0.3;
    margin-bottom: -20px;
    margin-top: -10px;
}

.quote-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.client-info {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.client-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- CORRECTION BOUTON MENU --- */
/* Force le texte en blanc pour le bouton du menu */
.nav-links a.btn-primary {
    color: white; 
}

/* Empêche le texte de devenir rouge au survol, garde le blanc */
.nav-links a.btn-primary:hover {
    color: white;
    background-color: #000; /* Optionnel : assombrit le bouton au survol */
}