/* ============================================
   MON ONGLERIE — STYLE LUXE / CHIC
   ============================================ */

:root {
  --gold: #c9a96e;
  --gold-light: #e0c9a0;
  --gold-dark: #a8763e;
  --dark: #0f0f0f;
  --darker: #050505;
  --cream: #f5f0e8;
  --beige: #ebe2d3;
  --rose: #d4a5a5;
  --text: #1a1a1a;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; transition: all 0.3s ease; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 5%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: inline-block;
}

.logo span { color: var(--gold); }

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1604654894610-df63bc536371?w=1920&q=80');
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.55) 0%, rgba(15,15,15,0.7) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 5%;
}

.hero-tagline {
  font-size: 12px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.6s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero p {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 1.2s ease 0.9s forwards;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s ease 1.2s forwards;
}

.btn {
  display: inline-block;
  padding: 16px 38px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 110, 0.4);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.scroll-indicator svg { margin: 8px auto 0; display: block; }

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }

.section-tag {
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 70px;
  font-size: 16px;
  font-weight: 300;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
  position: relative;
}

.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.divider::before { left: -12px; }
.divider::after { right: -12px; }

/* ============ À PROPOS ============ */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 1s ease;
}

.about-img:hover img { transform: scale(1.05); }

.about-img::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  z-index: -1;
}

.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 30px; }

.about-content p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.8;
}

.about-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--gold-dark);
  margin-top: 30px;
}

/* ============ SERVICES ============ */
.services {
  background: var(--cream);
  position: relative;
}

.services::before {
  content: 'ÉLÉGANCE';
  position: absolute;
  top: 50px;
  right: -50px;
  font-size: 200px;
  font-family: var(--font-display);
  color: rgba(201, 169, 110, 0.06);
  font-weight: 700;
  letter-spacing: 20px;
  pointer-events: none;
  white-space: nowrap;
  transform: rotate(90deg);
  transform-origin: right top;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  background: var(--white);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 1px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.6s ease;
  z-index: 0;
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-price { color: var(--white); }
.service-card:hover .service-icon-bg { background: rgba(255,255,255,0.15); }

.service-card > * { position: relative; z-index: 1; }

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 2px;
}

.service-icon-bg {
  width: 70px;
  height: 70px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: all 0.5s ease;
}

.service-icon {
  color: var(--gold-dark);
  transition: color 0.5s ease;
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--dark);
  transition: color 0.5s ease;
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 24px;
  font-weight: 300;
  transition: color 0.5s ease;
}

.service-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--gold-dark);
  transition: color 0.5s ease;
}

.service-price small {
  font-size: 14px;
  font-weight: 300;
  margin-left: 4px;
}

/* ============ TARIFS DETAIL ============ */
.tarifs {
  background: var(--dark);
  color: var(--white);
  background-image: linear-gradient(rgba(15,15,15,0.92), rgba(15,15,15,0.95)), url('https://images.unsplash.com/photo-1610992015732-2449b76344bc?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.tarifs .section-tag { color: var(--gold); }
.tarifs .section-title { color: var(--white); }
.tarifs .section-subtitle { color: rgba(255,255,255,0.7); }

.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.tarif-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 30px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.tarif-row:hover {
  background: rgba(201, 169, 110, 0.12);
  transform: translateX(8px);
  border-left-width: 6px;
}

.tarif-info h4 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--white);
}

.tarif-info p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

.tarif-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--gold);
  white-space: nowrap;
}

/* ============ GALERIE ============ */
.gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,15,15,0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }

.gallery-item.tall { grid-row: span 2; aspect-ratio: 1/2; }

/* ============ CONTACT ============ */
.contact {
  background: var(--beige);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  background: var(--white);
  padding: 60px 50px;
  box-shadow: var(--shadow);
}

.contact-info h3 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--dark);
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-item p {
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.contact-map {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--darker);
  color: var(--white);
  padding: 80px 0 30px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); font-style: italic; }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.footer-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.footer-info {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 1px;
}

/* ============ REVEAL ANIM ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: revealFallback 1s ease 0.4s forwards; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img img { height: 450px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 90px 0; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 16px; }
  .hamburger { display: flex; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

  .hero h1 { font-size: 48px; }
  .hero p { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }

  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }

  .contact-info { padding: 40px 28px; }
  section { padding: 70px 0; }
  .section-title { font-size: 36px; }

  .tarif-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .tarif-price { font-size: 28px; }

  .tarifs { background-attachment: scroll; }
  .services::before { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 40px; }
  .navbar { padding: 16px 5%; }
  .logo { font-size: 22px; }
}
