@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #f1f0e8;
  --black: #111111;
  --black-soft: #000000;
  --white: #ffffff;
  --muted: rgba(17, 17, 17, 0.68);
  --line: rgba(17, 17, 17, 0.12);
  --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-btn: 0 10px 22px rgba(17, 17, 17, 0.22);
  --radius: 22px;
  --radius-sm: 16px;
  --max-width: 1297px;
}

* {
  box-sizing: border-box;
  font-family: "Space Grotesk", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--bg-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  width: 100%;
}

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

.page {
  width: 100%;
  background: var(--bg-main);
}

.content-wrap {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

/* Placeholder visuel en attente des vrais assets */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: repeating-linear-gradient(
    45deg,
    #e2e1d7,
    #e2e1d7 12px,
    #ecebe0 12px,
    #ecebe0 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(17, 17, 17, 0.45);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px;
}

/* HEADER */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 14px 24px;
}

.topbar-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.announcement {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.92rem, 0.95vw, 1.1rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--white);
  flex-wrap: wrap;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex: 0 0 auto;
}

.icon-pin {
  width: 23px;
  height: 23px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

.topbar-reserve {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-btn);
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.3);
  background: var(--black-soft);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
}

.btn-white:hover {
  background: #eeeeee;
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* HERO */

.hero {
  position: relative;
  height: min(62vh, 720px);
  min-height: 440px;
  width: 100vw;
  margin: 18px 0 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* PAGE HERO (sous-pages) */

.page-hero {
  padding: 150px 20px 40px;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.back-link:hover {
  color: var(--black);
}

.page-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-subtitle {
  margin: 14px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* INTRO */

.intro {
  background: var(--bg-main);
  padding: 46px 20px 54px;
  text-align: center;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

.brand-logo {
  flex: 0 0 auto;
  width: 190px;
  transform: rotate(-2deg);
}

.brand-titles {
  text-align: left;
}

.title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.95;
  color: var(--black);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.subtitle {
  margin: 10px 0 0;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}

.block-title {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.block {
  text-align: center;
}

.block p,
.block a {
  margin: 0;
  font-size: clamp(0.94rem, 1.02vw, 1.08rem);
  line-height: 1.55;
  color: var(--muted);
}

.center-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.center-actions .btn {
  width: 100%;
  max-width: 190px;
}

/* STORY */

.story {
  margin-top: 10px;
  background: var(--black);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
}

.story-image {
  min-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  padding: 48px 42px;
  display: flex;
  align-items: center;
}

.story-content {
  width: 100%;
  max-width: 620px;
}

.story-title {
  margin: 0 0 22px;
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.story-copy p {
  margin: 0 0 16px;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

/* CONTENT SECTIONS (sous-pages) */

.content-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-of-type {
  border-top: 0;
}

.section-head {
  max-width: 720px;
  margin: 0 0 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.section-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.prose p {
  margin: 0 0 18px;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.75;
  color: rgba(17, 17, 17, 0.78);
}

.prose p:last-child {
  margin-bottom: 0;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
}

.aside-card h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.aside-card p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--muted);
}

.aside-card .btn {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  background: rgba(255, 255, 255, 0.5);
}

.dark-panel {
  background: var(--black);
  color: var(--white);
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: var(--shadow-soft);
}

.dark-panel .section-title {
  color: var(--white);
}

.dark-panel .prose p {
  color: rgba(255, 255, 255, 0.8);
}

.dark-panel .section-eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.event-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.event-item .event-name {
  font-weight: 700;
}

.event-item .event-date {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  white-space: nowrap;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--muted);
}

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

/* FOOTER */

.footer {
  padding: 54px 0 20px;
  background: var(--bg-main);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.footer-item h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-size: clamp(0.86rem, 1vw, 1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-item a,
.footer-item p {
  margin: 0;
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  line-height: 1.45;
  color: var(--muted);
}

.footer-item.instagram-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--black);
}

.instagram-icon {
  width: 22px;
  height: 22px;
  border: 2px solid var(--black);
  border-radius: 7px;
  position: relative;
  flex: 0 0 auto;
}

.instagram-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--black);
  border-radius: 50%;
}

.instagram-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  background: var(--black);
  border-radius: 50%;
}

.legal-note {
  margin: 40px auto 0;
  max-width: var(--max-width);
  padding: 0 16px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.45);
}

/* DEGUSTATION BANNER */

.tasting-banner {
  background: var(--black);
  color: var(--white);
  padding: 30px 0;
  margin-top: 8px;
}

.tasting-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.tasting-title {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tasting-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
}

/* GALLERY */

.gallery {
  margin-top: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
}

.gallery-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .info-grid,
  .footer-links,
  .story-grid,
  .section-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 320px;
  }

  .story-grid {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topbar-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .announcement {
    justify-content: center;
  }

  .site-nav {
    justify-content: center;
  }

  .topbar-reserve {
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: relative;
    padding: 12px 14px 0;
  }

  .topbar-grid {
    gap: 14px;
    padding: 14px;
  }

  .hero {
    height: 56vh;
    min-height: 320px;
    margin-top: 0;
  }

  .hero-media {
    object-position: 72% 35%;
  }

  .page-hero {
    padding: 20px 16px 30px;
  }

  .intro,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }

  .brand-row {
    flex-direction: column;
    gap: 18px;
  }

  .brand-titles {
    text-align: center;
  }

  .btn,
  .center-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .story-copy {
    padding: 28px 22px;
  }

  .tasting-grid {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .tasting-grid .btn {
    width: 100%;
  }

  .dark-panel {
    padding: 32px 24px;
  }

  .event-item {
    flex-direction: column;
    gap: 4px;
  }
}
