/* SECTION NOS FORMULES */
.packs-premium {
  position: relative;
  padding: 110px 20px;
  color: var(--text);
  background: linear-gradient(180deg, #000 0%, #0b0b0b 55%, #050505 100%);
  overflow: hidden;
}

/* Effet lumière qui bouge (subtil + premium) */
.packs-premium::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(
      900px 420px at 20% 30%,
      rgba(255, 122, 0, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 80% 70%,
      rgba(255, 122, 0, 0.1),
      transparent 62%
    );
  filter: blur(10px);
  animation: packsGlow 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes packsGlow {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.9;
  }
}

.packs-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 420px at 50% -10%,
    rgba(255, 122, 0, 0.12),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0.9;
}

.packs-premium__container {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 0 auto;
}

.packs-premium__header {
  text-align: center;
  margin-bottom: 54px;
}

.packs-premium__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900;
  letter-spacing: 0.2px;
}
.packs-premium__title span {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.packs-premium__subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/* GRID */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* CARD */
.pack-card {
  position: relative;
  border-radius: 22px;
  padding: 65px 24px 22px;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease,
    background 250ms ease;
  overflow: hidden;
}

.pack-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: radial-gradient(
    420px 180px at 20% 0%,
    rgba(255, 122, 0, 0.18),
    transparent 60%
  );
  opacity: 0.65;
  pointer-events: none;
}

.pack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.78),
    0 0 40px rgba(255, 122, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pack-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(255, 122, 0, 0.09);
  border: 1px solid rgba(255, 122, 0, 0.22);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.55);
  margin-bottom: 14px;
}

.pack-card__name {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.pack-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}

.pack-card__from {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  font-size: 13px;
}

.pack-card__amount {
  font-weight: 950;
  font-size: 34px;
  color: var(--orange);
  text-shadow: 0 0 14px rgba(255, 122, 0, 0.25);
}

.pack-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  font-size: 14px;
}

.pack-card__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}
.pack-card__list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  margin-top: 1px;
}

.pack-card__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--orange);
  background: rgba(255, 122, 0, 0.08);
  border: 1px solid rgba(255, 122, 0, 0.28);
  transition:
    transform 160ms ease,
    filter 160ms ease,
    background 160ms ease;
}

.pack-card__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  background: rgba(255, 122, 0, 0.12);
}

.pack-card__btn--solid {
  color: #000;
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  border: 0;
  box-shadow: 0 16px 30px rgba(255, 122, 0, 0.28);
}

/* FEATURED */
.pack-card--featured {
  border-color: rgba(255, 122, 0, 0.55);
  box-shadow:
    0 35px 95px rgba(0, 0, 0, 0.82),
    0 0 55px rgba(255, 122, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(-6px);
}

.pack-card__badge {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.5px;
  color: #000;
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  box-shadow: 0 14px 28px rgba(255, 122, 0, 0.15);
  z-index: 2;
}

/* =========================
     HOW (Process)
  ========================= */
.how {
  position: relative;
  padding: 90px 20px 70px;
  background: linear-gradient(180deg, #000 0%, #0b0b0b 65%, #050505 100%);
  overflow: hidden;
}

/* lumière subtile premium */
.how::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(
      900px 420px at 20% 30%,
      rgba(255, 122, 0, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 80% 70%,
      rgba(255, 122, 0, 0.1),
      transparent 62%
    );
  filter: blur(10px);
  animation: glowMove 10s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.9;
}

@keyframes glowMove {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5%, 1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
}

.how__container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.how__header {
  text-align: center;
  margin-bottom: 32px;
}

.how__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.2px;
}

.how__title span {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin-top: 30px;
  align-items: start;
}

.step {
  text-align: center;
  padding: 10px 6px;
}

.step__num {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  color: #000;
  font-weight: 950;
  font-size: 20px;

  background: radial-gradient(
    circle at 30% 30%,
    #ffb347,
    #ff7a00 60%,
    #a84b00 120%
  );
  box-shadow:
    0 18px 40px rgba(255, 122, 0, 0.28),
    0 0 0 1px rgba(255, 122, 0, 0.35);
}

.step__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.step__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
     WORKS (Réalisations)
  ========================= */
.works {
  position: relative;
  padding: 80px 20px 110px;
  background: linear-gradient(180deg, #050505 0%, #0b0b0b 55%, #000 100%);
}

.works__container {
  max-width: 1200px;
  margin: 0 auto;
}

.works__header {
  text-align: center;
  margin-bottom: 36px;
}

.works__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: #fff;
}

.works__title span {
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255, 122, 0, 0.35);
}

.works__subtitle {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.work-card {
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    box-shadow 250ms ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 0, 0.28);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.78),
    0 0 40px rgba(255, 122, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.work-card__title {
  margin: 0 0 16px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

/* =========================
   AVANT / APRÈS SLIDER (Ferros)
========================= */

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;

  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Calque APRÈS (découpé) */
.ba-after {
  position: absolute;
  inset: 0;
  width: 10%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-after .ba-img {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

/* couches */
.ba-img--before {
  position: absolute;
  z-index: 1;
}

.ba-img--after {
  position: absolute;
  z-index: 2;
}

/* Poignée */
.ba-handle {
  position: absolute;
  top: 0;
  left: 10%;
  transform: translateX(-50%);
  height: 100%;
  width: 0;
  pointer-events: none;
  z-index: 3;
}

.ba-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255, 122, 0, 0.75);
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.25);
  transform: translateX(-50%);
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  transform: translate(-50%, -50%);

  background: linear-gradient(90deg, #ff7a00, #ffb347);
  border: 1px solid rgba(255, 122, 0, 0.35);
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(255, 122, 0, 0.18);
}

.ba-knob::before,
.ba-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(0, 0, 0, 0.55);
  border-right: 2px solid rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) rotate(225deg);
}

.ba-knob::before {
  left: 12px;
}

.ba-knob::after {
  right: 12px;
  transform: translateY(-50%) rotate(45deg);
}

/* Input range (transparent utilisable) */
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

/* Labels AVANT/APRÈS */
.ba-tag {
  position: absolute;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2px;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  z-index: 5;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    border 0.25s ease,
    box-shadow 0.25s ease;
}

/* état actif */
.ba-tag.is-active {
  color: var(--orange);
  border-color: rgba(255, 122, 0, 0.4);
  background: rgba(255, 122, 0, 0.08);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.25);
}

.ba-tag--before {
  left: 12px;
}

.ba-tag--after {
  right: 12px;
}

/* Hover premium */
.work-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.work-card:hover .ba-slider {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 122, 0, 0.06);
}

/* ===============================
   FAQ FERROS PREMIUM STYLE
================================ */

.faq {
  padding: 100px 20px;
  background:
    radial-gradient(
      900px 500px at 50% 0%,
      rgba(255, 122, 0, 0.15),
      transparent 60%
    ),
    linear-gradient(180deg, #000 0%, #0b0b0b 60%, #050505 100%);
}

.faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 40px;
}

.faq__title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}

.faq__title span {
  color: var(--orange);
  text-shadow: 0 0 20px rgba(255, 122, 0, 0.4);
}

.faq__subtitle {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.65);
}

.faq__list {
  display: grid;
  gap: 20px;
}

/* CARD */
.faq__item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.35s ease;
  overflow: hidden;
  position: relative;
}

/* GLOW WHEN OPEN */
.faq__item[open] {
  border-color: rgba(255, 122, 0, 0.5);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(255, 122, 0, 0.2),
    inset 0 0 0 1px rgba(255, 122, 0, 0.2);
  transform: translateY(-3px);
}

/* QUESTION */
.faq__q {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  cursor: pointer;
  list-style: none;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, #ff7a00, #ffb347);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.5);
}

.faq__q span:nth-child(2) {
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

/* CHEVRON */
.faq__chev {
  margin-left: auto;
  width: 14px;
  height: 14px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: 0.3s ease;
}

.faq__item[open] .faq__chev {
  transform: rotate(225deg);
  border-color: var(--orange);
}

/* ANSWER */
.faq__a {
  padding: 0 22px 22px 70px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 15px;
}

/* =========================
   CONTACT FERROS PREMIUM
========================= */

.contact-section {
  padding: 100px 20px;
  background:
    radial-gradient(
      900px 500px at 50% 0%,
      rgba(255, 122, 0, 0.15),
      transparent 60%
    ),
    linear-gradient(180deg, #000 0%, #0b0b0b 60%, #050505 100%);
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

/* GAUCHE */
.contact-left {
  padding-top: 8px;
}

.contact-left__title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.info-list {
  display: grid;
  gap: 18px;
  max-width: 420px;
}

.info-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  transition: transform 0.25s ease;
}

.info-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(255, 122, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.18);
}

.info-label {
  font-weight: 800;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 4px;
}

.info-value {
  font-size: 14px;
  color: rgba(234, 240, 255, 0.75);
  text-decoration: none;
}

.info-item:hover {
  transform: translateX(4px);
}

.info-item:hover .info-value {
  color: var(--orange);
}

.info-item:hover .info-ico {
  background: rgba(255, 122, 0, 0.15);
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.35);
  color: var(--orange);
  transition: all 0.3s ease;
}

.info-value {
  transition: color 0.3s ease;
}
/* FORMULAIRE RIGHT CARD */
.form-card {
  border-radius: 12px;
  padding: 26px 26px 18px;
  background: #111;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.15);
  isolation: isolate;
}

.form-card:hover {
  border-color: rgba(255, 122, 0, 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(255, 122, 0, 0.12);
  transition: all 0.3s ease;
}

.form-card__title {
  margin: 2px 0 18px;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.devis-form {
  display: grid;
  gap: 16px;
  isolation: isolate;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.field label span {
  color: var(--orange);
  font-weight: 900;
  text-shadow: 0 0 6px rgba(255, 122, 0, 0.4);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #0f0f0f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px 12px;
  font: inherit;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(234, 240, 255, 0.38);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(255, 122, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.18);
}

.field select {
  background: #111;
  color: var(--orange);
  border: 1px solid rgba(255, 122, 0, 0.4);
}

.field select option {
  background: #000;
  color: var(--orange);
}

.field input:invalid,
.field select:invalid {
  border-color: rgba(255, 80, 80, 0.6);
}

.field input:valid,
.field select:valid {
  border-color: rgba(80, 200, 120, 0.4);
}

/* BUTTON */
.btn-send {
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  color: black;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  box-shadow: 0 16px 30px rgba(255, 122, 0, 0.35);
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.btn-send:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-send:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-send__ico {
  font-size: 14px;
  opacity: 0.95;
}

/* NOTE BAS DE FORM */
.form-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(234, 240, 255, 0.6);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Responsive CARD AUTO*/
@media (max-width: 900px) {
  .problems__grid {
    grid-template-columns: 1fr;
  }
  .ba-slider {
    aspect-ratio: 4 / 3;
  }
  .ba-knob {
    width: 40px;
    height: 40px;
  }
}

/* Responsive CARD AUTO*/
@media (max-width: 980px) {
  .how__steps {
    grid-template-columns: 1fr 1fr;
  }
  .works__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .how__steps {
    grid-template-columns: 1fr;
  }
  .work-card__img {
    height: 200px;
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .packs-grid {
    grid-template-columns: 1fr;
  }
  .pack-card--featured {
    transform: none;
  }
}
