:root {
  --bg: #F8FAFC; 
  --bg-card: #FFFFFF; 
  --bg-elevated: #F1F5F9; 
  --border: #E2E8F0;
  --border-hover: #BFDBFE;
  --text: #0F172A; 
  --text-muted: #475569; 
  --text-dim: #94A3B8; 
  --accent: #2563EB; 
  --accent-glow: rgba(37, 99, 235, 0.15);
  --accent-dark: #1D4ED8;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --star: #F59E0B;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 15px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

/* EFFETS D'APPARITION */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* Arrière-plan */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 10%, transparent 100%);
  opacity: 0.5;
}

/* Navigation */
nav {
  position: fixed; top: 0; width: 100%;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); z-index: 100; padding: 16px 0;
  transition: all 0.3s ease;
}
nav.scrolled { padding: 12px 0; background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; color: var(--text); }
.logo-mark {
  width: 32px; height: 32px; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a:not(.btn-nav) { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.nav-links a:not(.btn-nav):hover { color: var(--accent); }
.btn-nav {
  background: var(--text); color: #fff !important; padding: 10px 20px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 13px; transition: transform 0.2s;
}
.btn-nav:hover { transform: scale(1.05); background: var(--accent); }

/* Hero Section */
.hero { padding: 140px 0 80px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1.5px; }
.hero p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: white; padding: 14px 28px; border-radius: var(--radius-full); font-weight: 700; box-shadow: 0 10px 25px var(--accent-glow); display: inline-flex; align-items: center; transition: all 0.3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3); }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); padding: 14px 28px; border-radius: var(--radius-full); font-weight: 600; transition: all 0.3s; }
.btn-secondary:hover { background: var(--bg-elevated); }
.hero-image { margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }

/* Sections Globales */
section { padding: 100px 0; }
.section-tag { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; padding: 6px 12px; background: #EFF6FF; border-radius: 6px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.2; margin-bottom: 48px; letter-spacing: -1px; }

/* Services */
.service-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; margin-bottom: 24px; display: flex; gap: 32px; align-items: flex-start; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--border-hover); }
.service-icon { width: 64px; height: 64px; background: #EFF6FF; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; border: 1px solid var(--border-hover); }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 16px; }

/* TÉMOIGNAGES */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; display: flex; flex-direction: column; transition: all 0.3s; }
.testimonial-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); }
.stars { color: var(--star); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.quote { color: var(--text); font-style: italic; font-size: 15px; margin-bottom: 24px; flex-grow: 1; }
.author { border-top: 1px solid var(--border); padding-top: 16px; }
.author-name { font-weight: 700; font-size: 14px; }
.author-job { color: var(--text-muted); font-size: 13px; }

/* A Propos */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px; }
.about-img { width: 100%; aspect-ratio: 1; background: #E2E8F0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--text-dim); overflow: hidden; border: 4px solid white; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.about-text h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.about-role { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; color: var(--text-muted); }

/* FAQ */
.faq-grid { display: grid; gap: 16px; max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; transition: all 0.3s; }
.faq-item:hover { border-color: var(--border-hover); }
.faq-question { font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 8px; display: flex; gap: 12px; align-items: flex-start; }
.faq-question::before { content: '?'; color: var(--accent); font-weight: 800; background: #EFF6FF; border-radius: 4px; padding: 0 8px; }
.faq-answer { color: var(--text-muted); font-size: 15px; padding-left: 32px; }

/* Contact */
.contact-box { background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; }
.contact-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.contact-box p { color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }
.embed-placeholder { background: white; border: 1px dashed var(--border-hover); border-radius: var(--radius-md); padding: 60px 20px; color: var(--text-dim); font-weight: 600; max-width: 600px; margin: 0 auto; transition: all 0.3s; cursor: pointer; }
.embed-placeholder:hover { border-color: var(--accent); background: #F8FAFC; color: var(--accent); }

/* Footer */
footer { background: #0F172A; padding: 60px 0 40px; color: white; text-align: center; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { color: #94A3B8; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: white; }
.footer-copy { color: #64748B; font-size: 13px; }

@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .service-card { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .about-img { max-width: 180px; margin: 0 auto; }
  .faq-answer { padding-left: 0; margin-top: 12px; }
}