@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Ultra-Luxe Muted Earth Palette */
  --navy: #0F1216;      /* Très sombre, presque noir mais plus doux */
  --navy-light: #1A1E24;
  --cream: #F8F7F3;     /* Fond papier magazine */
  --sand: #E5E1D8;      /* Bordures douces */
  --gold: #B8905B;      /* Or vieilli, discret */
  --gold-hover: #9E7A4A;
  --sage: #5A6B63;      /* Vert gris très subtil */
  --white: #FFFFFF;
  --text-main: #2A2E33; /* Texte principal, moins dur que le noir pur */
  --text-light: #6C727A;
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  
  /* Spacing & Utilities */
  --radius: 0px;        /* Angles droits pour le côté editorial */
  --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.3s ease;
  --shadow-subtle: 0 10px 40px rgba(15, 18, 22, 0.05);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { 
  font-family: var(--font-serif); 
  font-weight: 400; 
  line-height: 1.1; 
  color: var(--navy); 
}
h1 { font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; }

.italic-serif { font-style: italic; color: var(--gold); }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.85rem;
  letter-spacing: 1px; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--navy); color: var(--white);
}
.btn-primary:hover {
  background: var(--gold); color: var(--white);
}
.btn-outline {
  background: transparent; border-color: var(--navy); color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy); color: var(--white);
}

.section-label {
  display: block; font-family: var(--font-sans); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 4px; color: var(--gold);
  margin-bottom: 24px; font-weight: 500;
}
.section-header { margin-bottom: 100px; }
.section-header.center { text-align: center; }
.section-subtitle { 
  font-size: 1.15rem; color: var(--text-light); max-width: 600px; 
  margin-top: 24px; font-weight: 300; line-height: 1.8;
}
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   CURSOR & BLOBS (MICRO-INTERACTIONS)
   ========================================================================== */
.cursor-dot, .cursor-outline {
  position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 9999; pointer-events: none;
}
.cursor-dot { width: 6px; height: 6px; background-color: var(--gold); }
.cursor-outline {
  width: 40px; height: 40px; border: 1px solid rgba(184, 144, 91, 0.4);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}
.cursor-outline.hover-active {
  width: 60px; height: 60px; background-color: rgba(184, 144, 91, 0.1); border-color: transparent;
}
@media (max-width: 1024px) { .cursor-dot, .cursor-outline { display: none; } }

.bg-blob {
  position: absolute; filter: blur(90px); z-index: 0; opacity: 0.5;
  animation: floatBlob 25s infinite alternate ease-in-out; pointer-events: none; border-radius: 50%;
}
.blob-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,144,91,0.1) 0%, transparent 70%); top: 10%; left: -10%; }
.blob-2 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(90,107,99,0.08) 0%, transparent 70%); top: 40%; right: -15%; animation-delay: -5s; }
.blob-3 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(15,18,22,0.04) 0%, transparent 70%); bottom: -5%; left: 10%; animation-delay: -10s; }
@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.9); }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: var(--transition);
}
.navbar.scrolled {
  padding: 10px 0; background: rgba(248, 247, 243, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 110px; width: auto; transition: var(--transition-fast); }
.navbar.scrolled .nav-logo img { height: 75px; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a:not(.btn) {
  font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
  color: var(--navy); position: relative; padding-bottom: 4px;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--navy); transition: var(--transition-fast);
}
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after { width: 100%; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; }
.menu-toggle span { width: 30px; height: 1px; background: var(--navy); transition: var(--transition-fast); }

/* ==========================================================================
   HERO (EDITORIAL)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 160px; overflow: hidden; background: var(--cream); z-index: 1;
}
.hero-container {
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
  position: relative; z-index: 2; width: 100%; height: 100%;
}
.hero-text { flex: 1; max-width: 600px; padding-right: 40px; }
.hero-text h1 { margin-bottom: 40px; }
.hero-tagline { font-size: 1.1rem; color: var(--text-light); margin-bottom: 50px; font-weight: 300; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-image-wrapper {
  flex: 1; height: 85vh; width: 45vw; max-width: 700px;
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  overflow: hidden;
}
.parallax-img { width: 100%; height: 120%; object-fit: cover; }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 5vw; z-index: 2;
}
.scroll-indicator svg { width: 24px; height: 40px; stroke: var(--navy); animation: slideDown 2s infinite; }
@keyframes slideDown { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features { padding: 150px 0; background: var(--white); position: relative; z-index: 2; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-bottom: 100px;
}
.feature-card { padding-right: 20px; border-left: 1px solid var(--sand); padding-left: 30px; }
.feature-icon { margin-bottom: 30px; }
.feature-icon svg { width: 32px; height: 32px; stroke: var(--gold); }
.feature-card h3 { font-size: 1.8rem; margin-bottom: 16px; }
.feature-card p { color: var(--text-light); font-size: 1rem; font-weight: 300; }

.stats-container {
  display: flex; justify-content: space-between; border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand); padding: 60px 0;
}
.stat { text-align: center; flex: 1; border-right: 1px solid var(--sand); }
.stat:last-child { border-right: none; }
.stat-number, .stat-suffix { font-family: var(--font-serif); font-size: 4rem; color: var(--navy); }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-top: 10px; }

/* ==========================================================================
   SERVICES (LARGE EDITORIAL ROWS)
   ========================================================================== */
.services { padding: 150px 0; background: var(--cream); position: relative; z-index: 2; }
.services-list { display: flex; flex-direction: column; gap: 150px; }

.service-row { display: flex; align-items: center; gap: 8vw; }
.service-row.reverse { flex-direction: row-reverse; }

.service-image { flex: 1; height: 75vh; min-height: 500px; overflow: hidden; }
.service-content { flex: 1; max-width: 500px; }

.service-content h3 { font-size: 3rem; margin-bottom: 30px; line-height: 1.2; }
.service-content p { color: var(--text-light); margin-bottom: 40px; font-weight: 300; font-size: 1.1rem; }

.editorial-list { border-top: 1px solid var(--sand); }
.editorial-list li {
  padding: 20px 0; border-bottom: 1px solid var(--sand);
  font-size: 0.95rem; color: var(--navy); display: flex; align-items: center; gap: 16px;
}
.editorial-list li::before { content: ''; display: block; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ==========================================================================
   PRICING (MINIMALIST MENU)
   ========================================================================== */
.pricing { padding: 150px 0; background: var(--white); }
.pricing-menu { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }

.pricing-item {
  padding: 60px 40px; border-bottom: 1px solid var(--sand);
  transition: var(--transition); position: relative;
}
.pricing-item:first-child { border-top: 1px solid var(--sand); }
.pricing-item:hover { background: var(--cream); padding-left: 50px; padding-right: 30px; }

.pricing-header { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 16px; }
.pricing-header h3 { font-size: 2.2rem; margin: 0; white-space: nowrap; }
.pricing-dots { flex: 1; border-bottom: 1px dotted var(--text-light); margin-bottom: 12px; opacity: 0.5; }
.pricing-value { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); white-space: nowrap; }
.pricing-value span { font-family: var(--font-sans); font-size: 1rem; color: var(--text-light); }

.pricing-desc { color: var(--text-light); max-width: 600px; font-weight: 300; font-size: 1rem; }

.pricing-item.featured { background: var(--navy); color: var(--white); border-color: var(--navy); margin: 20px -40px; padding: 60px 80px; box-shadow: var(--shadow-subtle); }
.pricing-item.featured:hover { padding-left: 90px; }
.pricing-item.featured h3, .pricing-item.featured .pricing-value { color: var(--white); }
.pricing-item.featured .pricing-desc, .pricing-item.featured .pricing-value span { color: rgba(255,255,255,0.7); }
.pricing-item.featured .pricing-dots { border-bottom-color: rgba(255,255,255,0.2); }

.pricing-badge {
  position: absolute; top: 20px; left: 80px; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--gold);
}
.pricing-note { text-align: center; margin-top: 40px; font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* ==========================================================================
   TESTIMONIALS (LARGE QUOTE)
   ========================================================================== */
.testimonials { padding: 150px 0; background: var(--cream); text-align: center; }
.testimonial-wrapper { max-width: 800px; margin: 0 auto; position: relative; }
.quote-mark { font-family: var(--font-serif); font-size: 8rem; color: var(--gold); line-height: 0; opacity: 0.2; margin-bottom: 40px; }
.testimonial-text { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); line-height: 1.4; margin-bottom: 40px; font-style: italic; }
.testimonial-author strong { display: block; font-size: 1rem; color: var(--navy); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 1px; }
.testimonial-author span { font-size: 0.9rem; color: var(--text-light); }

/* ==========================================================================
   ZONE
   ========================================================================== */
.zone { padding: 150px 0; background: var(--white); }
.zone-grid { display: flex; align-items: center; gap: 8vw; }
.zone-image { flex: 1; height: 600px; overflow: hidden; }
.zone-content { flex: 1; max-width: 500px; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.zone-list li { font-family: var(--font-serif); font-size: 1.4rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.zone-list li::before { content: ''; width: 40px; height: 1px; background: var(--gold); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: 150px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; max-width: 1000px; margin: 0 auto; }

.contact-block { margin-bottom: 40px; }
.contact-block h4 { font-family: var(--font-sans); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 12px; font-weight: 500; }
.contact-block p, .contact-link { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); line-height: 1.4; }
.contact-link { display: inline-block; position: relative; }
.contact-link::after { content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: right; transition: transform 0.4s ease; }
.contact-link:hover::after { transform: scaleX(0); transform-origin: left; }

.contact-socials { display: flex; gap: 24px; }
.contact-socials a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); font-weight: 500; }
.contact-socials a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 16px 0; background: transparent;
  border: none; border-bottom: 1px solid var(--sand);
  font-family: var(--font-sans); font-size: 1rem; color: var(--navy);
  transition: border-color 0.3s; border-radius: 0; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--navy); }
.contact-form textarea { resize: none; height: 120px; }
.contact-form .btn { align-self: flex-start; margin-top: 20px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: var(--white); padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-logo { height: 70px; margin-bottom: 24px; background: var(--cream); border-radius: 4px; padding: 12px 20px; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.5); font-weight: 300; }

.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-text { padding-right: 0; }
  .hero-image-wrapper { width: 40vw; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-links.open {
    display: flex; flex-direction: column; justify-content: center;
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--navy); z-index: 1000;
  }
  .nav-links.open a { color: var(--white); font-size: 2rem; font-family: var(--font-serif); }
  .nav-links.open .btn { background: transparent; border: 1px solid var(--gold); font-family: var(--font-sans); font-size: 1rem; }
  .menu-toggle.open span { background: var(--white); }
  
  .hero-container { flex-direction: column; justify-content: center; text-align: center; }
  .hero-image-wrapper { position: relative; width: 100vw; height: 50vh; max-width: none; right: auto; transform: none; margin-left: -5vw; margin-top: 60px; }
  .hero-buttons { justify-content: center; }
  
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-card { border-left: none; padding-left: 0; border-top: 1px solid var(--sand); padding-top: 30px; }
  
  .stats-container { flex-direction: column; gap: 40px; border-bottom: none; }
  .stat { border-right: none; border-bottom: 1px solid var(--sand); padding-bottom: 40px; }
  
  .service-row, .service-row.reverse, .zone-grid { flex-direction: column; gap: 40px; }
  .service-image, .zone-image { width: 100vw; margin-left: -5vw; height: 50vh; min-height: 300px; }
  
  .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 60px; }
  .form-row { grid-template-columns: 1fr; }
  
  .pricing-item.featured { margin: 0; padding: 40px 0; border: none; border-bottom: 1px solid var(--sand); background: transparent; color: inherit; box-shadow: none; }
  .pricing-item.featured:hover { padding-left: 0; }
  .pricing-item.featured h3, .pricing-item.featured .pricing-value { color: var(--navy); }
  .pricing-item.featured .pricing-desc, .pricing-item.featured .pricing-value span { color: var(--text-light); }
  .pricing-item.featured .pricing-dots { border-bottom-color: var(--text-light); }
  .pricing-badge { position: relative; top: 0; left: 0; margin-bottom: 10px; display: inline-block; }
  .pricing-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pricing-dots { display: none; }
}

/* ==========================================================================
   GSAP INITIAL STATES
   ========================================================================== */
.reveal-text { opacity: 0; transform: translateY(40px); }
.reveal-fade { opacity: 0; }
.reveal-up { opacity: 0; transform: translateY(50px); }
.reveal-image { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
