:root {
  --bordeaux: #7B002C;
  --cream: #F6EFE7;
  --black: #0B0B0B;
  --gold: #C7A64B;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .12);
  --container: 1100px;

  /* Échelles fluides */
  --fs-h1: clamp(2rem, 3.2vw + 1rem, 3.25rem);
  --fs-h2: clamp(1.375rem, 1.4vw + 1rem, 2rem);
  --fs-body: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);

  /* Espacements fluides */
  --space-1: clamp(6px, 0.6vw, 10px);
  --space-2: clamp(10px, 1vw, 16px);
  --space-3: clamp(16px, 1.6vw, 24px);
  --space-4: clamp(24px, 2.4vw, 40px);
  --space-5: clamp(40px, 4vw, 80px);
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--cream);
  color: #111;
  line-height: 1.6;
  font-size: var(--fs-body);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 .6rem;
}
h1 { font-size: var(--fs-h1) }
h2 { font-size: var(--fs-h2) }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-2);
}

.muted { opacity: .75 }

/* ======================= Header & Nav ======================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, .9);
  backdrop-filter: saturate(180%) blur(6px);
  color: #fff;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
  flex-wrap: wrap;            /* ✅ permet de passer la nav sur ligne 2 si besoin */
}

.brand span {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  max-width: 100%;
}

.nav a {
  color: #ddd;
  text-decoration: none;
  margin: 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}

.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-1px) }
.nav a.active { color: #fff; background: var(--bordeaux) }

/* Sur petits écrans, la nav scrolle horizontalement si trop longue */
@media (max-width: 720px) {
  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .nav a { margin: 0 6px; padding: 8px 10px; }
}

/* CTA Header */
.btn-cta {
  background: var(--bordeaux);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, .15);
}
.btn-cta:hover { filter: brightness(1.05) }

/* ======================= Hero ======================= */
.hero {
  background: linear-gradient(160deg, var(--black), #300014 70%);
  color: #fff;
  padding: var(--space-5) 0; /* fluide */
}
.hero h1 { line-height: 1.15 }
.hero p { max-width: 680px; opacity: .9 }

.cta {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn {
  background: var(--bordeaux);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px) }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4) }
.btn-outline:hover { background: rgba(255, 255, 255, .08) }

/* ======================= Grilles Génériques ======================= */
.features { padding: var(--space-4) 0 }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr) }
}
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr }
}

/* Cartes */
.card {
  background: #fff;
  border-radius: 20px;
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  box-shadow: var(--shadow);
}
.hover-rise { transition: transform .25s ease, box-shadow .25s ease }
.hover-rise:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, .18) }

/* ======================= Galerie ======================= */
.gallery { padding: var(--space-3) 0 var(--space-5) }

.pictures{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap: var(--space-2);
  align-items:start;
}
@media (max-width: 1024px){
  .pictures { grid-template-columns: repeat(2,1fr) }
}
@media (max-width: 640px){
  .pictures { grid-template-columns: 1fr }
}

/* Carte image */
.pictures .pic{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:0;
  /* Hauteur fluide mais raisonnable ; bascule auto en mobile */
  height: clamp(180px, 24vw, 320px);
}
@media (max-width:640px){
  .pictures .pic { height: auto }
}

/* Image entière (pas de crop) */
.pictures .pic img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  border-radius:12px;
}
.pic { padding:0 }

/* ======================= Pages & Form ======================= */
.page-hero {
  background: #fff;
  padding: clamp(40px, 6vw, 70px) 0;
  margin-bottom: clamp(24px, 4vw, 50px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.form {
  background: #fff;
  border-radius: 20px;
  padding: var(--space-3);
  box-shadow: var(--shadow);
}

label { display: flex; flex-direction: column; gap: 6px; font-weight: 600 }
input, textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font: inherit;
  background: var(--cream);
  width: 100%;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(123, 0, 44, .15);
}

/* ======================= Menu (carte) ======================= */
.menu-list .section {
  margin: 30px 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.menu-list .item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px dashed #eee;
  padding: 10px 0;
  gap: 12px;
}
.menu-list .item:last-child { border-bottom: 0 }
.menu-list .item .desc { opacity: .8; font-size: .95rem }

/* Sur mobile : empilage lisible (nom + desc au-dessus, prix dessous à droite) */
@media (max-width: 640px){
  .menu-list .item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .menu-list .item .price {
    align-self: flex-end;
    font-weight: 600;
    background: #f7f4ef;
    padding: 4px 10px;
    border-radius: 999px;
  }
}

/* ======================= Footer ======================= */
.site-footer { margin-top: var(--space-5); background: #111; color: #ddd }
.site-footer .grid-3 { padding: 30px 0 }
.site-footer h4 { color: #fff; margin-bottom: .6rem }
.site-footer a { color: #ddd }

.legal {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 20px;
  padding: 10px 0;
  background: #0b0b0b;
}
.legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 560px){
  .legal-inner { flex-direction: column; align-items: flex-start }
}

.socials a { margin-right: 10px; text-decoration: none }

/* ======================= Avis défilants ======================= */
.reviews-ticker {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #fff;
  color: #111;
  border-top: 1px solid #eee;
}
.reviews-track {
  display: inline-flex;
  gap: 30px;
  animation: scroll 35s linear infinite;
  padding: 14px;
}
.review-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid #eee;
}
.review-pill .star { color: var(--gold) }

@keyframes scroll {
  0% { transform: translateX(0) }
  100% { transform: translateX(-50%) }
}

/* Pause sur hover (UX) */
.reviews-ticker:hover .reviews-track { animation-play-state: paused }

/* Réduction animation si préférence utilisateur */
@media (prefers-reduced-motion: reduce){
  .hover-rise, .btn, .reviews-track, .reveal { transition: none !important; animation: none !important }
}

/* ======================= Effets reveal ======================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none }

/* ======================= Maps ======================= */
.map-embed iframe {
  border-radius: 16px;
  width: 100%;
  height: 420px;
}
@media (max-width: 640px){
  .map-embed iframe { height: 320px; aspect-ratio: 16 / 9 }
}

/* ======================= Breakpoints additionnels ======================= */
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(1.8rem, 4.4vw + 0.8rem, 2.2rem) }
}

/* Mini devices ultra étroits */
@media (max-width: 380px){
  .btn, .btn-cta { padding: 10px 14px; border-radius: 10px }
  .brand span { font-size: 1.05rem }
}
/* ====== MENU BURGER ====== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* Animation croix */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Nav mobile */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 16px;
    transition: right .3s ease;
  }
  .nav.open {
    right: 0;
  }
  .burger {
    display: flex;
  }
}
/* ====== MENU BURGER (mobile) ====== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  z-index: 101;
}
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* Anim -> croix */
.burger.active span:nth-child(1){ transform: rotate(45deg) translateY(8px); }
.burger.active span:nth-child(2){ opacity: 0; }
.burger.active span:nth-child(3){ transform: rotate(-45deg) translateY(-8px); }

/* Panneau nav mobile + overlay */
.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 99;
}
.mobile-overlay.show{ opacity:1; visibility:visible; }

@media (max-width: 768px){
  /* on affiche le burger */
  .burger{ display: flex; }

  /* On transforme la NAV en panneau latéral (spécificité ↑) */
  .site-header .nav{
    position: fixed;
    top: 0;
    right: -100vw;           /* caché par défaut */
    bottom: 0;
    width: 75vw;
    max-width: 340px;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    gap: 12px;
    transition: right .3s ease;
    z-index: 100;
  }
  .site-header .nav.open{ right: 0; }

  /* Liens plus grands et en colonne */
  .site-header .nav a{
    display: block;
    margin: 0;
    padding: 12px 10px;
    color: #ddd;
    font-size: 1.05rem;
  }
  .site-header .nav a.active{ background: var(--bordeaux); color:#fff; }

  /* CTA dans le panneau */
  .site-header .btn-cta{ align-self: stretch; text-align: center; }
}
/* ======= BURGER + NAV MOBILE (FORCE) ======= */
/* Bouton burger */
.burger{
  display:none;
  position:relative;
  width:28px; height:22px;
  cursor:pointer; z-index:1001;
}
.burger span{
  position:absolute; left:0; right:0;
  height:3px; background:#fff; border-radius:2px;
  transition:transform .3s, opacity .3s, top .3s;
}
.burger span:nth-child(1){ top:0 }
.burger span:nth-child(2){ top:9.5px }
.burger span:nth-child(3){ top:19px }

/* Effet croix */
.burger.active span:nth-child(1){ top:9.5px; transform:rotate(45deg) }
.burger.active span:nth-child(2){ opacity:0 }
.burger.active span:nth-child(3){ top:9.5px; transform:rotate(-45deg) }

/* Overlay */
.mobile-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.45);
  opacity:0; visibility:hidden; transition:.3s; z-index:1000;
}
.mobile-overlay.show{ opacity:1; visibility:visible }

/* Panneau NAV */
@media (max-width: 768px){
  /* Affiche le burger */
  .burger{ display:flex; }

  /* Cache la nav par défaut partout (BULLDOZER) */
  .nav{ display:none !important; }

  /* Style du panneau quand ouvert */
  .nav.open{
    display:flex !important;
    position:fixed; top:0; right:0; bottom:0;
    width:75vw; max-width:340px;
    flex-direction:column; align-items:flex-start;
    background:var(--black); padding:80px 22px 22px; gap:14px;
    box-shadow: -8px 0 30px rgba(0,0,0,.25);
    z-index:1002;
  }

  /* Liens dans le panneau */
  .nav.open a{
    display:block; width:100%;
    color:#ddd; padding:12px 10px; margin:0;
    border-radius:10px; font-size:1.06rem;
  }
  .nav.open a:hover{ background:rgba(255,255,255,.08); color:#fff }
  .nav.open a.active{ background:var(--bordeaux); color:#fff }

  /* Optionnel: planque le gros bouton header si tu veux tout dans le panneau */
  /* .btn-cta{ display:none !important; } */
}
