/* ================================================================
   PORTFOLIO MOUHAMAD KOUTA — v2
   css/style.css
   Modifications : images carrées, polices plus grandes,
   hero card avec photo réelle, responsive complet
   ================================================================ */

/* ================================================================
   1. VARIABLES CSS
   ================================================================ */
:root {
  --bg:      #0c0c0c;
  --bg2:     #111111;
  --white:   #f2ede6;
  --gold:    #c8a45a;
  --gold2:   #e8c97a;
  --muted:   rgba(242, 237, 230, 0.45); /* légèrement augmenté */
  --muted2:  rgba(242, 237, 230, 0.70);
  --border:  rgba(242, 237, 230, 0.07);
  --border2: rgba(200, 164, 90, 0.22);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ================================================================
   3. CURSEUR PERSONNALISÉ
   ================================================================ */
#cur {
  position: fixed; width: 8px; height: 8px; border-radius: 50%;
  background: var(--white); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); mix-blend-mode: difference;
  transition: width .25s, height .25s;
}
#cur-r {
  position: fixed; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(200, 164, 90, .45); pointer-events: none;
  z-index: 9998; transform: translate(-50%, -50%);
  transition: width .5s cubic-bezier(.16,1,.3,1), height .5s cubic-bezier(.16,1,.3,1), border-color .3s;
}
body.hov     #cur   { width: 5px; height: 5px; }
body.hov     #cur-r { width: 64px; height: 64px; border-color: var(--gold); }
body.hov-img #cur-r { width: 90px; height: 90px; border-color: var(--gold2); }

/* ================================================================
   4. LOADER — délai rapide (géré en JS)
   ================================================================ */
#loader {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 8000; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
}
#ld-pct {
  font-family: 'Cormorant Garamond', serif;
  font-size: 110px; font-weight: 300; color: var(--white);
  line-height: 1; letter-spacing: -6px;
}
#ld-bar-w { width: 160px; height: 1px; background: rgba(255,255,255,.08); }
#ld-bar   { height: 1px; background: var(--gold); width: 0%; }
#ld-lbl   { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--muted); }

/* ================================================================
   5. NAVIGATION — liens actifs dynamiques
   ================================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 22px 52px; display: flex; align-items: center;
  justify-content: space-between;
  background: rgba(12,12,12,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; letter-spacing: 3px;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }

/* Taille de police augmentée pour les liens nav */
.nav-links a {
  font-size: 12px; /* augmenté de 10 à 12 */
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .3s;
}
.nav-links a:hover, .nav-links a.active-link { color: var(--gold); }
.nav-cta {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); border: 1px solid rgba(200,164,90,.4);
  padding: 10px 24px; border-radius: 30px; text-decoration: none;
  transition: all .3s;
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #0c0c0c; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--white); transition: all .3s; }

/* ================================================================
   6. HERO — carte profil avec photo réelle
   ================================================================ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: space-between; gap: 60px;
  padding: 120px 52px 80px; position: relative; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}
.hero-bg-word {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Cormorant Garamond', serif; font-size: 22vw; font-weight: 300;
  color: rgba(255,255,255,.018); white-space: nowrap; pointer-events: none;
  user-select: none; letter-spacing: -15px;
}
.hero-left { flex: 1; min-width: 0; position: relative; z-index: 2; }

/* Tag eyebrow — taille augmentée */
.hero-eyebrow {
  font-size: 11px; /* augmenté de 9 à 11 */
  letter-spacing: 4px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 7.5vw, 110px); font-weight: 300;
  line-height: .92; letter-spacing: -3px;
}
.hero-h1 .line  { display: block; overflow: hidden; }
.hero-h1 .w     { display: inline-block; transform: translateY(110%); }
.hero-h1 em     { font-style: italic; color: var(--gold); }
.blink { animation: blink 1.1s step-end infinite; color: var(--gold); }
@keyframes blink { 50% { opacity: 0; } }

.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); gap: 24px;
}
/* Description hero — taille augmentée */
.hero-desc { font-size: 15px; line-height: 1.75; color: var(--muted2); max-width: 380px; }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex-shrink: 0; }
.hero-location { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.hero-scroll { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.scroll-bar { width: 1px; height: 44px; background: var(--border); position: relative; overflow: hidden; }
.scroll-bar::after { content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%; background: var(--gold); animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }

/* Carte profil droite */
.hero-right { flex-shrink: 0; width: 380px; position: relative; z-index: 2; }
.hero-card {
  position: relative; background: rgba(255,255,255,.04);
  border: 1px solid var(--border2); border-radius: 20px;
  padding: 36px 28px 48px; display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  box-shadow: 0 0 60px rgba(200,164,90,.06);
}

/* Avatar — photo réelle de Mouhamad */
.hero-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--gold);
  overflow: hidden; display: flex; align-items: center;
  justify-content: center; position: relative;
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-initials {
  font-family: 'Cormorant Garamond', serif; font-size: 36px;
  font-weight: 300; color: var(--gold); position: absolute;
  display: none; /* Caché si la photo charge */
}
/* Affiche les initiales si l'image échoue */
.hero-photo.error + .hero-initials { display: block; }

.hero-card-name { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; letter-spacing: 1px; color: var(--white); text-align: center; }
.hero-card-role { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-align: center; }

/* Badges flottants */
.hero-badge {
  position: absolute; background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 20px; padding: 7px 14px; font-size: 12px; color: var(--white);
  white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,.4);
  animation: float 3s ease-in-out infinite;
}
.hero-badge-1 { top: -14px; left: -24px; animation-delay: 0s; }
.hero-badge-2 { top: -14px; right: -24px; animation-delay: .5s; }
.hero-badge-3 { bottom: 68px; left: -32px; animation-delay: 1s; }
.hero-badge-4 { bottom: 68px; right: -28px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero-stat-bubble {
  position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%);
  background: var(--gold); border-radius: 30px; padding: 9px 22px;
  text-align: center; box-shadow: 0 6px 24px rgba(200,164,90,.3);
}
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: #0c0c0c; line-height: 1; }
.hero-stat-lbl { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: rgba(12,12,12,.6); margin-top: 2px; }

/* ================================================================
   7. MARQUEE
   ================================================================ */
.mq-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; background: rgba(200,164,90,.03); }
.mq-track { display: flex; white-space: nowrap; animation: mq 22s linear infinite; }
.mq-item { display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; flex-shrink: 0; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: var(--muted); }
.mq-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }

/* ================================================================
   8. À PROPOS
   ================================================================ */
#about { padding: 130px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* Label de section — taille augmentée */
.sec-label { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 36px; display: flex; align-items: center; gap: 14px; }
.sec-label::before { content: ''; width: 22px; height: 1px; background: var(--gold); }

.about-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px, 3.8vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; }
.about-title em { font-style: italic; color: var(--gold); }
.about-text { font-size: 15px; line-height: 1.8; color: var(--muted2); margin-bottom: 20px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Tags — taille augmentée */
.about-tag { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted2); border: 1px solid var(--border2); padding: 7px 15px; border-radius: 20px; transition: all .3s; }
.about-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Grille compétences */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.skill-box { background: var(--bg); padding: 20px 18px; transition: background .3s; }
.skill-box:hover { background: var(--bg2); }

/* Image carrée — aspect-ratio 1/1 */
.skill-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1; /* CARRÉ : même largeur et hauteur */
  overflow: hidden; border-radius: 6px; margin-bottom: 14px;
}
.skill-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.skill-box:hover .skill-img { transform: scale(1.05); }

/* Nom compétence — taille augmentée */
.skill-name { font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 5px; }
.skill-tools { font-size: 11px; color: var(--muted); line-height: 1.5; }
.skill-bar-wrap { margin-top: 12px; height: 1px; background: var(--border); }
.skill-bar { height: 1px; background: var(--gold); width: 0%; transition: width 1.2s cubic-bezier(.16,1,.3,1); }

/* ================================================================
   9. SERVICES
   ================================================================ */
#services { padding: 80px 52px 120px; }
.svc-list { list-style: none; }
.svc-item { border-top: 1px solid var(--border); padding: 32px 0; display: grid; grid-template-columns: 52px 1fr auto auto; align-items: center; gap: 28px; cursor: pointer; position: relative; overflow: hidden; }
.svc-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .65s cubic-bezier(.16,1,.3,1); }
.svc-item:hover::after { width: 100%; }
.svc-item:hover .svc-arrow { transform: rotate(45deg); color: var(--gold); }
.svc-item:hover .svc-num { color: var(--gold); }

/* Numéro service — taille augmentée */
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--muted); font-weight: 300; letter-spacing: 1px; align-self: flex-start; padding-top: 4px; transition: color .3s; }
.svc-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3.5vw, 48px); font-weight: 300; line-height: 1.05; letter-spacing: -1px; margin-bottom: 8px; }
.svc-name em { font-style: italic; color: rgba(242,237,230,.55); }
.svc-chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Chips — taille augmentée */
.svc-chip { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 5px 11px; border-radius: 14px; }
.svc-price { font-size: 12px; color: var(--muted); letter-spacing: 1px; text-align: right; align-self: center; }
.svc-arrow { font-size: 22px; color: var(--muted); transition: transform .4s cubic-bezier(.16,1,.3,1), color .3s; align-self: center; }

/* ================================================================
   10. PORTFOLIO
   ================================================================ */
#portfolio { padding: 80px 52px 40px; }
.port-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }

/* Filtres — taille augmentée */
.port-filter { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 9px 20px; border-radius: 20px; cursor: pointer; transition: all .3s; background: transparent; }
.port-filter.active, .port-filter:hover { color: #0c0c0c; background: var(--gold); border-color: var(--gold); }

.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.port-item { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg2); cursor: pointer; }
.port-item.wide { grid-column: span 2; }
.port-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1), filter .5s; }
.port-item:hover .port-img { transform: scale(1.06); filter: brightness(0.65); }
.port-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 60%); opacity: 0; transition: opacity .4s; }
.port-item:hover .port-overlay { opacity: 1; }

/* Catégorie overlay — taille augmentée */
.port-cat { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.port-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 300; color: var(--white); }
.port-link { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 14px; opacity: 0; transition: opacity .3s, background .3s; }
.port-item:hover .port-link { opacity: 1; }
.port-link:hover { background: var(--gold); border-color: var(--gold); }

/* Sites Web */
.web-section { padding: 48px 0 80px; }
.web-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.web-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .3s, transform .3s; }
.web-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.web-thumb { position: relative; overflow: hidden; aspect-ratio: 16/10; background: #1a1a1a; }
.web-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.web-card:hover .web-img { transform: scale(1.04); }
.web-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.web-card:hover .web-overlay { opacity: 1; }
.web-overlay-icon { font-size: 32px; color: var(--white); opacity: .8; }
.web-info { padding: 20px 18px 18px; }
.web-site-name { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; color: var(--white); margin-bottom: 5px; }
.web-site-desc { font-size: 12px; color: var(--muted); letter-spacing: .5px; margin-bottom: 14px; }
.web-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); text-decoration: none; border: 1px solid var(--border2); padding: 9px 18px; border-radius: 20px; transition: all .3s; }
.web-btn:hover { background: var(--gold); color: #0c0c0c; border-color: var(--gold); }

/* ================================================================
   11. LIGHTBOX
   ================================================================ */
#lb { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 40px; }
#lb.open { display: flex; }
#lb-img { max-width: 90%; max-height: 88vh; object-fit: contain; border-radius: 4px; }
#lb-close { position: absolute; top: 24px; right: 32px; font-size: 34px; color: var(--muted); cursor: pointer; line-height: 1; transition: color .3s; }
#lb-close:hover { color: var(--white); }
#lb-caption { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* ================================================================
   12. STATS
   ================================================================ */
#stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-item { padding: 52px 40px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 68px; font-weight: 300; line-height: 1; letter-spacing: -4px; display: flex; align-items: baseline; gap: 2px; }
.stat-num em { font-style: italic; color: var(--gold); }
.stat-suf { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-style: italic; color: var(--gold); }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; max-width: 150px; }

/* ================================================================
   13. PHILOSOPHIE
   ================================================================ */
#philosophy { padding: 150px 52px; max-width: 860px; }
.phil-big { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3.6vw, 50px); font-weight: 300; line-height: 1.28; letter-spacing: -1.5px; }
.phil-big em { font-style: italic; color: var(--gold); }

/* ================================================================
   14. PARCOURS
   ================================================================ */
#experience { padding: 80px 52px 120px; }
.exp-list { list-style: none; }
.exp-item { border-top: 1px solid var(--border); padding: 34px 0; display: grid; grid-template-columns: 180px 1fr 140px; gap: 40px; }
.exp-year { font-size: 12px; color: var(--muted); letter-spacing: 1px; padding-top: 4px; }
.exp-role { font-family: 'Cormorant Garamond', serif; font-size: 27px; font-weight: 300; letter-spacing: -.5px; margin-bottom: 6px; }
.exp-role em { font-style: italic; color: var(--gold); }
.exp-company { font-size: 12px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.exp-tasks { font-size: 14px; color: var(--muted2); line-height: 1.7; }
.exp-location { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; text-align: right; padding-top: 4px; }

/* ================================================================
   15. CTA
   ================================================================ */
#cta { padding: 120px 52px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px, 6.5vw, 90px); font-weight: 300; letter-spacing: -4px; line-height: .95; }
.cta-title em { font-style: italic; color: var(--gold); }
.cta-right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; flex-shrink: 0; }
.btn-primary { display: inline-block; padding: 16px 44px; border: 1px solid var(--white); border-radius: 50px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--white); text-decoration: none; position: relative; overflow: hidden; transition: color .4s; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: right; transition: transform .5s cubic-bezier(.16,1,.3,1); z-index: -1; }
.btn-primary:hover { color: var(--bg); }
.btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
.cta-contact-items { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cta-contact-line { font-size: 13px; color: var(--muted); letter-spacing: .5px; text-decoration: none; transition: color .3s; }
.cta-contact-line:hover { color: var(--gold); }

/* ================================================================
   16. FOOTER
   ================================================================ */
footer { padding: 28px 52px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.foot-logo { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 300; letter-spacing: 3px; color: var(--muted); }
.foot-logo span { font-style: italic; color: var(--gold); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .3s; }
.foot-links a:hover { color: var(--white); }
.foot-copy { font-size: 10px; color: rgba(242,237,230,.18); letter-spacing: 1px; }

/* ================================================================
   17. RESPONSIVE TABLETTE
   ================================================================ */
@media (max-width: 1024px) {
  #hero { flex-direction: column; padding: 120px 32px 60px; gap: 48px; text-align: center; }
  .hero-left { order: 2; }
  .hero-right { order: 1; width: 100%; max-width: 340px; margin: 0 auto; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-bottom { flex-direction: column; align-items: center; gap: 20px; }
  .hero-meta { align-items: center; }
  .hero-desc { text-align: center; }
  #about { grid-template-columns: 1fr; padding: 80px 32px; gap: 48px; }
  #stats { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .port-item.wide { grid-column: span 1; }
  .web-grid { grid-template-columns: 1fr 1fr; }
  .exp-item { grid-template-columns: 120px 1fr; }
  .exp-location { display: none; }
  #cta { flex-direction: column; align-items: flex-start; padding: 80px 32px; }
  .cta-right { align-items: flex-start; }
  nav { padding: 18px 32px; }
  .nav-links { gap: 20px; }
}

/* ================================================================
   18. RESPONSIVE MOBILE
   ================================================================ */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(12,12,12,.97); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  body { cursor: auto; }
  #cur, #cur-r { display: none; }
  #hero { padding: 100px 20px 48px; gap: 36px; }
  .hero-badge { font-size: 10px; padding: 5px 10px; }
  #about { padding: 60px 20px; gap: 40px; }
  .skills-grid { grid-template-columns: 1fr; }
  #services { padding: 40px 20px 60px; }
  .svc-item { grid-template-columns: 36px 1fr auto; gap: 16px; }
  .svc-price { display: none; }
  #portfolio { padding: 40px 20px; }
  .port-grid { grid-template-columns: 1fr; }
  .port-item.wide { grid-column: span 1; }
  .web-grid { grid-template-columns: 1fr; }
  #stats { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 28px 16px; }
  .stat-num { font-size: 48px; }
  #philosophy { padding: 60px 20px; }
  #experience { padding: 40px 20px 60px; }
  .exp-item { grid-template-columns: 1fr; gap: 8px; }
  .exp-location { text-align: left; }
  #cta { padding: 60px 20px; }
  .cta-title { letter-spacing: -2px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
  .foot-links { flex-wrap: wrap; justify-content: center; }
}
