/* === 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-color: #1a1a1a;
  background-image: url('/videos/hero/hero-poster.jpg');
  background-image: image-set(url('/videos/hero/hero-poster.webp') type('image/webp'),
                              url('/videos/hero/hero-poster.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.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;
}

/* === BOUTONS === */
.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); }

/* === EN-TÊTES DE SECTION === */
.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-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;
}

/* === PRESTATIONS === */
.prestations {
  background: var(--off-white);
  padding: var(--section-pad-v) 0;
  border-top: 1px solid var(--border-subtle);
}
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.prestation-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid var(--gold);
}
.prestation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.prestation-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--black-deep);
  margin-bottom: 12px;
}
.prestation-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
a.prestation-card { text-decoration: none; color: inherit; display: block; }
.prestation-link {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.3px;
}

/* === FAQ === */
.faq {
  background: var(--white);
  padding: var(--section-pad-v) 0;
}
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.faq-item summary {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--gold); }
.faq-item p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === PAGES SECONDAIRES === */
.page-secondary {
  padding-top: var(--nav-height);
  background: var(--off-white);
}
.page-hero {
  background: linear-gradient(135deg, var(--black-deep) 0%, #2c2c2c 100%);
  color: var(--white);
  padding: 80px 0 56px;
}
.page-hero .container { max-width: 900px; }
.page-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.page-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.page-content {
  padding: 64px 0;
  background: var(--off-white);
}
.page-content .container { max-width: 820px; }
.page-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--black-deep);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--black-deep);
  margin: 28px 0 10px;
}
.page-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: #2a2a2a;
  margin-bottom: 16px;
}
.page-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--black-deep); }
.page-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 20px;
}
.page-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.65;
  color: #2a2a2a;
}
.page-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.page-cta {
  background: var(--black-deep);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.page-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 12px;
  color: var(--white);
}
.page-cta p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

/* === 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-bottom: 20px;
  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-bottom: 20px;
  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: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col { font-size: 0.9rem; line-height: 1.7; }
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-tag {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.footer-info-line {
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.footer-info-line a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-info-line a:hover { color: var(--gold); }
.footer-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-copy { color: rgba(255,255,255,0.3) !important; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 768px) {
  :root { --section-pad-v: var(--section-pad-v-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 plus court sur mobile pour voir le portfolio plus vite */
  .hero { height: 85vh; min-height: 480px; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }

  .portfolio-grid   { grid-template-columns: 1fr; gap: 18px; }
  .prestations-grid { grid-template-columns: 1fr; gap: 16px; }
  /* iOS Safari : éviter overscroll sur les vidéos */
  .portfolio-card video { aspect-ratio: 16 / 9; background: #000; }

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