/* ================================
   ACCUEIL — Maison Kaya
   ================================ */

:root {
  --bordeaux: #571424;
  --beige:    #f3f4f0;
  --txt:      #1a1a1a;
  --font:     "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ================================
   HERO
   ================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.hero__cta {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 2.5rem 3px;
  background: transparent;
  color: var(--beige);
  border: 2px solid var(--beige);
  border-radius: 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background: var(--bordeaux);
  color: var(--beige);
  border-color: var(--bordeaux);
  box-shadow: 0 8px 30px rgba(87, 20, 36, 0.5);
  transform: translateX(-50%) translateY(-3px);
}

/* ================================
   PORTFOLIO
   ================================ */

.portfolio {
  position: relative;
  z-index: 2;
  background: var(--beige);
  padding: 4.5rem 2.5rem 5rem;
  overflow: visible;
}

.portfolio__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.portfolio__left {
  min-width: 0;
}

.portfolio__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.portfolio__title {
  font-family: var(--font);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bordeaux);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.portfolio__title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.portfolio__title .nowrap {
  white-space: nowrap;
}

.portfolio__text {
  font-size: 0.93rem;
  line-height: 1.8;
  color: rgba(26, 26, 26, 0.6);
  max-width: 460px;
  margin-bottom: 2rem;
}

.portfolio__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--bordeaux);
  color: var(--beige);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.15s ease;
}

.portfolio__btn:hover {
  background: #3d0e19;
  transform: translateY(-1px);
}

.portfolio__btn svg {
  transition: transform 0.2s ease;
}

.portfolio__btn:hover svg {
  transform: translateX(4px);
}

/* ── Strip photomaton desktop ── */
.portfolio__right {
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}

.portfolio__photos {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  padding: 10px 10px 26px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  width: 240px;
  transform: rotate(1.5deg);
  margin-bottom: -400px;
  position: relative;
  z-index: 3;
}

.portfolio__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}

/* ================================
   FAQ
   ================================ */

.faq {
  position: relative;
  z-index: 1;
  background: var(--bordeaux);
  padding: 10.5rem 2.5rem 5rem;
}

.faq__inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq__header {
  margin-bottom: 3rem;
}

.faq__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 244, 240, 0.45);
  margin-bottom: 0.8rem;
}

.faq__title {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--beige);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.faq__title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(243, 244, 240, 0.12);
}

.faq__item {
  border-bottom: 1px solid rgba(243, 244, 240, 0.12);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--beige);
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.faq__question:hover { color: #fff; }

.faq__icon {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  opacity: 1;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer p {
  padding-bottom: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(243, 244, 240, 0.65);
  max-width: 640px;
}

.faq__item.open .faq__answer {
  max-height: 300px;
}

.faq__footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.faq__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--beige);
  border: 1.5px solid rgba(243, 244, 240, 0.45);
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.faq__btn:hover {
  background: rgba(243, 244, 240, 0.08);
  border-color: var(--beige);
  transform: translateY(-1px);
}

.faq__btn svg {
  transition: transform 0.2s ease;
}

.faq__btn:hover svg {
  transform: translateX(4px);
}





/* ================================
   PRESTATIONS
   ================================ */

.prestations {
  background: var(--bordeaux);
  padding: 25px;
}

.prestations__inner {
  background: var(--beige);
  border-radius: 20px;
  padding: 5rem 2.5rem;
  margin: 0;
  max-width: 100%;
}

.prestations__header {
  margin-bottom: 3rem;
  text-align: center;
}

.prestations__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordeaux);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.prestations__title {
  font-family: var(--font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bordeaux);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.prestations__title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Grille des cartes ── */
.prestations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.prestations__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(87, 20, 36, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.prestations__card:hover {
  box-shadow: 0 8px 30px rgba(87, 20, 36, 0.1);
  transform: translateY(-3px);
}

.prestations__card-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  opacity: 0.55;
  margin-bottom: 0.6rem;
}

.prestations__card-name {
  font-family: var(--font);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.prestations__card-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.55);
  flex: 1;
  margin-bottom: 1.2rem;
}

.prestations__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(87, 20, 36, 0.1);
}

.prestations__card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bordeaux);
  letter-spacing: -0.01em;
}

.prestations__card-duration {
  font-size: 0.72rem;
  color: rgba(26, 26, 26, 0.4);
  letter-spacing: 0.05em;
}

/* ── Dots carrousel ── */
.prestations__dots {
  display: none;
}

/* ── CTA bas de section ── */
.prestations__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.prestations__cta-note {
  font-size: 0.78rem;
  color: rgba(26, 26, 26, 0.4);
  max-width: 480px;
  line-height: 1.7;
  font-style: italic;
}

.prestations__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--bordeaux);
  color: var(--beige);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.15s ease;
}

.prestations__btn:hover {
  background: #3d0e19;
  transform: translateY(-1px);
}

.prestations__btn svg {
  transition: transform 0.2s ease;
}

.prestations__btn:hover svg {
  transform: translateX(4px);
}

/* ================================
   RESPONSIVE PRESTATIONS — 900px
   ================================ */

@media (max-width: 900px) {
  .prestations {
    padding: 16px;
  }

  .prestations__inner {
    padding: 3.5rem 1.4rem;
    border-radius: 16px;
  }

  .prestations__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   RESPONSIVE PRESTATIONS — 480px
   ================================ */

@media (max-width: 480px) {
  .prestations {
    padding: 12px;
  }

  .prestations__inner {
    border-radius: 14px;
    padding: 2.5rem 0 2rem;
  }

  .prestations__header {
    padding: 0 1.2rem;
  }

  .prestations__grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.9rem;
    padding: 0.5rem 1.2rem 1rem;
    margin-bottom: 0.5rem;
    scrollbar-width: none;
    cursor: grab;
  }

  .prestations__grid::-webkit-scrollbar {
    display: none;
  }

  .prestations__card {
    flex: 0 0 72vw;
    scroll-snap-align: center;
    padding: 1.2rem;
  }

  .prestations__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0.4rem 0 1.4rem;
  }

  .prestations__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(87, 20, 36, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .prestations__dot.active {
    background: var(--bordeaux);
    transform: scale(1.3);
  }

  .prestations__cta {
    padding: 0 1.2rem;
  }
}

/* ================================
   RESPONSIVE PRESTATIONS — 360px
   ================================ */

@media (max-width: 360px) {
  .prestations {
    padding: 10px;
  }

  .prestations__inner {
    border-radius: 12px;
    padding: 2rem 0 1.6rem;
  }

  .prestations__card {
    flex: 0 0 80vw;
  }
}


/* ================================
   RESPONSIVE PRESTATIONS — 360px
   ================================ */

@media (max-width: 360px) {
  .prestations__inner {
    padding: 2rem 1rem;
  }

  .prestations__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   RESPONSIVE — 900px
   ================================ */

@media (max-width: 900px) {

  .portfolio {
    padding: 3.5rem 1.4rem 4rem;
    overflow: visible;
  }

  .portfolio__inner {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }

  .portfolio__left {
    /* padding-right = largeur strip + 12px d'air */
    padding-right: 30px;
  }

  .portfolio__title {
    font-size: clamp(2rem, 6vw, 3rem);
    max-width: 100%;
  }

  .portfolio__text {
     max-width: calc(100% - 158px);
  }

  .portfolio__right {
    position: absolute;
    top: 0;
    right: 1.4rem;
    bottom: 0;
    align-items: flex-end;
    pointer-events: none;
  }

  .portfolio__photos {
    width: 130px;
    padding: 6px 6px 20px;
    gap: 4px;
    margin-bottom: -250px;
    transform: rotate(1.2deg);
    pointer-events: all;
  }

  .faq {
    padding: 9rem 1.4rem 4rem;
  }
}

/* ================================
   RESPONSIVE — 480px
   ================================ */

@media (max-width: 480px) {

  .hero__cta {
    bottom: 2rem;
    height: 44px;
    padding: 0 2rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .portfolio {
    padding: 3rem 1.2rem 3.5rem;
  }

  .portfolio__left {
    /* padding-right = largeur strip + 10px d'air */
    padding-right: 0px;
  }

  .portfolio__title {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
    max-width: 100%;
  }

  .portfolio__text {
     max-width: calc(100% - 134px);
  }

  .portfolio__right {
    right: 1.2rem;
  }

  .portfolio__photos {
    width: 108px;
    padding: 5px 5px 18px;
    gap: 3px;
    margin-bottom: -170px;
    transform: rotate(1.2deg);
  }

  .faq {
    padding: 7.5rem 1.2rem 3rem;
  }

  .faq__question {
    font-size: 0.88rem;
    padding: 1.1rem 0;
  }
}

/* ================================
   RESPONSIVE — 360px
   ================================ */

@media (max-width: 360px) {

  .portfolio__left {
    padding-right: 0px;
  }

  .portfolio__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    max-width: 100%;       
  }

  .portfolio__text {
    max-width: calc(100% - 116px);  /* ← texte contraint sous le photomaton */
  }

  .portfolio__right {
    right: 1rem;
  }

  .portfolio__photos {
    width: 92px;
    padding: 4px 4px 14px;
    gap: 3px;
    margin-bottom: -65px;
  }

  .faq {
    padding: 6.5rem 1rem 2.5rem;
  }
}
