/*
 * Final client refinements.
 * Kept separate so the approved component system remains easy to maintain.
 */

/* Header: two distinct actions, one outlined and one filled. */
.header-inner {
  grid-template-columns: minmax(180px, .82fr) auto minmax(310px, .95fr);
}

.header-actions {
  gap: 9px;
}

.header-actions .call-button {
  min-height: var(--button-height);
  padding: 8px 13px;
  border: 1px solid var(--green);
  background: transparent;
  box-shadow: none;
  color: var(--green);
  font-size: var(--button-font-size);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-actions .call-button svg {
  color: currentColor;
}

.header-actions .call-button:hover {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 7px 16px rgb(216 119 56 / 16%);
  color: var(--white);
  transform: translateY(-1px);
}

.header-actions .call-button:hover svg {
  color: currentColor;
}

.quote-button {
  min-width: 135px;
  background: var(--orange);
  color: var(--white);
}

.quote-button:hover {
  background: var(--green);
}

/* A little more presence on laptop screens, without making the header taller. */
.main-navigation li a {
  font-size: 13.5px;
  font-weight: 650;
}

.header-actions .call-button,
.header-actions .quote-button {
  font-size: 13px;
}

/* Titles use #719e74 consistently on light backgrounds. */
.page-canvas .section-title,
.services-title,
.brand-story-title,
.reasons-heading .section-title,
.trust-heading h2,
.testimonial-heading h3,
.newsletter-copy h2,
.contact-form-heading h2,
.contact-location-copy h2,
.legal-document h2,
.legal-document h3,
.blog-card h3,
.basket-example-lists h3,
.basket-delivery-points h3,
.catering-practical-grid h3,
.about-commitments-grid h3 {
  color: var(--green) !important;
}

.page-canvas .section-title,
.services-title,
.brand-story-title,
.reasons-heading .section-title {
  font-family: var(--header-font);
  font-size: var(--section-title-size) !important;
  font-weight: 680;
  letter-spacing: -1.9px;
  line-height: 1.06;
}

.brand-story-title span,
.reasons-heading .section-title span,
.page-canvas .section-title span,
.services-title span {
  color: var(--green) !important;
}

.reasons-heading .section-eyebrow {
  color: var(--orange) !important;
  font-family: var(--header-font);
  font-size: 11px !important;
  font-weight: 730;
  letter-spacing: 1.8px;
  line-height: normal;
  text-transform: uppercase;
}

/* Titles laid over green or photographic panels stay light for contrast. */
.about-mission-copy .section-title,
.catering-events-copy .section-title,
.about-mission-copy .section-title span,
.catering-events-copy .section-title span {
  color: var(--white) !important;
}

/* The approved alternating palette: two orange cards, two green cards. */
.reason-card {
  color: var(--white) !important;
}

.reason-expertise,
.reason-waste {
  background: var(--orange) !important;
}

.reason-variety,
.reason-flexible {
  background: var(--green) !important;
}

.reason-card > svg,
.reason-card h3 {
  color: var(--white) !important;
}

.reason-card p {
  color: rgb(255 255 255 / 86%) !important;
}

/* Two meaningful figures, with the 35-year history clearly leading. */
.brand-story-stats-focused {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 12px;
  padding: 0;
  border: 0;
}

.brand-story-stats-focused > div {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  border: 1px solid rgb(113 158 116 / 22%);
  border-radius: var(--radius);
  background: rgb(113 158 116 / 10%);
}

.brand-story-stats-focused .brand-story-stat-primary {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: var(--green);
}

.brand-story-stats-focused .brand-story-stat-primary::after {
  content: none;
}

.brand-story-stat-fruit {
  position: absolute;
  right: -13px;
  bottom: -20px;
  width: 110px;
  height: 110px;
  color: var(--orange);
  opacity: .68;
  transform: rotate(9deg);
  pointer-events: none;
}

.brand-story-stats-focused dt {
  position: relative;
  z-index: 1;
  color: var(--green);
  font-size: clamp(32px, 3vw, 43px);
}

.brand-story-stats-focused dd {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: var(--text);
  font-family: var(--header-font);
  font-size: 11px;
  font-weight: 650;
}

.brand-story-stats-focused .brand-story-stat-primary dt,
.brand-story-stats-focused .brand-story-stat-primary dd {
  color: var(--white);
}

/* Keep the family photograph natural, without a floating shadow. */
.brand-story-visual,
.brand-story-visual img {
  box-shadow: none !important;
  filter: none !important;
}

.services-intro {
  max-width: 670px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
  text-wrap: balance;
}

/* Green buttons always use the same approved green. */
.brand-story-link,
.process-link,
.blog-section-link,
.legal-source-link,
.basket-trial-cta .hero-button-primary,
.contact-call {
  background: var(--green) !important;
}

.brand-story-link:hover,
.process-link:hover,
.blog-section-link:hover,
.legal-source-link:hover {
  background: var(--orange) !important;
}

/* Photo cards: the copy belongs to the image, without a separate panel. */
.basket-difference-grid article {
  position: relative;
  min-height: 340px;
  display: block;
  padding: 0;
  overflow: hidden;
  background: var(--green-dark);
  box-shadow: 0 16px 36px rgb(69 111 77 / 10%);
}

.basket-difference-grid article::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 25% 0 0;
  background: linear-gradient(180deg, transparent, rgb(14 31 20 / 94%));
  pointer-events: none;
}

.basket-difference-grid figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.basket-difference-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basket-difference-grid article > div {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px 23px;
}

.basket-difference-grid h3 {
  color: var(--white);
  font-size: 17px;
}

.basket-difference-grid p {
  max-width: 290px;
  color: rgb(245 245 220 / 88%);
  font-size: 14px;
}

/* Fruit motifs are reserved for calls to action. */
.contact-cta-motifs {
  display: block !important;
}

.contact-cta-fruit-left {
  color: var(--cream);
  opacity: .15;
}

.contact-cta-fruit-right {
  color: var(--orange);
  opacity: .2;
}

.basket-trial-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: none;
}

.basket-trial-copy,
.basket-trial-cta > a {
  position: relative;
  z-index: 2;
}

.basket-trial-motifs {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.basket-trial-fruit {
  position: absolute;
  width: auto;
}

.basket-trial-fruit-left {
  bottom: -34px;
  left: -25px;
  height: 112px;
  color: var(--cream);
  opacity: .2;
  transform: rotate(-10deg);
}

.basket-trial-fruit-right {
  top: -78px;
  right: -48px;
  height: 190px;
  color: var(--green-dark);
  opacity: .18;
  transform: rotate(12deg);
}

.basket-trial-cta .hero-button-primary {
  background: var(--green);
  box-shadow: 0 8px 18px rgb(48 79 55 / 16%);
}

.basket-trial-cta .hero-button-primary:hover {
  background: var(--cream);
  color: var(--green-dark);
  box-shadow: 0 9px 20px rgb(48 79 55 / 14%);
}

/* Every repeated CTA uses the same orange panel and green action. */
.contact-inner {
  background: var(--orange) !important;
  box-shadow: 0 18px 42px rgb(189 96 39 / 13%);
}

.contact-kicker,
.contact-inner h2 {
  color: var(--white) !important;
}

.contact-cta-fruit-left {
  color: var(--cream);
  opacity: .2;
}

.contact-cta-fruit-right {
  color: var(--green);
  opacity: .25;
}

.contact-inner .contact-call {
  color: var(--white);
}

.contact-inner .contact-call svg {
  color: var(--white);
}

.contact-inner .contact-call:hover {
  background: var(--cream) !important;
  color: var(--green-dark);
}

.contact-inner .contact-call:hover svg {
  color: var(--green);
}

/* Readable copy on all #719e74 cards. */
.contact-direct-card {
  background: var(--green) !important;
  color: var(--white);
}

.contact-direct-card .contact-card-kicker,
.contact-direct-card h2,
.contact-direct-card > p,
.contact-direct-card a,
.contact-direct-card small,
.contact-direct-card .contact-service-area,
.contact-direct-card .contact-service-area small {
  color: var(--white) !important;
}

.contact-direct-card > p:not(.contact-card-kicker),
.contact-direct-card small {
  color: rgb(255 255 255 / 82%) !important;
}

.contact-direct-card .contact-direct-links a {
  background: rgb(255 255 255 / 12%);
}

.contact-direct-card .contact-direct-links a:hover {
  background: rgb(255 255 255 / 20%);
}

.contact-direct-card svg,
.contact-direct-card .contact-direct-links a > svg,
.contact-direct-card .contact-service-area svg {
  color: var(--cream) !important;
}

.contact-direct-card .contact-service-area {
  border-color: rgb(255 255 255 / 22%);
}

/* Legal navigation follows the exact same green and contrast rules. */
.legal-navigation {
  background: var(--green) !important;
}

.legal-navigation > p {
  color: var(--white) !important;
}

.legal-navigation a {
  color: rgb(255 255 255 / 88%) !important;
}

.legal-navigation a:hover,
.legal-navigation a.is-active {
  background: var(--cream) !important;
  color: var(--green-dark) !important;
}

/* Logos keep moving; reviews move only when the visitor asks. */
.trust-inner {
  display: block;
}

.trust-heading {
  text-align: center;
}

.trust-heading h2 {
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: var(--section-title-size);
}

.trust-heading h2 svg {
  width: 25px;
  height: 25px;
  color: var(--green);
}

.logo-marquee {
  margin-top: clamp(34px, 4vw, 52px);
}

.testimonial-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(56px, 6vw, 82px);
}

.testimonial-heading h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--header-font);
  font-size: clamp(27px, 3.1vw, 42px);
  font-weight: 680;
  letter-spacing: -1.5px;
  line-height: 1.08;
  text-wrap: balance;
}

.testimonial-controls {
  flex: 0 0 auto;
  display: flex;
  gap: 9px;
}

.testimonial-control {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.testimonial-control svg {
  width: 17px;
  height: 17px;
}

.testimonial-control-prev svg {
  transform: rotate(180deg);
}

.testimonial-control:hover:not(:disabled) {
  background: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.testimonial-control:disabled {
  opacity: .32;
  cursor: default;
}

.testimonial-carousel {
  margin-top: 26px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-carousel-track {
  display: flex;
  gap: 16px;
}

.testimonial-slide {
  min-height: 190px;
  flex: 0 0 calc((100% - 32px) / 3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 29px;
  border: 0;
  border-radius: var(--radius);
  background: var(--card-surface);
  box-shadow: 0 14px 32px rgb(69 111 77 / 8%);
  scroll-snap-align: start;
}

.testimonial-slide:nth-child(even) {
  background: var(--card-surface);
}

.testimonial-slide p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.testimonial-slide cite {
  margin-top: 21px;
  color: var(--green);
  font-family: var(--header-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

/* Footer: stronger contrast and a cream support behind the transparent logo. */
.footer-brand > a {
  padding: 12px 14px;
  border: 1px solid rgb(69 111 77 / 12%);
  background: var(--cream);
  box-shadow: 0 10px 24px rgb(13 31 20 / 13%);
}

.footer-brand img {
  width: 190px;
}

.footer-brand p {
  color: rgb(255 255 255 / 90%);
}

.footer-column a,
.footer-column span {
  color: rgb(255 255 255 / 88%);
}

.footer-column a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration-color: var(--orange);
}

.footer-bottom {
  color: rgb(255 255 255 / 72%);
}

.back-to-top {
  color: rgb(255 255 255 / 88%);
}

/* Noticeable but early scroll motion: content is never fully hidden. */
.has-scroll-reveal .scroll-reveal {
  opacity: .68;
  transform: translateY(20px) scale(.995);
  will-change: opacity, transform;
  transition: opacity 600ms ease, transform 680ms cubic-bezier(.2,.75,.25,1);
}

.has-scroll-reveal .scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: minmax(160px, .72fr) auto minmax(290px, .88fr);
  }

  .header-actions .call-button,
  .quote-button {
    font-size: 12.5px;
  }

  .main-navigation li a {
    font-size: 12.75px;
  }

  .testimonial-slide {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 1120px) {
  .main-navigation li a {
    font-size: clamp(17px, 4.8vw, 20px);
  }

  .main-navigation .mobile-call-button {
    width: fit-content;
    min-height: var(--button-height);
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 13px;
    border: 1px solid rgb(245 245 220 / 82%);
    background: transparent;
    box-shadow: none;
    color: var(--cream);
    font-size: 13px;
  }

  .main-navigation .mobile-call-button svg {
    color: currentColor;
  }

  .main-navigation .mobile-call-button:hover {
    border-color: var(--orange);
    background: var(--orange) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
  }

  .mobile-quote-button {
    width: fit-content;
    min-width: 142px;
    font-size: 13px;
  }

  .basket-difference-grid article {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .basket-trial-cta {
    align-items: center;
  }

  .basket-difference-grid article {
    min-height: 300px;
  }

  .footer-brand > a {
    padding: 10px 12px;
  }

  .footer-brand img {
    width: 176px;
  }

  .brand-story-stats-focused {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .brand-story-stats-focused > div {
    min-height: 114px;
    display: flex;
    padding: 19px 15px;
  }

  .brand-story-stats-focused dt {
    font-size: clamp(27px, 8vw, 34px);
  }

  .testimonial-heading {
    align-items: center;
    gap: 18px;
  }

  .testimonial-heading h3 {
    font-size: clamp(24px, 7.4vw, 31px);
  }

  .testimonial-control {
    width: 40px;
    height: 40px;
  }

  .testimonial-slide {
    flex-basis: 100%;
    min-height: 205px;
    padding: 25px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Resilience for content added later from WordPress. */
.client-logo > a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.service-card,
.reason-card,
.testimonial-slide,
.blog-card,
.basket-delivery-points article,
.catering-practical-grid article,
.about-commitments-grid article {
  min-width: 0;
}

.page-canvas h1,
.page-canvas h2,
.page-canvas h3,
.page-canvas p,
.site-footer p,
.site-footer a {
  overflow-wrap: break-word;
}
/* Verrouillage complet du menu mobile */
@media (max-width: 1120px) {
  body.menu-open .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .main-navigation {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

html.menu-open,
body.menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}