@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap");
:root {
  --cream: #f8f4eb;
  --ink: #3c3025;
  --rust: #a4472d;
  --olive: #555c3e;
  --line: #ded5c6;
  --paper: #fffdf7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    15px/1.65 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 5px;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}
h1 {
  font-size: clamp(58px, 6.5vw, 100px);
  letter-spacing: -4px;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(38px, 4vw, 60px);
  letter-spacing: -1.5px;
  margin-bottom: 25px;
}
h3 {
  font-size: 30px;
}
em {
  color: var(--rust);
  font-weight: 400;
}
.topline {
  background: var(--olive);
  color: #fff;
  font-size: 10px;
  text-align: center;
  letter-spacing: 2px;
  padding: 9px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.5px;
}
.brand span {
  display: block;
  font:
    8px/2.8 "DM Sans",
    sans-serif;
  letter-spacing: 2.3px;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.button {
  display: inline-block;
  border: 0;
  background: var(--rust);
  color: #fff;
  padding: 16px 23px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}
.button:hover {
  background: #85351f;
}
.button.small {
  padding: 12px 18px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1500px;
  margin: auto;
  padding: 55px 5% 65px;
  gap: 6%;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 24px;
}
.hero-copy {
  padding-top: 20px;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 390px;
  color: #736559;
  font-size: 16px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.text-link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-size: 13px;
}
.hero-note {
  font-size: 11px;
  display: flex;
  gap: 12px;
  color: #796d5f;
  margin-top: 40px;
}
.hero-note span {
  font-size: 32px;
  color: var(--olive);
  line-height: 1;
}
.hero-photo {
  position: relative;
  margin: 0;
  min-height: 560px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  border-radius: 170px 170px 8px 8px;
}
.hero-photo figcaption {
  font-size: 8px;
  letter-spacing: 2px;
  position: absolute;
  bottom: 15px;
  left: 24px;
  color: white;
  text-shadow: 0 1px 5px #000;
}
.stamp {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--cream);
  border: 1px solid var(--rust);
  outline: 6px solid var(--cream);
  border-radius: 50%;
  width: 138px;
  height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--rust);
  transform: rotate(-12deg);
  font-family: Georgia, serif;
  font-size: 22px;
}
.stamp i {
  font-size: 14px;
}
.ribbon {
  padding: 20px;
  display: flex;
  gap: 4vw;
  justify-content: center;
  background: #eae5d7;
  font:
    20px Georgia,
    serif;
  flex-wrap: wrap;
}
.ribbon b {
  color: var(--rust);
}
.section {
  padding: 95px 6%;
  max-width: 1500px;
  margin: auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin-bottom: 35px;
}
.section-head > p {
  max-width: 330px;
  color: #786b60;
}
.occasions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.occasion {
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}
.occasion img {
  width: 100%;
  height: 310px;
  border-radius: 7px;
}
.occasion > div {
  padding: 28px 6px 0;
}
.occasion .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.occasion h3 {
  margin-bottom: 15px;
}
.occasion p {
  max-width: 470px;
  color: #786b60;
}
.occasion a {
  font-size: 13px;
  border-bottom: 1px solid;
}
.menu-section {
  background: #ede9df;
  max-width: none;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.tabs button {
  border: 1px solid #c9bfae;
  border-radius: 30px;
  background: transparent;
  color: var(--ink);
  padding: 10px 20px;
}
.tabs .selected {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--cream);
  padding: 35px;
  border-radius: 6px;
}
.menu-card span {
  color: var(--rust);
  font-size: 11px;
  letter-spacing: 2px;
}
.menu-card h3 {
  margin: 20px 0;
}
.menu-card p {
  color: #786b60;
  min-height: 85px;
}
.menu-card a {
  font-size: 12px;
  border-bottom: 1px solid;
}
.smallprint {
  font-size: 11px;
  margin: 25px 0 0;
  color: #756c60;
}
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
}
.story-art {
  background: var(--olive);
  color: var(--cream);
  padding: 65px 40px;
  border-radius: 200px 200px 8px 8px;
  text-align: center;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-art > span {
  font:
    90px/1 Georgia,
    serif;
  letter-spacing: -5px;
}
.story-art em {
  color: #e5c38b;
  font-size: 60px;
}
.story-art p {
  margin: 40px 0 0;
  font-size: 10px;
  letter-spacing: 3px;
}
.story > div > p:not(.eyebrow) {
  color: #786b60;
}
.steps {
  border-top: 1px solid var(--line);
}
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 45px;
}
.three article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.three span {
  color: var(--rust);
  font-size: 12px;
}
.three h3 {
  font-size: 26px;
  margin: 20px 0;
}
.three p {
  color: #786b60;
}
.request {
  max-width: none;
  background: #e9ddce;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8%;
}
.request > div > p {
  max-width: 340px;
}
.phone {
  display: block;
  font-size: 24px;
  margin: 30px 0;
}
.request form {
  background: var(--paper);
  padding: 35px;
  border-radius: 7px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #d9d0c4;
  border-radius: 4px;
  background: #fffdf8;
  padding: 12px;
  color: var(--ink);
  margin-top: 7px;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  gap: 8px;
  font-size: 10px;
  align-items: start;
}
.check input {
  width: auto;
  margin: 4px 0;
  flex-shrink: 0;
}
.check a {
  text-decoration: underline;
}
.request small {
  font-size: 10px;
  color: #786b60;
}
.trap {
  position: absolute;
  left: -10000px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
}
.faq details p {
  margin: 20px 0 0;
  max-width: 800px;
  color: #786b60;
}
footer {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  padding: 45px 6%;
  background: #3c402f;
  color: #f8f4eb;
  font-size: 12px;
}
footer p {
  margin: 0;
}
#form-status {
  margin: 12px 0;
  color: var(--rust);
}
.notice {
  background: #fff5d6;
  padding: 14px;
  border-radius: 4px;
}
.admin-body {
  background: #f4f2eb;
}
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #39412e;
  color: #fff;
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar .brand {
  font-size: 27px;
  margin-bottom: 35px;
}
.sidebar button {
  border: 0;
  background: transparent;
  text-align: left;
  color: #dedfcd;
  padding: 12px;
  border-radius: 5px;
}
.sidebar button.active {
  background: #566148;
  color: #fff;
}
.sidebar a {
  margin-top: auto;
  font-size: 12px;
}
.admin-main {
  padding: 40px;
  min-width: 0;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}
.admin-head h1 {
  font-size: 42px;
  letter-spacing: -1px;
  margin: 0;
}
.panel {
  background: #fffdf8;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat {
  padding: 25px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.stat strong {
  font: 36px Georgia;
  display: block;
  margin-top: 15px;
}
.muted {
  color: #7d756b;
  font-size: 12px;
}
.toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin: 25px 0;
}
.toolbar input {
  max-width: 320px;
}
.toolbar select {
  max-width: 200px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 16px 10px;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: #8a8175;
  font-size: 11px;
}
.badge {
  font-size: 10px;
  border-radius: 20px;
  background: #e9eddf;
  padding: 6px 10px;
}
.link-button {
  border: 0;
  background: transparent;
  color: var(--rust);
  padding: 5px;
  text-decoration: underline;
}
.empty {
  text-align: center;
  padding: 60px;
  color: #8a8175;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 35px;
  width: min(750px, 95vw);
  max-height: 90vh;
  background: var(--cream);
  color: var(--ink);
}
dialog::backdrop {
  background: #25241680;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
dialog h2 {
  font-size: 32px;
}
.close {
  background: transparent;
  border: 0;
  font-size: 26px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow: auto;
}
.day {
  background: #fffdf8;
  min-height: 100px;
  padding: 8px;
  font-size: 12px;
}
.day a {
  display: block;
  font-size: 10px;
  background: #e9eddf;
  border-left: 2px solid var(--olive);
  padding: 5px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.calendar-head {
  background: #e9e3d8;
  padding: 8px;
  text-align: center;
  font-size: 10px;
}
.login {
  max-width: 420px;
  margin: 12vh auto;
  padding: 35px;
}
.quote-lines {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr 30px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.quote-lines input {
  padding: 8px;
}
.quote-lines button {
  border: 0;
  background: none;
}
.print-sheet {
  display: none;
}
@media (max-width: 900px) {
  header {
    padding: 20px 5%;
  }
  nav > a:not(.button) {
    display: none;
  }
  .hero {
    gap: 30px;
  }
  .hero-photo {
    min-height: 480px;
  }
  h1 {
    font-size: 65px;
  }
  .stamp {
    left: -15px;
    width: 110px;
    height: 110px;
    font-size: 18px;
  }
  .hero-note {
    margin-top: 25px;
  }
  .section {
    padding: 65px 5%;
  }
  .menu-card {
    padding: 25px;
  }
  .story {
    gap: 35px;
  }
  .story-art > span {
    font-size: 70px;
  }
  .story-art em {
    font-size: 43px;
  }
  .request {
    gap: 30px;
  }
  .admin-layout {
    grid-template-columns: 180px 1fr;
  }
  .admin-main {
    padding: 25px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 650px) {
  .topline {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .brand {
    font-size: 26px;
  }
  nav .button {
    font-size: 10px;
    padding: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .hero-copy {
    padding: 0;
  }
  h1 {
    font-size: 70px;
  }
  .hero-photo {
    height: 430px;
    min-height: 0;
    margin: 0 10px 0 30px;
  }
  .hero-photo img {
    height: 100%;
  }
  .ribbon {
    font-size: 15px;
    gap: 12px;
  }
  .section-head {
    display: block;
  }
  .occasions,
  .menu-grid,
  .story,
  .request,
  .three {
    grid-template-columns: 1fr;
  }
  .occasion img {
    height: 250px;
  }
  .story-art {
    min-height: 350px;
  }
  .request form {
    padding: 22px;
  }
  .two {
    gap: 10px;
  }
  .two label {
    font-size: 10px;
  }
  .three {
    gap: 15px;
  }
  .section-head > p {
    max-width: 100%;
  }
  footer {
    flex-wrap: wrap;
    justify-content: start;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    padding: 15px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .sidebar .brand {
    width: 100%;
    margin: 0 0 10px;
  }
  .sidebar button {
    padding: 8px;
    font-size: 11px;
  }
  .sidebar a {
    display: none;
  }
  .admin-head h1 {
    font-size: 30px;
  }
  .admin-main {
    padding: 20px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .quote-lines {
    grid-template-columns: 2fr 1fr 1fr 1fr 25px;
  }
  .calendar {
    min-width: 550px;
  }
  .calendar-scroll {
    overflow: auto;
  }
}
@media print {
  body > *:not(.print-sheet) {
    display: none !important;
  }
  .print-sheet {
    display: block;
    padding: 25px;
    color: #222;
  }
  .print-sheet h1 {
    font-size: 30px;
    letter-spacing: 0;
  }
  .print-sheet table td {
    white-space: normal;
  }
  .print-sheet .total {
    text-align: right;
    font-size: 20px;
  }
  .print-sheet h2 {
    font-size: 22px;
  }
}
header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
header .brand > img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
header .brand > div {
  font-size: 27px;
}
.admin-logo {
  display: block;
  width: 110px;
  border-radius: 6px;
  margin: auto;
}
.login-logo {
  width: 130px;
  display: block;
  margin: 0 auto 25px;
}
.logo-story {
  width: 160px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 30px;
}
@media (max-width: 650px) {
  header .brand > img {
    width: 50px;
    height: 50px;
  }
  header .brand > div {
    font-size: 19px;
  }
  header .brand span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .admin-logo {
    width: 65px;
    margin: 0;
  }
}
.sidebar .brand {
  margin-top: 0;
}

/* Médias & site (espace équipe) */
.media-upload { border: 1.5px dashed var(--line); transition: border-color .2s, background .2s; }
.media-upload.drag { border-color: var(--rust); background: #fff8f0; }
.upload-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px 120px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.upload-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-row.error em { color: #a4472d; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.slot { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: grid; gap: 6px; }
.slot-thumbs { display: flex; gap: 6px; flex-wrap: wrap; min-height: 56px; align-items: center; }
.slot-thumbs img, .slot-thumbs video { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.media-item { border: 1px solid var(--line); border-radius: 8px; padding: 12px; display: grid; gap: 8px; }
.media-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #eee; }
.media-thumb img, .media-thumb video { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .badge { position: absolute; left: 8px; top: 8px; }
@media (max-width: 600px) { .upload-row { grid-template-columns: 1fr; } }
.steps-list { padding-left: 20px; display: grid; gap: 8px; margin: 14px 0; }
