/* ============================================================
   SEXY — Objets de décoration — Style Luxe / Chic
   Glassmorphism + Aurora effect + Hover 3D + Animations
   ============================================================ */

:root {
  --bg: #0e0a14;
  --bg-2: #1a1026;
  --text: #f5f0f8;
  --text-muted: #b8a9c9;
  --gold: #d4af6a;
  --gold-light: #e8cd95;
  --pink: #e0448e;
  --pink-light: #f781c0;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Aurora background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at 20% 20%, #1a0f2e 0%, #0e0a14 55%, #0b0712 100%);
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: auroraFloat 18s ease-in-out infinite alternate;
}

.aurora::before {
  background: radial-gradient(circle, #7b3fa0 0%, transparent 70%);
  top: -15%;
  left: -10%;
}

.aurora::after {
  background: radial-gradient(circle, #c98a2e 0%, transparent 70%);
  bottom: -20%;
  right: -10%;
  animation-delay: -9s;
}

@keyframes auroraFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, 4vh) scale(1.12); }
  100% { transform: translate(-4vw, -3vh) scale(1.05); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(14, 10, 20, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 5%;
}

.logo {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 3px;
  background: linear-gradient(120deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,10,20,0.35) 0%, rgba(14,10,20,0.65) 70%, var(--bg) 100%);
}

.hero-content { max-width: 820px; }

.hero .eyebrow {
  display: inline-block;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 22px;
  padding: 8px 20px;
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.hero p {
  font-size: clamp(17px, 2.5vw, 22px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 60px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #a78bfa;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.10);
  backdrop-filter: blur(10px);
}

.btn-filled {
  background: linear-gradient(120deg, #a78bfa, #7c3aed);
  color: #ffffff;
  font-weight: 600;
  border: none;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.btn-filled:hover { box-shadow: 0 18px 44px rgba(124,58,237,0.35); }

/* ---------- Sections ---------- */
.section {
  padding: 110px 5%;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-head .eyebrow {
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 18px;
}

.section-head p { color: var(--text-muted); font-size: 18px; }

/* ---------- Cards 3D (services) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 42px 34px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.5s;
  transform-style: preserve-3d;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,106,0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,106,0.25);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(212,175,106,0.12);
  color: var(--gold);
}

.card h3 { font-size: 26px; margin-bottom: 14px; }
.card p { color: var(--text-muted); font-size: 16px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,10,20,0.85));
  opacity: 0;
  transition: opacity 0.5s;
}

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

.gallery-item figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  color: var(--text);
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.5s;
}

.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 34px;
  backdrop-filter: blur(16px);
  transition: var(--transition);
}

.testimonial:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.3); }

.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 18px; font-size: 18px; }

.testimonial p { color: var(--text-muted); font-style: italic; font-size: 17px; margin-bottom: 24px; }

.testimonial .author { display: flex; align-items: center; gap: 14px; }
.testimonial .author .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #7b3fa0);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: #fff;
}
.testimonial .author strong { display: block; font-size: 15px; letter-spacing: 1px; }
.testimonial .author span { color: var(--text-muted); font-size: 13px; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.contact-info h3 { font-size: 30px; margin-bottom: 26px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.contact-row svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-row strong { color: var(--text); display: block; margin-bottom: 2px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(184,169,201,0.6); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.form-status {
  display: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
}
.form-status.success { display: block; background: rgba(40,167,90,0.15); color: #7ee2a8; border: 1px solid rgba(40,167,90,0.35); }
.form-status.error { display: block; background: rgba(220,53,69,0.15); color: #ff9aa4; border: 1px solid rgba(220,53,69,0.35); }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 90px 5%;
  background: var(--glass);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.cta-band h2 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 20px; }
.cta-band p { color: var(--text-muted); font-size: 18px; margin-bottom: 34px; }

/* ---------- Footer ---------- */
footer {
  padding: 70px 5% 40px;
  background: rgba(8,5,12,0.7);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-grid h4 { font-size: 20px; margin-bottom: 20px; letter-spacing: 1px; }
.footer-grid p, .footer-grid a { color: var(--text-muted); font-size: 15px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a:hover { color: var(--gold); }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  animation: revealFallback 0.9s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}

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

@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 5% 90px;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(123,63,160,0.25), transparent 60%);
  z-index: -1;
}

.page-hero h1 { font-size: clamp(40px, 7vw, 68px); letter-spacing: 2px; margin-bottom: 18px; }
.page-hero p { color: var(--text-muted); font-size: 19px; max-width: 620px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .testimonials-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(14,10,20,0.96);
    backdrop-filter: blur(20px);
    transition: right 0.45s cubic-bezier(0.22,1,0.36,1);
    padding: 0 30px;
  }
  .nav-links.open { right: 0; }
  .burger { display: flex; z-index: 101; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cards-grid, .testimonials-grid, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 5%; }
  .hero { min-height: 88vh; }
  .map-wrap iframe { min-height: 320px; }
}
