/* ============================================
   GÉNÉRATION & CUTZ — Global Styles
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --dark-green:   #2e4238;
  --medium-green: #3f5752;
  --light-green:  #d3dbcb;
  --dark-teal:    #3e5450;
  --black:        #000000;
  --white:        #ffffff;
  --off-white:    #f5f5f0;

  --font-heading: 'Bebas Neue', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  --transition: all 0.3s ease;
  --shadow: 0 4px 30px rgba(0,0,0,0.25);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* --- Section Spacing --- */
section { padding: 90px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--light-green);
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 560px;
  opacity: 0.85;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(10px);
  padding: 14px 30px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Logo */
.navbar-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* white on dark */
  transition: var(--transition);
}

/* Nav Links — masqué, on utilise le menu hamburger partout */
.navbar-menu {
  display: none;
}

.navbar-menu a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
  transition: var(--transition);
  position: relative;
}

.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--light-green);
  transition: var(--transition);
}

.navbar-menu a:hover { opacity: 1; }
.navbar-menu a:hover::after { width: 100%; }

/* Right Controls */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Cacher le bouton Réserver EN quand FR actif, et vice versa — géré par JS */

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  overflow: hidden;
}

.lang-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding: 6px 12px;
  transition: var(--transition);
}

.lang-toggle button.active {
  background: var(--dark-green);
  color: var(--white);
}

/* CTA Button */
.btn-cta {
  background: var(--dark-green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--dark-green);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-cta:hover {
  background: var(--medium-green);
  border-color: var(--medium-green);
}

/* Hamburger — toujours visible */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(46,66,56,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-content .section-label { color: var(--light-green); }

.hero-title {
  font-size: clamp(4rem, 9vw, 8rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title span { color: var(--light-green); }

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--dark-green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 2px solid var(--dark-green);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

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

.btn-secondary {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: var(--transition);
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--white); }

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features-bar {
  background: var(--dark-green);
  padding: 60px 0;
}

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

.feature-item {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.feature-item:last-child { border-right: none; }

.feature-item:hover { background: rgba(255,255,255,0.04); }

.feature-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--light-green);
  line-height: 1;
  margin-bottom: 8px;
}

.feature-title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview {
  background: var(--black);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg { transform: scale(1.08); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.15) 60%);
}

.service-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  z-index: 2;
}

.service-card-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--light-green);
  margin-bottom: 6px;
}

.service-card-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 13px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  line-height: 1.6;
}

.service-card:hover .service-card-desc {
  opacity: 0.85;
  max-height: 80px;
}

/* ============================================
   GALLERY PREVIEW
   ============================================ */
.gallery-preview {
  background: var(--off-white);
  color: var(--black);
}

.gallery-preview .section-label { color: var(--dark-green); }
.gallery-preview .section-title { color: var(--dark-green); }
.gallery-preview .section-subtitle { color: rgba(0,0,0,0.65); }

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-outline-dark {
  color: var(--dark-green);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1.5px solid var(--dark-green);
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
}

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

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

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46,66,56,0.0);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(46,66,56,0.45);
}

.gallery-item-overlay svg {
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--dark-green);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-header .section-label {
  justify-content: center;
  display: flex;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span { color: var(--light-green); font-size: 14px; }

.testimonial-text {
  font-size: 14px;
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--medium-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-role {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 2px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
}

.cta-banner-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 20px;
}

.cta-banner-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #050a07;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-logo img {
  height: 58px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  opacity: 0.65;
  transition: var(--transition);
}

.footer-links a:hover { opacity: 1; }

.footer-address {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.8;
}

.footer-address a { transition: var(--transition); }
.footer-address a:hover { opacity: 1; color: var(--light-green); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.4;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-light-green { color: var(--light-green); }

/* Bilingual: cacher la langue inactive */
body.lang-fr [data-lang-en] { display: none !important; }
body.lang-en [data-lang-fr] { display: none !important; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #050a07;
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mobile-menu.open { display: flex; }

/* Liens du menu mobile — un seul par langue grâce au JS */
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: var(--transition);
  opacity: 0.85;
  display: block;
}

.mobile-menu a:hover {
  color: var(--light-green);
  opacity: 1;
}

.mobile-menu .btn-primary {
  margin-top: 16px;
  font-size: 13px;
  padding: 16px 40px;
}

.mobile-close {
  position: absolute;
  top: 28px; right: 32px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.6rem;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
  line-height: 1;
}

.mobile-close:hover {
  opacity: 1;
  border-color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .container { padding: 0 20px; }

  .navbar-menu { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }

  .features-grid { grid-template-columns: 1fr; gap: 0; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .feature-item:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4/3; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .testimonials-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .navbar { padding: 16px 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
}

/* ============================================
   PAGE TRANSITIONS (shared across pages)
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--dark-green);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.4), transparent);
}

.page-header-content { position: relative; z-index: 1; }

.page-header-title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-header-subtitle {
  font-size: 1rem;
  opacity: 0.75;
  max-width: 480px;
  margin: 0 auto;
}
