
/* =========================================================
   BASE
========================================================= */

:root {
  --black: #0a0908;
  --warm-black: #12100e;
  --ivory: #f2eee6;
  --paper: #f8f5ef;
  --brown: #5b3621;
  --text: #181512;
  --muted: #746d65;
  --line: rgba(24, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
}

a {
  color: inherit;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  background-image: url("images/maturation_boeuf.jpg");
  background-size: cover;
  background-position: center 42%;
  overflow: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 4, 3, .86) 0%,
      rgba(5, 4, 3, .74) 25%,
      rgba(5, 4, 3, .46) 47%,
      rgba(5, 4, 3, .12) 72%,
      rgba(5, 4, 3, .05) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .35) 0%,
      rgba(0, 0, 0, .05) 35%,
      rgba(0, 0, 0, .25) 100%
    );
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: relative;
  z-index: 20;
  width: min(1400px, calc(100% - 72px));
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1.1fr auto auto;
  align-items: center;
  gap: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-main {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.brand-sub {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .72;
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a,
.nav-dropdown-button {
  color: white;
  background: none;
  border: none;
  padding: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.main-nav > a:hover,
.nav-dropdown-button:hover {
  opacity: .70;
}


/* =========================================================
   DROPDOWN BOUTIQUES
========================================================= */

.nav-dropdown {
  position: relative;
  padding: 35px 0;
}

.nav-dropdown-button {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-arrow {
  font-family: Arial, sans-serif;
  font-size: 13px;
  opacity: .8;
}

.dropdown-menu {
  position: absolute;
  top: 78px;
  left: -20px;
  width: 240px;
  padding: 10px;
  background: rgba(15, 13, 11, .97);
  border: 1px solid rgba(255, 255, 255, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 14px 15px;
  color: white;
  text-decoration: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, .08);
}


/* =========================================================
   CTA HEADER
========================================================= */

.header-cta {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta span {
  margin-left: 12px;
}


/* =========================================================
   CONTENU HERO
========================================================= */

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(130px, 17vh, 190px);
  padding-bottom: 140px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .30em;
  font-size: 11px;
  font-weight: 500;
}

.hero h1,
.section h2,
.season-section h2,
.shop-card h3,
.product-card h3,
.info-card h3,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(64px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .88;
}

.hero-intro {
  max-width: 710px;
  margin: 30px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 40px;
}


/* =========================================================
   BOUTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 600;
}

.btn span,
.text-link span {
  margin-left: 12px;
}

.btn-light {
  background: white;
  color: #111;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .68);
  color: white;
}


/* =========================================================
   FLÈCHE HERO
========================================================= */

.scroll-indicator {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 38px;
  width: 28px;
  height: 28px;
}

.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid white;
  border-bottom: 1.5px solid white;
  transform: rotate(45deg);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 110px 0;
}

.section-light {
  background: var(--paper);
}

.section-ivory {
  background: var(--ivory);
}

.section-dark {
  background: var(--warm-black);
  color: white;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 62px;
}

.section-heading.light {
  color: white;
}

.section h2,
.season-section h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.035em;
}

.section-heading > p:last-child,
.house-copy p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.section-dark .section-heading > p:last-child {
  color: rgba(255, 255, 255, .66);
}


/* =========================================================
   BOUTIQUES
========================================================= */

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

.shop-card {
  background: white;
}


/* =========================================================
   PHOTOGRAPHIES DES BOUCHERIES

   Format identique : 8:5
   Noir et blanc appliqué par le navigateur
   Cadrage individuel de chaque photographie
========================================================= */

.shop-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: #ddd7ce;
}

.shop-photo img {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  max-width: none;

  /* Remplissage de l'encart */
  object-fit: cover;

  /* Traitement noir et blanc */
  filter:
    grayscale(100%)
    contrast(1.06)
    brightness(1.02);
}


/* =========================================
   CADRAGE : LE BILLOT DE DAGUERRE
========================================= */

.shop-photo--daguerre img {
  object-position: center center;
}


/* =========================================
   CADRAGE : BOUCHERIE DU SQUARE
========================================= */

.shop-photo--square img {
  object-position: center top;
}


/* =========================================================
   CONTENU DES CARTES BOUTIQUES
========================================================= */

.shop-card-content {
  padding: 34px 34px 38px;
}

.shop-location {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 10px;
  color: var(--muted);
}

.shop-card h3,
.info-card h3 {
  margin: 0;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.shop-card-content > p:not(.shop-location),
.info-card > p:not(.shop-location) {
  line-height: 1.7;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 600;
}


/* =========================================================
   PRODUITS
========================================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-image {
  min-height: 380px;
}

.placeholder-dark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #201d1a;
  color: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
}

.product-card h3 {
  margin: 22px 0 5px;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.product-card p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
}

.section-button {
  margin-top: 45px;
}


/* =========================================================
   LA MAISON
========================================================= */

.house-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 100px;
  align-items: end;
}

.house-copy p {
  margin-top: 0;
}


/* =========================================================
   CARTE DE SAISON
========================================================= */

.season-section {
  padding: 90px 0;
  background: #5a3420;
  color: white;
}

.season-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.season-inner > div {
  max-width: 730px;
}

.season-kicker {
  color: rgba(255, 255, 255, .7);
}

.season-section p {
  max-width: 650px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .74);
}


/* =========================================================
   INFORMATIONS PRATIQUES
========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  padding: 38px;
  background: white;
  border: 1px solid rgba(0, 0, 0, .07);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding: 80px 0 26px;
  background: #0c0b0a;
  color: white;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand {
  font-size: 34px;
}

.footer-top p {
  color: rgba(255, 255, 255, .58);
  line-height: 1.7;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a,
.footer-bottom a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
}

.footer-bottom div {
  display: flex;
  gap: 25px;
}


/* =========================================================
   RESPONSIVE TABLETTE
========================================================= */

@media (max-width: 1100px) {

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-card:last-child {
    grid-column: span 2;
  }

  .house-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .season-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 720px) {

  .container,
  .hero-inner {
    width: calc(100% - 32px);
  }

  .site-header {
    width: calc(100% - 32px);
    min-height: 76px;
  }

  .brand-main {
    font-size: 24px;
  }

  .brand-sub {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(4, 3, 2, .88) 0%,
        rgba(4, 3, 2, .67) 65%,
        rgba(4, 3, 2, .30) 100%
      );
  }

  .hero-inner {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 80px);
  }

  .hero-intro {
    font-size: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 80px 0;
  }

  .shop-grid,
  .product-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .product-image {
    min-height: 300px;
  }

  /* Les photos des boutiques conservent
     automatiquement leur ratio 8:5 */

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }

}
