/* ------------------- FONTS ------------------- */
@font-face {
  font-family: 'Melbourne';
  src: url('fonts/melbournebold.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Melbournethin';
  src: url('fonts/melbourne.ttf') format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: 'Andaluz';
  src: url('fonts/Andaluz-Regular.otf') format('truetype');
  font-weight: bold;
}

:root {
  --color-primary: #111111;
  --color-accent: #444444;
  --color-pink: #888888;
  --color-white: #ffffff;
  --color-dark: #0a0a0a;

  --gradient-colors: #e0e0e0, #f0f0f0, #d4d4d4, #c8c8c8, #b0b0b0, #989898, #808080;

  --font-main: 'Melbourne', sans-serif;
  --font-thin: 'Melbournethin', sans-serif;

  --spacing-xs: clamp(10px, 2vw, 20px);
  --spacing-sm: clamp(15px, 3vw, 40px);
  --spacing-md: clamp(40px, 8vw, 80px);
  --spacing-lg: clamp(60px, 10vw, 120px);

  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 1s ease;

  --bg-rgb: 255, 255, 255;
  --bg-color: rgb(var(--bg-rgb));
  --navcolor: rgba(255, 255, 255, 0.85);
  --border-color: #e0e0e0;
  --text-active: #111111;
  --text-inactive: #888888;
}

/* ------------------- GLOBAL ------------------- */
body {
  color: #111111;
  padding: 1vw 1vh;
  overflow-x: hidden;
  display: block;
  font-family: 'Melbourne', sans-serif;
  background-color: var(--bg-color);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------- HEADER ------------------- */
.fixed-container {
  position: fixed;
  top: clamp(40px, 8vh, 84px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 2000px;
  padding: 0 clamp(20px, 3vw, 60px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 1000;
  box-sizing: border-box;
  pointer-events: none;
}

.fixed-container .logo-bar,
.fixed-container .menu {
  pointer-events: auto;
}
.mon-lien {
  text-decoration: none;

  background-image: linear-gradient(#111111, #111111);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;

  /* Inline permet au background de suivre chaque ligne */
  display: inline;
  
  transition: background-size 0.4s ease;
}

.mon-lien:hover {
  background-size: 100% 2px;
}.mon-lien {
  text-decoration: none;

  background-image: linear-gradient(#111111, #111111);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;

  /* Inline permet au background de suivre chaque ligne */
  display: inline;
  
  transition: background-size 0.4s ease;
}

.mon-lien:hover {
  background-size: 100% 2px;
}
/* ------------------- CTA BUTTON ------------------- */
.cta-button {
  width: clamp(260px, 60vw, 645px);
  height: clamp(56px, 8vw, 96px);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 90px;
  border: none;

  font-family: 'Melbourne', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  color: #ffffff;
  background: rgb(72, 118, 85);

  cursor: pointer;
  transition: font-size var(--transition-slow),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.cta-button:hover {
  font-size: clamp(18px, 2.4vw, 30px);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 118, 85, 0.25);
}

/* ------------------- SECTION TITLE ------------------- */
.section-title {
  font-family: 'Andaluz', 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: bold;
  text-align: center;
  color: #111;
  margin: 10% 0 40px;
  letter-spacing: -0.5px;
}

/* ------------------- LOGO ------------------- */
.logo-bar {
  height: clamp(32px, 4vw, 48px);
  width: clamp(100px, 15vw, 240px);
  background: url(Image/Grand.webp) no-repeat center/contain;
}

/* ------------------- NAVBAR ------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--navcolor);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo:hover {
  color: var(--text-active);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  font-family: 'Melbourne', sans-serif;
  padding: 0;
  transition: color var(--transition-fast);
  color: var(--text-inactive);
}

.nav-item i {
  font-size: 1rem;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-active);
}

/* ── Masquer le label texte sur smartphone ── */
@media (max-width: 480px) {
  .nav-item span { display: none; }
  .nav-menu { gap: 1.2rem; }
}

/* ------------------- MAIN CONTENT ------------------- */
main {
  justify-content: center;
  margin-top: clamp(80px, 15vh, 200px);
  text-align: center;
  width: 100vw;
}

.blur-wrapper {
  transition: filter var(--transition-fast), opacity var(--transition-fast);
}

body.blur-active .blur-wrapper {
  filter: blur(3px) brightness(0.95);
}

/* ------------------- FOOTER ------------------- */
.site-footer {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  color: #111111;
  font-family: 'Melbourne';
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  z-index: 9999;
}

.footer-toggle {
  position: fixed;
  bottom: 10px;
  right: 10px;
  padding: clamp(6px, 1vw, 8px) clamp(10px, 1.5vw, 14px);
  color: #111111;
  font-family: 'Andaluz', sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition-medium),
              background var(--transition-medium);
  z-index: 10000;
}

.footer-toggle:hover {
  color: #ffffff;
  background: #111111;
}

.footer-toggle.hidden {
  display: none;
}

.footer-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: 0.5s;
}

.footer-panel.open {
  max-height: 500px;
  padding: clamp(12px, 2vw, 20px);
  overflow-y: scroll;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
}

.footer-column {
  flex: 1 1 260px;
  min-width: 220px;
}

.footer-column h2 {
  font-family: 'Melbourne', sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.footer-column p {
  margin: 8px 0;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.6;
  color: #555555;
}

.footer-column a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-column a:hover {
  color: #444444;
}

.footer-panel .copyright {
  margin-top: 20px;
  font-size: 0.85em;
  color: #aaaaaa;
}

.footer-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  color: #888888;
  font-size: clamp(18px, 2vw, 22px);
  font-family: 'Melbourne';
  cursor: pointer;
  transition: color var(--transition-medium);
}

.footer-close:hover {
  color: #111111;
}

/* ------------------- BANDEAU ------------------- */
.bandeau-footer {
  width: 100%;
  height: clamp(36px, 5vw, 50px);
  margin-left: 0;
  background-image: url('Image/Bandeau.webp');
  background-size: contain;
  background-repeat: repeat-x;
  background-position: center bottom;
  box-shadow: inset 0 10px 15px -10px rgba(0, 0, 0, 0.06);
}

/* ------------------- SITE CONTAINER ------------------- */
.site-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ------------------- RESPONSIVE TABLETTE (≤ 1024px) ------------------- */
@media (max-width: 1024px) {
  .section-title { margin-top: 12%; }
}

/* ------------------- RESPONSIVE SMARTPHONE (≤ 768px) ------------------- */
@media (max-width: 768px) {
  body { padding: 0; }
  .section-title { margin-top: 80px; }
  .footer-column { min-width: 100%; flex: 1 1 100%; }
}

/* ------------------- RESPONSIVE PETIT SMARTPHONE (≤ 480px) ------------------- */
@media (max-width: 480px) {
  .cta-button { width: 88vw; }
  .section-title { font-size: clamp(24px, 7vw, 36px); margin-top: 70px; }
  .bandeau-footer { margin-left: 0; }
}