/* Shared presentation for the six service pages. The home stylesheet supplies
   the brand palette, type utilities and premium-action button treatment. */
.tsara-refonte {
  --service-gutter: clamp(1.25rem, 4vw, 3rem);
  --service-gap: clamp(1rem, 2vw, 1.5rem);
  --service-green: #4c6b24;
  --service-cream: #f1efe5;
  --service-deep-green: #233518;
  --service-shadow: 0 24px 65px rgb(47 58 34 / 12%);
}

.tsara-refonte a:focus-visible,
.tsara-refonte summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.tsara-refonte .tsara-skip {
  position: fixed;
  z-index: 60;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  border-radius: .5rem;
  background: #fff;
  color: var(--service-green);
  padding: .6rem 1rem;
}

.tsara-refonte .tsara-skip:focus {
  transform: none;
}

.tsara-refonte .tsara-page-header,
.tsara-refonte .tsara-page-menu nav {
  background: var(--service-deep-green);
}

/* This stylesheet is loaded only by the six service pages. */
html {
  scroll-padding-block-start: 5.5rem;
}

.tsara-refonte .tsara-page-header {
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  transition: background-color .3s ease-out, border-color .3s ease-out,
    box-shadow .3s ease-out, backdrop-filter .3s ease-out;
}

.tsara-refonte .tsara-page-header[data-scrolled] {
  background-color: var(--service-green);
  border-bottom-color: rgb(255 255 255 / 15%);
  box-shadow: 0 12px 38px rgb(15 30 9 / 28%);
  backdrop-filter: blur(12px);
}

.tsara-refonte .tsara-page-header[data-scrolled] .tsara-page-desktop a:hover,
.tsara-refonte .tsara-page-header[data-scrolled] .tsara-page-desktop a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .3em;
}

@media (prefers-reduced-motion: reduce) {
  .tsara-refonte .tsara-page-header {
    transition: none;
  }
}

.tsara-service-shell {
  width: 100%;
  max-width: 92rem;
  padding-inline: var(--service-gutter);
  margin-inline: auto;
}

.tsara-service-hero {
  position: relative;
  background: radial-gradient(ellipse at 76% 16%, #455c2e, transparent 64%),
              linear-gradient(130deg, #182911 0%, #233518 55%, #354b24 100%);
  color: #fff;
  padding-block-end: clamp(2.75rem, 6vw, 5.5rem);
}

.tsara-refonte .tsara-page-crumb {
  color: rgb(255 255 255 / 76%);
  padding-block: 1.15rem clamp(1.65rem, 3.6vw, 3.5rem);
}

.tsara-refonte .tsara-page-crumb a {
  color: #fff;
}

.tsara-service-intro,
.tsara-service-feature {
  display: grid;
  align-items: center;
  gap: clamp(1.55rem, 5vw, 5.25rem);
}

.tsara-service-intro > *,
.tsara-service-feature > *,
.tsara-service-info > * {
  min-width: 0;
}

.tsara-service-intro h1 {
  margin-block-start: .85rem;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.tsara-service-intro p {
  overflow-wrap: break-word;
}

.tsara-service-intro .tsara-service-lead {
  margin-block-start: clamp(1rem, 3vw, 2rem);
}

.tsara-service-intro .tsara-service-action {
  width: fit-content;
  max-width: 100%;
  min-height: 3.5rem;
  height: auto;
  margin-block-start: clamp(1.35rem, 3.4vw, 2rem);
  padding-block: .8rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

.tsara-service-frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: var(--tsara-ratio, 4 / 3);
  background: var(--service-cream);
  border-radius: clamp(1.2rem, 2.8vw, 2.5rem) clamp(2.7rem, 7vw, 7rem)
                 clamp(1.2rem, 2.8vw, 2.5rem) clamp(1.2rem, 2.8vw, 2.5rem);
  box-shadow: var(--service-shadow);
}

.tsara-service-frame > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--tsara-fit, cover);
  object-position: var(--tsara-focus, 50% 50%);
}

.tsara-service-intro > .tsara-service-frame {
  max-width: 34rem;
  justify-self: center;
  box-shadow: 0 30px 80px rgb(12 23 8 / 30%);
}

.tsara-cadre-essentielle {
  --tsara-ratio: 3 / 4;
}

.tsara-cadre-brunch,
.tsara-cadre-buffet {
  --tsara-ratio: 4 / 5;
  --tsara-focus: 50% 100%;
}

.tsara-cadre-box {
  --tsara-ratio: 1312 / 1199;
  --tsara-focus: 52% 50%;
}

.tsara-cadre-portrait {
  --tsara-ratio: 3 / 4;
  --tsara-focus: 50% 100%;
}

.tsara-cadre-signature {
  --tsara-ratio: 738 / 1000;
  --tsara-focus: 50% 50%;
  max-width: 27rem;
}

.tsara-cadre-brunch-table,
.tsara-cadre-bocal-cuisine {
  --tsara-ratio: 3 / 2;
}

.tsara-cadre-planche {
  --tsara-ratio: 4 / 3;
}

.tsara-cadre-afterwork {
  --tsara-ratio: 5 / 4;
  --tsara-focus: 50% 52%;
}

.tsara-service-content {
  display: grid;
  gap: clamp(2.6rem, 7vw, 6rem);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.tsara-service-content h2,
.tsara-service-related h2 {
  margin-block-start: 0;
  text-wrap: balance;
}

.tsara-service-feature > .tsara-service-frame {
  justify-self: center;
}

.tsara-service-info {
  display: grid;
  gap: var(--service-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}

.tsara-service-note,
.tsara-service-zone {
  padding: clamp(1.3rem, 4vw, 2.65rem);
  border: 1px solid var(--border);
  border-radius: clamp(1.25rem, 3vw, 2.25rem);
  background: #fff;
}

.tsara-service-zone {
  background: var(--service-cream);
}

.tsara-service-copy > a,
.tsara-service-copy p > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-block-start: .55rem;
}

.tsara-service-copy p {
  margin-inline-end: 0;
}

.tsara-service-related {
  background: var(--service-cream);
  border-top: 1px solid var(--border);
  padding-block: clamp(2.1rem, 5.4vw, 4.75rem);
}

.tsara-service-related ul,
.tsara-service-producers {
  margin-block-start: clamp(1.15rem, 3.25vw, 2.3rem);
  list-style: none;
}

.tsara-service-related ul {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
}

.tsara-service-related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 3.75rem;
  height: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--background);
  color: var(--service-green);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.tsara-service-related a:hover {
  border-color: var(--service-green);
  background: #fff;
}

.tsara-service-producers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--service-gap);
}

.tsara-service-producers > li {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 30px rgb(47 58 34 / 6%);
}

.tsara-service-producers .tsara-service-frame {
  border-radius: 0;
  box-shadow: none;
  background: #f7f6f0;
}

.tsara-cadre-rivaud {
  --tsara-focus: 54% 49%;
}

.tsara-cadre-laclavette {
  --tsara-focus: 48% 50%;
}

.tsara-cadre-cafe {
  --tsara-fit: contain;
  --tsara-focus: 50% 46%;
}

.tsara-cadre-cafe img {
  transform: scale(1.12);
}

.tsara-cadre-canele {
  --tsara-focus: 50% 55%;
}

.tsara-cadre-bodard {
  --tsara-focus: 52% 54%;
}

.tsara-cadre-jarouilles {
  --tsara-focus: 48% 52%;
}

.tsara-cadre-bocal {
  --tsara-focus: 55% 57%;
}

.tsara-service-producer-content {
  display: grid;
  align-content: start;
  gap: .55rem;
  flex: 1;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.tsara-service-producer-logo {
  display: block;
  width: min(100%, 6rem);
  height: 3.5rem;
  margin-block-end: .1rem;
  object-fit: contain;
  object-position: left center;
}

.tsara-service-producer-content h3,
.tsara-service-producer-content p {
  margin-block-start: 0;
  overflow-wrap: break-word;
}

.tsara-service-producer-name {
  display: inline;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(76 107 36 / 40%);
  text-underline-offset: .16em;
  text-decoration-thickness: 1px;
}

.tsara-service-producer-name:hover {
  text-decoration-color: currentColor;
}

.tsara-service-icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: none;
  vertical-align: baseline;
}

.tsara-service-producer-name .tsara-service-icon {
  margin-inline-start: .25rem;
}

@media (min-width: 40rem) {
  .tsara-service-producers > li {
    flex-basis: calc((100% - var(--service-gap)) / 2);
  }
}

@media (min-width: 52rem) {
  .tsara-service-intro {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  }

  .tsara-service-feature {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    grid-template-areas: "copy media";
  }

  .tsara-service-feature--left {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-areas: "media copy";
  }

  .tsara-service-feature > .tsara-service-copy {
    grid-area: copy;
  }

  .tsara-service-feature > .tsara-service-frame {
    grid-area: media;
  }
}

@media (min-width: 64rem) {
  .tsara-service-producers > li {
    flex-basis: calc((100% - 2 * var(--service-gap)) / 3);
  }
}

@media (min-width: 75rem) {
  .tsara-service-producers > li {
    flex-basis: calc((100% - 3 * var(--service-gap)) / 4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tsara-service-related a {
    transition: none;
  }
}

.tsara-refonte .tsara-service-rating {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3rem .65rem;
  margin: 0 auto .9rem;
  padding: .5rem .95rem;
  border: 1px solid rgb(76 107 36 / 18%);
  border-radius: 1.2rem;
  background: #fff;
  text-decoration: none;
}

.tsara-service-rating-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tsara-service-rating-score {
  color: var(--service-deep-green);
  white-space: nowrap;
}

.tsara-service-rating-score .font-display {
  font-size: 1.3rem;
}

.tsara-service-rating-stars {
  display: inline-flex;
  gap: .12rem;
  color: #f4b400;
}

.tsara-service-rating-stars svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.tsara-service-rating-link {
  text-decoration: underline;
  text-underline-offset: .2em;
}
