:root {
  --ink:      #0D0D0D;
  --slate:    #1C2B3A;
  --teal:     #1A5C52;
  --teal-lt:  #2A8070;
  --sage:     #4A7C6A;
  --cream:    #F4EFE4;
  --parch:    #EBE4D4;
  --warm:     #D9CDB8;
  --rust:     #A63D2F;
  --terra:    #C4622D;
  --sand:     #C8A87A;
  --gold:     #B8954A;
  --ivory:    #FDFAF4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--slate);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem; height: 62px;
}
nav::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--terra), var(--teal), transparent);
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal-lt); object-fit: cover; filter: saturate(0.9); }
.nav-name { font-family: 'Josefin Sans', sans-serif; color: var(--cream); font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-family: 'Josefin Sans', sans-serif; color: rgba(244,239,228,0.65); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--sand); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.burger span { width: 22px; height: 1.5px; background: var(--cream); display: block; }

/* ── HERO ── */
#accueil {
  height: 100vh; min-height: 700px;
  display: grid; grid-template-columns: 55% 45%;
  padding-top: 62px; overflow: hidden;
}
.hero-panel-l {
  background: var(--slate);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 5rem 5rem 6rem;
}
.hero-panel-l::before {
  content: 'BTS';
  position: absolute; bottom: -0.15em; left: -0.05em;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20rem; font-weight: 700; line-height: 1;
  color: rgba(26,92,82,0.06);
  pointer-events: none; user-select: none;
  white-space: nowrap; overflow: hidden; max-width: 100%;
}
.hero-panel-l::after {
  content: '';
  position: absolute; top: 15%; bottom: 15%; left: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
}
.hero-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--teal-lt); margin-bottom: 2.2rem;
  display: flex; align-items: center; gap: 1rem;
}
.hero-label::after { content: ''; flex: 0 0 40px; height: 1px; background: var(--teal-lt); }
h1.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-style: italic;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.05; color: var(--ivory);
  margin-bottom: 0.2rem; position: relative; z-index: 1;
}
h1.hero-title strong { font-style: normal; font-weight: 700; color: var(--teal-lt); display: block; }
h1.hero-title em { color: var(--terra); }
.hero-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sand); margin: 1.8rem 0 3rem; position: relative; z-index: 1;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-teal {
  display: inline-block; padding: 0.85rem 2.4rem;
  background: var(--teal); color: var(--ivory);
  font-family: 'Josefin Sans', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.btn-teal:hover { background: var(--teal-lt); transform: translateY(-2px); }
.btn-line {
  display: inline-block; padding: 0.85rem 2.4rem;
  background: transparent; color: var(--sand);
  font-family: 'Josefin Sans', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(200,168,122,0.4); cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-line:hover { border-color: var(--sand); color: var(--ivory); }
.hero-numbers {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2.5rem; border-top: 1px solid rgba(26,92,82,0.35);
  position: relative; z-index: 1;
}
.hn-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700; color: var(--teal-lt); line-height: 1; }
.hn-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,239,228,0.45); margin-top: 0.2rem; }
.hero-panel-r {
  background: var(--parch);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 500px;
}
.hero-panel-r::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(26,92,82,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26,92,82,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-panel-r::after {
  content: '';
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(26,92,82,0.15);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.hero-logo-box { position: relative; z-index: 2; animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-logo-img {
  width: clamp(260px, 26vw, 400px); height: clamp(260px, 26vw, 400px);
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 10px rgba(26,92,82,0.08), 0 0 0 20px rgba(26,92,82,0.04), 0 30px 80px rgba(28,43,58,0.2);
}
.hero-orbit {
  position: absolute; border-radius: 50%;
  border: 1px dashed rgba(26,92,82,0.25);
  animation: spinSlow 50s linear infinite;
}
.hero-orbit-1 { width: 480px; height: 480px; }
.hero-orbit-2 { width: 580px; height: 580px; animation-direction: reverse; animation-duration: 70s; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.orbit-dot {
  position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--terra);
  box-shadow: 0 0 10px var(--terra);
}

/* ── SECTIONS ── */
section { padding: 7rem 2rem; }
.w { max-width: 1160px; margin: 0 auto; }
.sh { text-align: center; margin-bottom: 4.5rem; }
.sh-tag { font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 1rem; }
.sh-title { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--ink); line-height: 1.2; }
.sh-title.light { color: var(--cream); }
.sh-title span { color: var(--teal); font-style: normal; font-weight: 700; }
.sh-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; color: var(--terra); font-size: 0.9rem; }
.sh-rule::before, .sh-rule::after { content: ''; flex: 0 0 60px; height: 1px; }
.sh-rule::before { background: linear-gradient(90deg, transparent, var(--terra)); }
.sh-rule::after { background: linear-gradient(90deg, var(--terra), transparent); }

/* ── À PROPOS ── */
#apropos { background: var(--ivory); }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.ap-visual { position: relative; }
.ap-logo { width: 100%; max-width: 400px; display: block; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 2px solid var(--teal); box-shadow: 12px 12px 0 var(--warm), 0 20px 60px rgba(28,43,58,0.1); transition: transform 0.5s ease; }
.ap-logo:hover { transform: scale(1.03) rotate(-1deg); }
.ap-float-tag { position: absolute; bottom: 0; right: 2rem; background: var(--teal); color: var(--ivory); font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.7rem 1.4rem; }
.ap-body p { margin-bottom: 1.3rem; color: #3D3428; font-size: 1.05rem; }
.ap-body strong { color: var(--teal); }
.ap-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--warm); margin-top: 2.5rem; border: 1px solid var(--warm); }
.kpi { background: var(--ivory); padding: 1.4rem 1.2rem; text-align: center; }
.kpi-n { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; }
.kpi-l { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7A6E62; margin-top: 0.3rem; }

/* ── BIÈRES ── */
#bieres { background: var(--slate); position: relative; overflow: hidden; }
#bieres::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 0% 100%, rgba(26,92,82,0.25) 0%, transparent 50%), radial-gradient(ellipse at 100% 0%, rgba(164,61,47,0.15) 0%, transparent 50%); }
.bieres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: rgba(26,92,82,0.3); position: relative; z-index: 1; }
.bc { background: var(--slate); cursor: pointer; position: relative; overflow: hidden; transition: background 0.3s; border: 1px solid rgba(26,92,82,0.2); }
.bc:hover { background: #243444; }
.bc-bar { height: 3px; width: 100%; background: var(--teal); transform: scaleX(0.3); transform-origin: left; transition: transform 0.5s cubic-bezier(.22,1,.36,1); }
.bc:hover .bc-bar { transform: scaleX(1); }
.bc-bar.rust { background: var(--rust); }
.bc-bar.terra { background: var(--terra); }
.bc-img-zone { height: 280px; background: rgba(0,0,0,0.15); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.bc-img { height: 265px; max-width: 100%; width: auto; object-fit: contain; transition: transform 0.6s cubic-bezier(.22,1,.36,1); filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4)); }
.bc:hover .bc-img { transform: scale(1.07) translateY(-8px); }
.bc-badge { position: absolute; top: 14px; left: 14px; background: var(--terra); color: var(--ivory); font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 10px; }
.bc-body { padding: 1.8rem 2rem 2.2rem; }
.bc-cat { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 0.4rem; }
.bc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; color: var(--cream); margin-bottom: 0.6rem; }
.bc-desc { font-size: 0.92rem; color: rgba(244,239,228,0.55); line-height: 1.65; margin-bottom: 1.4rem; }
.bc-btn { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-lt); border: none; background: none; cursor: pointer; padding: 0; transition: color 0.2s; display: flex; align-items: center; gap: 8px; }
.bc-btn::after { content: '→'; transition: transform 0.2s; }
.bc-btn:hover { color: var(--sand); }
.bc-btn:hover::after { transform: translateX(4px); }

/* ── SPIRITUEUX ── */
#spiritueux { background: var(--parch); }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.sc { background: var(--ivory); cursor: pointer; position: relative; overflow: hidden; border: 1px solid var(--warm); transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s; }
.sc:hover { transform: translateY(-10px); box-shadow: 0 28px 60px rgba(28,43,58,0.12); }
.sc::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px; background: var(--teal); transform: scaleY(0); transform-origin: top; transition: transform 0.4s; }
.sc:hover::before { transform: scaleY(1); }
.sc-img-zone { height: 320px; background: var(--parch); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.sc-img { height: 300px; max-width: 100%; width: auto; object-fit: contain; transition: transform 0.6s cubic-bezier(.22,1,.36,1); filter: drop-shadow(0 12px 28px rgba(28,43,58,0.18)); }
.sc:hover .sc-img { transform: scale(1.05) translateY(-8px); }
.sc-badge { position: absolute; top: 14px; right: 14px; background: var(--teal); color: var(--ivory); font-family: 'Josefin Sans', sans-serif; font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; }
.sc-body { padding: 2rem 2.2rem 2.5rem; }
.sc-cat { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; }
.sc-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--slate); margin-bottom: 0.6rem; }
.sc-desc { font-size: 0.95rem; color: #5A5248; line-height: 1.7; margin-bottom: 1.4rem; }
.sc-btn { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); border: none; background: none; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.sc-btn::after { content: '→'; transition: transform 0.2s; }
.sc-btn:hover { color: var(--terra); }
.sc-btn:hover::after { transform: translateX(4px); }

/* ── CONTACT ── */
#contact { background: var(--slate); position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(164,61,47,0.12) 0%, transparent 60%); }
.ct-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; position: relative; z-index: 1; }
.ct-left-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-style: italic; font-weight: 300; color: var(--cream); margin-bottom: 2.5rem; }
.ct-item { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.8rem; }
.ct-ico { width: 38px; height: 38px; flex-shrink: 0; border: 1px solid rgba(26,92,82,0.5); display: flex; align-items: center; justify-content: center; color: var(--teal-lt); }
.ct-txt { color: rgba(244,239,228,0.65); font-size: 0.97rem; padding-top: 6px; }
.ct-txt strong { color: var(--sand); display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ff { margin-bottom: 1rem; }
.ff label { font-family: 'Josefin Sans', sans-serif; display: block; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,239,228,0.45); margin-bottom: 0.4rem; }
.ff input, .ff textarea { width: 100%; padding: 0.85rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(26,92,82,0.3); color: var(--cream); font-family: 'Cormorant Garamond', serif; font-size: 1rem; outline: none; transition: border-color 0.25s; }
.ff input::placeholder, .ff textarea::placeholder { color: rgba(244,239,228,0.25); }
.ff input:focus, .ff textarea:focus { border-color: var(--teal-lt); background: rgba(26,92,82,0.08); }
.ff textarea { height: 120px; resize: vertical; }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(244,239,228,0.35); padding: 2.5rem 4rem; border-top: 1px solid rgba(26,92,82,0.3); }
.foot-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(26,92,82,0.4); filter: saturate(0.7); }
.foot-name { font-family: 'Josefin Sans', sans-serif; color: rgba(244,239,228,0.6); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }
.foot-links { display: flex; gap: 2rem; }
.foot-links a { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,239,228,0.35); text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--teal-lt); }
.foot-copy { font-size: 0.78rem; color: rgba(244,239,228,0.25); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(5,10,14,0.92); z-index: 2000; align-items: center; justify-content: center; padding: 2rem; backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--ivory); max-width: 680px; width: 100%; display: grid; grid-template-columns: 200px 1fr; border-left: 3px solid var(--teal); position: relative; overflow: hidden; animation: mIn 0.4s cubic-bezier(.22,1,.36,1); max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@keyframes mIn { from { opacity:0; transform: translateX(-30px); } to { opacity:1; transform: translateX(0); } }
.modal-pic { background: var(--parch); display: flex; align-items: flex-end; justify-content: center; padding: 1.5rem 0.5rem 0; min-height: 320px; }
.modal-pic img { max-height: 290px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 8px 20px rgba(28,43,58,0.2)); }
.modal-cnt { padding: 2.8rem 2.5rem; }
.modal-close { position: absolute; top: 1rem; right: 1rem; font-size: 1.2rem; cursor: pointer; color: rgba(28,43,58,0.4); background: none; border: none; transition: color 0.2s; }
.modal-close:hover { color: var(--slate); }
.modal-cat { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.4rem; }
.modal-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--slate); margin-bottom: 1rem; }
.modal-desc { font-size: 0.97rem; color: #4A4038; line-height: 1.8; margin-bottom: 1.5rem; }
.modal-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mtag { font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.9rem; border: 1px solid rgba(26,92,82,0.3); color: var(--teal); }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  #accueil { grid-template-columns: 1fr; height: auto; min-height: auto; }
  .hero-panel-l { padding: 3rem 2rem; }
  .hero-panel-r { height: 50vw; min-height: 280px; }
  .ap-grid, .sp-grid, .ct-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .bieres-grid { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .modal-pic { min-height: 180px; }
  nav { padding: 0 2rem; }
  .nav-links { display:none; position:absolute; top:62px; left:0; right:0; background: var(--slate); flex-direction:column; padding:1.5rem 2rem; gap:1.2rem; border-bottom:1px solid rgba(26,92,82,0.4); z-index: 999; }
  .nav-links.open { display:flex; }
  .burger { display:flex; }
  .nav-name { display:none; }
  .form-row { grid-template-columns:1fr; }
  footer { padding: 2rem; }
}
