/* --- Variables & Reset --- */
:root {
    --primary-color: #2563eb; 
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --dark: #0f172a; 
    --dark-card: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --radius-card: 20px;
    --radius-btn: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--light); color: var(--dark); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; display: inline-block; }
.mt-60 { margin-top: 60px; } .mt-100 { margin-top: 100px; }
.mb-20 { margin-bottom: 20px; } .mb-40 { margin-bottom: 40px; } .mb-60 { margin-bottom: 60px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; text-align: center; }
.relative-z { position: relative; z-index: 10; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; }
.subtitle { color: var(--gray); font-size: 1.1rem; line-height: 1.7; }
.subtitle-small { color: var(--gray); font-size: 0.95rem; margin-bottom: 15px; }

/* --- Boutons standards Tailwind --- */
.btn-primary, .btn-tailwind-outline, .btn-outline-light, .btn-outline-small { 
    text-decoration: none; font-weight: 500; font-size: 0.95rem; border-radius: var(--radius-btn); 
    transition: all 0.2s ease; cursor: pointer; display: inline-block; 
}
.btn-primary { background: var(--primary-color); color: white; padding: 14px 28px; box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2); border: none; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3); }
.btn-tailwind-outline { border: 1px solid #cbd5e1; color: var(--dark); padding: 13px 28px; background: white; width: 100%; text-align: center; }
.btn-tailwind-outline:hover { background: #f1f5f9; border-color: #94a3b8; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 25px 0; background: transparent; transition: all 0.4s ease; }
.navbar.scrolled, .page-other .navbar { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid #e2e8f0; }
.logo { font-size: 1.5rem; font-weight: 700; color: white; transition: color 0.4s; }
.logo span { color: var(--primary-color); }
.navbar.scrolled .logo, .page-other .navbar .logo { color: var(--dark); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; color: white; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.navbar.scrolled .nav-links a, .page-other .navbar .nav-links a { color: var(--gray); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--primary-color); }
.btn-outline-small { border: 1px solid rgba(255,255,255,0.7); color: white; padding: 10px 20px; }
.navbar.scrolled .btn-outline-small { border-color: var(--gray); color: var(--dark); }
.navbar.scrolled .btn-outline-small:hover { background: var(--dark); color: white; border-color: var(--dark); }
.menu-toggle { display: none; } 

/* --- Footer --- */
.animated-gradient-bg { background: linear-gradient(-45deg, #0f172a, #1e293b, #111827, #2563eb); background-size: 400% 400%; animation: gradientMove 15s ease infinite; color: white; padding: 100px 0 30px; position: relative; overflow: hidden; }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; position: relative; z-index: 2;}
.footer-heading { font-size: 0.95rem; letter-spacing: 1.5px; margin-bottom: 25px; text-transform: uppercase; font-weight: 700; color: white; }
.gradient-text { background: linear-gradient(to right, #60a5fa, #3b82f6, #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.5rem !important; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a, .contact-link { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; display: inline-block; transition: all 0.2s ease; }
.footer-links a:hover, .contact-link:hover { color: white; transform: translateX(5px); }
.contact-svg-row { display: flex; align-items: center; gap: 10px; }
.footer-icon { width: 18px; height: 18px; color: rgba(255,255,255,0.6); }
.btn-outline-light { border: 1px solid rgba(255,255,255,0.5); color: white; padding: 12px 24px; background: transparent; }
.btn-outline-light:hover { background: white; color: var(--dark); border-color: white; }
.btn-animated-pulse { animation: softPulse 2s infinite; position: relative; }
@keyframes softPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* Utilitaires Globaux */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.footer-delay-1 { transition-delay: 0.1s; } .footer-delay-2 { transition-delay: 0.2s; } .footer-delay-3 { transition-delay: 0.3s; }
.pill-badge { display: inline-block; background: var(--primary-light); color: var(--primary-color); border: 1px solid rgba(37, 99, 235, 0.2); font-size: 0.85rem; font-weight: 600; padding: 6px 16px; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Responsive Global */
@media (max-width: 992px) {
    .menu-toggle { display: flex; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1001; }
    .menu-toggle .bar { width: 28px; height: 3px; background-color: white; transition: all 0.3s ease; border-radius: 3px; }
    .navbar.scrolled .menu-toggle .bar { background-color: var(--dark); }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background-color: white; flex-direction: column; align-items: flex-start; padding: 100px 30px; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; gap: 25px; }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--dark) !important; font-size: 1.1rem; }
    .navbar .btn-outline-small { border-color: var(--primary-color); background: var(--primary-color); color: white !important; width: 100%; text-align: center; margin-top: 10px; }
    .footer-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; gap: 20px; }
}