/* ============================================================
   MA FRIP — Site vitrine Luxe/Chic
   Glassmorphism + animations fluides + hover 3D
   ============================================================ */

:root {
  --noir: #0e0d0c;
  --noir-2: #1a1816;
  --or: #c9a227;
  --or-clair: #e6c76a;
  --champagne: #f4e8c8;
  --creme: #f7f3ea;
  --blanc: #ffffff;
  --gris: #8a8578;
  --verre: rgba(255, 255, 255, 0.08);
  --verre-bord: rgba(255, 255, 255, 0.18);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  --transition: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  background: var(--noir);
  color: var(--creme);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ============ BARRE DE NAVIGATION TRANSPARENTE ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(14, 13, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--verre-bord);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--champagne);
  text-transform: uppercase;
}
.logo span { color: var(--or); }

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

.nav-links a {
  position: relative;
  font-family: "Jost", "Montserrat", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--creme);
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover { color: var(--or-clair); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--or); }
.nav-links a.active::after { transform: scaleX(1); }

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.08);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,13,12,0.55) 0%, rgba(14,13,12,0.35) 50%, var(--noir) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 20px 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--or-clair);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  color: var(--blanc);
  margin-bottom: 24px;
  text-shadow: 0 8px 30px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-content p {
  font-family: "Jost", sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--champagne);
  max-width: 560px;
  margin: 0 auto 38px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 8px;
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-or {
  background: var(--noir);
  color: var(--or-clair);
  border: 1px solid var(--or);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.btn-or:hover { transform: translateY(-4px); border-color: var(--or-clair); box-shadow: 0 20px 40px rgba(201, 162, 39, 0.35); }

.btn-ghost {
  background: var(--noir);
  border: 1px solid var(--or);
  color: var(--or-clair);
}
.btn-ghost:hover { background: rgba(201, 162, 39, 0.12); border-color: var(--or-clair); transform: translateY(-4px); }

.hero-cta {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s ease 0.9s forwards;
}

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

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

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

.section-head .eyebrow {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--blanc);
  margin-bottom: 16px;
}

.section-head p {
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gris);
}

.section-head .trait {
  width: 70px; height: 2px;
  background: var(--or);
  margin: 0 auto 18px;
}

/* ============ APERÇU SERVICES (accueil) ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--verre);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--verre-bord);
  border-radius: 18px;
  padding: 44px 32px;
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-4deg);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.4);
}

.service-card .icon {
  width: 68px; height: 68px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(230,199,106,0.08));
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--or-clair);
  transition: transform var(--transition);
}
.service-card:hover .icon { transform: scale(1.12); }

.service-card h3 {
  font-size: 1.5rem;
  color: var(--blanc);
  margin-bottom: 14px;
}
.service-card p {
  font-family: "Jost", sans-serif;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--gris);
}

/* ============ GALERIE ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: 320px;
}

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

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,12,0.85), transparent);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span {
  font-family: "Jost", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--champagne);
}

/* ============ TÉMOIGNAGES ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--verre);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--verre-bord);
  border-radius: 16px;
  padding: 38px 30px;
  transition: transform var(--transition), border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.4);
}

.testimonial-card .stars { color: var(--or); letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--creme);
  margin-bottom: 22px;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--or), var(--or-clair));
  color: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-card .author strong {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--blanc);
}
.testimonial-card .author small {
  font-family: "Jost", sans-serif;
  font-size: 0.75rem;
  color: var(--gris);
}

/* ============ CTA ============ */
.cta-banner {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(135deg, rgba(201,162,39,0.16), rgba(14,13,12,0));
  border-top: 1px solid var(--verre-bord);
  border-bottom: 1px solid var(--verre-bord);
}

.cta-banner h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); color: var(--blanc); margin-bottom: 18px; }
.cta-banner p {
  font-family: "Jost", sans-serif;
  color: var(--gris);
  max-width: 480px;
  margin: 0 auto 34px;
}

/* ============ FORMULAIRE ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-info .info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--verre);
  backdrop-filter: blur(12px);
  border: 1px solid var(--verre-bord);
  border-radius: 14px;
}

.contact-info .info-item svg { color: var(--or-clair); flex-shrink: 0; }
.contact-info .info-item div { font-family: "Jost", sans-serif; }
.contact-info .info-item strong { display: block; color: var(--blanc); letter-spacing: 1px; font-size: 0.85rem; }
.contact-info .info-item span { color: var(--gris); font-size: 0.88rem; }

.form-card {
  background: var(--verre);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--verre-bord);
  border-radius: 20px;
  padding: 44px 38px;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--verre-bord);
  border-radius: 10px;
  color: var(--blanc);
  font-family: "Jost", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--or);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(80, 160, 80, 0.18);
  border: 1px solid rgba(80, 160, 80, 0.4);
  color: #b7e4b7;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ============ PAGE HEADER INTERNE ============ */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 70px;
  overflow: hidden;
}
.page-hero .hero-bg { background-attachment: fixed; }
.page-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(14,13,12,0.6), var(--noir) 98%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--blanc);
  margin-bottom: 14px;
}
.page-hero .breadcrumb {
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or-clair);
}
.page-hero .breadcrumb a { color: var(--gris); }
.page-hero .breadcrumb a:hover { color: var(--or-clair); }

/* ============ PAGE SERVICES (détaillée) ============ */
.services-detail { display: flex; flex-direction: column; gap: 40px; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--verre);
  backdrop-filter: blur(14px);
  border: 1px solid var(--verre-bord);
  border-radius: 20px;
  transition: transform var(--transition), border-color 0.4s ease;
}

.service-row:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.4);
}

.service-row .text h3 { font-size: 1.8rem; color: var(--blanc); margin-bottom: 16px; }
.service-row .text p {
  font-family: "Jost", sans-serif;
  color: var(--gris);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.service-row .text .tag {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--or);
  border: 1px solid rgba(201,162,39,0.4);
  padding: 6px 16px;
  border-radius: 30px;
}
.service-row .img {
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
}
.service-row .img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FOOTER ============ */
footer {
  background: var(--noir-2);
  border-top: 1px solid var(--verre-bord);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo { font-size: 1.5rem; margin-bottom: 18px; }
.footer-brand p {
  font-family: "Jost", sans-serif;
  font-size: 0.88rem;
  color: var(--gris);
  font-weight: 300;
  max-width: 300px;
}

.footer-col h4 {
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  color: var(--gris);
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-col ul li a:hover { color: var(--or-clair); padding-left: 6px; }

.footer-bottom {
  text-align: center;
  padding-top: 26px;
  border-top: 1px solid var(--verre-bord);
  font-family: "Jost", sans-serif;
  font-size: 0.8rem;
  color: var(--gris);
}

/* ============ BOUTON WHATSAPP FLOTTANT ============ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (max-width: 768px) {
  .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ============ REVEAL AU SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  animation: revealFallback 0.9s ease 0.3s forwards;
}
.reveal.visible {
  animation: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
@keyframes revealFallback {
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: rgba(14, 13, 12, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transition: right 0.5s ease;
    border-left: 1px solid var(--verre-bord);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .hamburger { display: flex; z-index: 1001; }

  .services-grid, .testimonials-grid, .gallery-grid,
  .contact-grid, .service-row, .footer-grid { grid-template-columns: 1fr; }

  section { padding: 70px 0; }
  .hero-content { padding: 110px 16px 60px; }
  .gallery-item { height: 260px; }
  .service-row .img { height: 220px; }
  .form-card { padding: 34px 22px; }
  .footer-grid { gap: 30px; }
}
