* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  position: relative;
  background: none;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("images/montagne.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page {
  min-height: 100dvh;
}

/* Home / Hero */
.hero-card {
  position: relative;
  width: 100%;
  min-height: 100dvh;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 38, 59, 0.72) 0%, rgba(9, 38, 59, 0.35) 35%, rgba(9, 38, 59, 0.08) 65%, rgba(9, 38, 59, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 92vw);
  max-width: 760px;
  min-height: 520px;
  padding: 110px 48px 48px;
  transform: translateY(-60px);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: clamp(1.15rem, 2.1vw, 2rem);
  line-height: 1.25;
  font-weight: 600;
  margin-bottom: 34px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.hero-content .cta + .cta {
  margin-left: 18px;
}

/* Boutons */
.cta {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, #ffb18a, #ff9b75);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 10px 20px rgba(109, 43, 20, 0.35);
}

.cta:hover {
  filter: brightness(1.04);
}

/* Option image droite (si utilisée) */
.right-image {
  position: absolute;
  right: 6%;
  top: 29%;
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(280px, 34vw, 400px);
}

.right-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

/* Contact */
.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.contact-card {
  width: min(760px, 95vw);
  padding: 28px;
  border-radius: 22px;
  background: rgba(8, 33, 52, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.link-back {
  display: inline-block;
  margin-bottom: 16px;
  color: #ffd4bf;
  text-decoration: none;
  font-weight: 600;
}

.contact-card h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin-bottom: 8px;
}

.contact-intro {
  font-size: 1.05rem;
  color: #f8eee9;
  margin-bottom: 22px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffe9dc;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 177, 138, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 177, 138, 0.18);
}

.contact-submit {
  width: fit-content;
  margin-top: 6px;
  cursor: pointer;
}

/* Prestations */
.services-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
}

.services-card {
  width: min(980px, 95vw);
  padding: 28px;
  border-radius: 22px;
  background: rgba(8, 33, 52, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.services-card h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  margin-bottom: 8px;
}

.services-intro {
  font-size: 1.05rem;
  color: #f8eee9;
  margin-bottom: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-item {
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pricing-item h1,
.pricing-item h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.price {
  color: #ffd4bf;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-item p {
  line-height: 1.35;
}

.includes-title {
  margin-top: 16px;
}

/* Liste inclus: desktop cachée / hover visible */
.pricing-item ul {
  margin-top: 10px;
  padding-left: 20px;
  list-style: disc;
  list-style-position: outside;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.28s ease;
}

.pricing-item li {
  margin-bottom: 6px;
}

.pricing-item:hover ul,
.pricing-item:focus-within ul {
  max-height: 260px;
  opacity: 1;
}

.services-cta {
  display: inline-block;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: 84px 20px 24px;
    transform: none;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: clamp(1rem, 4.6vw, 1.25rem);
    margin-bottom: 20px;
  }

  .hero-content .cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 18px;
  }

  .hero-content .cta + .cta {
    margin-left: 0;
    margin-top: 10px;
  }

  .right-image {
    right: 24px;
    top: auto;
    bottom: 40px;
    transform: none;
    width: 170px;
  }

  .services-wrapper,
  .contact-wrapper {
    align-items: flex-start;
    padding: 16px 12px 22px;
  }

  .services-card,
  .contact-card {
    width: 100%;
    padding: 18px 14px;
    border-radius: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing-item {
    padding: 14px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}

/* Tactile: liste toujours visible */
@media (hover: none), (pointer: coarse) {
  .pricing-item ul {
    max-height: 500px;
    opacity: 1;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 72px;
  }

  .services-card h1,
  .contact-card h1 {
    font-size: 1.6rem;
  }

  .link-back {
    font-size: 0.95rem;
  }
}

@supports not (height: 100dvh) {
  body,
  .page,
  .hero-card {
    min-height: 100vh;
  }
}

/* footer */
.site-signature {
  position: fixed;
  right: 14px;
  bottom: 10px;
  z-index: 10;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.2px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  user-select: none;
}

@media (max-width: 480px) {
  .site-signature {
    right: 10px;
    bottom: 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .services-page .site-signature {
    display: none;
  }
}

/* contact page */

.contact-submit[disabled] {
  opacity: 0.78;
  cursor: wait;
}

.form-status {
  min-height: 1.2rem;
  margin-top: 4px;
  font-size: 0.92rem;
  color: #ffe9dc;
}

.form-status.success {
  color: #c9ffd8;
}

.form-status.error {
  color: #ffd1c1;
}

.home-flash {
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%) translateY(-10px);
  z-index: 20;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(19, 62, 39, 0.92);
  border: 1px solid rgba(201, 255, 216, 0.45);
  color: #e9fff0;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-flash.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}