/* Page d'accueil — mesures relevées sur l'original (post #49523).
   Les effets « motion_fx » d'Elementor (déplacements et fondus liés au défilement) sont
   reproduits en CSS pur avec les timelines de défilement (animation-timeline: view()),
   mêmes vitesses et mêmes plages que l'original ; sans prise en charge ou avec
   « réduire les animations », tout s'affiche à sa place, sans effet. */

.acc { --acc-ink: #131416; display: flow-root; overflow-x: clip; }
.acc :where(p) { margin: 0 0 5px; }
.acc :where(p):last-child { margin-bottom: 5px; }
.acc :where(h1, h2, h3) { font-weight: 400; text-transform: uppercase; }
.acc figure { margin: 0; }
.acc strong, .acc b { font-weight: 700; }

.acc-btn {
  display: inline-block;
  padding: 20px 45px;
  background: var(--accent);
  color: var(--cream);
  font: 500 16px/16px var(--serif);
  letter-spacing: 4.5px;
  text-transform: uppercase;
  transition: background .3s;
}
.acc-btn:hover, .acc-btn:focus-visible { background: var(--accent-dark); color: var(--cream); }

/* ---------- 1. Bienvenue ---------- */
.acc-hero { display: flex; flex-direction: row-reverse; min-height: 95vh; }
.acc-hero__text {
  flex: 1 1 100%; min-width: 0; min-height: 100vh;
  display: flex; flex-direction: column; gap: 10px;
  padding: 10% 5% 0 2%;
}
.acc-hero__title {
  position: relative; z-index: 1;
  font-size: 2.8vw; line-height: 1.2; letter-spacing: 4.25px; text-transform: uppercase; color: var(--accent);
}
.acc-hero .acc-hero__lead {
  margin: 2% 0; padding-left: 10%;
  font-size: 19px; line-height: 28.5px; letter-spacing: 2px; text-transform: uppercase;
}
.acc-hero__body { padding: 1% 22% 2% 15%; font-size: 16px; font-weight: 300; line-height: 24px; color: #1F1F1F; }
.acc-hero__body strong { font-weight: bolder; }
.acc-hero__cta { padding: 1% 22% 0 15%; }
.acc-hero__img {
  position: relative; overflow: hidden;
  flex: 1 1 1600px; min-width: 0; min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 10%;
  border-radius: 0 6% 6% 0 / 0 6% 6% 0;
}
.acc-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.acc .acc-hero__welcome {
  position: relative; margin: 0 20px 5px 0;
  font-size: 2.8vw; line-height: 1.2; letter-spacing: 4.25px; text-transform: uppercase; text-align: end; color: #000;
}

/* ---------- 2. Bandeau « Le bonheur est dans la cuisine » ---------- */
.acc .acc-quote { position: relative; z-index: 4; margin: 5% 0 0; }
.acc-marquee { margin: 0; display: flex; flex-direction: column; gap: 25px; overflow: clip; }
.acc-marquee__band { height: 27px; }
.acc-marquee .acc-marquee__row {
  position: relative; left: 50%; translate: -50% 0;
  width: max-content; margin: 0;
  font: oblique 300 27px/27px var(--serif); text-transform: uppercase; white-space: nowrap; color: var(--accent);
  --x0: -200px; --x1: 200px;
}
.acc-marquee__band--flip .acc-marquee__row { scale: 1 -1; --x0: 200px; --x1: -200px; }
.acc .acc-quote__author {
  margin: 1% 5% 0 0; padding-bottom: 5px;
  font: italic 400 20px/20px var(--serif); text-align: end;
}

/* ---------- 3. Votre photographe culinaire ---------- */
.acc-about {
  display: flex; align-items: center;
  max-width: 1300px; min-height: 400px; margin: 140px auto 60px;
}
.acc-about__text { flex: 0 0 45.965%; padding: 10px calc(10px + 2.2983%) 10px 10px; }
.acc-about h1, .acc .acc-about .acc-about__h {
  margin-bottom: 40px;
  font-size: 44.8px; line-height: 1.2; letter-spacing: 4.25px; color: var(--acc-ink);
}
.acc-about .acc-about__lead { margin: 0 0 calc(40px + 2%); font-size: 19px; line-height: 28.5px; letter-spacing: 2px; text-transform: uppercase; }
.acc-about__body { padding: 0 3% 0 5%; text-align: justify; color: #1F1F1F; }
.acc-about__media { flex: 0 0 54.035%; padding: 10px; }
.acc-about__photos { display: flex; flex-direction: row-reverse; gap: 10px; padding: 10px; }
.acc-about__main { flex: 1 1 100%; min-width: 0; margin-top: -15%; padding: 10px; display: flex; justify-content: center; }
.acc-about__portrait { width: 88%; }
.acc-about__portrait img { width: 100%; box-shadow: 0 0 8px rgba(0, 0, 0, .5); }
.acc-about__side { flex: 0 0 37.817%; margin-bottom: -5%; padding-top: 8px; display: flex; flex-direction: column; justify-content: flex-end; }
.acc-about__dessert img { width: 100%; }

/* ---------- 4. Ils m'ont fait confiance ---------- */
.acc-logos { display: flex; flex-wrap: wrap; padding-top: 20px; }
.acc-logos__cell { flex: 0 0 10%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 10px; text-align: center; }
.acc-logos__cell img { width: 100%; }
.acc-logos__cell--title { padding: 0; }
.acc-logos__cell--title p { font-size: 19px; line-height: 28.5px; text-transform: uppercase; }
.acc-logos .acc-logos__aintimiste { height: 102px; object-fit: contain; }
.acc-logos .acc-logos__artichaut { width: 69%; height: 110px; object-fit: contain; }
.acc-logos .acc-logos__fb { width: 73%; }
.acc-logos__viviana { width: 100%; }
.acc figcaption { color: #333; font-size: 16px; font-style: italic; line-height: 1.4; text-align: center; }

/* ---------- 5. Mon approche ---------- */
.acc-approach { position: relative; z-index: 1; margin: 62px 0 40px; background: #F3F5F7; }
.acc-approach__inner { display: flex; align-items: center; max-width: 1200px; min-height: 706px; margin: 0 auto; }
.acc-approach__media { flex: 0 0 44.75%; padding: 10px; }
.acc-approach__media figure { margin: -50px; }
.acc-approach__media img { width: 82%; }
.acc-approach__text { position: relative; flex: 0 0 55.25%; margin-top: 25px; padding: 10px; }
.acc-approach h2 { margin-bottom: 30px; font-size: 32px; line-height: 38.4px; letter-spacing: 1.5px; }
.acc-approach__rule { width: 11%; margin: 0 0 30px; padding: 0; height: 21px; border: 0; background: linear-gradient(var(--accent), var(--accent)) 0 10px / 100% 1px no-repeat; }
.acc-approach__body { padding-right: 3%; text-align: justify; }
.acc-approach__body a { color: var(--accent); font-size: 16px; font-weight: 700; }
.acc-approach__body a:hover { color: #000; }

/* ---------- 6. Un processus créatif sur-mesure ---------- */
.acc-process__head { display: flex; align-items: center; min-height: 803px; background: var(--white); }
.acc-process__fx { flex: 1; margin: 30px 100px 0; padding: 10px; }
.acc-process h2 { font-size: 80px; line-height: 96px; letter-spacing: 1.5px; text-align: center; color: #000; }
.acc-process h2 b { font-weight: 400; }
.acc-steps { margin-top: -7%; padding: 10px; background: var(--cream); }
.acc-steps__inner { display: flex; align-items: flex-start; gap: 10px; max-width: 1300px; min-height: 720px; margin: 0 auto; }
.acc-steps__media { flex: 0 1 37%; min-height: 700px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.acc-steps__media img { width: 94%; }
.acc-steps__list {
  flex: 0 1 68%; min-height: 704px; margin: 0 30px 0 0; padding: 10px; list-style: none;
  display: flex; flex-direction: column; justify-content: space-around; gap: 10px;
}
.acc-step { display: flex; gap: 10px; }
.acc-step--last { margin: 40px 0; }
.acc-step .acc-step__num { flex: 0 1 10%; align-self: center; font-size: 145px; line-height: 145px; text-align: center; color: var(--accent); }
.acc-step__text { flex: 0 1 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 10px; }
.acc-step h3 { font-size: 25px; line-height: 1.2; letter-spacing: 2.5px; color: #000; }
.acc-step .acc-step__sub { font-size: 19px; line-height: 15px; text-transform: uppercase; }
.acc-step .acc-step__body { margin: 0 90px 0 0; text-align: justify; }

/* ---------- 7. Quel type de photos ---------- */
.acc-types { min-height: 500px; margin-top: 80px; padding: 10px; }
.acc-types h2 { margin-bottom: 20px; font-size: 56px; line-height: 1.2; letter-spacing: 4.25px; color: var(--acc-ink); }
.acc-types .acc-types__sub { margin-bottom: 25px; font-size: 31px; line-height: 31px; font-style: italic; letter-spacing: 2px; text-transform: uppercase; text-align: end; }
.acc-types__grid { display: flex; flex-wrap: wrap; margin: 75px 0 40px; }
.acc-types__cell { flex: 0 0 20%; display: flex; }
.acc-card {
  flex: 1; margin: 0 5px; padding: 10px;
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 31px; background: #F2F2F2; text-align: center;
  transition: background .3s;
}
.acc-card:hover { background: rgba(166, 66, 94, .48); }
.acc-card h3 { margin-bottom: 20px; font-size: 18px; line-height: 18px; letter-spacing: .6px; }
.acc-card img { width: 100%; border-radius: 24px; box-shadow: 0 0 10px rgba(198, 211, 231, .82); }
.acc-card .acc-card__tall { height: 425px; }

/* ---------- 8. Une offre adaptée ---------- */
.acc-offer { position: relative; margin-top: 80px; padding: 50px 0; background: var(--cream); }
.acc-offer__inner { display: flex; max-width: 1200px; margin: 0 auto; }
.acc-offer__text { flex: 0 0 50%; margin-top: 80px; }
.acc-offer h2 { margin-bottom: 50px; font-size: 43.2px; line-height: 1.2; letter-spacing: 4.25px; color: var(--acc-ink); }
.acc-offer .acc-offer__lead { margin: 0 0 calc(50px + 2%); font-size: 17px; line-height: 25.5px; letter-spacing: 2px; text-transform: uppercase; }
.acc-offer__body { display: flow-root; margin-bottom: 50px; padding-right: 5%; text-align: justify; }
.acc-offer__body ul { margin: 0; padding-left: 40px; }
.acc-offer__cta { text-align: center; }
.acc-offer__media { flex: 0 0 50%; display: flex; flex-direction: column; justify-content: center; }
.acc-offer__macarons { width: 70%; }
.acc .acc-offer__chef { margin: -180px 0 0; padding-left: 180px; text-align: center; }
.acc-offer__chef img { width: calc((100% + 360px) * .33); margin: 0 auto; }

/* ---------- 9. Vos questions ---------- */
.acc-faq { display: flex; max-width: 1300px; margin: 40px auto 0; }
.acc-faq__text { flex: 0 0 55%; margin-top: 50px; padding: 10px; }
.acc-faq h2 { margin-bottom: 40px; font-size: 37px; line-height: 44.4px; letter-spacing: 1.5px; color: #000; }
.acc-faq__item { display: flex; border-bottom: 1px solid rgba(221, 221, 221, .81); }
.acc-faq__item + .acc-faq__item { margin-top: 12px; }
.acc-faq__item:last-child { border-bottom: 0; }
.acc-faq__item .acc-faq__num { flex: 0 0 12.57%; margin: 0; padding: 10px 10px 0; font-size: 30px; line-height: 36px; letter-spacing: 1.5px; color: #000; }
.acc-faq__qa { flex: 0 0 87.43%; padding: 10px; }
.acc-faq h3 { margin-bottom: 5px; font-size: 20.8px; line-height: 1.2; letter-spacing: 4.25px; color: var(--acc-ink); }
.acc-faq__qa p { padding-right: 5%; text-align: justify; }
.acc-faq__media { position: relative; flex: 0 0 45%; }
.acc-faq__deco { position: absolute; left: 50%; right: 6%; top: 108px; height: 366px; background: #FBF5ED; }
.acc-faq__photo { position: absolute; left: 15%; top: 43px; width: 70%; }

/* ---------- 10. Prêts à faire saliver ---------- */
.acc-cta { margin: 30px auto; padding: 60px 180px 0; max-width: 1600px; }
.acc-cta__col { padding: 0 10%; }
.acc-cta h2 { position: relative; z-index: 4; margin-bottom: 40px; font-size: 37px; line-height: 1.2; letter-spacing: 4.25px; text-align: center; color: #000; }
.acc-cta .acc-cta__pasta { width: 89px; margin: -2% auto 40px; rotate: 25deg; }
.acc-cta__text { margin-bottom: 30px; text-align: center; }
.acc-cta__form { display: flow-root; padding-left: 35%; }
.acc-cta__form .cf textarea { margin-bottom: 12px; }  /* l’original a 7 px de plus sous la zone de texte (span inline-block de CF7) */

/* ==========================================================================
   Effets liés au défilement (motion_fx d'Elementor)
   ========================================================================== */
@keyframes acc-fx-y { from { transform: translateY(var(--y0)); } to { transform: translateY(var(--y1)); } }
@keyframes acc-fx-x { from { transform: translateX(var(--x0)); } to { transform: translateX(var(--x1)); } }
@keyframes acc-fx-o { from { opacity: var(--o0, .3); } to { opacity: 1; } }
@keyframes acc-drift { from { transform: translateX(var(--x0)); } to { transform: translateX(var(--x1)); } }

.acc-about__portrait { --y0: 23.5px; --y1: -25px; --ys: 3%; }
.acc-about__dessert { --y0: 25px; --y1: -25px; }
.acc-approach__media figure { --y0: 55px; --y1: -55px; }
.acc-faq__photo { --y0: 80px; --y1: -80px; }
.acc-process__fx { --y0: -390px; --y1: 390px; --os: 6%; --oe: 34%; --o0: 0; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .acc-fx { view-timeline-name: --acc-fx; }
    .acc-fx__el {
      animation: acc-fx-y linear both;
      animation-timeline: --acc-fx;
      animation-range: cover var(--ys, 0%) cover var(--ye, 100%);
    }
    .acc-marquee .acc-fx__el { animation-name: acc-fx-x; }
    .acc-process__fx .acc-fx__el, .acc-types__cell .acc-fx__el {
      animation: acc-fx-y linear both, acc-fx-o linear both;
      animation-timeline: --acc-fx, --acc-fx;
      animation-range: cover var(--ys, 0%) cover var(--ye, 100%), cover var(--os) cover var(--oe);
    }
  }
  /* navigateurs sans timeline de défilement : le bandeau glisse doucement en continu */
  @supports not (animation-timeline: view()) {
    .acc-marquee .acc-fx__el { animation: acc-drift 18s ease-in-out infinite alternate; }
  }
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 1024px) {
  .acc-hero__text { flex: 0 0 55%; min-height: 1218px; justify-content: center; gap: 40px; }
  .acc-hero__img { flex: 0 0 45%; }
  .acc-hero__title, .acc-hero__welcome { font-size: 45px; }
  .acc-hero__title { text-align: center; }
  .acc-hero .acc-hero__lead { padding-left: 0; text-align: center; }
  .acc-hero__body { padding: 0 5% 0 4%; text-align: center; }

  .acc .acc-quote { margin-top: 18%; }
  .acc-marquee .acc-marquee__row { font-size: 28px; line-height: 28px; }
  .acc-marquee__band { height: 28px; }
  .acc .acc-quote__author { margin: 6% 5% -14% 0; }

  .acc-about { flex-direction: column; align-items: stretch; margin: 140px 0 60px; padding: 0 20px; }
  .acc-about__text { flex: none; padding-right: calc(10px + 5%); }
  .acc-about h1, .acc .acc-about .acc-about__h { font-size: 45px; text-align: center; }
  .acc-about .acc-about__lead { text-align: center; }
  .acc-about__media { flex: none; }
  .acc-about__main { flex: 0 0 50%; margin-top: 0; }

  .acc-logos__cell--title p { width: 124%; flex: none; }
  .acc-logos__cell--title { justify-content: flex-start; }

  .acc-approach__media, .acc-approach__text { flex: 0 0 50%; }

  .acc-process__head { min-height: 803px; }
  .acc-steps { margin-top: 0; }
  .acc-steps__inner { max-width: none; min-height: 784px; }
  .acc-steps__media { flex: 0 1 61%; min-height: 727px; }
  .acc-steps__list { flex: 0 1 100%; min-height: 740px; margin: 0; padding: 0; }
  .acc-step .acc-step__num { font-size: 70px; line-height: 70px; }
  .acc-step h3 { font-size: 20px; }
  .acc-step:nth-child(2) h3 { font-size: 19px; }
  .acc-step .acc-step__body { margin-right: 0; }
  .acc-step--last { margin: 0; }

  .acc-types { padding: 10px 30px; }
  .acc-types h2 { font-size: 45px; }
  .acc-types__cell { flex-basis: 33%; }
  .acc-types__cell:nth-child(n+4) { flex-basis: 50%; }

  .acc-offer { padding: 0 20px; }
  .acc-offer__inner { max-width: 1100px; }
  .acc-offer__text { flex: 0 0 100%; }
  .acc-offer h2 { font-size: 38px; text-align: center; }
  .acc-offer__media { display: none; }

  .acc-faq { padding: 0 20px; }
  .acc-faq__text { flex: 0 0 100%; }
  .acc-faq h2 { text-align: center; }
  .acc-faq h3 { font-size: 20px; }
  .acc-faq__media { display: none; }

  .acc-cta { margin: 0; padding: 20px 0 0; }
  .acc-cta__form { padding-left: 15%; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  .acc-hero { flex-direction: column-reverse; min-height: 0; }
  .acc-hero__text { flex: none; min-height: 740px; margin: 0 10px; padding: 0 10px; justify-content: flex-start; gap: 40px; }
  .acc-hero__title { font-size: 32px; letter-spacing: 3.25px; }
  .acc-hero .acc-hero__lead { margin: 7px 0; }
  .acc-hero__body { padding: 0; font-size: 15px; line-height: 22.5px; text-align: justify; }
  .acc-hero__cta { padding: 0; text-align: center; }
  .acc-hero__img { flex: none; padding-top: 300px; justify-content: flex-end; gap: 10px; }
  .acc-hero__img img { object-position: right bottom; }
  .acc .acc-hero__welcome { margin: 0; padding-bottom: 5px; font-size: 29px; letter-spacing: 3.25px; text-align: center; }

  .acc .acc-quote { margin-top: 2%; }
  .acc-marquee { gap: 25px; }
  .acc-marquee .acc-marquee__row { font-size: 17px; line-height: 17px; }
  .acc-marquee__band { height: 17px; }
  .acc .acc-quote__author { margin: 4% 6% 0 0; padding-bottom: 16.2px; font-size: 16px; line-height: 16px; }

  .acc-about { margin: 20px 0 0; padding: 0 12px; }
  .acc-about__text { padding: 10px; }
  .acc-about h1, .acc .acc-about .acc-about__h { font-size: 27px; letter-spacing: 3.25px; }
  .acc-about__body { padding: 0; }
  .acc-about__photos { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .acc-about__main { flex: 0 0 100%; padding: 0; }
  .acc-about__side { flex: 0 0 100%; margin: 0; }
  .acc-about__dessert { display: none; }

  .acc-logos { padding-top: 25px; }
  .acc-logos__cell { flex-basis: 33%; }
  .acc-logos__cell--title { flex-basis: 100%; justify-content: center; }
  .acc-logos__cell--title p { width: auto; }

  .acc-approach { padding: 0 12px; }
  .acc-approach__inner { flex-direction: column; min-height: 0; }
  .acc-approach__media, .acc-approach__text { flex: none; width: 100%; }
  .acc-approach__media figure { margin: 0; }
  .acc-approach__media img { width: 100%; }
  .acc-approach__text { margin-top: 27px; }
  .acc-approach h2 { font-size: 21px; line-height: 1.2; text-align: center; }
  .acc-approach__rule { margin-left: auto; margin-right: auto; }

  .acc-process__fx { margin: 0; padding: 12px; }
  .acc-process h2 { font-size: 40px; line-height: 48px; }
  .acc-steps { margin-top: -31%; padding: 0 12px; }
  .acc-steps__inner { flex-direction: column; align-items: stretch; min-height: 740px; }
  .acc-steps__media { flex: none; min-height: 400px; }
  .acc-steps__list { flex: none; }
  .acc-step { flex-direction: column; align-items: center; }
  .acc-step .acc-step__num { flex: none; font-size: 45px; line-height: 45px; }
  .acc-step__text { flex: none; width: 86%; }
  .acc-step h3, .acc-step:nth-child(2) h3 { font-size: 30px; letter-spacing: 2.2px; text-align: center; }
  .acc-step .acc-step__sub { text-align: center; }

  .acc-types { margin: 53px 0; padding: 10px 30px; }
  .acc-types h2 { font-size: 30px; letter-spacing: 2.25px; text-align: center; }
  .acc-types .acc-types__sub { font-size: 22px; line-height: 22px; text-align: center; }
  .acc-types__grid { margin: 0; }
  .acc-types__cell, .acc-types__cell:nth-child(n+4) { flex-basis: 100%; }
  .acc-card h3 { font-size: 15px; }

  .acc-offer { margin-top: 0; padding: 20px; }
  .acc-offer__inner { flex-direction: column; }
  .acc-offer__text { margin-top: 0; }
  .acc-offer h2 { font-size: 24px; letter-spacing: 3.25px; }
  .acc-offer .acc-offer__lead { font-size: 15px; line-height: 22.5px; text-align: center; }
  .acc-offer__media { display: flex; flex: none; }
  .acc-offer__macarons { width: 100%; }
  .acc .acc-offer__chef { margin: 0; padding: 0; }
  .acc-offer__chef img { width: 55%; }

  .acc-faq { flex-direction: column; }
  .acc-faq__text { margin-top: 0; }
  .acc-faq h2 { margin: 20px 0; font-size: 26px; line-height: 1.2; }
  .acc-faq__item + .acc-faq__item { margin-top: 0; }
  .acc-faq__item .acc-faq__num { flex-basis: 16%; font-size: 23px; line-height: 1.2; }
  .acc-faq__item:first-of-type .acc-faq__num { flex-basis: 15%; }
  .acc-faq__qa { flex-basis: 80%; }
  .acc-faq__item:first-of-type .acc-faq__qa { flex-basis: 85%; }
  .acc-faq h3 { font-size: 16px; letter-spacing: 3.25px; }
  .acc-faq__media { display: block; flex: none; }
  .acc-faq__deco { display: none; }
  .acc-faq__photo { position: static; width: 100%; }

  .acc-cta { margin: 53px 0 7px; padding: 0 20px; }
  .acc-cta__col { padding: 0; }
  .acc-cta h2 { font-size: 21px; letter-spacing: 0; }
  .acc-cta .acc-cta__pasta { width: 80px; margin-top: 0; }
  .acc-cta__text { margin-bottom: 0; }
  .acc-cta__form { padding: 45px 0 0; }
  .js .acc-cta[data-anim] { opacity: 1; transform: none; }
}

/* « Un processus créatif sur-mesure » descend en défilant et passe SOUS le bloc des étapes (comme l'original) */
.acc-process__fx { position: relative; z-index: 1; }
.acc-steps { position: relative; z-index: 2; }
