/* ===========================
   ASSIA DIALLO — CSS
   Aesthetic: Luxury Editorial
   Palette: Champagne, Deep Charcoal, Warm Gold
=========================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E8D08A;
  --gold-pale: #F5EFD6;
  --charcoal: #1A1A1A;
  --charcoal-mid: #2D2D2D;
  --off-white: #FAF8F3;
  --warm-white: #F2EDE4;
  --text-muted: #7A7060;
  --border: rgba(201,168,76,0.2);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--charcoal);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(250,248,243,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--charcoal);
  color: var(--off-white);
  border: none;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 20px 0; }
.mobile-menu ul li a {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--off-white);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--gold); }
.close-menu {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--off-white);
  cursor: pointer;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 48px 0 72px;
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.c1 {
  width: 700px; height: 700px;
  background: var(--gold);
  top: -200px; right: -100px;
}
.c2 {
  width: 400px; height: 400px;
  background: var(--gold-light);
  bottom: -100px; left: 0;
}
.hero-grain {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1s var(--ease) both;
}
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 16px;
  margin-bottom: 32px;
}
.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--off-white);
  margin-bottom: 24px;
}
.hero-name em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(250,248,243,0.7);
  max-width: 420px;
  margin-bottom: 40px;
}
.heart { color: #e05a5a; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 14px 32px;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(250,248,243,0.3);
  color: var(--off-white);
  padding: 14px 32px;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.25s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.hero-photo-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: fadeUp 1s 0.2s var(--ease) both;
}
.hero-photo-bg {
  position: absolute;
  bottom: 0; right: 60px;
  width: 420px; height: 520px;
  background: linear-gradient(135deg, var(--gold) 0%, rgba(201,168,76,0.2) 100%);
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: 400px;
  height: 500px;
  object-fit: cover;
  object-position: top;
  margin-right: 40px;
  filter: grayscale(20%);
}
.hero-badge {
  position: absolute;
  bottom: 40px; left: 0;
  background: var(--gold);
  padding: 16px 24px;
  z-index: 2;
  text-align: center;
}
.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}
.badge-txt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.scroll-hint {
  position: absolute;
  bottom: 32px; left: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(250,248,243,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(250,248,243,0.3);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: slide 2s infinite;
}
@keyframes slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--gold-pale);
  padding: 40px 72px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1;
}
.stat-plus { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); }
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 72px;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-tag.light { color: var(--gold-light); }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 40px;
}
.section-title.light { color: var(--off-white); }
.section-title em { font-style: italic; color: var(--gold); }
.section-title.light em { color: var(--gold-light); }

/* ===== ABOUT ===== */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-p strong { color: var(--charcoal); }
.about-p em { font-style: italic; color: var(--charcoal); }
.about-mission {
  display: flex;
  gap: 16px;
  background: var(--gold-pale);
  padding: 24px;
  margin: 32px 0;
  border-left: 3px solid var(--gold);
}
.mission-icon { font-size: 1.5rem; flex-shrink: 0; }
.about-mission p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.brand-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.brand-logos span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 16px;
}

.about-visual { display: flex; flex-direction: column; gap: 32px; }
.about-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.about-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.about-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--gold);
  z-index: -1;
}

.skills-chart { display: flex; flex-direction: column; gap: 20px; }
.skill-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}
.skill-name {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}
.skill-bar {
  width: 140px;
  height: 3px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.skill-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 1.5s var(--ease);
}
.skill-fill.animated { width: var(--pct); }
.skill-pct {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--charcoal);
  padding: 100px 72px;
}
.services-header { margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  padding: 40px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.card-main {
  background: var(--gold);
  color: var(--charcoal);
}
.card-alt {
  background: var(--charcoal-mid);
  border: 1px solid rgba(201,168,76,0.15);
  color: var(--off-white);
}
.card-accent {
  background: var(--charcoal-mid);
  border: 1px solid var(--gold);
  color: var(--off-white);
}
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.3;
}
.card-main h3 { color: var(--charcoal); }
.card-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.6;
  margin-bottom: 24px;
}
.card-list {
  list-style: none;
  margin-bottom: 32px;
}
.card-list li {
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.5;
}
.card-main .card-list li { border-bottom-color: rgba(0,0,0,0.1); }
.card-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.card-link:hover { opacity: 1; }

/* ===== TIMELINE ===== */
.timeline-section { background: var(--off-white); }
.timeline {
  margin-top: 60px;
  position: relative;
  padding-left: 40px;
  max-width: 800px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.tl-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 40px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s var(--ease);
}
.tl-item.visible { opacity: 1; transform: translateX(0); }
.tl-dot {
  position: absolute;
  left: -8px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--gold);
  transition: background 0.3s;
}
.tl-item:hover .tl-dot { background: var(--gold); }
.tl-date {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}
.tl-card {
  background: var(--warm-white);
  padding: 24px 28px;
  border-left: 2px solid var(--border);
}
.tl-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.tl-org {
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.tl-card p { font-size: 0.92rem; line-height: 1.7; color: var(--text-muted); }

/* ===== PROJETS ===== */
.projets-section { background: var(--charcoal-mid); }
.projets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.projet-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 40px;
  transition: border-color 0.3s, transform 0.3s;
}
.projet-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.projet-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201,168,76,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.projet-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 12px;
}
.projet-card p { font-size: 0.9rem; line-height: 1.7; color: rgba(250,248,243,0.55); }

/* ===== CONTACT ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  background: var(--off-white);
}
.contact-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.ci {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ci-icon { font-size: 1.2rem; }
.ci a, .ci span {
  font-size: 0.92rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.ci a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  background: var(--warm-white);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.btn-submit {
  background: var(--charcoal);
  color: var(--off-white);
  border: none;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }
.form-notice {
  font-size: 0.85rem;
  color: var(--gold);
  min-height: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  padding: 60px 72px 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(250,248,243,0.4);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(250,248,243,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(250,248,243,0.3);
}
.footer-shine { color: var(--gold) !important; opacity: 0.7; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; }
  .about-visual { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 60px;
    text-align: center;
  }
  .hero-photo-wrap { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .scroll-hint { left: 32px; }
  .section { padding: 70px 32px; }
  .stats-bar { padding: 32px; gap: 16px; }
  .stat { padding: 0 20px; }
  .stat-divider { display: none; }
  .contact-section { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .projets-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .services-section { padding: 70px 32px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-direction: column; align-items: center; }
  .footer { padding: 40px 24px 24px; }
  .footer-links { flex-direction: column; gap: 12px; }
}
