/*
Theme Name: Saasunekk
Theme URI: https://saasunekk.sn
Author: Saasunekk
Author URI: https://saasunekk.sn
Description: Thème professionnel pour agence de services numériques
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: saasunekk
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a1628;
  --accent: #00c4a0;
  --accent2: #ff6b35;
  --light: #f8f9fb;
  --white: #ffffff;
  --gray: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--primary); background: var(--white); line-height: 1.7; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-alt { background: var(--light); }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h2.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.section-sub { color: var(--gray); font-size: 1.05rem; margin-bottom: 56px; max-width: 560px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 40px; font-weight: 600;
  font-size: 0.95rem; transition: all .25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: #00af8e; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--accent); color: var(--primary); }

/* ── Header ── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,22,40,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--white); letter-spacing: -0.5px; }
.site-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.7); font-size: 0.9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--primary) !important; padding: 10px 22px; border-radius: 40px; font-weight: 700 !important; }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* ── Hero ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--primary); color: var(--white); position: relative; overflow: hidden;
  padding: 110px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,196,160,.12) 0%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,196,160,.15); color: var(--accent); padding: 6px 16px; border-radius: 40px; font-size: 0.82rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,.65); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 32px; width: 100%; max-width: 380px;
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { background: rgba(255,255,255,.05); border-radius: 8px; padding: 20px; text-align: center; }
.hero-stat strong { font-family: var(--font-head); font-size: 2rem; color: var(--accent); display: block; }
.hero-stat span { font-size: 0.8rem; color: rgba(255,255,255,.5); }
.hero-card-title { font-family: var(--font-head); font-size: 1rem; color: var(--white); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: all .3s; cursor: default; background: var(--white);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,196,160,.1); }
.service-icon { width: 52px; height: 52px; background: rgba(0,196,160,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.6; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-tag { background: var(--light); color: var(--gray); font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.price-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; display: flex; justify-content: space-between; align-items: center;
  transition: border-color .25s;
}
.price-card:hover { border-color: var(--accent); }
.price-card.featured { border: 2px solid var(--accent); background: rgba(0,196,160,.03); }
.price-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.price-detail { color: var(--gray); font-size: 0.82rem; }
.price-amount { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.price-unit { font-size: 0.75rem; color: var(--gray); font-weight: 400; font-family: var(--font-body); }
.pack-badge { display: inline-block; background: var(--accent2); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-bottom: 6px; text-transform: uppercase; }

/* ── Why Us ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 16px; }
.why-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); opacity: .3; min-width: 40px; line-height: 1; }
.why-item h4 { font-size: 1rem; margin-bottom: 4px; }
.why-item p { color: var(--gray); font-size: 0.9rem; }
.why-visual { background: var(--primary); border-radius: var(--radius); padding: 48px; color: var(--white); }
.why-visual h3 { font-size: 1.5rem; margin-bottom: 8px; }
.why-visual p { color: rgba(255,255,255,.6); font-size: 0.9rem; margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 0.9rem; }
.contact-icon { width: 40px; height: 40px; background: rgba(0,196,160,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }

/* ── Footer ── */
footer { background: var(--primary); color: rgba(255,255,255,.5); padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--white); }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; inset: 72px 0 0; background: var(--primary); flex-direction: column; padding: 32px; gap: 24px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
