/* --- VARIABLES --- */
:root {
    --dark: #0a0f1a;
    --gray: #64748b;
    --white: #ffffff;
    --border: #eef2f6;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--dark); line-height: 1.6; background-color: var(--white); }

/* --- HEADER --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 20px 8%; background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -1px; }
nav a { margin: 0 15px; text-decoration: none; color: var(--dark); font-size: 0.9rem; font-weight: 500; }

/* --- BOUTONS --- */
.btn-dark { background: var(--dark); color: var(--white); padding: 12px 24px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; display: inline-block; transition: var(--transition); }
.btn-light { background: var(--white); color: var(--dark); padding: 12px 24px; border-radius: 10px; border: 1px solid #e2e8f0; font-weight: 600; cursor: pointer; display: inline-block; }

/* --- HERO --- */
.hero { display: flex; padding: 100px 8%; align-items: center; gap: 60px; min-height: 80vh; }
.hero-content { flex: 1.2; }
.badge { background: #f1f5f9; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--gray); }
h1 { font-size: 4.5rem; line-height: 0.95; margin: 25px 0; letter-spacing: -3px; }
.features { display: flex; list-style: none; gap: 20px; color: var(--gray); font-size: 14px; margin-top: 20px; }

.hero-visual { flex: 1; position: relative; height: 450px; }
.img-card { position: absolute; border-radius: 16px; border: 4px solid var(--white); box-shadow: 0 25px 50px rgba(0,0,0,0.1); transition: var(--transition); }
.card-1 { width: 340px; top: 40px; left: 10px; z-index: 2; transform: rotate(-2deg); }
.card-2 { width: 200px; top: -30px; right: 0; z-index: 3; transform: rotate(5deg); }
.card-3 { width: 250px; bottom: 20px; left: -20px; z-index: 1; transform: rotate(-4deg); }

/* --- SECTIONS --- */
.section-container { padding: 80px 8%; }
h2 { font-size: 2.5rem; margin-bottom: 40px; font-weight: 800; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
.work-item img { width: 100%; border-radius: 15px; transition: var(--transition); }
.work-item img:hover { transform: translateY(-8px); box-shadow: 0 20px 25px rgba(0,0,0,0.1); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid-4-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card, .step-card { padding: 40px; border: 1px solid var(--border); border-radius: 16px; }
.step-number { background: var(--dark); color: white; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 20px; font-weight: bold; }

/* --- FOOTER --- */
.footer-cta { background: var(--dark); color: var(--white); margin: 60px 8%; padding: 80px 60px; border-radius: 30px; text-align: left; }
.footer-btns { display: flex; gap: 20px; margin-top: 30px; align-items: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--dark); padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; display: inline-block; }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white) !important; padding: 14px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; display: inline-block; }

@media (max-width: 900px) {
    h1 { font-size: 3rem; }
    .hero-visual { display: none; }
}