.page {
  padding-bottom: 64px;
}

.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.placeholder {
  color: var(--gris-moyen);
  font-size: 15px;
}

.grilleProduits {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 56px;
}

.carteProduit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.imageProduit {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gris-clair);
}

.imagePlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--beige-kraft) 0%, #faecd0 100%);
}

.image {
  object-fit: cover;
}

.infosProduit {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.titreProduit {
  font-family: var(--font-gotham);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gris-fonce);
}

.description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gris-moyen);
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
}

.specs div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.specs dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vert-fonce);
  font-weight: 600;
}

.specs dd {
  color: var(--gris-moyen);
}

.titreSection {
  font-family: var(--font-gotham);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gris-fonce);
  margin-bottom: 12px;
}

.sectionConfigurateur {
  background: var(--gris-clair);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 56px;
}

.texte {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gris-moyen);
  margin-bottom: 20px;
  max-width: 640px;
}

.sectionComparatif {
  margin-bottom: 56px;
}

.tableauComparatif {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.badgeVs {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  order: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gris-fonce);
  color: var(--blanc);
  font-family: var(--font-gotham);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 2;
  margin: -8px auto;
}

.colonneComparatif[data-variante="kraft"] {
  order: 1;
}

.colonneComparatif[data-variante="plastique"] {
  order: 3;
}

.colonneComparatif {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.colonneComparatif:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.colonneComparatif h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-gotham);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.colonneComparatif h3::before {
  content: "";
  display: flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.colonneComparatif ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.colonneComparatif li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gris-fonce);
}

.colonneComparatif li svg {
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

.colonneComparatif[data-variante="kraft"] {
  background: linear-gradient(160deg, rgba(26, 107, 42, 0.1) 0%, rgba(26, 107, 42, 0.02) 100%);
  border: 2px solid var(--vert-fonce);
}

.colonneComparatif[data-variante="kraft"] h3 {
  color: var(--vert-fonce);
}

.colonneComparatif[data-variante="kraft"] h3::before {
  background: var(--vert-fonce);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.colonneComparatif[data-variante="kraft"] li svg {
  color: var(--vert-fonce);
  background: rgba(26, 107, 42, 0.12);
}

.colonneComparatif[data-variante="plastique"] {
  background: linear-gradient(160deg, rgba(192, 57, 43, 0.08) 0%, rgba(192, 57, 43, 0.02) 100%);
  border: 2px solid #eeeeee;
}

.colonneComparatif[data-variante="plastique"] h3 {
  color: var(--erreur);
}

.colonneComparatif[data-variante="plastique"] h3::before {
  background: var(--erreur);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 18px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.colonneComparatif[data-variante="plastique"] li svg {
  color: var(--erreur);
  background: rgba(192, 57, 43, 0.1);
}

.cta {
  text-align: center;
  background: var(--vert-fonce);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta h2 {
  font-family: var(--font-gotham);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blanc);
}

.cta p {
  font-size: 15px;
  color: var(--blanc);
  opacity: 0.9;
  max-width: 480px;
}

.ctaActions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.ctaContact {
  color: var(--blanc) !important;
  border-color: var(--blanc) !important;
  background: transparent !important;
}

.ctaContact:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

@media (min-width: 640px) {
  .ctaActions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .carteProduit {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .carteProduit[data-inverse="true"] .imageProduit {
    order: 2;
  }

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

  .badgeVs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    margin: 0;
    order: 0;
  }
}
