/* ═══════════════════════════════════════
   PORTFOLIO SAMSON RAYMOND – STYLE GLOBAL
   BTS SIO 1ère année
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── VARIABLES ── */
:root {
  --accent:       #1a6cff;
  --accent-hover: #0051e0;
  --accent-light: #e8f0ff;
  --accent-2:     #ff5e3a;
  --bg:           #f9f8f5;
  --card-bg:      #ffffff;
  --text:         #18181b;
  --text-muted:   #6b6b74;
  --border:       #e4e4e8;
  --tag-bg:       #eef2ff;
  --tag-text:     #3b52c4;
  --nav-h:        68px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --shadow:       0 2px 16px rgba(0,0,0,0.07);
}

body.dark-mode {
  --accent:       #4d8cff;
  --accent-hover: #6ba0ff;
  --accent-light: #1a2040;
  --bg:           #111113;
  --card-bg:      #1c1c1f;
  --text:         #f0f0f2;
  --text-muted:   #9898a6;
  --border:       #2e2e34;
  --tag-bg:       #1e2140;
  --tag-text:     #8fa4f8;
  --shadow:       0 2px 16px rgba(0,0,0,0.3);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background .3s, color .3s;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  color: var(--text);
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* ── NAVBAR ── */
.navbar {
  height: var(--nav-h);
  background: var(--card-bg) !important;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background .3s;
}

.navbar-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted) !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
  background: var(--accent-light);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  cursor: pointer;
  font-size: 15px;
  transition: background .2s;
}
.theme-toggle:hover { background: var(--accent-light); }

/* ── BOUTONS ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.btn-primary-custom:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline-custom:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── CARDS ── */
.card-base {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-base:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ── HERO LABELS ── */
.eyebrow {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ── TAGS ── */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 4px 12px;
  border-radius: 100px;
  margin: 3px 2px;
}

/* ── SECTION DIVIDER ── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-num {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 80px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeUp .6s ease forwards; }
.anim-2 { animation: fadeUp .6s ease .12s both; }
.anim-3 { animation: fadeUp .6s ease .24s both; }
.anim-4 { animation: fadeUp .6s ease .36s both; }
.anim-5 { animation: fadeUp .6s ease .48s both; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
}
