/* ====================================================
   05-sections.css
   Propre à cette page : hero, produits, mission,
   services, événements, FAQ, contact.
   ==================================================== */

/* --- Hero --- */

.hero {
  position: relative;
  height: clamp(630px, 84vw, 1210px);
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 64%;
  margin-inline: auto;
  padding-top: clamp(94px, 8vw, 116px);
  text-align: center;
}

.hero-category {
  font-family: var(--heading);
  font-size: clamp(15px, 1.7vw, 25px);
  margin-bottom: clamp(14px, 1.4vw, 20px);
}

.hero .eyebrow {
  color: var(--orange);
  margin-bottom: 5px;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-line {
  font-size: clamp(44px, 6.7vw, 96px);
  white-space: nowrap;
}

.hero-title-big {
  font-family: var(--heavy);
  font-size: clamp(91px, 13vw, 187px);
  line-height: .98;
  letter-spacing: -.045em;
  padding-right: .045em;
}

.hero-copy > .button {
  margin-top: clamp(18px, 2vw, 29px);
}

/* Photos flottantes du hero */

.hero-photo {
  position: absolute;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: #48311F;
  transform: rotate(var(--r, 0deg));
  translate: calc(var(--mx, 0) * var(--depth, 0px))
             calc(var(--my, 0) * var(--depth, 0px));
  transition: translate .9s var(--ease);
  will-change: transform, opacity;
}

.hero-photo img {
  transition: transform .7s var(--ease);
}

.hero-photo:hover img {
  transform: scale(1.05);
}

.hero-photo-top {
  left: 13%;
  top: 12%;
  width: 11.5%;
  height: 19%;
  clip-path: var(--photo-shape);
  --r: -5deg;
  --depth: 14px;
  --fdur: 6s;
  --fdel: 0s;
  --idel: .2s;
}

.hero-photo-left {
  left: 6%;
  top: 45%;
  width: 14.5%;
  height: 17%;
  clip-path: var(--photo-shape);
  --r: 3deg;
  --depth: 22px;
  --fdur: 7.4s;
  --fdel: .9s;
  --idel: .45s;
}

.hero-photo-right {
  right: -10%;
  top: 16%;
  width: 34%;
  height: 48%;
  border-radius: 42% 0 0 34% / 25% 0 0 39%;
  --r: -8deg;
  --depth: 30px;
  --fdur: 8.2s;
  --fdel: .4s;
  --idel: .32s;
}

.hero-photo-right img {
  transform: rotate(8deg) scale(1.18);
}

.hero-photo-right:hover img {
  transform: rotate(8deg) scale(1.24);
}

.hero-photo-center {
  top: 43%;
  left: 46%;
  width: 8%;
  height: 22%;
  clip-path: var(--photo-shape);
  --r: 4deg;
  --depth: 38px;
  --fdur: 6.6s;
  --fdel: 1.3s;
  --idel: .6s;
}

/* --- Trois univers culinaires --- */

.products {
  text-align: center;
  padding-bottom: clamp(36px, 4.3vw, 62px);
}

.products .eyebrow {
  color: var(--orange);
  margin-bottom: 8px;
}

.product-grid {
  width: 66%;
  margin: clamp(32px, 4vw, 58px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8.5%;
  text-align: left;
}

/* --- Mission --- */

.mission {
  position: relative;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(55px, 7.5vw, 108px);
}

.mission-title {
  position: relative;
  display: inline-block;
}

.mission h2 {
  font-size: clamp(56px, 8vw, 115px);
}

.mission .sticker {
  width: 58px;
  right: -32px;
  top: -46px;
  font-size: 11px;
  padding: 9px;
}

.mission-copy {
  max-width: 710px;
  width: 56%;
  margin: clamp(24px, 3vw, 43px) auto 0;
  font-size: clamp(14px, 1.45vw, 21px);
  line-height: 1.5;
}

.mission-signature {
  margin-top: clamp(22px, 2.6vw, 37px);
  font-family: var(--heading);
  font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: .035em;
}

/* --- Panneau découpé : sélecteur de services --- */

.services {
  margin-bottom: clamp(45px, 5.5vw, 79px);
}

.service-panel {
  background: var(--background-deep);
  clip-path: var(--panel-shape);
  padding: 10% 7%;
  display: grid;
  grid-template-columns: .9fr 1.4fr 1fr;
  gap: 7%;
  align-items: center;
}

.service-options {
  display: grid;
  gap: 7px;
}

.service-text h3 {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.38;
}

.service-text p {
  margin-top: 22px;
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.5;
  color: var(--muted);
}

.service-photo {
  height: clamp(190px, 25vw, 360px);
  overflow: hidden;
  clip-path: var(--photo-shape);
  background: #48311F;
}

/* --- Grande section photo + texte --- */

.event-section {
  background: var(--background-deep);
  padding-block: clamp(46px, 6vw, 86px);
}

.event-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 9%;
}

.event-copy h2 {
  color: var(--cream);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
}

.event-copy p {
  margin-top: 24px;
  font-size: clamp(14px, 1.45vw, 21px);
  line-height: 1.5;
}

.event-copy .button {
  margin-top: 24px;
}

.event-visual {
  position: relative;
}

.event-photo {
  aspect-ratio: 1;
  overflow: hidden;
  clip-path: polygon(
    50% 0, 62% 7%, 77% 3%, 83% 17%,
    97% 24%, 93% 40%, 100% 53%, 90% 65%,
    94% 80%, 79% 85%, 70% 98%, 54% 94%,
    40% 100%, 29% 89%, 13% 89%, 10% 73%,
    0 63%, 6% 48%, 0 33%, 14% 24%,
    20% 9%, 36% 10%
  );
  background: #48311F;
}

.event-visual .sticker {
  position: absolute;
  top: 4%;
  left: -5%;
  --tilt: -12deg;
}

/* --- FAQ (structure de la section) --- */

.faq {
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(60px, 10vw, 144px);
  text-align: center;
}

.faq h2 {
  font-size: clamp(64px, 9vw, 130px);
}

.faq-intro {
  width: 52%;
  margin: clamp(22px, 3vw, 43px) auto 0;
  font-size: clamp(14px, 1.45vw, 21px);
  line-height: 1.5;
}

.faq-list {
  width: 47%;
  margin: clamp(42px, 7vw, 101px) auto 0;
  text-align: left;
}

/* --- Contact --- */

.contact {
  text-align: center;
  padding-bottom: clamp(70px, 10vw, 144px);
}

.contact > h2 {
  color: var(--gold);
  font-size: clamp(76px, 12vw, 173px);
}

.contact > p {
  margin: 22px auto 0;
  padding-inline: 20px;
  max-width: 600px;
  line-height: 1.5;
}

.contact-panel {
  width: 58%;
  margin: clamp(45px, 6vw, 86px) auto 0;
  padding: 10% 7%;
  background: var(--gold);
  color: var(--background-deep);
  clip-path: var(--panel-shape);
}

.contact-panel h3 {
  color: var(--background-deep);
  font-size: clamp(47px, 6vw, 86px);
}

.contact-panel > p {
  margin-top: 18px;
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.5;
}

.contact-form {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
  min-height: 50px;
}

/* --- Mobile : sections --- */

@media (max-width: 600px) {
  .hero {
    height: 720px;
  }

  .hero-copy {
    width: 94%;
    padding-top: 100px;
  }

  .hero-category {
    font-size: 16px;
  }

  .hero-title-line {
    font-size: clamp(40px, 10vw, 60px);
  }

  .hero-title-big {
    font-size: clamp(82px, 22vw, 132px);
  }

  .hero-photo-top {
    top: 48%;
    left: 8%;
    width: 22%;
    height: 18%;
  }

  .hero-photo-left {
    top: 70%;
    left: 4%;
    width: 24%;
    height: 14%;
  }

  .hero-photo-center {
    top: 55%;
    left: 43%;
    width: 13%;
    height: 23%;
  }

  .hero-photo-right {
    top: 48%;
    right: -20%;
    width: 55%;
    height: 33%;
  }

  .section-heading {
    font-size: 78px;
  }

  .product-grid {
    width: 92%;
    gap: 12px;
  }

  .mission {
    padding-top: 42px;
  }

  .mission h2 {
    font-size: 58px;
  }

  .mission .sticker {
    width: 61px;
    right: -25px;
    top: -30px;
    font-size: 12px;
  }

  .mission-copy {
    width: 94%;
    font-size: 15px;
  }

  .service-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 60px 25px;
    clip-path: polygon(
      0 2%, 50% 0, 100% 2%,
      100% 98%, 50% 100%, 0 98%
    );
  }

  .service-options {
    grid-template-columns: 1fr 1fr;
  }

  .service-text h3 {
    font-size: 25px;
  }

  .service-text p {
    font-size: 15px;
    margin-top: 15px;
  }

  .service-photo {
    height: 260px;
    width: 85%;
    margin-inline: auto;
  }

  .event-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .event-copy h2 {
  font-size: clamp(26px, 7.5vw, 38px);
  line-height: 1.1;
  max-width: 100%;
  text-wrap: balance;
}

  .event-copy p {
    font-size: 15px;
  }

  .event-visual {
    width: 88%;
    margin-inline: auto;
  }

  .event-visual .sticker {
    width: 80px;
    font-size: 19px;
  }

  .faq {
    padding-top: 45px;
  }

  .faq h2 {
    font-size: 70px;
  }

  .faq-intro,
  .faq-list {
    width: 90%;
  }

  .contact > h2 {
    font-size: 88px;
  }

  .contact-panel {
    width: 90%;
    padding: 65px 25px;
    clip-path: polygon(
      0 3%, 50% 0, 100% 3%,
      100% 97%, 50% 100%, 0 97%
    );
  }

  .contact-panel h3 {
    font-size: 53px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   TÉMOIGNAGES (preuve sociale)
   ==================================================== */

.testimonials {
  text-align: center;
  padding-bottom: clamp(40px, 6vw, 90px);
}

.testimonials .eyebrow {
  color: var(--orange);
  margin-bottom: 8px;
}

.testimonials-title-wrap {
  position: relative;
  display: inline-block;
}

.testimonials-title-wrap h2 {
  font-size: clamp(48px, 7vw, 100px);
}

.testimonials-title-wrap .sticker {
  position: absolute;
  right: -16%;
  top: 4%;
  --tilt: 12deg;
}

.testimonials-grid {
  width: 72%;
  margin: clamp(36px, 5vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 32px);
  text-align: left;
}

.testimonials-note {
  margin-top: clamp(30px, 4vw, 52px);
  width: 60%;
  margin-inline: auto;
  font-size: clamp(14px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 86%;
    gap: 3%;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: 1fr;
    width: 88%;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .testimonials-title-wrap h2 {
    font-size: 58px;
  }

  .testimonials-title-wrap .sticker {
    width: 61px;
    right: -25px;
    top: -30px;
    font-size: 12px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    width: 88%;
    gap: 16px;
  }

  .testimonials-note {
    width: 92%;
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    width: 92%;
    gap: 16px;
  }
}

/* --- Formules traiteur --- */

.packages {
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
}

.packages-intro {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}

.package-list {
  width: min(100%, 900px);
  margin: 40px auto 0;
  display: grid;
  gap: 12px;
  text-align: left;
}

.package-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--background-deep);
}

.package-name h3 {
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--orange);
}

.package-name p,
.package-content {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.package-price {
  white-space: nowrap;
  font-family: var(--heading);
  font-size: 24px;
  color: var(--cream);
}

.package-price span {
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
}

.packages-note {
  max-width: 650px;
  margin: 20px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* --- Étapes de réservation --- */

.booking-steps {
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
}

.booking-steps-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.booking-step {
  padding: 24px;
  border-radius: 18px;
  background: var(--background-deep);
}

.booking-step-number {
  display: inline-block;
  font-family: var(--heading);
  font-size: 20px;
  color: var(--orange);
}

.booking-step h3 {
  margin-top: 16px;
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
}

.booking-step p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 700px) {
  .package-row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 18px;
  }

  .package-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .package-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 21px;
  }

  .booking-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Galerie --- */

.gallery {
  padding-bottom: clamp(50px, 6vw, 90px);
  text-align: center;
}

.gallery-subhead {
  margin-top: clamp(38px, 5vw, 64px);
  font-family: var(--heading);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--gold);
  text-align: left;
}

.gallery-grid {
  margin-top: clamp(16px, 2vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  text-align: left;
}

.gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: clamp(16px, 2vw, 24px);
  background: #48311F;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  transition: transform .5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-note {
  margin-top: clamp(24px, 3vw, 40px);
  width: 60%;
  margin-inline: auto;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 700px) {
  .package-row {
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding: 18px 16px;
  }

  .package-name h3 {
    font-size: 22px;
  }

  .package-name p,
  .package-content {
    font-size: 14px;
    line-height: 1.5;
  }

  .package-content {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 4px;
  }

  .package-price {
    grid-column: 2;
    grid-row: 1;
    font-size: 20px;
  }
  
}

/* --- Formules en carrousel --- */

.packages {
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
}

.packages-intro {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--muted);
}

.packages-carousel {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px);
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.package-card {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--background-deep);
  border-radius: clamp(18px, 2.4vw, 28px);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .35);
}

.package-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #48311F;
}

.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.package-card:hover .package-media img {
  transform: scale(1.08);
}

.package-body {
  padding: clamp(16px, 1.8vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.package-body h3 {
  font-family: var(--heading);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--orange);
  font-weight: 400;
  line-height: 1;
}

.package-price {
  font-family: var(--heading);
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--cream);
  line-height: 1;
}

.package-price span {
  font-family: var(--body);
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--muted);
}

.package-contents {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.5;
  color: var(--muted);
}

.package-contents li::before {
  content: "• ";
  color: var(--orange);
}

.package-cta {
  margin-top: auto;
  justify-content: center;
  min-height: 42px;
  font-size: clamp(13px, 1.2vw, 16px);
}

/* Flèches du carrousel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 22px;
  background: var(--orange);
  color: var(--background-deep);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  transition: background .25s var(--ease), scale .2s var(--ease);
}

.carousel-arrow:hover {
  background: var(--gold);
}

.carousel-arrow:active {
  scale: .94;
}

.carousel-arrow--left {
  left: -8px;
}

.carousel-arrow--right {
  right: -8px;
}

/* Points de pagination */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 2.4vw, 28px);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: rgba(250, 246, 240, .25);
  border: 0;
  cursor: pointer;
  transition: background .25s var(--ease), scale .25s var(--ease);
}

.carousel-dot.is-active {
  background: var(--orange);
  scale: 1.2;
}

.packages-note {
  max-width: 650px;
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .package-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 600px) {
  .package-card {
    flex: 0 0 100%;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* --- Notre cuisine : parallax gauche / droite --- */

.dishes {
  padding-block: clamp(40px, 6vw, 80px);
  text-align: center;
}

.dishes-list {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  text-align: left;
}

.dish-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "media content";
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  width: min(100%, 1100px);
  margin-inline: auto;
}

.dish-card--right {
  grid-template-areas: "content media";
}

.dish-media {
  grid-area: media;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: clamp(18px, 2.4vw, 28px);
  background: #48311F;
}

.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.dish-card:hover .dish-media img {
  transform: scale(1.08) rotate(-1deg);
}

.dish-content {
  grid-area: content;
}

.dish-content h3 {
  font-family: var(--heading);
  font-size: clamp(26px, 3vw, 40px);
  color: var(--orange);
  font-weight: 400;
  line-height: 1;
}

.dish-content ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--muted);
}

.dish-content li::before {
  content: "• ";
  color: var(--orange);
}

.dish-content li span {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 700px) {
  .dish-card,
  .dish-card--right {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "content";
  }

  .dish-content h3 {
    font-size: 28px;
  }
}