/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.hero-logo {
  width: 380px;
  max-width: 100%;
  height: auto;
}
html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  background-color: #e8e4e0;
  overflow-x: hidden;
}

a[href^="mailto"] {
  color: inherit;
  text-decoration: none;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: transparent;
}

/* FIXED: removed transform translate offsets that caused overflow */
.navbar .nav-logo,
.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  transform: none !important;
}

.logo-img {
  height: 35px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.footer-brand .logo-img { height: 30px; }

.logo-partners {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #2a2118;
  margin-left: 4px;
  position: static; /* FIXED: was top:-10px causing vertical bleed */
}

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

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #3a3028;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #c9972a; }

.nav-divider {
  color: #a89880;
  font-size: 13px;
  font-weight: 300;
}

.btn-candidature-nav {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #3a3028;
  background: transparent;
  border: 1.5px solid #a89880;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.25s;
  text-transform: uppercase;
}

.btn-candidature-nav:hover {
  background: #c9972a;
  color: #fff;
  border-color: #c9972a;
}

/* â”€â”€ LANGUAGE SWITCHER â”€â”€ */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: 16px;
  border: 1.5px solid #a89880;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 8px 11px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #3a3028;
  transition: all 0.22s;
  line-height: 1;
}

.lang-btn.active { background: #c9972a; color: #fff; }
.lang-btn:not(.active):hover { background: rgba(201,151,42,0.12); }

.lang-sep {
  width: 1px;
  height: 16px;
  background: #a89880;
  flex-shrink: 0;
}

/* â”€â”€ HAMBURGER â”€â”€ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
  z-index: 200;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #2a2118;
  transition: all 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â”€â”€ MOBILE OVERLAY MENU â”€â”€ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(235, 231, 225, 0.98);
  backdrop-filter: blur(18px);
  z-index: 150;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;

  padding: 20px;
}

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

.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #2a2118;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: #c9972a; }
.mobile-menu .btn-candidature-nav { font-size: 10px; padding: 13px 26px; }
.mobile-menu .lang-switcher { margin-left: 0; margin-top: 8px; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #2a2118;
  line-height: 1;
}
.mobile-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 580px;
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  /* ALL hardcoded margin-left / top / left offsets removed */
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 500;
  color: #2a2118;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  /* FIXED: position: static, no left/top offsets */
}

.hero-bold {
  font-weight: 700;
  font-style: italic;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 380px;
  /* FIXED: removed hardcoded top/left positioning */
}

.hero-dots::before,
.hero-dots::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #c9972a;
  opacity: 0.7;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c9972a;
  opacity: 0.6;
}

.dot-mid { width: 6px; height: 6px; opacity: 1; }

.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #5a4e42;
  margin-bottom: 32px;
  text-transform: uppercase;
  /* FIXED: removed position: relative top/left */
}

.btn-rejoindre {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #2a2118;
  background: rgba(232, 228, 220, 0.75);
  border: 1.5px solid #b8a48a;
  padding: 18px 52px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s;
  backdrop-filter: blur(4px);
  display: inline-block;
  /* FIXED: removed margin-left:300px and margin-top:97px */
}

.btn-rejoindre:hover {
  background: #c9972a;
  color: #fff;
  border-color: #c9972a;
}

.hero-image-area {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

/* ===========================
   BOTTOM SECTION
=========================== */
.bottom-section {
  position: relative;
  width: 100%;
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  padding: 60px 80px 80px;
}

.bottom-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #2a2118;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.cards-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

/* ===========================
   CARDS
=========================== */
.card {
  background: rgba(240, 236, 230, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 185, 160, 0.5);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.25s, box-shadow 0.25s;
  /* FIXED: removed relative left offsets and width:110% */
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(100, 70, 10, 0.12);
}

.card-icon {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #2a2118;
  text-transform: uppercase;
}

.card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #5a4e42;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.btn-card {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.25s;
  width: 100%;
}

.btn-card-outline {
  background: rgba(232, 228, 220, 0.7);
  border: 1.5px solid #b8a48a;
  color: #2a2118;
}

.btn-card-outline:hover {
  background: #2a2118;
  color: #fff;
  border-color: #2a2118;
}

.btn-card-gold {
  background: linear-gradient(135deg, #c9972a 0%, #a07820 50%, #8b6914 100%);
  border: none;
  color: #fff;
  letter-spacing: 2px;
}

.btn-card-gold:hover {
  background: linear-gradient(135deg, #d4af6a 0%, #c9972a 50%, #a07820 100%);
  box-shadow: 0 4px 16px rgba(180, 130, 20, 0.4);
}

/* ===========================
   CONTACT PAGE
=========================== */
.contact-page {
  background-color: #f8f6f4;
  font-family: 'Montserrat', sans-serif;
  color: #333;
}

.contact-hero {
  position: relative;
  background-image: url('header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 8% 80px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  min-height: 420px;
}

.hero-top-label {
  display: block;
  color: #c9a45c;
  letter-spacing: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
  font-size: 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
  opacity: 0.9;
  line-height: 1.6;
}

.contact-main { padding: 60px 8% 100px; }

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

.column-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.info-sub { color: #888; font-size: 0.9rem; line-height: 1.6; }

.glass-effect {
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  border: 1px solid rgba(201, 164, 92, 0.15);
  margin-top: 28px;
}

.info-card.glass-effect,
.quote-card.glass-effect {
  background-image: url('cardss.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
  color: #fff;
}

.info-card.glass-effect::before,
.quote-card.glass-effect::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.info-item:last-child { margin-bottom: 0; }

.icon-circle {
  width: 52px;
  height: 52px;
  border: 1px solid #c9a45c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #c9a45c;
  font-size: 20px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.label {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #c9a45c;
  font-weight: 700;
  margin-bottom: 4px;
}

.value {
  font-size: 0.95rem;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.quote-card {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote-card p { color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

.quote-logo {
  margin-top: 16px;
  color: #c9a45c;
  font-weight: bold;
  letter-spacing: 3px;
  font-style: normal;
  font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: #c9a45c; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form .form-row input { margin-bottom: 0; }

.btn-submit {
  width: 100%;
  background: linear-gradient(90deg, #8b6b2c 0%, #c9a45c 50%, #8b6b2c 100%);
  background-size: 200% auto;
  color: white;
  border: none;
  padding: 18px 20px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.5s;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.btn-submit:hover { background-position: right center; }

.form-disclaimer {
  text-align: center;
  margin-top: 16px;
  color: #888;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ===========================
   LEGAL PAGE
=========================== */
.legal-hero {
  position: relative;
  width: 100%;
  min-height: 380px;
  background-image: url('header.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.legal-hero h1 {
  position: relative;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 4rem);
  color: #fff;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.legal-content {
  max-width: 960px;
  margin: -40px auto 80px;
  padding: 60px 6%;
  position: relative;
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0,0,0,0.1);
  background-image: url('form.png');
  background-size: cover;
  background-color: #ffffff;
  line-height: 1.8;
  color: #2a2118;
}

.legal-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #1a1a1a;
  margin: 50px 0 20px;
  border-bottom: 1px solid #c9a45c;
  padding-bottom: 10px;
  display: block;
  font-weight: 700;
}

.legal-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #8b6914;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-content p, .legal-content ul { margin-bottom: 16px; font-size: 1rem; }
.legal-content ul { padding-left: 20px; list-style-type: square; }
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a45c, transparent);
  margin: 50px 0;
  border: none;
  opacity: 0.5;
}

/* ===========================
   FOOTER
=========================== */
.main-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 70px 8% 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  border-bottom: 1px solid #222;
  padding-bottom: 50px;
}

.footer-brand p {
  color: #888;
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.7;
  font-family: 'Montserrat', sans-serif;
}

.footer-nav h4, .footer-contact h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  color: #fff;
}

.footer-nav a {
  display: block;
  color: #888;
  text-decoration: none;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-family: 'Montserrat', sans-serif;
  transition: 0.3s;
}

.footer-nav a:hover { color: #c9a45c; }

.footer-contact p {
  color: #888;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  color: #444;
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

/* ===========================
   TABLET â‰¤ 960px
=========================== */
@media (max-width: 960px) {
  .navbar {
    position: fixed !important;
    top: 0; left: 0;
    width: 100%;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 12px 20px !important;
    z-index: 200;
  }
  .nav-links { display: none !important; }
  .navbar > .lang-switcher { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-logo { display: flex !important; }
  .logo-img { height: 35px !important; }

  .hero { padding: 90px 24px 50px !important; min-height: auto; }
  .hero-title { font-size: clamp(22px, 5.5vw, 36px) !important; }
  .hero-image-area {
    display: block !important;
    position: absolute !important;
    right: 16px !important;
    top: 30% !important;
    transform: translateY(-50%) !important;
    z-index: 1 !important;
  }
  .hero-logo { width: 100px !important; }
  .hero-content { max-width: 100% !important; padding-right: 110px !important; }

  .contact-hero { padding-top: 80px !important; min-height: 320px !important; }
  .legal-hero { padding-top: 90px !important; min-height: 280px !important; }
  .agence-section { padding-top: 70px !important; }

  .bottom-section { padding: 50px 24px 60px !important; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ===========================
   MOBILE â‰¤ 640px
=========================== */
@media (max-width: 640px) {
  .navbar { padding: 14px 20px; }

  .hero { padding: 90px 20px 50px; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 28px; line-height: 1.3; margin-bottom: 16px; }
  .hero-dots { max-width: 100%; margin-bottom: 12px; }
  .hero-sub { font-size: 11px; letter-spacing: 1px; margin-bottom: 24px; }
  .btn-rejoindre { width: 100%; padding: 16px 20px; text-align: center; font-size: 10px; }
  .hero-image-area { display: none; }

  .bottom-section { padding: 40px 16px 50px; }
  .cards-row { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 20px; }
  .section-title { font-size: 12px; letter-spacing: 2px; }

  .contact-hero { padding: 120px 20px 50px; min-height: 300px; }
  .contact-main { padding: 36px 16px 60px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form .form-row input { margin-bottom: 16px; }
  .column-title { font-size: 1.4rem; }

  .legal-content { margin: -20px 12px 50px; padding: 36px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
  .main-footer { padding: 48px 20px 24px; }
}

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a2118;
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 13px;
  width: calc(100% - 32px);
  max-width: 560px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.cookie-banner p {
  flex: 1 1 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  word-break: normal;
  white-space: normal;
}

.cookie-banner button {
  background: #c9972a;
  border: none;
  padding: 8px 20px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-banner .btn-refuse {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ccc;
  border-radius: 4px;
}

.cookie-banner .btn-refuse:hover {
  border-color: #fff;
  color: #fff;
}  
/* ===========================
   MOBILE RESPONSIVE FIX
=========================== */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 16px 20px;
  }

  /* HERO SECTION */
  .hero {
    flex-direction: column;
    padding: 120px 20px 60px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 12px;
  }

  .hero-image-area {
    position: static;
    transform: none;
    margin-top: 30px;
  }

  .hero-logo {
    width: 200px;
    margin: 0 auto;
  }

  /* BUTTON */
  .btn-rejoindre {
    width: 100%;
    padding: 14px;
  }

  /* CARDS */
  .cards-row {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px 18px;
  }

  /* SECTION */
  .bottom-section {
    padding: 40px 20px;
  }

  /* TEXT OVERFLOW FIX */
  h1, h2, h3, p {
    word-break: break-word;
  }

}