/* ============================================================
   GÎTES DE BRIORD — style.css
   Charte graphique validée v1
   Palette : #090909 / #C6973F / #F5EFE3
   Typo : Cormorant Garamond + Jost
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir:     #090909;
  --noir-2:   #111111;
  --noir-3:   #1a1a1a;
  --noir-4:   #242424;
  --or:       #D4A84B;
  --or-doux:  #FFD966;
  --or-pale:  #FFF0B0;
  --blanc:    #F5EFE3;
  --gris:     #BEB0A0;
  --sep:      rgba(198,151,63,0.15);
  --trans:    all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Texture bruit subtile */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
  transition: var(--trans);
}
.nav.scrolled {
  padding: 16px 48px;
  background: rgba(9,9,9,0.97);
  border-bottom: 1px solid var(--sep);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--or-doux); line-height: 1;
}
.nav-logo-sub {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gris); font-weight: 300;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: rgba(240,208,128,0.7);
  transition: color 0.3s; padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--or-doux); border-bottom-color: var(--or); }
.nav-cta {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--noir);
  background: var(--or); padding: 10px 22px;
  transition: var(--trans); white-space: nowrap;
}
.nav-cta:hover { background: var(--or-doux); }

/* Burger — visible mobile seulement */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-burger span {
  display: block; width: 22px; height: 1px;
  background: var(--or-doux); transition: var(--trans);
}

/* Menu mobile overlay */
.mobile-nav {
  display: none;
  position: fixed !important; top: 0 !important; left: 0 !important;
  right: 0 !important; bottom: 0 !important;
  width: 100% !important; height: 100% !important;
  z-index: 9999 !important;
  background: #090909 !important;
  flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 80px 36px 40px;
}
.mobile-nav.open { opacity: 1 !important; pointer-events: all !important; }
.mobile-nav a {
  font-family: 'Jost', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 300 !important;
  text-decoration: none !important;
  color: #F5EFE3 !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
  padding: 18px 0;
  width: 100%;
  display: block !important;
  border-bottom: 1px solid rgba(198,151,63,0.25) !important;
}
.mobile-nav a:first-of-type { border-top: 1px solid rgba(198,151,63,0.25) !important; }
.mobile-nav a:hover, .mobile-nav a:active { color: #D4A84B !important; }
.mobile-nav-close {
  position: absolute !important; top: 20px !important; right: 20px !important;
  background: none !important; border: none !important; cursor: pointer !important;
  color: #BEB0A0 !important; font-size: 1.1rem !important; line-height: 1;
  z-index: 10000 !important;
}

/* ─── UTILITAIRES ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.eyebrow-line { width: 28px; height: 1px; background: var(--or); flex-shrink: 0; }
.eyebrow-text {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--or);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1; color: var(--blanc);
}
.section-title em { font-style: italic; color: var(--or-doux); }
.section-lead {
  font-size: 0.88rem; color: rgba(245,239,227,0.55);
  max-width: 540px; margin-top: 14px; line-height: 1.9;
}
.sep-line { width: 100%; height: 1px; background: var(--sep); }

/* ─── BOUTONS ─── */
.btn-or {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--noir); background: var(--or);
  padding: 14px 32px; transition: var(--trans); border: none; cursor: pointer;
}
.btn-or:hover { background: var(--or-doux); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none;
  color: var(--or-doux); border: 1px solid rgba(198,151,63,0.35);
  padding: 14px 32px; transition: var(--trans); cursor: pointer; background: none;
}
.btn-ghost:hover { border-color: var(--or-doux); background: rgba(198,151,63,0.06); }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--sep);
  padding: 64px 0 32px;
  position: relative; z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 52px;
}
.footer-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; color: var(--or-doux); display: block; margin-bottom: 4px;
}
.footer-logo-sub {
  font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gris); display: block; margin-bottom: 18px;
}
.footer-brand-desc { font-size: 0.78rem; color: rgba(245,239,227,0.35); line-height: 1.8; max-width: 220px; }
.footer-col-title {
  font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--or); margin-bottom: 18px; display: block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.78rem; color: rgba(245,239,227,0.38); text-decoration: none; transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--or-doux); }
.footer-bottom {
  border-top: 1px solid var(--sep); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.7rem; color: rgba(245,239,227,0.22); text-decoration: none;
}
.footer-bottom a:hover { color: var(--gris); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE GLOBAL
   ============================================================ */

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav { padding: 20px 32px; }
  .nav.scrolled { padding: 14px 32px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .mobile-nav { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 14px 20px; }
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-or, .btn-ghost { width: 100%; justify-content: center; }
}

/* ─── CALENDRIER DISPONIBILITÉS ─── */
.cal-container { background:var(--noir-2); border:1px solid var(--sep); padding:20px 24px; }
.cal-nav-bar { display:flex; justify-content:flex-end; gap:8px; margin-bottom:14px; }
.cal-nav-btn { background:none; border:1px solid var(--sep); color:var(--gris); width:32px; height:32px; font-size:1.2rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:var(--trans); }
.cal-nav-btn:hover:not(:disabled) { border-color:var(--or); color:var(--or-doux); }
.cal-nav-btn:disabled { opacity:0.3; cursor:default; }
.cal-month-title { font-family:'Cormorant Garamond',serif; font-size:1.2rem; font-weight:300; color:var(--or-doux); margin-bottom:10px; text-align:center; }
.cal-month-grid { display:grid !important; grid-template-columns:repeat(7,1fr) !important; gap:4px; width:100%; }
.cal-dn { display:flex !important; align-items:center; justify-content:center; font-size:0.58rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--gris); padding:4px 0 6px; }
.cal-day { display:flex !important; align-items:center; justify-content:center; aspect-ratio:1; font-size:0.82rem; border-radius:4px; font-weight:300; min-height:36px; }
.cal-empty { background:none !important; }
.cal-free { background:rgba(198,151,63,0.09); color:rgba(245,239,227,0.75); cursor:pointer; }
.cal-free:hover { background:rgba(198,151,63,0.28); color:var(--or-doux); }
.cal-busy { background:rgba(180,50,50,0.15); color:rgba(240,100,100,0.4); cursor:not-allowed; text-decoration:line-through; }
.cal-today { outline:2px solid var(--or); outline-offset:-2px; }
.cal-legend-bar { display:flex; gap:20px; margin-top:14px; flex-wrap:wrap; }
.cal-leg-item { display:flex; align-items:center; gap:7px; font-size:0.6rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--gris); }
.cal-leg-dot { width:12px; height:12px; border-radius:3px; display:inline-block; }
.cal-leg-dot.cal-free { background:rgba(198,151,63,0.3); }
.cal-leg-dot.cal-busy { background:rgba(180,50,50,0.4); }
