/* ===================================================
   Opus Distillery — feuille de style principale
   =================================================== */

:root {
  --navy: #0b1a2e;
  --navy-deep: #08131f;
  --cream: #f4f1e4;
  --ink: #16283e;
  --line: rgba(244, 241, 228, 0.6);
  --font-serif: "Prata", serif;
  --font-sans: "Jost", sans-serif;
  --font-mono: "Cutive Mono", monospace;
  --font-script: "Pinyon Script", cursive;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p + p { margin-top: 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: currentColor;
  margin-top: 0.7rem;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 0.9rem 3.2rem;
  border: 1px solid currentColor;
  transition: background 0.3s, color 0.3s;
}

.btn:hover { background: var(--ink); color: var(--cream); }

.dark .btn:hover, .hero .btn:hover { background: var(--cream); color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem clamp(1.2rem, 4vw, 4rem);
  color: var(--cream);
}

.logo { line-height: 1; }

.logo img {
  height: 82px;
  width: auto;
  display: block;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover, .site-nav a.active { border-bottom-color: currentColor; }

/* Lien mis en avant : precommande */
.site-nav a.cta {
  color: var(--navy-deep, #08131f);
  background: #c8a86b;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border-bottom: none;
  letter-spacing: 0.06em;
  transition: background 0.25s, transform 0.25s;
}

.site-nav a.cta:hover {
  background: #dbbf8c;
  border-bottom: none;
  transform: translateY(-1px);
}

.social { display: flex; gap: 0.7rem; }

.social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social svg { width: 16px; height: 16px; fill: currentColor; }

.social a:hover { background: var(--cream); color: var(--navy); }

/* Menu mobile */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
  width: 42px; height: 42px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 1.2rem;
    background: var(--navy-deep);
    padding: 2rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a.cta { align-self: center; }
  .social { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--cream);
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  padding: 8rem clamp(1.2rem, 5vw, 4rem) 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 19, 31, 0.55), rgba(8, 19, 31, 0.75));
}

.hero > * { position: relative; }

.hero .ornament { width: 170px; margin: 0 auto 2.5rem; }

.hero p {
  max-width: 46rem;
  margin-top: 1.8rem;
}

/* Variante accueil : texte à gauche */
.hero.hero-left {
  text-align: left;
  align-items: flex-start;
}

.hero.hero-left p { max-width: 42rem; }

.hero.hero-left .btn { margin-top: 2.5rem; }

.hero.hero-left .ornament {
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

@media (max-width: 900px) {
  .hero.hero-left .ornament { display: none; }
}

/* ---------- Marquee (texte défilant) ---------- */

.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 4.5rem 0 3.5rem;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  padding: 0 3rem;
}

.marquee-track span:nth-child(even) { opacity: 0.25; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem clamp(1.2rem, 5vw, 4rem);
}

.section.dark {
  background: var(--navy);
  color: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.split.reverse > .split-media { order: 2; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
}

.split-media { position: relative; }

.split-media .tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  padding: 0.8rem 2.2rem;
  border-radius: 0 0 18px 0;
}

.split-text h2 { margin-bottom: 1.6rem; }

.split-text .btn { margin-top: 2.5rem; }

/* ---------- Galerie cocktails (accueil) ---------- */

.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: 1300px;
  margin: 4rem auto 0;
}

.collage img:nth-child(2) { margin-top: 4rem; }
.collage img:nth-child(3) { margin-top: 2rem; }
.collage img:nth-child(4) { margin-top: 5rem; }

@media (max-width: 900px) {
  .collage { grid-template-columns: 1fr 1fr; }
  .collage img { margin-top: 0 !important; }
}

/* ---------- Fiche produit ---------- */

.product-sheet {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  background: #fdfcf7;
}

.product-sheet .sheet-text {
  padding: 4rem clamp(1.2rem, 5vw, 5rem);
}

.product-sheet h2 { margin-bottom: 1.8rem; }

.product-specs {
  margin-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
}

.product-specs div {
  border-top: 1px solid var(--ink);
  padding: 0.8rem 0;
}

.product-specs div:last-child { border-bottom: 1px solid var(--ink); }

.product-sheet .sheet-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .product-sheet { grid-template-columns: 1fr; }
}

/* ---------- Grille recettes ---------- */

.recipes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem clamp(2rem, 4vw, 3rem);
  max-width: 1300px;
  margin: 0 auto;
}

.recipes figure img { width: 100%; }

.recipes figcaption {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-top: 1.4rem;
}

@media (max-width: 700px) {
  .recipes { grid-template-columns: 1fr; }
}

/* ---------- Bandeau CTA ---------- */

.cta-banner {
  position: relative;
  text-align: center;
  color: var(--cream);
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  padding: 8rem clamp(1.2rem, 5vw, 4rem);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 31, 0.55);
}

.cta-banner > * { position: relative; }

.cta-banner p { margin: 1.2rem 0 2.2rem; }

/* ---------- Formulaire contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}

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

.contact-info h2 { margin-bottom: 1.4rem; }

.contact-links { margin: 1.4rem 0; }

.contact-links a { text-decoration: underline; }

form { margin-top: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 1.2rem 0 0.4rem;
}

label small { font-weight: 300; color: #5a6a7d; }

input, textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
}

input:focus, textarea:focus { outline: 2px solid var(--navy); }

textarea { min-height: 130px; resize: vertical; }

form .btn {
  margin-top: 1.8rem;
  background: none;
  cursor: pointer;
  font-family: var(--font-serif);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4.5rem clamp(1.2rem, 5vw, 4rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.footer-grid .ornament { width: 190px; }

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.footer-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--cream);
  margin-top: 1rem;
}

.footer-nav a {
  display: block;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.footer-nav a:hover { opacity: 1; }

.footer-legal {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3.5rem;
}

.footer-legal .disclaimer { opacity: 0.9; }

.footer-legal .copyright { opacity: 0.6; margin-top: 0.3rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
}
