/* ============================================================
   APPARTEMENT PERPIGNAN — main.css
   Thème autonome · Design luxury méditerranéen
   ============================================================ */

/* ── RESET COMPLET ── */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a,
img, ul, ol, li, form, label, input, textarea, select, button,
nav, header, footer, section, article, aside, main {
  margin: 0; padding: 0; border: 0;
  font-size: 100%; font: inherit; vertical-align: baseline;
}
html { line-height: 1; -webkit-text-size-adjust: 100%; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ── VARIABLES ── */
:root {
  --noir:          #0e0e0e;
  --ardoise:       #1a1a1f;
  --ardoise-clair: #22222a;
  --or:            #c9a96e;
  --or-clair:      #e8c98a;
  --or-pale:       #f5e6c8;
  --blanc:         #f8f5f0;
  --gris:          #888;
  --transition:    0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--ardoise);
  color: var(--blanc);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
body.cursor-ready { cursor: none; }

/* Masquer les éléments Astra */
#masthead, .ast-above-header, .ast-below-header,
.ast-primary-header-bar, .main-header-bar,
.ast-builder-grid-row, #colophon { display: none !important; }

/* ── CURSEUR CUSTOM ── */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--or); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  left: -100px; top: -100px;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, opacity 0.3s;
  opacity: 0;
  will-change: transform, left, top;
}
.cursor.visible { opacity: 1; }

.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1.5px solid var(--or); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  left: -100px; top: -100px;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
  opacity: 0;
  will-change: left, top;
}
.cursor-ring.visible { opacity: 0.7; }
.cursor-ring.hover   { opacity: 1; width: 58px; height: 58px; border-color: var(--or-clair); }

@media (max-width: 768px) {
  .cursor, .cursor-ring {
    display: none !important;
  }
}

/* ── NAVIGATION ── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 60px;
  background: linear-gradient(to bottom, rgba(14,14,14,0.95) 0%, transparent 100%);
  transition: padding var(--transition), background var(--transition);
}
nav#navbar.scrolled {
  padding: 16px 60px;
  background: rgba(14,14,14,0.97);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  backdrop-filter: blur(20px);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 300;
  letter-spacing: 0.3em; color: var(--or);
  text-transform: uppercase; text-decoration: none;
}
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.85rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(248,245,240,0.7);
  text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--or); }

/* ── SWITCHER DE LANGUE ── */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  padding-left: 28px; margin-left: 28px;
  border-left: 1px solid rgba(201,169,110,0.2);
}
.lang-btn {
  font-size: 1.3rem; line-height: 1;
  background: none; border: none; cursor: pointer;
  padding: 2px 3px; border-radius: 4px;
  opacity: 0.32; filter: grayscale(0.5);
  transition: opacity 0.25s, transform 0.2s;
  display: flex; align-items: center;
}
.lang-btn img {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.lang-btn:hover        { opacity: 0.85; transform: scale(1.18); filter: grayscale(0); }
.lang-btn.lang-active  { opacity: 1;    transform: scale(1.22); filter: grayscale(0); }

/* ── BURGER MOBILE ── */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  position: relative; z-index: 9001;
}
.nav-burger span {
  display: block; width: 24px; height: 1px;
  background: var(--or); transition: all 0.3s;
}

/* ── OVERLAY MENU ── */
#menuOverlay {
  display: none !important;
  position: fixed; inset: 0;
  background: rgba(14,14,14,0.98);
  z-index: 8000;
}
body.nav-mobile-open #menuOverlay { display: block !important; }

/* ── INTRO VIDÉO ── */
#videoIntro {
  position: fixed; inset: 0; z-index: 1000;
  background: #000; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1);
}
#videoIntro.fade-out { opacity: 0; transform: scale(1.04); pointer-events: none; }
#videoIntro.hidden   { display: none; }

#introVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1s;
}
#introVideo.loaded { opacity: 1; }

/* ── INTRO OVERLAY ── */
#introOverlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
#introPlaceholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, #0a1520 0%, #060c14 50%, #020508 100%);
  z-index: 0;
}
#introPlaceholder.hidden { display: none; }

.earth-anim {
  position: relative; width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.earth-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.25);
  animation: earthPulse 3s ease-in-out infinite;
}
.r1 { width: 160px; height: 160px; animation-delay: 0s; }
.r2 { width: 110px; height: 110px; animation-delay: 0.6s; border-color: rgba(201,169,110,0.4); }
.r3 { width: 60px;  height: 60px;  animation-delay: 1.2s; border-color: rgba(201,169,110,0.6); }
.earth-dot {
  width: 12px; height: 12px; background: var(--or); border-radius: 50%;
  box-shadow: 0 0 20px var(--or), 0 0 40px rgba(201,169,110,0.4);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes earthPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.08); opacity: 1; }
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}
.intro-place-label { font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--or); }
.intro-place-sub   { font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.3); text-transform: uppercase; }
.intro-video-hint  { position: absolute; bottom: 100px; font-size: 0.65rem; letter-spacing: 0.15em; color: rgba(201,169,110,0.3); font-style: italic; }

#introText {
  position: absolute; z-index: 2; text-align: center;
  bottom: 14vh; left: 50%; transform: translateX(-50%);
  animation: introTextIn 1.5s 0.5s both;
}
@keyframes introTextIn {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.intro-eyebrow  { font-size: 0.75rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--or); margin-bottom: 16px; }
.intro-title    { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 300; line-height: 1.0; color: #fff; text-shadow: 0 4px 40px rgba(0,0,0,0.6); margin-bottom: 16px; }
.intro-title em { font-style: italic; color: var(--or-clair); }
.intro-location { font-size: 0.8rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.5); text-transform: uppercase; }

#skipBtn {
  position: absolute; top: 36px; right: 48px; z-index: 10;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(201,169,110,0.35);
  color: rgba(255,255,255,0.7); padding: 10px 24px;
  font-family: 'Montserrat', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.25em; text-transform: uppercase; cursor: pointer;
  backdrop-filter: blur(10px); transition: all 0.3s;
  animation: introTextIn 1s 1.5s both;
}
#skipBtn:hover { background: rgba(201,169,110,0.15); border-color: var(--or); color: var(--or); }
#skipBtn span  { font-size: 0.9rem; }

#introProgress    { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.1); z-index: 10; }
#introProgressBar { height: 100%; background: linear-gradient(to right, var(--or), var(--or-clair)); width: 0%; transition: width 0.1s linear; }

body.intro-active { overflow: hidden; }

/* ── HERO VIDEO FOND ── */
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video-wrap video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover; object-position: center top; opacity: 0.45;
}

/* ── HERO ── */
.hero { position: relative; height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,169,110,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 20% 70%, rgba(201,169,110,0.05) 0%, transparent 60%),
              linear-gradient(135deg, #0e0e0e 0%, #1a1518 50%, #0e0e0e 100%);
}
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 2; padding: 0 60px 80px; max-width: 900px; }
.hero-label {
  font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--or); margin-bottom: 24px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 300; line-height: 1.0; margin-bottom: 32px;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em { font-style: italic; color: var(--or-clair); }
.hero-sub {
  font-size: 0.9rem; letter-spacing: 0.2em; color: rgba(248,245,240,0.5); margin-bottom: 48px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s 0.7s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 16px 40px; border: 1px solid var(--or); color: var(--or);
  text-decoration: none; font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase;
  transition: all 0.4s; opacity: 0; animation: fadeUp 0.8s 0.9s forwards;
}
.hero-cta::after { content: '→'; font-size: 1rem; }
.hero-cta:hover  { background: var(--or); color: var(--noir); }
.hero-price {
  position: absolute; right: 60px; bottom: 80px; z-index: 2; text-align: right;
  opacity: 0; animation: fadeUp 0.8s 1.1s forwards;
}
.hero-price span   { display: block; font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gris); margin-bottom: 8px; }
.hero-price strong { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: var(--or-pale); }
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.scroll-indicator span { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gris); text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--or), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── SECTIONS ── */
section { padding: 120px 60px; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--or); margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.section-label::before { content: ''; display: block; width: 40px; height: 1px; background: var(--or); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300; line-height: 1.15; margin-bottom: 24px; }
.section-title em { font-style: italic; color: var(--or-clair); }
.gold-divider { width: 60px; height: 1px; background: linear-gradient(to right, var(--or), transparent); margin: 40px 0; }

/* ── STATS ── */
.stats-section {
  background: var(--noir); padding: 80px 60px;
  border-top: 1px solid rgba(201,169,110,0.1);
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 40px; border-right: 1px solid rgba(201,169,110,0.1);
  text-align: center; transition: background 0.4s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover      { background: rgba(201,169,110,0.04); }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--or); line-height: 1; margin-bottom: 8px; }
.stat-unit   { font-size: 1.2rem; color: var(--or-clair); }
.stat-label  { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gris); }

/* ── PRÉSENTATION ── */
.presentation { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.presentation-text p { font-size: 1rem; line-height: 1.9; color: rgba(248,245,240,0.7); margin-bottom: 20px; }
.presentation-text p strong { color: var(--or-clair); font-weight: 400; }

#presentation { padding: 0; }
#presentation .presentation-text { padding: 120px 60px; }

/* ── VIDÉO YOUTUBE DANS PRÉSENTATION ── */
.presentation-video { display: flex; flex-direction: column; min-height: 0; }
.presentation-video .location-video-wrap { flex: 1; min-height: unset; height: 100%; }
.presentation-video .yt-embed-container {
  flex: 1; position: relative; padding-bottom: 0; height: 100%; min-height: 400px;
}
.presentation-video .yt-embed-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── SECTION LOCALISATION — VIDÉO YOUTUBE ── */
.location-video-wrap {
  display: flex; flex-direction: column;
  height: 100%; min-height: 500px;
  background: var(--noir); position: relative;
}
.location-video-label {
  display: flex; align-items: center; gap: 12px;
  padding: 24px 32px;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--or); border-bottom: 1px solid rgba(201,169,110,0.1);
}
.lv-icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.lv-icon svg {
    width: 25px; height: 25px;
    stroke: var(--or);
    fill: none;
}

.yt-embed-container {
  position: relative; flex: 1;
  padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.yt-embed-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-video-caption {
  padding: 20px 32px; border-top: 1px solid rgba(201,169,110,0.08);
  background: rgba(0,0,0,0.3);
}
.location-video-caption p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 300; color: var(--or-pale); margin-bottom: 4px;
}
.location-video-caption span {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gris);
}

/* ── GALERIE ── */
.gallery-section { background: var(--noir); padding: 100px 0; }
.gallery-header  { padding: 0 60px 60px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px 600px;
  gap: 3px;
}
.gallery-item { overflow: hidden; position: relative; cursor: pointer; }
.gallery-item--grand-gauche { grid-row: 1 / 3; }
.gallery-item--grand-bas    { grid-column: 1 / 2; }
.gallery-item img,
.gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img,
.gallery-item:hover video { transform: scale(1.04); }
.gallery-item-label {
  position: absolute; bottom: 20px; left: 20px;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--or); background: rgba(0,0,0,0.6); padding: 6px 14px;
  backdrop-filter: blur(10px); border: 1px solid rgba(201,169,110,0.2);
  opacity: 0; transform: translateY(6px); transition: all 0.3s;
}
.gallery-item:hover .gallery-item-label { opacity: 1; transform: translateY(0); }
.gallery-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(201,169,110,0.85);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s, transform 0.3s; pointer-events: none;
}

.gallery-play svg {
    width: 28px; height: 28px;
    stroke: var(--noir);
    fill: none;
}

.gallery-item:hover .gallery-play { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }

/* Lightbox */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.gallery-lightbox.active { opacity: 1; pointer-events: all; }
.gallery-lightbox video  { max-width: 90vw; max-height: 90vh; }
.gallery-lightbox-close  {
  position: absolute; top: 30px; right: 40px;
  color: var(--or); font-size: 2rem; cursor: pointer;
  background: none; border: none; font-family: 'Montserrat', sans-serif; transition: color 0.3s;
}
.gallery-lightbox-close:hover { color: var(--or-clair); }

/* ── ATOUTS ── */
.features-section { background: var(--ardoise-clair); }
.features-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.feature-card {
  padding: 48px 40px; background: var(--ardoise);
  border: 1px solid rgba(201,169,110,0.06);
  transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--or); transition: width 0.5s; }
.feature-card:hover   { border-color: rgba(201,169,110,0.2); background: #1e1e26; }
.feature-card:hover::before { width: 100%; }
.feature-icon {
    margin-bottom: 28px;
    display: block;
    width: 2.5rem;
    height: 2.5rem;
}

.feature-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
}

.loc-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    max-width: 1.2rem;
    max-height: 1.2rem;
    display: block;
}
.feature-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; margin-bottom: 12px; color: var(--or-pale); }
.feature-desc  { font-size: 0.9rem; line-height: 1.8; color: rgba(248,245,240,0.5); }

/* ── LOCALISATION ── */
.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.location-text    { padding: 100px 80px 100px 60px; background: #22222A; }
.location-intro   { font-size: 0.95rem; line-height: 1.9; color: rgba(248,245,240,0.6); margin-bottom: 30px; }
.location-map     { background: var(--noir); position: relative; overflow: hidden; }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-highlights { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.loc-item {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.9rem; color: rgba(248,245,240,0.6);
  padding-bottom: 16px; border-bottom: 1px solid rgba(201,169,110,0.08);
}
.loc-item:last-child { border-bottom: none; }
.loc-icon {
    color: var(--or);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
}
.loc-icon svg {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    max-width: 1.2rem;
    max-height: 1.2rem;
}
.loc-name { font-weight: 400; color: var(--blanc); display: block; margin-bottom: 2px; }

/* ── SITUATION ── */
.situation-section { padding: 5rem 2rem; text-align: center; }
.situation-map-wrap {
  max-width: 860px; margin: 2.5rem auto 0;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(201,168,76,0.25);
}
.situation-map-img { width: 100%; display: block; }

/* ── PLACEHOLDERS ── */
.map-placeholder {
  width: 100%; height: 100%; min-height: 400px;
  background: linear-gradient(135deg, #0e1014, #141820);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: var(--gris); text-align: center; padding: 40px;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.map-pin-anim {
  width: 40px; height: 40px; border: 2px solid var(--or);
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  position: relative; margin-bottom: 10px;
}
.map-pin-anim::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px; background: var(--or); border-radius: 50%;
}
.map-sub  { font-size: 0.7rem; color: rgba(255,255,255,0.25); }
.map-hint { font-size: 0.65rem; color: rgba(201,169,110,0.3); font-style: italic; margin-top: 12px; }
.img-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  background: linear-gradient(135deg, #1a1a22, #252530);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: var(--gris); font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase;
}

/* ── PAGE CONTACT ── */
.contact-page-header {
  position: relative; height: 45vh; min-height: 320px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1518 100%); overflow: hidden;
}
.contact-header-content { position: relative; z-index: 2; padding: 0 60px 60px; }
.contact-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.0;
  animation: fadeUp 0.8s 0.3s both;
}
.contact-page-title em { font-style: italic; color: var(--or-clair); }
.contact-page-sub {
  font-size: 0.85rem; letter-spacing: 0.25em; color: rgba(248,245,240,0.4);
  text-transform: uppercase; margin-top: 12px; animation: fadeUp 0.8s 0.5s both;
}
#contact-page .contact-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px;
  align-items: start; padding: 100px 60px; background: var(--noir);
}
.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.1; margin-bottom: 24px;
}
.contact-info h2 em { font-style: italic; color: var(--or-clair); }
.contact-intro { font-size: 0.95rem; line-height: 1.9; color: rgba(248,245,240,0.5); margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail  { display: flex; gap: 16px; align-items: center; font-size: 0.9rem; }
.contact-detail-icon { color: var(--or); font-size: 1rem; width: 20px; text-align: center; }
.contact-detail a { color: var(--blanc); text-decoration: none; transition: color 0.3s; }
.contact-detail a:hover { color: var(--or); }

/* ── FORMULAIRE ── */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group   { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--or); }
.required { color: rgba(201,169,110,0.5); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,169,110,0.15);
  color: var(--blanc); padding: 14px 18px;
  font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 300;
  outline: none; transition: border-color 0.3s, background 0.3s;
  appearance: none; border-radius: 0;
}
.form-group select option { background: var(--ardoise); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--or); background: rgba(201,169,110,0.05); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  align-self: flex-start; padding: 18px 52px;
  background: var(--or); color: var(--noir);
  border: none; font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background 0.4s; border-radius: 0;
}
.form-submit:hover { background: var(--or-clair); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-feedback {
  padding: 14px 18px; font-size: 0.88rem; border-radius: 0;
  display: none; border-left: 3px solid var(--or);
}
.form-feedback.success { background: rgba(201,169,110,0.08); color: var(--or-pale); display: block; }
.form-feedback.error   { background: rgba(220,80,80,0.08); color: #f08080; border-color: #f08080; display: block; }

/* ── FOOTER ── */
#site-footer {
  background: #080808; padding: 40px 60px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  border-top: 1px solid rgba(201,169,110,0.08);
  text-align: center;
}
#site-footer p { font-size: 0.8rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); }
.footer-logo   { font-family: 'Cormorant Garamond', serif; font-size: 1rem !important; letter-spacing: 0.3em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.footer-nav {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.footer-nav a { color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer-nav a:hover { color: var(--or); }
.footer-nav span { color: rgba(255,255,255,0.15); }
.footer-legal {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px;
  font-size: 0.7rem; letter-spacing: 0.15em;
}
.footer-legal a { color: rgba(255,255,255,0.2); text-transform: uppercase; transition: color 0.3s; }
.footer-legal a:hover { color: var(--or); }
.footer-legal span { color: rgba(255,255,255,0.15); }
.footer-credit { color: rgba(255,255,255,0.5); font-size: 0.9rem; letter-spacing: 0.15em; transition: color 0.3s; }
.footer-credit:hover { color: var(--or); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ── CURSEUR YOUTUBE ── */
.location-video-wrap:hover ~ .cursor,
.location-video-wrap:hover ~ .cursor-ring,
body:has(.location-video-wrap:hover) .cursor,
body:has(.location-video-wrap:hover) .cursor-ring {
  opacity: 0 !important; pointer-events: none;
}

/* ── PAGE CONTACT SANS FORMULAIRE ── */
.contact-inner-simple {
  background: var(--noir); padding: 100px 60px;
  display: flex; flex-direction: column; align-items: center; gap: 70px;
}
.contact-intro-block { text-align: center; max-width: 600px; }
.contact-intro-text  { font-size: 1rem; line-height: 1.9; color: rgba(248,245,240,0.55); margin-top: 10px; }
.contact-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; width: 100%; max-width: 1100px;
}
.contact-card {
  background: var(--ardoise); border: 1px solid rgba(201,169,110,0.08);
  padding: 48px 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.contact-card::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--or); transition: width 0.5s; }
.contact-card:hover { border-color: rgba(201,169,110,0.2); background: #1e1e26; }
.contact-card:hover::before { width: 100%; }
.contact-card-icon  { font-size: 2rem; margin-bottom: 8px; }
.contact-card-label { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--or); }
.contact-card-value { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 300; color: var(--blanc); transition: color 0.3s; }
.contact-card-value:hover { color: var(--or-clair); }
.contact-card-hint  { font-size: 0.75rem; color: var(--gris); letter-spacing: 0.1em; }
.contact-mention {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(201,169,110,0.3); text-align: center;
  padding-top: 20px; border-top: 1px solid rgba(201,169,110,0.08);
  width: 100%; max-width: 1100px;
}

/* ── PAGES LÉGALES ── */
.legal-header {
  min-height: 30vh; background: linear-gradient(135deg, #0e0e0e 0%, #1a1518 100%);
  display: flex; align-items: flex-end; padding: 0 60px 60px;
}
.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; color: var(--blanc);
}
.legal-content { background: var(--noir); padding: 80px 60px; }
.legal-inner   { max-width: 800px; margin: 0 auto; }
.legal-inner h1, .legal-inner h2, .legal-inner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--or-pale); margin: 40px 0 16px;
}
.legal-inner h2 { font-size: 1.8rem; }
.legal-inner h3 { font-size: 1.4rem; }
.legal-inner p  { font-size: 0.95rem; line-height: 1.9; color: rgba(248,245,240,0.6); margin-bottom: 16px; }
.legal-inner a  { color: var(--or); text-decoration: underline; }
.legal-inner a:hover { color: var(--or-clair); }
.legal-inner table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.85rem; }
.legal-inner table td, .legal-inner table th {
  padding: 12px 16px; border: 1px solid rgba(201,169,110,0.1);
  color: rgba(248,245,240,0.6); text-align: left;
}
.legal-inner table th { color: var(--or); background: rgba(201,169,110,0.05); }

/* ── BANNIÈRE COOKIES COMPLIANZ ── */
div.cmplz-cookiebanner {
  background: #1a1a1f !important; border: 1px solid rgba(201,169,110,0.2) !important;
  border-radius: 0 !important; box-shadow: 0 0 40px rgba(0,0,0,0.8) !important;
  font-family: 'Montserrat', sans-serif !important; color: rgba(248,245,240,0.7) !important;
}
div.cmplz-cookiebanner * { font-family: 'Montserrat', sans-serif !important; }
div.cmplz-cookiebanner .cmplz-title {
  font-family: 'Cormorant Garamond', serif !important;
  color: #f5e6c8 !important; font-weight: 300 !important;
}
div.cmplz-cookiebanner .cmplz-message,
div.cmplz-cookiebanner p { color: rgba(248,245,240,0.6) !important; font-size: 0.9rem !important; }
div.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
div.cmplz-cookiebanner button.cmplz-accept {
  background: #c9a96e !important; color: #0e0e0e !important;
  border: none !important; border-radius: 0 !important;
  font-size: 0.75rem !important; letter-spacing: 0.2em !important;
  text-transform: uppercase !important; font-weight: 500 !important;
}
div.cmplz-cookiebanner .cmplz-btn.cmplz-deny,
div.cmplz-cookiebanner button.cmplz-deny {
  background: transparent !important; color: rgba(248,245,240,0.5) !important;
  border: 1px solid rgba(201,169,110,0.3) !important; border-radius: 0 !important;
  font-size: 0.75rem !important; letter-spacing: 0.2em !important; text-transform: uppercase !important;
}
div.cmplz-cookiebanner .cmplz-btn.cmplz-manage-options,
div.cmplz-cookiebanner button.cmplz-manage-options {
  background: transparent !important; color: rgba(201,169,110,0.5) !important;
  border: none !important; font-size: 0.7rem !important; text-decoration: underline !important;
}
div.cmplz-cookiebanner a { color: #c9a96e !important; }

/* ── COULEURS ICÔNES FEATURES ── */
.feature-icon[data-icon="sun"] svg,
.loc-icon[data-icon="sun"] svg      { stroke: #f5c842 !important; fill: none !important; }

.feature-icon[data-icon="temple"] svg,
.loc-icon[data-icon="temple"] svg   { stroke: #c9a96e !important; fill: none !important; }

.feature-icon[data-icon="leaf"] svg,
.loc-icon[data-icon="leaf"] svg     { stroke: #6abf69 !important; fill: none !important; }

.feature-icon[data-icon="snowflake"] svg,
.loc-icon[data-icon="snowflake"] svg { stroke: #7ec8e3 !important; fill: none !important; }

.feature-icon[data-icon="box"] svg,
.loc-icon[data-icon="box"] svg      { stroke: #d4956a !important; fill: none !important; }

.feature-icon[data-icon="train"] svg,
.loc-icon[data-icon="train"] svg    { stroke: #a0a0c8 !important; fill: none !important; }

.feature-icon[data-icon="shop"] svg,
.loc-icon[data-icon="shop"] svg     { stroke: #f5c842 !important; fill: none !important; }

.feature-icon[data-icon="plane"] svg,
.loc-icon[data-icon="plane"] svg    { stroke: #7ec8e3 !important; fill: none !important; }

.feature-icon[data-icon="wave"] svg,
.loc-icon[data-icon="wave"] svg     { stroke: #5db8d4 !important; fill: none !important; }

.feature-icon[data-icon="mountain"] svg,
.loc-icon[data-icon="mountain"] svg { stroke: #a8c89a !important; fill: none !important; }

.feature-icon[data-icon="parking"] svg,
.loc-icon[data-icon="parking"] svg  { stroke: #7ec8e3 !important; fill: none !important; }

.gallery-play::after { content: none !important; }

/* ── SLIDER PHOTOS ── */
.slider-section { background: var(--noir); padding: 100px 60px; }
.slider-wrap { margin-top: 60px; }

.slider-main {
    position: relative; display: flex; align-items: center;
    gap: 20px; margin-bottom: 16px;
}
.slider-main-img-wrap {
    flex: 1; position: relative; overflow: hidden;
    aspect-ratio: 16/9; background: var(--ardoise);
}
.slider-main-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.2s ease;
    display: block;
}
.slider-counter {
    position: absolute; bottom: 16px; right: 20px;
    font-size: 0.75rem; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.5); padding: 4px 12px;
    backdrop-filter: blur(8px);
}
.slider-btn {
    width: 48px; height: 48px; flex-shrink: 0;
    border: 1px solid rgba(201,169,110,0.3);
    display: flex; align-items: center; justify-content: center;
    color: var(--or); transition: all 0.3s; cursor: pointer;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
}
.slider-btn:hover { background: var(--or); color: var(--noir); border-color: var(--or); }
.slider-btn svg { pointer-events: none; }

.slider-thumbs {
    display: flex; gap: 6px; overflow-x: auto;
    scrollbar-width: none; padding-bottom: 4px;
}
.slider-thumbs::-webkit-scrollbar { display: none; }
.slider-thumb {
    flex-shrink: 0; width: 100px; height: 68px;
    overflow: hidden; cursor: pointer;
    border: 2px solid transparent; transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.5;
}
.slider-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider-thumb:hover { opacity: 0.8; }
.slider-thumb.active { border-color: var(--or); opacity: 1; }

/* ── LIGHTBOX PHOTO ── */
.photo-lightbox {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
    cursor: zoom-out;
}
.photo-lightbox.active { opacity: 1; pointer-events: all; }
.photo-lightbox img {
    max-width: 92vw; max-height: 92vh;
    object-fit: contain; display: block;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.photo-lightbox-close {
    position: absolute; top: 24px; right: 36px;
    color: var(--or); font-size: 2rem; cursor: pointer;
    background: none; border: none; transition: color 0.3s;
    z-index: 1;
}
.photo-lightbox-close:hover { color: var(--or-clair); }

/* ── DPE ── */
.dpe-section {
    background: var(--noir);
    padding: 20px 60px 40px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(201,169,110,0.1);
}
.dpe-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 32px;
    border: 1px solid rgba(201,169,110,0.3);
    color: var(--or); font-size: 0.8rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none; transition: all 0.3s;
    background: transparent;
}
.dpe-btn:hover {
    background: var(--or);
    color: var(--noir);
    border-color: var(--or);
}
.dpe-btn svg { flex-shrink: 0; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  .presentation     { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr 1fr; }
  .contact-cards    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .location-section { grid-template-columns: 1fr; }
  .location-map     { min-height: 350px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  nav#navbar          { padding: 20px 30px; }
  nav#navbar.scrolled { padding: 14px 30px; }
  .logo               { font-size: 0.9rem; letter-spacing: 0.2em; }
  .nav-links          { gap: 24px; }
  .nav-links a        { font-size: 0.7rem; }
  .lang-switcher      { gap: 8px; margin-left: 16px; }
  .lang-btn           { font-size: 1.4rem; padding: 4px; }
  .hero               { height: 70vh !important; min-height: 300px; align-items: flex-end !important; }
  .hero-content       { padding: 0 40px 80px !important; }
  .hero-price         { right: 40px; bottom: 40px; }
  .hero-title         { font-size: clamp(2.5rem, 6vw, 5rem); }
}

@media (max-width: 768px) {
  nav#navbar          { padding: 20px 24px; }
  nav#navbar.scrolled { padding: 14px 24px; }
  .nav-links          { display: none; }
  .nav-burger         { display: flex; }
  .lang-switcher      { border-left: none; padding-left: 0; margin-left: 10px; padding-right: 10px; gap: 6px; }
  .lang-btn           { font-size: 1.4rem; padding: 4px; }

  body.nav-mobile-open .nav-links {
    display: flex !important; flex-direction: column;
    position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: auto; height: auto;
    background: transparent; border: none; gap: 0;
    z-index: 8001; align-items: center; justify-content: center;
    padding: 0; pointer-events: none;
  }
  body.nav-mobile-open .nav-links li { pointer-events: all; }
  body.nav-mobile-open .nav-links li a {
    font-size: 1.8rem; font-family: 'Cormorant Garamond', serif;
    font-weight: 300; letter-spacing: 0.2em;
    color: var(--blanc); padding: 20px 0;
    display: block; text-align: center; transition: color 0.3s;
  }
  body.nav-mobile-open .nav-links li a:hover { color: var(--or); }
  body.nav-mobile-open nav#navbar {
    z-index: 9000 !important; background: rgba(14,14,14,0.98) !important;
    border-bottom: none !important; transition: none !important;
  }
  body.nav-mobile-open { position: fixed; width: 100%; overflow: hidden; }

  section { padding: 80px 24px; }

  .hero         { height: 20vh !important; min-height: 280px; align-items: flex-end !important; }
  .hero-content { padding: 0 0px 0; margin-top: auto; margin-bottom: 20px; }
  .hero-title   { font-size: clamp(2rem, 8vw, 3.5rem); margin-bottom: 8px; }
  .hero-sub     { display: none; }
  .hero-cta     { padding: 10px 20px; }
  .hero-label   { margin-bottom: 8px; }

  /* ── Bloc prix : fix débordement horizontal ── */
  .hero-price {
    position: relative; right: auto; bottom: auto;
    text-align: left; margin-top: 8px;
    padding: 0 24px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-price strong {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
    white-space: nowrap;
  }

  .scroll-indicator { display: none; }
  .hero-video-wrap video { width: 100%; height: 100%; min-width: unset; min-height: unset; object-fit: cover; object-position: center; }

  .stats-section { padding: 60px 0px; }
  .stats-grid    { grid-template-columns: 1fr 1fr; border: none; }
  .stat-item {
    border: none !important;
    border-right: 1px solid rgba(201,169,110,0.1) !important;
    border-bottom: 1px solid rgba(201,169,110,0.1) !important;
  }
  .stat-item:nth-child(2n) { border-right: none !important; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)  { border-bottom: none !important; }

  .gallery-section { padding: 60px 0; }
  .gallery-header  { padding: 0 24px 40px; }
  .gallery-grid    { display: flex !important; flex-direction: column !important; }
  .gallery-item    { width: 100% !important; height: 250px !important; grid-column: unset !important; grid-row: unset !important; }

  .features-grid  { grid-template-columns: 1fr; }
  .location-text  { padding: 60px 24px; }
  .form-row       { grid-template-columns: 1fr; }
  #contact-page .contact-inner { grid-template-columns: 1fr; gap: 50px; padding: 60px 24px; }
  .contact-header-content { padding: 0 24px 40px; }
  .contact-inner-simple   { padding: 60px 24px; }
  .legal-header  { padding: 0 24px 40px; }
  .legal-content { padding: 60px 24px; }

  /* ── Slider photos en mobile ── */
  .slider-section { padding: 60px 24px; }
  .slider-btn { width: 36px; height: 36px; }
  .slider-thumb { width: 70px; height: 48px; }
}

@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
}