/* ==========================================================================
   Soul Engineering — reproduction statique
   Design system partagé
   ========================================================================== */

:root {
  --orange: #F26722;
  --orange-dark: #d4541a;
  --bg: #1a1a1a;
  --bg-alt: #222;
  --bg-card: #2a2a2a;
  --text: #fefefe;
  --text-muted: #fafafa;
  --white: #ffffff;
  --maxw: 1160px;
  --header-h: 76px;
  --font-title: 'Cabin', sans-serif;
  --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--text);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--orange);
  text-decoration: none;
}
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--orange);
  font-size: clamp(32px, 5vw, 52px);
  text-align: center;
  margin: 0 0 14px;
  line-height: 1.1;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 48px;
}

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  padding: 14px 30px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--orange-dark); text-decoration: none; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}
.btn--ghost:hover { background: var(--orange); color: var(--white); }

/* ---------- Le Plan (images bakées) ---------- */
.plan {
  background: #000;
  padding: 0 0 40px;
}
.plan__img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1160px;
}

/* ---------- Les Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 20px;
}
.service-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card img { width: 100%; height: 240px; object-fit: cover; }
.service-card__body { padding: 24px 26px 30px; }
.service-card h3 {
  color: var(--orange);
  font-size: 22px;
  margin: 0 0 12px;
}
.service-card p { margin: 0; color: var(--text-muted); font-size: 15.5px; }

/* ---------- FAQ accordéon ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__intro { text-align: center; color: var(--text-muted); margin-bottom: 28px; }
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange);
  font-size: 26px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq__item.is-open .faq__q::after { content: "–"; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
}
.faq__a p { margin: 0 0 20px; }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- Témoignages ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}
.testimonial {
  background: var(--bg-card);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  padding: 26px 28px;
}
.testimonial p { margin: 0 0 16px; font-style: italic; color: var(--text); }
.testimonial cite {
  display: block;
  text-align: right;
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}

/* ---------- Le Formateur ---------- */
.formateur {
  /* background: linear-gradient(135deg, #2a1a12 0%, #1a1a1a 60%); */
}
.formateur__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.formateur__grid h3 { color: var(--orange); font-size: 26px; margin: 0 0 22px; }
.formateur__grid p { margin: 0 0 18px; color: var(--text-muted); }
.formateur__photo img { border-radius: 8px; width: 100%; }

/* ---------- Le Livre ---------- */
.livre { text-align: center; }
.livre__card {
  background: var(--white);
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}
.livre__card img { margin: 0 auto; }

/* ---------- Précommande ---------- */
/* Palette chaude fidèle à la page d'origine /precommande
   --pre-orange : orange brûlé du titre et du bouton (#d06818)
   fond noir chaud, texte crème, gris taupe pour les libellés */
.preorder {
  --pre-orange: #d06818;
  --pre-orange-hover: #e0772a;
  --pre-cream: #f0ece4;
  --pre-taupe: #a89880;
  --pre-gray: #9e9585;
  --pre-label: #6b6253;
  --pre-value: #c4b89e;
  background: #0d0c0a;
  color: var(--pre-cream);
}
.preorder__grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: center;
  gap: 72px;
}
.preorder__image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}
.preorder__image img { width: 100%; display: block; }
.preorder__content { display: flex; flex-direction: column; gap: 24px; }
.preorder__tag {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--pre-taupe);
  margin: 0;
}
.preorder__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--pre-cream);
}
.preorder__title span { color: var(--pre-orange); }
.preorder__subtitle {
  font-size: 17px;
  color: var(--pre-gray);
  max-width: 440px;
  margin: 0;
}
.preorder__price-block { margin: 6px 0; }
.preorder__price {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
  color: var(--pre-cream);
  margin: 0;
}
.preorder__shipping {
  font-size: 14px;
  color: var(--pre-gray);
  margin: 8px 0 0;
}
.preorder__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.preorder .btn {
  background: var(--pre-orange);
  color: var(--pre-cream);
  border-radius: 2px;
  letter-spacing: 0.1em;
}
.preorder .btn:hover { background: var(--pre-orange-hover); }
.preorder__preview {
  color: var(--pre-taupe);
  font-size: 15px;
  border-bottom: 1px solid rgba(168,152,128,0.4);
  padding-bottom: 2px;
}
.preorder__preview:hover { color: var(--pre-cream); text-decoration: none; border-color: var(--pre-cream); }
.preorder__details {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 26px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preorder__row { display: flex; gap: 18px; }
.preorder__row dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pre-label);
  min-width: 168px;
  flex-shrink: 0;
  margin: 0;
  padding-top: 2px;
}
.preorder__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--pre-gray);
  line-height: 1.7;
}
.preorder__row dd strong { color: var(--pre-value); font-weight: 600; }

@media (max-width: 768px) {
  .preorder__grid { grid-template-columns: 1fr; gap: 36px; }
  .preorder__image { max-width: 320px; margin: 0 auto; }
  .preorder__row dt { min-width: 130px; }
}

/* ---------- Vidéos (zigzag) ---------- */
.video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 64px;
}
.video-row:nth-child(even) .video-row__media { order: 2; }
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border: 1px dashed rgba(242,103,34,0.5);
  border-radius: 8px;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 16px;
}
.video-frame__placeholder .play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-frame__placeholder .play::after {
  content: "";
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.video-frame__placeholder small { font-size: 12px; opacity: 0.7; }
.video-row__text h3 { color: var(--orange); font-size: 26px; margin: 0 0 14px; }
.video-row__text p { margin: 0; color: var(--text-muted); }

/* ---------- CONTACT (global) ---------- */
.contact {
  background: #000;
  padding: 0;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.contact__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}
.contact__photo-img {
  width: 50%;
  height: auto;
  display: block;
}
.contact__body {
  padding: 72px 56px;
}
.contact__body .section-title { text-align: left; margin-bottom: 26px; }
.contact__name { font-family: var(--font-title); font-weight: 700; font-size: 22px; margin: 0 0 18px; }
.contact__quote { color: var(--text-muted); font-style: italic; margin: 0 0 26px; }
.contact__info { list-style: none; padding: 0; margin: 0 0 28px; }
.contact__info li { margin-bottom: 8px; font-size: 17px; }
.contact__info a { color: var(--text); }
.contact__info a:hover { color: var(--orange); }

/* Formulaire statique */
.contact-form { display: grid; gap: 14px; max-width: 460px; }
.contact-form label { font-size: 14px; font-weight: 700; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #1b1b1b;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-note { font-size: 12px; color: var(--text-muted); }

/* Modale formulaire */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__box {
  background: var(--bg-card);
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  padding: 34px;
  position: relative;
}
.modal__box h3 { color: var(--orange); margin: 0 0 20px; font-size: 24px; }
.modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  color: var(--text-muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.modal__actions { display: flex; gap: 12px; margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #141414;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 0;
  margin: 0;
}
.footer-nav a {
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-nav a:hover { color: var(--orange); text-decoration: none; }
.site-footer small { color: #777; }

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 380px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.cookie-banner.is-hidden { display: none; }
.cookie-banner h4 { margin: 0 0 8px; color: var(--text); font-size: 16px; }
.cookie-banner p { margin: 0 0 16px; font-size: 13.5px; color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #181818;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.is-open { max-height: 360px; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .formateur__grid { grid-template-columns: 1fr; }
  .formateur__photo { max-width: 320px; margin: 0 auto; }
  .video-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .video-row:nth-child(even) .video-row__media { order: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__photo-img { width: 70%; }
  .contact__body { padding: 48px 28px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
