/* ===================================================================
   Arvor Studio · page locale (bourgogne/), chargée après style.css
   Préfixe lp- ; le haut de page réutilise les classes .about de style.css
   =================================================================== */

.lp {
  --lp-accent: #a94c24;
  --lp-line: rgba(33, 42, 55, 0.12);
  --lp-text: rgba(36, 37, 38, 0.88);
  --lp-gap: 20px;
  --lp-grid-max: 1400px;
  --lp-header-h: 98px;
}

.lp p { margin: 0; }

/* ---------- Header ---------- */
/* Le header est hors flux (fixed) et la page reserve sa hauteur une fois pour
   toutes : ainsi le bandeau peut se resserrer sans jamais changer la hauteur du
   document, donc sans decaler le defilement ni declencher de boucle. */
.lp { padding-top: var(--lp-header-h); }
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s ease;
}
.lp-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: calc(var(--lp-grid-max) + 2 * var(--page-pad));
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: var(--lp-header-h);
  transition: height 0.24s ease;
}
/* Au défilement : bandeau resserré et filet de séparation */
.lp.is-scrolled .lp-header { border-bottom-color: var(--lp-line); }
.lp.is-scrolled .lp-header__inner { height: 62px; }
.lp-header .logo img { height: 40px; width: auto; transition: height 0.24s ease; }
.lp.is-scrolled .lp-header .logo img { height: 32px; }
.lp-header__right {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.lp-place {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-accent);
}

/* ---------- Boutons et liens ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lp-btn--dark { background: var(--ink); color: #fff; }
.lp-btn--dark:hover { background: #33404f; }
.lp-btn--light { background: var(--surface); color: var(--ink); height: 40px; font-size: 14px; }
.lp-btn--light:hover { background: #e2e7ef; }

/* ---------- Barre fixe mobile ---------- */
.lp-mobile-bar { display: none; }

.lp-btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(33, 42, 55, 0.18);
}
.lp-btn--ghost:hover { background: var(--surface); }

.lp-link {
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--lp-accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.lp-link:hover { color: var(--lp-accent); }

/* ---------- Haut de page ---------- */
.lp-intro { --cols-gap: clamp(32px, 4.5vw, 58px); }
.lp-heading {
  grid-area: hello;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-title {
  margin: 0;
  width: 100%;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink-hero);
}
.lp-photo { grid-area: photo; align-self: start; display: block; }
.lp-intro .about-text { gap: 28px; }
.lp-promesse {
  position: relative;
  padding: 16px 32px;
  background: var(--surface);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.02em;
  color: var(--lp-text);
}
.lp-promesse strong { font-weight: 600; color: rgb(36, 37, 38); }
/* Guillemet a cheval sur le bord gauche du bloc */
.lp-promesse__mark {
  position: absolute;
  top: 14px;
  left: -20px;
  width: 40px;
  height: 40px;
  color: var(--lp-accent);
}
.lp-intro__links { display: flex; flex-wrap: wrap; gap: 32px; }

/* ---------- Travaux ---------- */
.lp-works {
  max-width: calc(var(--lp-grid-max) + 2 * var(--page-pad));
  margin: clamp(56px, 8vw, 110px) auto 0;
  padding: 0 var(--page-pad) clamp(64px, 9vw, 120px);
}

.lp-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.lp-filter {
  height: 43px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.lp-filter:hover { background: #e2e7ef; }
.lp-filter.is-active { background: var(--ink); color: #fff; }

/* Grille. Sans JS : colonnes CSS. Avec JS : positionnement absolu animé. */
.lp-grid {
  columns: 3;
  column-gap: var(--lp-gap);
}
.lp-item {
  break-inside: avoid;
  margin: 0 0 var(--lp-gap);
}
.lp-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--surface);
  display: block;
}

.lp-grid.is-js {
  position: relative;
  columns: auto;
  transition: height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lp-grid.is-js .lp-item {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
              opacity 0.3s ease;
}
.lp-grid.is-js.is-init,
.lp-grid.is-js.is-init .lp-item {
  transition: none;
}
.lp-grid.is-js .lp-item.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.lp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: calc(var(--lp-grid-max) + 2 * var(--page-pad));
  margin: 0 auto;
  padding: 0 var(--page-pad) 56px;
}
.lp-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.lp-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  flex: none;
}
.lp-footer__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ---------- Responsive (à ajuster) ---------- */
@media (max-width: 1024px) {
  .lp-grid { columns: 2; }
}

@media (min-width: 1200px) {
  .lp-title { width: calc(100% + 90px); max-width: 640px; }
}

@media (max-width: 900px) {
  .lp-heading { padding-top: 0; }
  .lp-title { font-size: clamp(30px, 5.6vw, 44px); }
}

@media (max-width: 680px) {
  .lp { --lp-gap: 14px; padding-top: 0; padding-bottom: 92px; }
  .lp-filters { display: none; }

  /* Barre fixe, fond translucide façon iOS */
  .lp-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-top: 1px solid rgba(33, 42, 55, 0.1);
  }
  .lp-mobile-bar .lp-btn {
    flex: 1;
    height: 52px;
    padding: 0 12px;
    font-size: 15px;
  }

  /* Header : logo seul, centré, et non collé — la barre fixe est en bas */
  .lp-header {
    position: static;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
  }
  .lp-header__inner {
    justify-content: center;
    padding: 24px var(--page-pad);
    height: auto;
    gap: 16px;
  }
  .lp.is-scrolled .lp-header { border-bottom-color: transparent; }
  .lp.is-scrolled .lp-header__inner { height: auto; padding: 24px var(--page-pad); }
  .lp-header .logo img,
  .lp.is-scrolled .lp-header .logo img { height: 34px; }
  .lp-header__right { display: none; }

  .lp-grid { columns: 1; }

  /* Le guillemet ne doit pas toucher le bord de l'ecran */
  .lp-promesse { padding: 16px 20px 16px 32px; }
  .lp-promesse__mark { left: -8px; top: 10px; width: 34px; height: 34px; }

  /* Haut de page sur une colonne : photo, puis titre, puis texte */
  .lp-intro .about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "hello"
      "text";
    row-gap: 24px;
  }
  /* Photo ronde, centree (visuel dedie : img/local/profil-mobile.webp) */
  .lp-intro .about-photo {
    width: 200px;
    height: 200px;
    max-width: none;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
  }

  /* Bandeau et titre centres sous la photo */
  .lp-heading { align-items: center; text-align: center; }
  .lp-place { text-align: center; }
  .lp-intro .lp-heading { padding-top: 0; }

  /* Footer centré, sans bouton de contact */
  .lp-works { padding-bottom: 40px; }
  .lp-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding-bottom: 24px;
  }
  /* Trois lignes centrees, sans puces, copyright en dernier */
  .lp-footer__legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    font-size: 13px;
  }
  .lp-footer__legal .lp-dot { display: none; }
  .lp-footer__legal span:first-child { order: 3; }
  .lp-footer__actions { display: none; }
}

/* ---------- Volet Contact (plein écran, ouverture par le bas) ---------- */
.lp-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  background: rgba(20, 22, 26, 0);
  transition: background-color 0.45s ease, visibility 0s linear 0.5s;
}
.lp-drawer.is-open {
  visibility: visible;
  background: rgba(20, 22, 26, 0.5);
  transition: background-color 0.45s ease, visibility 0s;
}
.lp-drawer__panel {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.lp-drawer.is-open .lp-drawer__panel { transform: translateY(0); }

.lp-drawer .contact-hero { min-height: 100%; height: 100%; }

.lp-drawer__close {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  right: clamp(20px, 3vw, 40px);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-pill);
  background: rgba(237, 249, 252, 0.12);
  border: 1px solid rgba(237, 249, 252, 0.35);
  color: #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.lp-drawer__close svg { width: 22px; height: 22px; }
.lp-drawer__close:hover {
  background: rgba(237, 249, 252, 0.22);
  border-color: rgba(237, 249, 252, 0.7);
}

.lp-drawer .contact-phone.is-revealed { border-color: rgba(237, 249, 252, 0.9); }

@media (prefers-reduced-motion: reduce) {
  .lp-drawer__panel { transition: none; }
}

/* ---------- Lien de menu ---------- */
.lp-menu-link {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.lp-menu-link:hover { color: var(--lp-accent); }

/* ---------- Volet latéral : Comment je travaille ---------- */
.lp-drawer--side {
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease, visibility 0s linear 0.45s;
}
.lp-drawer--side.is-open {
  background: rgba(20, 22, 26, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease, visibility 0s;
}
.lp-drawer__panel--side {
  inset: 0 0 0 auto;
  width: min(720px, 100%);
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  box-shadow: -30px 0 80px -40px rgba(8, 10, 14, 0.55);
}
.lp-drawer--side.is-open .lp-drawer__panel--side { transform: translateX(0); }

.lp-drawer__close--dark {
  background: var(--surface);
  border-color: transparent;
  color: var(--ink);
}
.lp-drawer__close--dark:hover { background: #e2e7ef; border-color: transparent; }

.lp-panel__inner {
  --panel-pad: clamp(24px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) var(--panel-pad) clamp(48px, 7vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 6vw, 68px);
}
.lp-panel__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-panel__title {
  margin: 0;
  padding-right: 66px; /* laisse la place à la croix de fermeture */
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink-hero);
}
.lp-panel__lead {
  font-size: 18px;
  line-height: 30px;
  color: var(--lp-text);
}
.lp-panel__subtitle {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink-hero);
}

/* Étapes */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px var(--panel-pad);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.lp-steps li {
  position: relative;
  counter-increment: etape;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.lp-steps li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  top: 19px;
  right: 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--lp-accent);
}
.lp-steps h3 {
  margin: 0 0 8px;
  padding-right: 42px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  color: var(--ink-hero);
}
.lp-steps p { font-size: 16px; line-height: 25px; color: var(--lp-text); }

/* Questions fréquentes */
.lp-faq { display: flex; flex-direction: column; }
.lp-faq__item { border-bottom: 1px solid var(--lp-line); }
.lp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-hero);
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--lp-accent);
  border-bottom: 2px solid var(--lp-accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease;
}
.lp-faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.lp-faq__body {
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lp-faq__item p {
  padding: 0 0 20px;
  font-size: 16px;
  line-height: 26px;
  color: var(--lp-text);
}
@media (prefers-reduced-motion: reduce) {
  .lp-faq__body { transition: none; }
}

.lp-panel__cta { align-self: flex-start; margin-top: 16px; }

/* Repères de brouillon, à retirer avant mise en ligne */
.lp-todo {
  background: none;
  color: var(--lp-accent);
  border-bottom: 1px dashed var(--lp-accent);
}

@media (max-width: 560px) {
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .lp-menu-link { display: none; }
}
