/* ─── POLICES ─── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── COULEURS ─── */
:root {
  --violet: #4B3FD8;
  --violet-light: #6558f5;
  --violet-deep: #3730a3;
  --orange: #E8553E;
  --orange-light: #ff7059;
  --white: #ffffff;
  --gray-50: #F7F7FC;
  --gray-100: #EFEFF7;
  --gray-200: #DDDDE8;
  --gray-300: #C8C8D8;
  --gray-400: #8888A4;
  --gray-600: #4A4A60;
  --dark: #0F0F1E;
  --dark-2: #1A1A2E;
  --text: #1A1A2E;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(15,15,30,0.06);
  --shadow-md: 0 8px 32px rgba(15,15,30,0.1);
  --shadow-lg: 0 20px 60px rgba(75,63,216,0.14);
  --shadow-xl: 0 32px 80px rgba(15,15,30,0.18);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

*,*::before,*::after { box-sizing: border-box; padding: 0; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter','Raleway',sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* ─── SPLASH ─── */
#splash { position: fixed; inset: 0; z-index: 9999; background: linear-gradient(145deg,#08081a 0%,#0f0f2a 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(24px,4vw,36px); padding: 20px; transition: opacity 0.7s ease,visibility 0.7s ease; }
#splash.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo { display: flex; flex-direction: column; align-items: center; gap: clamp(10px,2vw,16px); }
#splashLogoImg { width: clamp(90px,22vw,150px); height: clamp(90px,22vw,150px); object-fit: contain; animation: splashPulse 2s ease-in-out infinite; filter: drop-shadow(0 0 clamp(16px,3vw,32px) rgba(75,63,216,0.6)); }
.splash-tagline { font-family: 'Inter',sans-serif; font-size: clamp(0.6rem,1.8vw,0.78rem); font-weight: 500; letter-spacing: clamp(2px,0.8vw,5px); text-transform: uppercase; color: rgba(255,255,255,0.35); text-align: center; padding: 0 16px; }
@keyframes splashPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.04); opacity: 0.8; } }
.splash-progress-wrap { width: clamp(200px,55vw,280px); display: flex; flex-direction: column; gap: 12px; }
.splash-progress-bar { width: 100%; height: 2px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.splash-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg,var(--violet),var(--orange)); border-radius: 99px; transition: width 0.1s linear; box-shadow: 0 0 12px rgba(75,63,216,0.5); }
.splash-percent { font-family: 'Inter',sans-serif; font-weight: 600; font-size: clamp(0.65rem,1.8vw,0.75rem); color: rgba(255,255,255,0.35); text-align: right; letter-spacing: 1px; }
.splash-dots { display: flex; gap: 10px; }
.splash-dot { width: clamp(5px,1.2vw,7px); height: clamp(5px,1.2vw,7px); border-radius: 50%; background: rgba(255,255,255,0.15); animation: dotFade 1.4s ease-in-out infinite; }
.splash-dot:nth-child(2) { animation-delay: 0.25s; }
.splash-dot:nth-child(3) { animation-delay: 0.5s; }
@keyframes dotFade { 0%,100% { background: rgba(255,255,255,0.15); transform: scale(1); } 50% { background: var(--orange); transform: scale(1.5); } }
@media (max-width: 360px) { #splashLogoImg { width: 75px; height: 75px; } .splash-progress-wrap { width: 190px; } }

/* ─── NAVBAR ─── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 0 6%; height: 72px; background: rgba(255,255,255,0.88); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(221,221,232,0.6); transition: box-shadow var(--transition),background var(--transition); }
nav.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 1px 0 rgba(221,221,232,0.8),0 8px 32px rgba(15,15,30,0.07); }
.nav-logo { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.5px; color: var(--dark); text-decoration: none; }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { font-family: 'Inter',sans-serif; font-size: 0.875rem; font-weight: 500; color: var(--gray-600); text-decoration: none; padding: 7px 14px; border-radius: var(--radius-sm); transition: color var(--transition),background var(--transition); }
.nav-links a:hover { color: var(--violet); background: rgba(75,63,216,0.06); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; background: var(--gray-100); border-radius: 50px; padding: 3px; gap: 2px; }
.lang-btn { padding: 5px 14px; font-size: 0.75rem; font-weight: 600; border: none; cursor: pointer; border-radius: 50px; transition: all var(--transition); background: transparent; color: var(--gray-400); font-family: 'Inter',sans-serif; letter-spacing: 0.3px; }
.lang-btn.active { background: var(--violet); color: white; box-shadow: 0 2px 8px rgba(75,63,216,0.3); }
.nav-cta { padding: 9px 22px; border-radius: 50px; background: var(--dark); color: white; font-family: 'Inter',sans-serif; font-size: 0.84rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: transform var(--transition),box-shadow var(--transition),background var(--transition); letter-spacing: 0.2px; }
.nav-cta:hover { background: var(--violet); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(75,63,216,0.3); }

/* ─── HAMBURGER ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; z-index: 201; background: none; border: none; }
.hamburger span { width: 22px; height: 1.5px; background: var(--dark); border-radius: 2px; display: block; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
#hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 6% 90px; position: relative; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 70% at 85% 50%,rgba(75,63,216,0.055) 0%,transparent 65%),radial-gradient(ellipse 45% 45% at 15% 85%,rgba(232,85,62,0.045) 0%,transparent 55%),radial-gradient(ellipse 40% 40% at 50% 0%,rgba(75,63,216,0.03) 0%,transparent 60%); }
.hero-grid-pattern { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(75,63,216,0.028) 1px,transparent 1px),linear-gradient(90deg,rgba(75,63,216,0.028) 1px,transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 80% at center,black 40%,transparent 100%); -webkit-mask-image: radial-gradient(ellipse 80% 80% at center,black 40%,transparent 100%); }
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 50px; background: rgba(75,63,216,0.06); border: 1px solid rgba(75,63,216,0.12); margin-bottom: 32px; animation: fadeUp 0.5s ease both; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; flex-shrink: 0; }
.hero-badge span { font-family: 'Inter',sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--violet); letter-spacing: 0.3px; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(232,85,62,0.4); } 50% { opacity: 0.85; transform: scale(1.2); box-shadow: 0 0 0 4px rgba(232,85,62,0); } }
.hero-name { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: clamp(3rem,6.5vw,5.2rem); line-height: 1.0; letter-spacing: -3px; color: var(--dark); animation: fadeUp 0.5s 0.08s ease both; }
.hero-name .highlight { color: var(--violet); }
.hero-name .accent { color: var(--orange); }
.hero-title-wrap { margin: 22px 0 28px; animation: fadeUp 0.5s 0.16s ease both; }
.hero-title { display: flex; flex-wrap: wrap; gap: 8px; }
.title-pill { padding: 5px 16px; border-radius: 50px; font-family: 'Inter',sans-serif; font-size: 0.8rem; font-weight: 600; border: 1px solid; letter-spacing: 0.1px; }
.pill-violet { background: rgba(75,63,216,0.07); border-color: rgba(75,63,216,0.2); color: var(--violet); }
.pill-orange { background: rgba(232,85,62,0.07); border-color: rgba(232,85,62,0.2); color: var(--orange); }
.pill-dark { background: var(--gray-100); border-color: var(--gray-200); color: var(--gray-600); }
.hero-desc { font-family: 'Inter',sans-serif; font-size: 1rem; line-height: 1.75; color: var(--gray-600); max-width: 500px; animation: fadeUp 0.5s 0.24s ease both; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; animation: fadeUp 0.5s 0.32s ease both; }
.btn-primary { padding: 13px 28px; border-radius: 50px; background: var(--violet); color: white; font-family: 'Inter',sans-serif; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer; transition: transform var(--transition),box-shadow var(--transition),background var(--transition); display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.1px; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(75,63,216,0.38); background: var(--violet-deep); }
.btn-outline { padding: 13px 28px; border-radius: 50px; background: transparent; color: var(--dark); font-family: 'Inter',sans-serif; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: 1.5px solid var(--gray-300); cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); background: rgba(75,63,216,0.04); transform: translateY(-2px); }
.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 1; animation: fadeUp 0.6s 0.2s ease both; }
.hero-card { width: 310px; background: white; border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-xl),0 0 0 1px rgba(221,221,232,0.5); border: 1px solid rgba(221,221,232,0.4); }
.hero-card-avatar { width: 68px; height: 68px; border-radius: 20px; background: linear-gradient(135deg,var(--violet),var(--orange)); display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.4rem; color: white; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(75,63,216,0.3); }
.hero-card h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; color: var(--dark); }
.hero-card p { font-family: 'Inter',sans-serif; font-size: 0.78rem; color: var(--gray-400); margin-bottom: 20px; }
.card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-item { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 14px; text-align: center; }
.stat-num { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--violet); }
.stat-label { font-family: 'Inter',sans-serif; font-size: 0.68rem; color: var(--gray-400); margin-top: 3px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ─── SECTIONS COMMUNES ─── */
section { padding: 96px 6%; }
.section-tag { display: inline-block; font-family: 'Inter',sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.section-title { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: clamp(2rem,4vw,2.8rem); line-height: 1.12; letter-spacing: -1.5px; color: var(--dark); margin-bottom: 18px; }
.section-title span { color: var(--violet); }
.section-desc { font-family: 'Inter',sans-serif; font-size: 1rem; line-height: 1.75; color: var(--gray-600); max-width: 540px; font-weight: 400; }

/* ─── ABOUT ─── */
#about { background: var(--gray-50); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 56px; }
.about-visual { position: relative; }
.about-img-placeholder { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-xl); background: linear-gradient(145deg,rgba(75,63,216,0.08),rgba(232,85,62,0.05)); border: 1.5px dashed var(--gray-200); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--gray-400); overflow: hidden; }
.about-img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.about-img-placeholder i { font-size: 2.8rem; color: var(--violet); opacity: 0.25; }
.about-img-placeholder p { font-size: 0.82rem; font-family: 'Inter',sans-serif; }
.about-text h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 18px; color: var(--dark); letter-spacing: -0.5px; }
.about-text p { font-family: 'Inter',sans-serif; font-size: 0.97rem; line-height: 1.8; color: var(--gray-600); margin-bottom: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.about-tag { padding: 6px 16px; border-radius: 50px; font-family: 'Inter',sans-serif; font-size: 0.8rem; font-weight: 500; background: white; border: 1px solid var(--gray-200); color: var(--gray-600); transition: all var(--transition); cursor: default; box-shadow: var(--shadow-sm); }
.about-tag:hover { border-color: var(--violet); color: var(--violet); background: rgba(75,63,216,0.04); }

/* ─── SERVICES ─── */
#services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.service-card { border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--gray-200); transition: transform var(--transition),box-shadow var(--transition),border-color var(--transition); position: relative; overflow: hidden; background: white; box-shadow: var(--shadow-sm); }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--violet),var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(75,63,216,0.15); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 54px; height: 54px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 22px; }
.icon-violet { background: rgba(75,63,216,0.08); color: var(--violet); }
.icon-orange { background: rgba(232,85,62,0.08); color: var(--orange); }
.icon-dark { background: var(--gray-100); color: var(--gray-600); }
.service-card h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; color: var(--dark); letter-spacing: -0.3px; }
.service-card p { font-family: 'Inter',sans-serif; font-size: 0.875rem; line-height: 1.7; color: var(--gray-600); margin-bottom: 22px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.stag { padding: 4px 11px; border-radius: 50px; font-family: 'Inter',sans-serif; font-size: 0.72rem; font-weight: 600; background: var(--gray-100); color: var(--gray-600); letter-spacing: 0.1px; }
.material-symbols-outlined { font-size: 28px; color: inherit; }

/* ─── SKILLS ─── */
#skills { background: var(--gray-50); }
.skills-container { margin-top: 52px; }
.skills-group { margin-bottom: 44px; }
.skills-group-title { font-family: 'Inter',sans-serif; font-weight: 600; font-size: 0.78rem; color: var(--gray-400); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
.skills-group-title::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.skills-flex { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pill { display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: var(--radius-sm); background: white; border: 1px solid var(--gray-200); font-family: 'Inter',sans-serif; font-size: 0.84rem; font-weight: 500; color: var(--dark); transition: all var(--transition); cursor: default; box-shadow: var(--shadow-sm); }
.skill-pill:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(75,63,216,0.1); background: rgba(75,63,216,0.02); }
.skill-pill img { flex-shrink: 0; }

/* ─── PROJECTS ─── */
#projects { background: white; }
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); transition: transform var(--transition),box-shadow var(--transition); background: white; box-shadow: var(--shadow-sm); }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-thumb { height: 190px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gray-100); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb-icon { font-size: 3rem; color: rgba(255,255,255,0.9); }
.project-thumb-badge { position: absolute; top: 12px; right: 12px; padding: 4px 11px; border-radius: 50px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); font-family: 'Inter',sans-serif; font-size: 0.68rem; font-weight: 700; color: var(--dark); border: 1px solid rgba(255,255,255,0.6); letter-spacing: 0.2px; }
.project-body { padding: 22px; }
.project-body h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 7px; color: var(--dark); letter-spacing: -0.3px; }
.project-body p { font-family: 'Inter',sans-serif; font-size: 0.84rem; line-height: 1.65; color: var(--gray-600); margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tech-tag { padding: 3px 10px; border-radius: 50px; font-family: 'Inter',sans-serif; font-size: 0.7rem; font-weight: 600; background: rgba(75,63,216,0.06); color: var(--violet); border: 1px solid rgba(75,63,216,0.12); }
.show-btn { padding: 5px 14px; border-radius: 50px; background: var(--dark); color: white; font-family: 'Inter',sans-serif; font-size: 0.78rem; font-weight: 600; border: none; cursor: pointer; text-decoration: none; transition: all var(--transition); display: inline-flex; align-items: center; gap: 5px; }
.show-btn:hover { background: var(--violet); transform: translateY(-1px); }

/* ─── TARIFS ─── */
#tarifs { background: var(--gray-50); }
.tarifs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 52px; max-width: 860px; margin-left: auto; margin-right: auto; }
.tarif-card { background: white; border-radius: var(--radius-xl); border: 1px solid var(--gray-200); padding: 40px 36px; position: relative; overflow: hidden; transition: transform var(--transition),box-shadow var(--transition); box-shadow: var(--shadow-sm); }
.tarif-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tarif-card.featured { border-color: rgba(75,63,216,0.25); box-shadow: 0 0 0 1px rgba(75,63,216,0.1),var(--shadow-md); }
.tarif-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--violet),var(--orange)); }
.tarif-badge { display: inline-block; padding: 4px 14px; border-radius: 50px; font-family: 'Inter',sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 22px; }
.badge-start { background: var(--gray-100); color: var(--gray-600); }
.badge-business { background: linear-gradient(90deg,var(--violet),var(--orange)); color: white; }
.tarif-card h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--dark); margin-bottom: 8px; letter-spacing: -0.4px; }
.tarif-card .tarif-desc { font-family: 'Inter',sans-serif; font-size: 0.875rem; color: var(--gray-600); margin-bottom: 28px; line-height: 1.65; }
.tarif-price { margin-bottom: 28px; display: flex; align-items: baseline; gap: 6px; }
.tarif-price .amount { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--dark); letter-spacing: -1px; }
.tarif-price .currency { font-family: 'Inter',sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--gray-400); }
.tarif-features { list-style: none; margin-bottom: 32px; }
.tarif-features li { display: flex; align-items: center; gap: 12px; font-family: 'Inter',sans-serif; font-size: 0.875rem; color: var(--gray-600); padding: 9px 0; border-bottom: 1px solid var(--gray-100); }
.tarif-features li:last-child { border-bottom: none; }
.tarif-features li i { color: #22c55e; font-size: 0.8rem; flex-shrink: 0; }
.tarif-btn { display: block; width: 100%; padding: 13px; border-radius: 50px; text-align: center; font-family: 'Inter',sans-serif; font-weight: 700; font-size: 0.875rem; text-decoration: none; cursor: pointer; border: none; transition: all var(--transition); letter-spacing: 0.2px; }
.btn-tarif-start { background: transparent; border: 1.5px solid var(--gray-300); color: var(--dark); }
.btn-tarif-start:hover { border-color: var(--violet); color: var(--violet); background: rgba(75,63,216,0.04); }
.btn-tarif-business { background: var(--dark); color: white; border: none; }
.btn-tarif-business:hover { background: var(--violet); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(75,63,216,0.3); }
.tarifs-note { text-align: center; margin-top: 28px; font-family: 'Inter',sans-serif; font-size: 0.8rem; color: var(--gray-400); }
.tarifs-note i { color: var(--orange); }

/* ─── BLOG ─── */
#blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 52px; }
.blog-card { border-radius: var(--radius-lg); overflow: hidden; background: white; border: 1px solid var(--gray-200); cursor: pointer; transition: transform var(--transition),box-shadow var(--transition); box-shadow: var(--shadow-sm); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-thumb { height: 170px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: var(--gray-100); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb-icon { font-size: 2.8rem; color: rgba(255,255,255,0.9); }
.blog-category { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 50px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); font-family: 'Inter',sans-serif; font-size: 0.68rem; font-weight: 700; color: var(--dark); border: 1px solid rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.8px; }
.blog-body { padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-family: 'Inter',sans-serif; font-size: 0.72rem; color: var(--gray-400); margin-bottom: 10px; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-body h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 0.97rem; color: var(--dark); margin-bottom: 8px; line-height: 1.45; letter-spacing: -0.2px; }
.blog-body p { font-family: 'Inter',sans-serif; font-size: 0.82rem; line-height: 1.65; color: var(--gray-600); margin-bottom: 16px; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; font-family: 'Inter',sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--violet); text-decoration: none; transition: gap var(--transition); }
.blog-read-more:hover { gap: 10px; }

/* ─── MODALE ─── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,25,0.7); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background: white; border-radius: var(--radius-xl); width: 100%; max-width: 680px; max-height: 88vh; overflow-y: auto; transform: translateY(24px) scale(0.98); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: var(--shadow-xl); position: relative; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-header { height: 220px; display: flex; align-items: flex-end; padding: 20px 24px; position: relative; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; background-size: cover !important; background-position: center !important; }
.modal-header::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom,rgba(0,0,0,0.15),rgba(0,0,0,0.65)); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: white; border: 1.5px solid var(--gray-200); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.15); z-index: 10; transition: all var(--transition); }
.modal-close:hover { background: var(--orange); border-color: var(--orange); transform: rotate(90deg) scale(1.05); }
.modal-close img { pointer-events: none; filter: brightness(0); }
.modal-close:hover img { filter: brightness(0) invert(1); }
.modal-header-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); font-size: 3rem; color: rgba(255,255,255,0.85); z-index: 2; }
.modal-category-badge { position: relative; z-index: 2; padding: 5px 14px; border-radius: 50px; background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); font-family: 'Inter',sans-serif; font-size: 0.68rem; font-weight: 700; color: white; border: 1px solid rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1.2px; }
.modal-content { padding: 32px; }
.modal-content h2 { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; line-height: 1.25; letter-spacing: -0.5px; }
.modal-content .modal-meta { font-family: 'Inter',sans-serif; font-size: 0.75rem; color: var(--gray-400); margin-bottom: 24px; }
.modal-content p { font-family: 'Inter',sans-serif; font-size: 0.93rem; line-height: 1.8; color: var(--gray-600); margin-bottom: 16px; }
.modal-content h4 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 0.97rem; color: var(--dark); margin: 24px 0 10px; letter-spacing: -0.2px; }
.modal-tip { background: rgba(75,63,216,0.05); border-left: 3px solid var(--violet); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 18px; margin: 16px 0; font-family: 'Inter',sans-serif; font-size: 0.86rem; color: var(--dark); line-height: 1.65; }
@media (max-width: 768px) { .modal-box { max-height: 92vh; border-radius: var(--radius-lg); } .modal-header { height: 180px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; } .modal-content { padding: 22px; } }

/* ─── CONTACT ─── */
#contact { background: var(--dark); color: white; }
#contact .section-title { color: white; letter-spacing: -1.5px; }
#contact .section-title span { color: var(--orange); }
#contact .section-desc { color: rgba(255,255,255,0.5); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 52px; align-items: start; }
.contact-info h3 { font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 28px; color: white; letter-spacing: -0.3px; }
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: transform var(--transition); }
.contact-icon:hover { transform: scale(1.08); }
.ci-violet { background: rgba(75,63,216,0.18); color: var(--violet-light); }
.ci-orange { background: rgba(232,85,62,0.18); color: var(--orange-light); }
.ci-green { background: rgba(37,209,102,0.15); color: #4ade80; }
.ci-blue { background: rgba(10,102,194,0.18); color: #60a5fa; }
.ci-fb { background: rgba(24,119,242,0.18); color: #93c5fd; }
.contact-item-text .label { font-family: 'Inter',sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-bottom: 3px; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 500; }
.contact-item-text .value { font-family: 'Inter',sans-serif; font-size: 0.92rem; color: white; font-weight: 500; }
.contact-item-text a { color: white; text-decoration: none; transition: color var(--transition); }
.contact-item-text a:hover { color: var(--orange-light); }
.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-xl); padding: 32px; backdrop-filter: blur(8px); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: 'Inter',sans-serif; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.5); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,.form-group textarea { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: white; font-family: 'Inter',sans-serif; font-size: 0.9rem; outline: none; transition: border-color var(--transition); resize: none; }
.form-group input:focus,.form-group textarea:focus { border-color: rgba(75,63,216,0.6); background: rgba(255,255,255,0.08); }
.form-group input::placeholder,.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.btn-submit { width: 100%; padding: 14px; border-radius: 50px; background: white; color: var(--dark); font-family: 'Inter',sans-serif; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; transition: all var(--transition); letter-spacing: 0.2px; }
.btn-submit:hover { background: var(--violet); color: white; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(75,63,216,0.35); }

/* ─── FOOTER ─── */
footer { background: #08081a; color: rgba(255,255,255,0.3); text-align: center; padding: 28px 6%; font-family: 'Inter',sans-serif; font-size: 0.82rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,0.06); }
footer span b { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; transition: all var(--transition); }
.footer-socials a:hover { color: white; border-color: var(--orange); background: rgba(232,85,62,0.15); transform: translateY(-2px); }

/* ─── SCROLL TOP ─── */
.scroll-top { position: fixed; bottom: 90px; left: 28px; z-index: 99; width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; border: none; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(8px); transition: opacity var(--transition),transform var(--transition),background var(--transition); }
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--violet); }

/* ─── WHATSAPP FLOTTANT ─── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 99; display: flex; align-items: center; gap: 0; cursor: pointer; animation: fadeUp 0.6s 1.2s ease both; }
.whatsapp-btn { width: 50px; height: 50px; border-radius: 50%; background-color: #25D166; background-image: url("assets/icons/whatsapp-svgrepo-com.svg"); background-repeat: no-repeat; background-position: center; background-size: 26px 26px; box-shadow: 0 6px 24px rgba(37,209,102,0.4); transition: transform var(--transition),box-shadow var(--transition); flex-shrink: 0; z-index: 1; text-decoration: none; display: block; position: relative; }
.whatsapp-btn:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,209,102,0.55); }
.whatsapp-label { background: white; color: var(--dark); font-family: 'Inter',sans-serif; font-size: 0.8rem; font-weight: 600; padding: 8px 24px 8px 16px; border-radius: 50px 0 0 50px; margin-right: -16px; box-shadow: var(--shadow-md); white-space: nowrap; max-width: 0; overflow: hidden; opacity: 0; transition: max-width 0.4s cubic-bezier(0.4,0,0.2,1),opacity 0.3s ease,padding 0.3s ease; order: -1; }
.whatsapp-float:hover .whatsapp-label { max-width: 200px; opacity: 1; padding: 8px 24px 8px 16px; }
.whatsapp-btn::before { content: ''; position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(37,209,102,0.25); animation: whatsappPulse 2.5s ease-out infinite; }
@keyframes whatsappPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.2); opacity: 0; } }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease,transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) { .hero-visual { display: none; } .services-grid { grid-template-columns: 1fr 1fr; } .projects-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 768px) {
  section { padding: 72px 5%; }
  .hamburger { display: flex; }
  .nav-links { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--gray-200); box-shadow: 0 16px 40px rgba(15,15,30,0.1); padding: 0 5%; gap: 0; z-index: 199; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1),opacity 0.35s ease,padding 0.35s ease; }
  .nav-links.open { max-height: 540px; opacity: 1; pointer-events: auto; padding: 16px 5% 24px; }
  .nav-links li { opacity: 0; transform: translateY(-8px); transition: opacity 0.3s ease,transform 0.3s ease; }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.10s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.20s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.30s; }
  .nav-links.open li:nth-child(7) { transition-delay: 0.35s; }
  .nav-links a { display: block; padding: 13px 0; font-size: 0.95rem; font-weight: 600; color: var(--dark); border-bottom: 1px solid var(--gray-100); transition: color var(--transition),padding-left var(--transition); }
  .nav-links a:hover { color: var(--violet); padding-left: 6px; }
  .nav-links li:last-child a { border-bottom: none; }
  .hero-name { letter-spacing: -2px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  footer { justify-content: center; text-align: center; }
  .nav-cta { display: none; }
  .scroll-top { bottom: 90px; left: 16px; }
  .whatsapp-float { bottom: 24px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary,.btn-outline { width: 100%; justify-content: center; }
}
