/* ============================================
   LA CAVE DES DARONS — Custom CSS v2
   Aesthetic: Luxury cave à vins, warm & refined
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --bg:       #2e3139;
  --bg2:      #232730;
  --bg3:      #1c1f25;
  --cream:    #f0e4d0;
  --cream2:   #d9cdc0;
  --cream3:   #c2b4a4;
  --gold:     #c9a96e;
  --gold2:    #a07840;
  --radius:   16px;
  --radius-lg:24px;
  --shadow:   0 8px 32px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Liens globaux (tel, mailto, etc.) — couleur site */
a {
  color: var(--cream2);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--gold); }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 1.3rem;
  line-height: 1.9;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: .02em;
}

.section-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: .06em;
  color: var(--gold);
  font-variant: normal;
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 38px;
  height: 2px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 2px;
  opacity: .7;
}

/* ── Navbar ── */
.navbar-overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  background: transparent;
  border-bottom: 1px solid rgba(240,228,208,.0);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.navbar-overlay .nav-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream) !important;
  opacity: .9;
  transition: opacity .2s, color .2s;
}
.navbar-overlay .nav-link:hover,
.navbar-overlay .nav-link.active {
  opacity: 1;
  color: var(--gold) !important;
}
.navbar-overlay.navbar-scrolled {
  background: rgba(35,39,48,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,169,110,.2);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.navbar-toggler { border: none !important; }
.navbar-toggler:focus { box-shadow: none !important; }

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0,0,0,.40) 0%, rgba(0,0,0,.62) 100%),
              url('assets/hero-default.jpg') center center / cover no-repeat;
}
.hero.hero-home {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.60) 100%),
              url('assets/hero-home.jpg') center center / cover no-repeat;
}
.hero.hero-nos-lieux       { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-nos-lieux.jpg'); }
.hero.hero-chez-nous       { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-chez-nous.jpg'); }
.hero.hero-esprit-maison   { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-esprit-maison.jpg'); }
.hero.hero-bouteille       { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-bouteille.jpg'); }
.hero.hero-actualites      { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-actualites.jpg'); }
.hero.hero-animations      { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-animations.jpg'); }
.hero.hero-nous-rencontrer { background-image: linear-gradient(180deg,rgba(0,0,0,.40),rgba(0,0,0,.62)), url('assets/hero-nous-rencontrer.jpg'); }

.hero-inner {
  padding-top: 7rem !important;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  text-shadow: 0 4px 32px rgba(0,0,0,.6);
  animation: heroFadeUp .9s ease both;
}
.hero .lead {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .9rem !important;
  color: var(--gold);
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
  animation: heroFadeUp .9s .18s ease both;
}
.hero-btn-group { animation: heroFadeUp .9s .36s ease both; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .45;
  animation: heroFadeUp .9s .6s ease both;
}
.hero-scroll-hint span {
  font-family: 'Raleway', sans-serif;
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, var(--cream), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes heroFadeUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes scrollPulse {
  0%,100% { opacity:.3; transform:scaleY(1); }
  50%      { opacity:.8; transform:scaleY(1.1); }
}

@media (max-width: 991px) {
  .hero { height: 65vh; min-height: 460px; }
  .hero.hero-home { height: 92vh; min-height: 620px; }
  .hero-inner { padding-top: 6rem !important; }
}

/* ── Buttons ── */
.btn-cream {
  background: var(--gold);
  color: var(--bg3);
  border: 1px solid var(--gold);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .65rem 1.8rem;
  border-radius: 2px;
  transition: background .2s, color .2s, transform .15s;
}
.btn-cream:hover { background: var(--gold2); color: var(--cream); transform: translateY(-1px); }
.btn-outline-light {
  font-family: 'Raleway', sans-serif;
  font-weight: 500; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .65rem 1.8rem; border-radius: 2px;
}
.btn-outline-light:hover { transform: translateY(-1px); }

/* ── Cards ── */
.card-soft {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(240,228,208,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  transition: border-color .25s, box-shadow .25s;
}
.card-soft:hover { border-color: rgba(201,169,110,.25); box-shadow: 0 8px 40px rgba(0,0,0,.22); }

.hr-cream { border:none; border-top:1px solid rgba(240,228,208,.18); margin:2rem 0; }
.hr-gold  { border:none; border-top:1px solid rgba(201,169,110,.3); margin:2rem 0; }

/* ── Gallery ── */
.gallery-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(240,228,208,.12);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  cursor: zoom-in;
  display: block;
}
.gallery-img:hover { transform:scale(1.04); box-shadow:0 12px 32px rgba(0,0,0,.4); border-color:rgba(201,169,110,.4); }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset:0;
  background: rgba(0,0,0,.92); z-index:9999;
  align-items:center; justify-content:center;
  cursor: zoom-out; backdrop-filter:blur(6px);
}
.lightbox-overlay.active { display:flex; }
.lightbox-overlay img { max-width:90vw; max-height:85vh; border-radius:8px; box-shadow:0 16px 64px rgba(0,0,0,.7); animation: lbIn .2s ease; }
.lb-close { position:absolute; top:1.5rem; right:1.5rem; color:var(--cream); font-size:2.2rem; cursor:pointer; opacity:.7; line-height:1; transition:opacity .2s; }
.lb-close:hover { opacity:1; }
@keyframes lbIn { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:scale(1)} }

/* ── Horaires ── */
.horaire-bloc {
  padding: .8rem 0;
  border-bottom: 1px solid rgba(240,228,208,.1);
}
.horaire-bloc:last-child { border-bottom:none; }
.horaire-lieu {
  font-family: 'Raleway', sans-serif;
  font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold);
}
.horaire-detail { color:var(--cream2); font-size:1rem; }

/* ── Formulaire ── */
.form-control, .form-select {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(240,228,208,.18) !important;
  color: var(--cream) !important;
  border-radius: 8px !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(201,169,110,.6) !important;
  box-shadow: 0 0 0 3px rgba(201,169,110,.15) !important;
  background: rgba(255,255,255,.09) !important;
  outline: none;
}
.form-control::placeholder { color: rgba(240,228,208,.3) !important; }
.form-label {
  font-family: 'Raleway', sans-serif;
  font-size: .76rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--cream2); margin-bottom:.4rem;
}
textarea.form-control { resize:vertical; min-height:130px; }

.form-feedback { display:none; padding:1rem 1.4rem; border-radius:10px; font-family:'Cormorant Garamond',serif; font-size:1.05rem; margin-top:1rem; }
.form-feedback.success { display:block; background:rgba(80,160,90,.12); border:1px solid rgba(80,160,90,.3); color:#8ecf96; }
.form-feedback.error   { display:block; background:rgba(160,80,80,.12); border:1px solid rgba(160,80,80,.3); color:#cf9090; }

.btn-spinner { display:none; }
.btn-loading .btn-spinner { display:inline-block; }
.btn-loading .btn-text   { display:none; }

/* ── Adresse info ── */
.info-icon {
  width:38px; height:38px; border-radius:50%;
  background:rgba(201,169,110,.12); border:1px solid rgba(201,169,110,.22);
  display:flex; align-items:center; justify-content:center;
  color:var(--gold); font-size:1rem; flex-shrink:0;
}

/* ── Map ── */
.map-wrapper { border-radius:var(--radius-lg); overflow:hidden; border:1px solid rgba(240,228,208,.12); }
.map-wrapper iframe { display:block; width:100%; height:280px; filter:grayscale(40%) sepia(15%); }

/* ── Footer ── */
.footer {
  background: var(--bg3);
  border-top: 1px solid rgba(201,169,110,.2);
  color: var(--cream2);
  font-family: 'Cormorant Garamond', serif;
}
.footer a { color:var(--cream2); text-decoration:none; transition:color .2s; }
.footer a:hover { color:var(--gold); }
.footer-links a {
  font-family:'Raleway',sans-serif; font-size:.76rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--cream3) !important; transition:color .2s;
}
.footer-links a:hover { color:var(--gold) !important; }

.social-btn {
  width:36px; height:36px; border-radius:50%;
  background:rgba(240,228,208,.07); border:1px solid rgba(240,228,208,.15);
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--cream2) !important; font-size:.9rem; text-decoration:none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.social-btn:hover { background:var(--gold); border-color:var(--gold); color:var(--bg3) !important; transform:translateY(-2px); }

/* ── Misc ── */
.small-muted { color:rgba(240,228,208,.55); font-size:.88rem; }
.text-gold { color:var(--gold); }
.badge-gold { background:rgba(201,169,110,.15); border:1px solid rgba(201,169,110,.3); color:var(--gold); font-family:'Raleway',sans-serif; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; padding:.3rem .7rem; border-radius:20px; }

/* Reveal animations */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.12s; }
.reveal-delay-2 { transition-delay:.24s; }
.reveal-delay-3 { transition-delay:.36s; }

@media (max-width: 767px) {
  body { font-size:1rem; }
  .hero h1 { font-size:2.2rem !important; }
  .gallery-img { height:170px; }
}

/* ── Responsive mobile renforcé ── */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  p { font-size: 1.1rem; }

  .hero h1 { font-size: 2rem !important; }
  .hero .lead { font-size: .8rem !important; letter-spacing: .12em; }
  .hero-inner { padding-left: 1rem; padding-right: 1rem; }

  .gallery-img { height: 150px; }

  .card-soft { padding: 1.2rem !important; }

  .btn-cream, .btn-outline-light { font-size: .75rem; padding: .55rem 1.2rem; }

  .section-title { font-size: 1.3rem; }

  .info-icon { width: 32px; height: 32px; font-size: .85rem; }

  .footer .col-12 { text-align: center; }
  .footer .d-flex.gap-2 { justify-content: center; }
  .footer-links .d-flex { justify-content: center; }

  .navbar-overlay:not(.navbar-scrolled) {
    background: rgba(35,39,48,.85);
    backdrop-filter: blur(10px);
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.7rem !important; }
  .hero.hero-home { min-height: 560px; }
  .d-flex.gap-3.flex-wrap { gap: .6rem !important; }
}

/* Hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-block;
  padding: .35rem .9rem;
  border: 1px solid rgba(201,169,110,.6);
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f0e4d0;
  background: rgba(201,169,110,.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
