/* ===== Variables ===== */
:root {
  --terra: #bc4919;
  --terra-dark: #9e3c13;
  --olive: #6d6a3c;
  --cream: #fbf2ec;
  --ink: #1a1a1a;
  --white: #fff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "General Sans", system-ui, sans-serif;
  --radius: 18px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; }
h2 { font-size: clamp(36px, 5vw, 60px); }
h2 em { font-style: italic; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  padding: 15px 30px;
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--terra { background: var(--terra); }
.btn--olive { background: var(--olive); }

/* ===== En-tête ===== */
.header { position: sticky; top: 0; z-index: 50; background: var(--terra); color: var(--white); }
.topbar {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  height: 36px;
  padding: 0 var(--gutter);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  border-bottom: 2px solid var(--cream);
}
.topbar__tel { position: absolute; right: var(--gutter); text-decoration: none; text-transform: uppercase; }
.nav {
  display: flex; align-items: center; gap: 24px;
  height: 78px;
  padding: 0 var(--gutter);
}
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1; }
.logo img { height: 46px; width: auto; max-width: none; align-self: flex-start; object-fit: contain; }
.logo--dark img { height: 72px; }

.nav__links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; text-transform: uppercase; }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transition: transform .25s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { padding: 12px 24px; font-size: 15px; }
.nav__cta-mobile { display: none; }
.nav__burger { display: none; }

/* ===== Hero ===== */
.hero { position: relative; min-height: 580px; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.28); }
.hero__content { position: relative; z-index: 2; padding: 80px var(--gutter); }
.hero h1 { font-size: clamp(44px, 6vw, 64px); margin-bottom: .35em; }
.hero p { font-size: 16px; margin-bottom: 26px; }

/* ===== Histoire ===== */
.story {
  max-width: var(--max); margin: 0 auto;
  padding: 90px var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.story__img { width: 100%; height: auto; border-radius: var(--radius); max-width: 440px; }
.story--reverse { padding-top: 0; }
.story--reverse .story__img { order: 2; justify-self: end; }
.story__text .btn { margin-top: 8px; }
.kicker { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terra); margin-bottom: 6px; }
.story__text p { max-width: 520px; }

/* ===== Produits ===== */
.products { background: var(--cream); border-top: 2px solid var(--terra); border-bottom: 2px solid var(--terra); }
.products__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.products__text {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 70px var(--gutter);
}
.products__text > *:not(.products__watermark) { position: relative; max-width: 560px; }
.products__text .btn { margin-top: 12px; }
.products__watermark {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 240px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(188,73,25,.13);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.products__img { width: 100%; height: 100%; min-height: 360px; max-height: 620px; object-fit: cover; }

/* ===== Avis ===== */
.reviews { max-width: var(--max); margin: 0 auto; padding: 90px var(--gutter) 80px; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.reviews__head h2 { margin: 0; }
.reviews__score { text-align: right; font-size: 14px; }
.stars { color: var(--terra); letter-spacing: .12em; font-size: 22px; line-height: 1; }
.stars--lg { font-size: 34px; }
.reviews__note { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.reviews__note strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1; }
.stars--partial {
  background: linear-gradient(90deg, var(--terra) calc(var(--note) / 5 * 100%), rgba(188,73,25,.22) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews__score a { text-decoration: underline; text-underline-offset: 3px; }
.reviews__score a:hover { color: var(--terra); }

.slider__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding: 4px 2px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; align-self: start; }
.slider__nav { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s;
}
.arrow svg { width: 22px; height: 22px; fill: currentColor; }
.arrow:hover { background: var(--ink); color: var(--white); }
.arrow--light { border-color: var(--white); color: var(--white); }
.arrow--light:hover { background: var(--white); color: var(--terra); }

.review {
  border: 2px solid var(--terra); border-radius: var(--radius);
  padding: 24px 26px 28px; display: flex; flex-direction: column; min-height: 240px;
}
.review__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.review__quote { font-family: var(--serif); font-size: 72px; line-height: .7; color: rgba(188,73,25,.18); }
.review p { font-size: 15px; flex: 1; }
.review footer { font-family: var(--serif); font-size: 17px; display: flex; align-items: center; gap: 10px; }
.review footer::before { content: ""; width: 22px; height: 2px; background: var(--ink); }

/* ===== Instagram ===== */
.insta { position: relative; background: var(--terra); color: var(--white); padding: 90px var(--gutter) 80px; overflow: hidden; }
.insta__head { text-align: center; margin-bottom: 44px; }
.insta__head h2 { margin-bottom: .3em; }
.insta__handle { font-family: var(--serif); font-size: 18px; text-decoration: none; }
.insta .slider { max-width: var(--max); margin: 0 auto; }
.slider__track--gallery { grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; }
.shot { width: 100%; height: auto; border-radius: var(--radius); }
.sparkle { position: absolute; fill: var(--white); }
.sparkle--a { width: 44px; left: 4%; top: 22%; }
.sparkle--b { width: 28px; right: 7%; top: 14%; }

/* ===== Privatisation ===== */
.private { position: relative; min-height: 600px; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; }
.private__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.private::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.25); }
.private__content { position: relative; z-index: 2; padding: 60px var(--gutter); }
.private h2 { margin-bottom: .6em; }

/* ===== Contact, horaires & plan ===== */
.contact { background: var(--cream); border-top: 2px solid var(--terra); padding: 90px var(--gutter); }
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__infos { display: grid; gap: 24px; }

.form { display: grid; gap: 16px; margin-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 12px 14px; background: var(--white);
  border: 2px solid rgba(188,73,25,.35); border-radius: 12px;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.form__consent input { margin-top: 3px; accent-color: var(--terra); }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form__trap { position: absolute; left: -9999px; }
.form__status { margin: 0; font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: #2f7a43; }
.form__status.is-error { color: #b3261e; }

.hours-card { background: var(--white); border: 2px solid var(--terra); border-radius: var(--radius); padding: 26px 28px; }
.hours-card h3 { font-size: 30px; margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid #efe3db; font-weight: 400; text-align: left; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--terra); font-weight: 600; }
.hours tr.is-today th::after { content: " · aujourd'hui"; font-weight: 400; font-size: 13px; }
.open-status { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.open-status:empty { display: none; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; background: #999; }
.open-status.is-open::before { background: #3f9a5a; box-shadow: 0 0 0 4px rgba(63,154,90,.2); }
.open-status.is-closed::before { background: #d9534f; }
.hours-card address { font-style: normal; margin: 16px 0 18px; line-height: 1.5; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__actions .btn { padding: 12px 24px; font-size: 15px; }

.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; background: #efe3db; border: 2px solid var(--terra); }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 500; }
.map iframe { position: relative; display: block; width: 100%; height: 320px; border: 0; }

/* ===== Pied de page ===== */
.footer { padding: 70px var(--gutter) 30px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer__brand p { font-size: 14px; margin: 22px 0; max-width: 560px; }
.footer__social { display: flex; gap: 32px; }
.footer__social a { font-weight: 600; text-transform: uppercase; text-decoration: none; font-size: 14px; }
.footer h3 { font-size: 26px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; text-transform: uppercase; }
.footer li { margin-bottom: 8px; }
.footer li a { text-decoration: none; }
.footer li a:hover, .footer__social a:hover { color: var(--terra); }
.footer__copy { max-width: var(--max); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid #e6dcd5; font-size: 13px; text-align: center; }

/* ===== Animation d'apparition ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 13px; }
}
@media (max-width: 960px) {
  .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav__burger span { height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: center; gap: 18px;
    padding: 28px var(--gutter) 34px; background: var(--terra); border-top: 1px solid rgba(255,255,255,.3);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { font-size: 15px; }
  .nav__cta-mobile { display: block; margin-top: 6px; }

  .story, .products__inner { grid-template-columns: 1fr; }
  .story { gap: 40px; padding-block: 60px; }
  .story__img { max-width: 520px; }
  .story--reverse { padding-top: 0; }
  .story--reverse .story__img { order: 0; }
  .products__img { min-height: 320px; }
  .slider__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .slider__track--gallery { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact { padding-block: 60px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .topbar { justify-content: space-between; font-size: 12px; }
  .topbar__tel { position: static; }
  .nav { height: 68px; }
  .logo img { height: 40px; }
  .logo--dark img { height: 60px; }
  .hero { min-height: 520px; }
  .reviews { padding-block: 60px; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__score { text-align: left; }
  .reviews__note { justify-content: flex-start; }
  .slider__track { grid-auto-columns: 88%; gap: 16px; }
  .slider__track--gallery { grid-auto-columns: 72%; gap: 14px; }
  .products__watermark { font-size: 150px; }
  .private { min-height: 480px; }
  .footer__inner { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hours-card { padding: 22px 18px; }
  .map iframe { height: 280px; }
  .map { min-height: 280px; }
}
