@font-face {
  font-family: "Display";
  src: url("../fonts/display-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Display";
  src: url("../fonts/display-italic-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Texte";
  src: url("../fonts/texte-var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --fond: #f6f3ee;
  --fond-2: #eae4da;
  --texte: #1f1b19;
  --texte-2: #574f49;
  --marque: #78202a;
  --marque-fonce: #57131b;
  --accent: #a4733a;
  --accent-fonce: #855b2b;
  --filet: #dcd4c7;
  --clair: #fdfcf8;
  --sur-marque: #f4e3e1;
  --sur-marque-2: #d8b3b1;
  --sur-marque-3: #aa8280;
  --marque-filet: #96424b;
  --marque-num: #d2a271;
  --accent-clair: #e7cda4;
  --display-soft: normal;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: "Texte", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

h1,
h2,
h3 {
  font-family: "Display", Georgia, serif;
  font-variation-settings: var(--display-soft);
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  font-weight: 620;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

a {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.visuellement-cache {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.evitement {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--marque);
  color: var(--clair);
  padding: 10px 18px;
  z-index: 100;
}

.evitement:focus {
  left: 0;
}

/* boutons */

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-plein {
  background: var(--accent);
  color: #fff;
}

.btn-plein:hover {
  background: var(--accent-fonce);
}

.btn-ligne {
  border-color: var(--clair);
  color: var(--clair);
}

.btn-ligne:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-clair {
  background: var(--clair);
  color: var(--marque-fonce);
}

.btn-clair:hover {
  background: var(--fond-2);
}

/* en-tête */

.entete {
  background: var(--fond);
  border-bottom: 1px solid var(--filet);
  position: sticky;
  top: 0;
  z-index: 50;
}

.entete-int {
  max-width: 1120px;
  margin-inline: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.marque {
  text-decoration: none;
  color: var(--texte);
  display: grid;
}

.marque-nom {
  font-family: "Display", Georgia, serif;
  font-variation-settings: var(--display-soft);
  font-weight: 650;
  font-size: 1.45rem;
  color: var(--marque);
}

.marque-sous {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-2);
}

.nav-bouton {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--texte);
  color: var(--texte);
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
}

.nav-bouton-barres {
  width: 18px;
  border-top: 2px solid currentcolor;
  box-shadow:
    0 5px 0 currentcolor,
    0 10px 0 currentcolor;
  height: 12px;
}

.nav-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-liste a {
  color: var(--texte);
  text-decoration: none;
  font-weight: 500;
}

.nav-liste a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-tel a {
  color: var(--clair);
  background: var(--marque);
  padding: 9px 16px;
  font-weight: 600;
}

.nav-tel a:hover {
  color: var(--clair);
  background: var(--marque-fonce);
  text-decoration: none;
}

/* hero */

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(15, 20, 16, 0.82) 0%,
    rgba(15, 20, 16, 0.35) 45%,
    rgba(15, 20, 16, 0.15) 100%
  );
}

.hero-texte {
  max-width: 1120px;
  width: 100%;
  margin-inline: auto;
  padding: 90px 20px 64px;
  color: var(--clair);
}

.hero-lieu {
  margin: 0 0 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 560;
  max-width: 14em;
}

.hero-phrase {
  max-width: 34em;
  font-size: 1.15rem;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* bandeau faits */

.bandeau {
  background: var(--marque);
  color: var(--clair);
}

.bandeau-liste {
  list-style: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.bandeau-liste li {
  display: grid;
}

.bandeau-liste strong {
  font-family: "Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.bandeau-liste span {
  font-size: 0.9rem;
  color: var(--sur-marque-2);
}

.bandeau-sep {
  color: var(--marque-filet);
  font-size: 1.1rem;
}

/* sections */

.section {
  max-width: 1120px;
  margin-inline: auto;
  padding: 72px 20px 30px;
}

.section-tete {
  border-top: 2px solid var(--texte);
  padding-top: 14px;
  margin-bottom: 40px;
}

.section-num {
  font-family: "Display", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 0 2px;
}

.section-num-clair {
  color: var(--accent-clair);
}

.section-intro {
  max-width: 38em;
  color: var(--texte-2);
  margin: 0;
}

/* prestations (lignes alternées) */

.presta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--filet);
}

.presta:first-of-type {
  border-top: none;
  padding-top: 0;
}

.presta-inverse .presta-texte {
  order: 2;
}

.presta-num {
  color: var(--accent);
  font-style: italic;
  margin-right: 4px;
}

.presta-texte p {
  max-width: 34em;
}

.presta-photo {
  margin: 0;
}

.presta-photo img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border: 1px solid var(--filet);
}

.presta-photo figcaption,
.boutique-photo figcaption {
  font-size: 0.8rem;
  color: var(--texte-2);
  margin-top: 6px;
}

/* section mise en avant (fond marque) */

.commande {
  background: var(--marque);
  color: var(--clair);
  margin-top: 42px;
}

.commande-int {
  max-width: 1120px;
  margin-inline: auto;
  padding: 64px 20px 68px;
}

.commande h2 {
  max-width: 18em;
}

.commande-int > p {
  max-width: 40em;
  color: var(--sur-marque);
}

.etapes {
  list-style: none;
  counter-reset: etape;
  margin: 34px 0 38px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.etapes li {
  counter-increment: etape;
  border-top: 1px solid var(--marque-filet);
  padding-top: 14px;
  color: var(--sur-marque);
}

.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  font-family: "Display", Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--marque-num);
  margin-bottom: 6px;
}

.etapes strong {
  color: var(--clair);
}

/* bloc lieu/boutique */

.boutique {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: start;
}

.boutique-photo {
  margin: 0;
}

.boutique-photo img {
  border: 1px solid var(--filet);
}

.horaires {
  border-collapse: collapse;
  width: 100%;
  max-width: 26em;
  margin: 6px 0 14px;
}

.horaires th,
.horaires td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--filet);
  font-weight: 500;
}

.horaires th {
  color: var(--marque);
  font-weight: 650;
}

.note-horaires {
  font-size: 0.92rem;
  color: var(--texte-2);
}

/* contact */

.section-contact {
  padding-bottom: 78px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
}

.contact address {
  font-style: normal;
  font-size: 1.1rem;
}

.contact-tel a {
  font-family: "Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--marque);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
}

.contact-carte iframe {
  width: 100%;
  height: 380px;
  border: 1px solid var(--filet);
}

.carte-note {
  font-size: 0.8rem;
  color: var(--texte-2);
  margin-top: 6px;
}

/* pied */

.pied {
  background: var(--marque-fonce);
  color: var(--sur-marque-2);
}

.pied-int {
  max-width: 1120px;
  margin-inline: auto;
  padding: 30px 20px 36px;
  font-size: 0.95rem;
}

.pied a {
  color: var(--clair);
}

.pied-note {
  font-size: 0.83rem;
  color: var(--sur-marque-3);
  margin-bottom: 0;
}

/* responsive */

@media (max-width: 860px) {
  .nav-bouton {
    display: flex;
  }

  .nav {
    width: 100%;
  }

  .entete-int {
    align-items: flex-start;
  }

  .nav-liste {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 2px 10px;
    width: 100%;
  }

  .nav-liste.ouverte {
    display: flex;
  }

  .presta,
  .presta-inverse,
  .boutique,
  .contact {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .presta-inverse .presta-texte {
    order: 0;
  }

  .etapes {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bandeau-sep {
    display: none;
  }

  .bandeau-liste {
    justify-content: flex-start;
    gap: 14px 34px;
  }

  .hero {
    min-height: 66vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* frise (histoire) */

.frise {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.frise li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--filet);
}

.frise li:first-child {
  border-top: none;
  padding-top: 0;
}

.frise-annee {
  font-family: "Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--accent);
}

.frise p {
  margin: 0;
  max-width: 38em;
}

.frise strong {
  color: var(--marque);
}

/* références (guides, presse, avis) */

.references {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.reference {
  border: 1px solid var(--filet);
  background: var(--clair);
  padding: 24px 26px 22px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.reference-source {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-fonce);
}

.reference blockquote {
  margin: 0;
  font-family: "Display", Georgia, serif;
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.4;
}

.reference-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--texte-2);
}

/* badges */

.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
}

.badges li {
  border: 1px solid var(--filet);
  background: var(--clair);
  padding: 7px 15px;
  font-size: 0.92rem;
  font-weight: 550;
}

.badges-marque li {
  border-color: var(--marque-filet);
  background: transparent;
  color: var(--sur-marque);
}

/* encadré (info clé) */

.encadre {
  border: 1px solid var(--filet);
  border-left: 4px solid var(--accent);
  background: var(--clair);
  padding: 20px 24px;
  margin: 32px 0 0;
  max-width: 46em;
}

.encadre p {
  margin: 0;
}

.encadre p + p {
  margin-top: 8px;
}

.encadre strong {
  color: var(--marque);
}

@media (max-width: 720px) {
  .frise li {
    grid-template-columns: 64px 1fr;
    gap: 14px;
  }
}

/* effets communs */

.hero-texte > * {
  animation: hero-entree 0.8s ease both;
}

.hero-texte > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-texte > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-texte > :nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes hero-entree {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.revele {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.revele.visible {
  opacity: 1;
  transform: none;
}

.entete {
  transition: box-shadow 0.3s ease;
}

.entete-elevee {
  box-shadow: 0 8px 26px -16px rgba(0, 0, 0, 0.45);
}

.btn {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.reference {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.reference:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.45);
}

.presta-photo img,
.boutique-photo img {
  transition:
    filter 0.5s ease,
    box-shadow 0.5s ease;
}

.presta:hover .presta-photo img,
.boutique-photo:hover img {
  filter: brightness(1.06) saturate(1.06);
}

/* identité : panneau vigneron — hero scindé texte/photo, ombres décalées */

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--marque);
  min-height: 74vh;
}

.hero-photo {
  position: static;
  inset: auto;
  z-index: 0;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  min-height: 420px;
}

.hero-voile {
  display: none;
}

.hero-texte {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  margin: 0;
  max-width: none;
  padding: 88px 56px;
}

.hero-lieu {
  color: var(--sur-marque-2);
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
}

.presta-photo img,
.boutique-photo img {
  border: none;
  box-shadow: 12px 12px 0 var(--fond-2);
}

.presta-inverse .presta-photo img {
  box-shadow: -12px 12px 0 var(--fond-2);
}

.section-tete {
  border-top-width: 4px;
  border-top-color: var(--marque);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-photo {
    grid-column: 1;
    grid-row: 1;
    min-height: 300px;
  }

  .hero-texte {
    grid-row: 2;
    padding: 42px 20px 52px;
  }

  .presta-photo img,
  .boutique-photo img,
  .presta-inverse .presta-photo img {
    box-shadow: 8px 8px 0 var(--fond-2);
  }
}

/* variantes propres à la boucherie */

.hero-lieu::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 12px;
}

.presta-photo img,
.boutique-photo img {
  box-shadow: 14px 14px 0 var(--sur-marque);
}

.presta-inverse .presta-photo img {
  box-shadow: -14px 14px 0 var(--sur-marque);
}
