/* ==========================================================================
   Page d'accueil — sections Hero, Ticker, Incontournables,
   Collections, Quiz, Valeurs, Newsletter
   ========================================================================== */

/* ==========================================================================
   Utilitaires partagés
   ========================================================================== */

.lpc-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.lpc-section-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--primary);
  margin-bottom: 14px;
}

.lpc-section-tag--accent { color: var(--accent); }

.lpc-section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.lpc-section-title--light { color: var(--white); }
.lpc-section-header--light .lpc-section-title { color: var(--white); }

/* Reveal au scroll */
.lpc-will-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.lpc-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.lpc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.lpc-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 120px;
  gap: 0;
  width: 100%;
}

.lpc-hero__left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 580px;
}

.lpc-hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  animation: fadeUp .8s ease both;
  animation-delay: .3s;
}

.lpc-hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  animation: fadeUp .8s ease both;
  animation-delay: .5s;
}

.lpc-hero__title em {
  font-style: italic;
  color: var(--accent);
}

.lpc-hero__subtitle {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 420px;
  animation: fadeUp .8s ease both;
  animation-delay: .7s;
}

.lpc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  animation: fadeUp .8s ease both;
  animation-delay: .9s;
}


/* Droite */
.lpc-hero__right {
  display: none;
  position: relative;
}

.lpc-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lpc-hero__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: .08em;
}

/* Scroll indicator — centré en bas de la hero */
.lpc-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp .8s ease both;
  animation-delay: 1.1s;
}

.lpc-hero__scroll-text {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--text-light);
}

.lpc-hero__scroll-line {
  width: 1px;
  height: 56px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}

.lpc-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollDown 1.6s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Ticker
   ========================================================================== */

.lpc-ticker {
  background: var(--bg3);
  padding-block: 20px;
  overflow: hidden;
  position: relative;
}

.lpc-ticker::before,
.lpc-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}

.lpc-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--bg3), transparent);
}

.lpc-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--bg3), transparent);
}

.lpc-ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.lpc-ticker:hover .lpc-ticker__track {
  animation-play-state: paused;
}

.lpc-ticker__item {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .35);
  padding-inline: 28px;
  white-space: nowrap;
}

.lpc-ticker__sep {
  color: var(--accent);
  font-size: 8px;
  opacity: .4;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================================================================
   Incontournables
   ========================================================================== */

.lpc-incontournables {
  padding-block: var(--section-py-mobile);
}

.lpc-incontournables__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.lpc-incontournables__cta {
  text-align: center;
  margin-top: 48px;
}

.lpc-incontournables__empty {
  text-align: center;
  color: var(--text-light);
  padding-block: 48px;
}

/* ==========================================================================
   Collections
   ========================================================================== */

.lpc-collections {
  background: var(--bg3);
  padding-block: var(--section-py-mobile);
}

.lpc-collections__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.lpc-collections__item {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  cursor: pointer;
}

.lpc-collections__placeholder {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    #3a2918 0px,
    #3a2918 1px,
    #2c1f14 1px,
    #2c1f14 12px
  );
  transition: transform var(--t-slow);
}

.lpc-collections__item:hover .lpc-collections__placeholder {
  transform: scale(1.05);
}

.lpc-collections__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}

.lpc-collections__item:hover .lpc-collections__img {
  transform: scale(1.05);
}

.lpc-collections__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 31, 20, .85) 0%, transparent 60%);
  opacity: .7;
  transition: opacity var(--t-base);
}

.lpc-collections__item:hover .lpc-collections__overlay {
  opacity: 1;
}

.lpc-collections__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lpc-collections__label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
}

.lpc-collections__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.lpc-collections__cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 253, 249, .6);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base);
}

.lpc-collections__item:hover .lpc-collections__cta {
  opacity: 1;
  transform: translateY(0);
}

.lpc-collections__cta-arrow {
  display: inline-block;
  transition: transform var(--t-base);
}

.lpc-collections__item:hover .lpc-collections__cta-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Quiz
   ========================================================================== */

.lpc-quiz {
  padding-block: var(--section-py-mobile);
}

.lpc-quiz__wrapper {
  max-width: 680px;
  margin-inline: auto;
  background: var(--white);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.lpc-quiz__wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.lpc-quiz__progress {
  display: flex;
  gap: 6px;
  margin-bottom: 48px;
}

.lpc-quiz__progress-seg {
  flex: 1;
  height: 3px;
  background: var(--border);
  transition: background var(--t-base);
}

.lpc-quiz__progress-seg--active {
  background: var(--primary);
}

.lpc-quiz__progress-seg--done {
  background: var(--accent);
}

.lpc-quiz__step-count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.lpc-quiz__question {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.3;
}

.lpc-quiz__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lpc-quiz__choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.lpc-quiz__choice:hover {
  border-color: var(--primary);
  background: rgba(86, 44, 21, .04);
}

.lpc-quiz__choice--selected {
  background: var(--primary);
  border-color: var(--primary);
}

.lpc-quiz__choice--selected .lpc-quiz__choice-label,
.lpc-quiz__choice--selected .lpc-quiz__choice-sub {
  color: var(--white);
}

.lpc-quiz__choice-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t-fast);
}

.lpc-quiz__choice-sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  transition: color var(--t-fast);
}

.lpc-quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.lpc-quiz__results {
  text-align: center;
  padding-top: 12px;
}

.lpc-quiz__results-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 16px;
}

.lpc-quiz__results-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.lpc-quiz__results-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 36px;
}

.lpc-quiz__results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.lpc-quiz__results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ==========================================================================
   Valeurs
   ========================================================================== */

.lpc-valeurs {
  background: var(--bg2);
  padding-block: var(--section-py-mobile);
}

.lpc-valeurs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.lpc-valeurs__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 48px 40px;
  border-top: 1px solid var(--border);
}

.lpc-valeurs__item:last-child {
  border-bottom: 1px solid var(--border);
}

.lpc-valeurs__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
}

.lpc-valeurs__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
}

.lpc-valeurs__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-light);
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.lpc-newsletter {
  background: var(--bg3);
  padding-block: var(--section-py-mobile);
  border-bottom: 1px solid rgba(255, 253, 249, .1);
}

.lpc-newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.lpc-newsletter__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-top: 8px;
}

.lpc-newsletter__title em {
  font-style: italic;
  color: var(--accent);
}

.lpc-newsletter__subtitle {
  font-size: 14px;
  color: rgba(255, 253, 249, .6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 400px;
}

.lpc-newsletter__form {
  width: 100%;
  max-width: 480px;
  margin: 40px auto 0;
}

.lpc-newsletter__field-wrap {
  display: flex;
  gap: 0;
}

.lpc-newsletter__input {
  flex: 1;
  background: rgba(255, 253, 249, .08);
  border: 1px solid rgba(255, 253, 249, .2);
  border-right: none;
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  transition: border-color var(--t-fast);
  appearance: none;
  min-width: 0;
}

.lpc-newsletter__input::placeholder { color: rgba(255, 253, 249, .4); }

.lpc-newsletter__input:focus {
  outline: none;
  border-color: var(--accent);
}

.lpc-newsletter__btn {
  flex-shrink: 0;
  padding: 15px 28px;
  background: var(--accent);
  color: var(--bg3);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-base);
}

.lpc-newsletter__btn:hover {
  background: #b8923a;
}

.lpc-newsletter__hp {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.lpc-newsletter__feedback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent);
}

/* ==========================================================================
   Desktop (≥ 901px)
   ========================================================================== */

@media (min-width: 901px) {

  /* Hero */
  .lpc-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    padding-block: 0;
  }

  .lpc-hero__stats {
    bottom: 60px;
    left: 60px;
  }

  .lpc-hero__right {
    display: block;
    height: 100vh;
  }

  .lpc-hero__image-placeholder {
    height: 100%;
    min-height: 100vh;
  }

  /* Incontournables */
  .lpc-incontournables {
    padding-block: var(--section-py-desktop);
  }

  .lpc-incontournables__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  /* Collections */
  .lpc-collections {
    padding-block: var(--section-py-desktop);
  }

  .lpc-collections__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .lpc-collections__item {
    height: 400px;
  }

  .lpc-collections__name {
    font-size: 20px;
  }

  /* Quiz */
  .lpc-quiz {
    padding-block: var(--section-py-desktop);
  }

  .lpc-quiz__wrapper {
    padding: 60px;
  }

  .lpc-quiz__results-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Valeurs */
  .lpc-valeurs {
    padding-block: var(--section-py-desktop);
  }

  .lpc-valeurs__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lpc-valeurs__item:last-child {
    border-bottom: none;
  }

  /* Newsletter */
  .lpc-newsletter {
    padding-block: var(--section-py-desktop);
  }
}
