:root {
    --primary: #10b981;
    --dark: #000000;
    --card: #111111;
    --text: #ffffff;
    --gray: #a1a1aa;
    --accent: #e91e63;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--dark); color: var(--text); overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* NAV */
header { background: rgba(0,0,0,0.9); position: fixed; width: 100%; top: 0; z-index: 2000; border-bottom: 1px solid #222; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; height: 80px; }
.brand { font-weight: 800; font-size: 1.1rem; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: white; font-weight: 600; font-size: 0.85rem; }
.menu-toggle { display: none; background: var(--primary); border: none; padding: 8px; border-radius: 5px; flex-direction: column; gap: 5px; }
.bar { width: 22px; height: 2px; background: white; }

/* HERO */
.hero { 
    height: 100vh; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/fond.jpg');
    background-size: cover; background-position: center top; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 7vw, 3.5rem); }
.hero h1 span { color: var(--primary); }
.cta-button { margin-top: 20px; display: inline-block; padding: 15px 30px; background: var(--primary); color: white; text-decoration: none; border-radius: 5px; font-weight: 700; }

/* SECTIONS */
.section-padding { padding: 80px 5%; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.section-title::after { content: ''; display: block; width: 50px; height: 4px; background: var(--primary); margin: 15px auto; }
.highlight { color: var(--primary); font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; }
.sub-highlight { color: var(--gray); line-height: 1.8; margin-bottom: 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card { background: var(--card); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid #222; }
.stat-card strong { color: var(--primary); font-size: 1.8rem; display: block; }
.mission-box { background: #080808; border-left: 5px solid var(--primary); padding: 30px; }
.team-banner { width: 100%; height: 400px; overflow: hidden; }
.team-banner img { width: 100%; height: 100%; object-fit: cover; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.s-card { background: var(--card); padding: 20px; border-radius: 10px; border: 1px solid #222; }
.s-card h4 { color: var(--primary); margin-bottom: 10px; }

/* CIBLES */
.dark-grid-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; background: #080808; padding: 40px; border-radius: 15px; }
.grid-item h3 { color: var(--primary); margin-bottom: 20px; }

/* --- CARROUSEL --- */
.portfolio-slider { width: 100%; overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 10px 0; }
.portfolio-slider::-webkit-scrollbar { display: none; }
.slider-track { display: flex; gap: 25px; width: max-content; scroll-snap-type: x mandatory; }

.p-item { width: 300px; flex-shrink: 0; background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid #222; scroll-snap-align: start; transition: 0.3s; }
.img-zoom { width: 100%; height: 280px; overflow: hidden; }
.p-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.p-item:hover img { transform: scale(1.1); }
.p-item span { display: block; padding: 15px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.cat-label { margin: 40px 0 20px; color: var(--primary); font-size: 1.3rem; border-left: 4px solid var(--primary); padding-left: 15px; }

/* FOOTER */
.main-footer { background: #050505; padding: 80px 5% 0; border-top: 8px solid var(--accent); }
.footer-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; padding-bottom: 50px; }
.divider { width: 50px; height: 3px; background: var(--primary); margin: 20px 0; }
.footer-form-side input, .footer-form-side textarea { width: 100%; padding: 15px; margin-bottom: 10px; border-radius: 5px; border: 1px solid #333; background: #111; color: white; }
.btn-submit { width: 100%; padding: 15px; background: var(--primary); color: white; border: none; font-weight: 700; cursor: pointer; border-radius: 5px; }
.footer-info-side { color: var(--gray); line-height: 2; padding-top: 20px; }
.footer-bottom { border-top: 1px solid #222; padding: 25px; text-align: center; font-size: 0.8rem; color: #555; }

/* MOBILE */
@media (max-width: 850px) {
    .menu-toggle { display: flex; }
    .nav-links { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #000; flex-direction: column; padding: 30px; }
    .nav-links.active { display: flex; }
    .p-item { width: 260px; }
}

/* FLOATS */
.social-floats { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 3000; }
.f-btn { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 0.7rem; font-weight: bold; }
.wa { background: #25D366; } .fb { background: #1877F2; } .ig { background: #E4405F; }
