/* === VARIABLES === */
:root {
  --gold: #c9a96e;
  --gold-light: #e8cfa0;
  --black-deep: #1a1a1a;
  --black-footer: #0d0d0d;
  --off-white: #f7f5f0;
  --text-secondary: #6b6b6b;
  --border-subtle: #e8d5b0;
  --white: #ffffff;
  --nav-height: 70px;
  --section-pad-v: 80px;
  --section-pad-v-mobile: 48px;
  --radius-card: 8px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--black-deep);
  background: var(--off-white);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVIGATION === */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  transition: color var(--transition);
}
.nav-logo:hover .logo-text { color: var(--gold-light); }

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #999;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 44px;
  padding: 14px 32px;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-form {
  background: var(--gold);
  color: var(--white);
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}
.btn-form:hover {
  background: var(--gold-light);
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--black-deep);
  margin-bottom: 16px;
}

.section-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* === À PROPOS === */
.apropos {
  background: var(--black-deep);
  padding: var(--section-pad-v) 0;
}

.apropos-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.apropos .section-label {
  color: var(--gold);
}

.apropos-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  margin-bottom: 24px;
}

.apropos-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

.apropos-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* === PORTFOLIO === */
.portfolio {
  background: var(--off-white);
  padding: var(--section-pad-v) 0;
}

.portfolio-loader {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.portfolio-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.portfolio-card-body {
  padding: 16px 20px 20px;
}

.portfolio-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--black-deep);
  margin-bottom: 6px;
  line-height: 1.3;
}

.portfolio-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.portfolio-empty {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  padding: 48px 0;
  font-size: 1.05rem;
}

/* === CONTACT === */
.contact {
  background: var(--black-deep);
  padding: var(--section-pad-v) 0;
}

.contact-title { color: var(--white); }
.contact-label { color: var(--gold); }
.contact-subtitle { color: rgba(255,255,255,0.6); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}
a.contact-value:hover { color: var(--gold); }

/* === FORMULAIRE === */
.contact-form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.required { color: var(--gold); }
.optional { font-weight: 400; color: rgba(255,255,255,0.4); font-size: 0.75rem; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,169,110,0.06);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(201,169,110,0.15);
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold-light);
  font-size: 0.9rem;
}

.form-error {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.4);
  border-radius: 4px;
  color: #fca5a5;
  font-size: 0.9rem;
}

/* === FOOTER === */
.footer {
  background: var(--black-footer);
  padding: 48px 0 32px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
}

.footer-info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}
.footer-info a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-info a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad-v: var(--section-pad-v-mobile);
  }

  /* Nav mobile */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.97);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.3rem; }

  /* Hero */
  .hero-video { display: none; }
  .hero-bg { background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%); }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
}
