*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bleu-marine-profond: #0B1E36;
  --bleu-marine: #0B2545;
  --blanc-casse: #F7F8FA;
  --rouge-signature: #E63946;
  --rouge-neon: #FF4B4B;
  --gris-anthracite: #1E1E1E;
  --blanc: #FFFFFF;

  --font-systeme: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --hauteur-sticky-cta: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-systeme);
  background-color: var(--blanc-casse);
  color: var(--gris-anthracite);
  line-height: 1.5;
  padding-bottom: var(--hauteur-sticky-cta);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.site-header {
  background-color: var(--blanc);
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
}

.site-header__logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--bleu-marine);
}

/* TODO: ajouter une photo produit HD en pleine largeur en fond du hero dès qu'elle sera transmise par CCSS */
.hero {
  background-color: var(--bleu-marine-profond);
  color: var(--blanc);
  padding: 3rem 1.25rem 4rem;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3rem;
  background: linear-gradient(to bottom, transparent, var(--blanc-casse));
  pointer-events: none;
}

.hero__badge {
  display: inline-block;
  background-color: rgba(247, 248, 250, 0.1);
  border: 1px solid rgba(247, 248, 250, 0.3);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(247, 248, 250, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}

.hero__cta {
  display: inline-block;
  background-color: var(--rouge-neon);
  color: var(--blanc);
  font-weight: 700;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(255, 75, 75, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 75, 75, 0.65);
}

.social-proof {
  background-color: var(--blanc-casse);
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 1.25rem;
  text-align: center;
}

.social-proof__stat {
  display: flex;
  flex-direction: column;
}

.social-proof__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bleu-marine);
}

.social-proof__label {
  font-size: 0.9rem;
  color: var(--gris-anthracite);
}

.catalog-section {
  padding: 2.5rem 1.25rem;
}

.catalog-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bleu-marine);
  margin-bottom: 1.25rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.product-card {
  background-color: var(--blanc);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.14);
}

.product-card__image {
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--blanc-casse);
  aspect-ratio: 4 / 3;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  align-self: flex-start;
  background-color: var(--bleu-marine);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.product-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bleu-marine);
}

.product-card__unconfirmed {
  font-weight: 500;
  font-size: 0.85em;
  color: rgba(30, 30, 30, 0.55);
}

.product-card__features li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--gris-anthracite);
  margin-bottom: 0.35rem;
}

.product-card__features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rouge-signature);
  font-weight: 700;
}

.product-card__reassurance {
  font-size: 0.85rem;
  color: rgba(30, 30, 30, 0.75);
}

.product-card__cta {
  display: block;
  text-align: center;
  background-color: var(--rouge-signature);
  color: var(--blanc);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-top: auto;
  transition: filter 0.2s ease;
}

.product-card__cta:hover,
.product-card__cta:focus-visible {
  filter: brightness(1.08);
}

.premium-section {
  background-color: var(--bleu-marine-profond);
  padding: 3rem 1.25rem;
}

.premium-section__title {
  color: var(--blanc);
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-grid--premium {
  max-width: 60rem;
  margin: 0 auto;
}

.product-card--premium {
  background-color: var(--bleu-marine);
  color: var(--blanc);
}

.product-card--premium .product-card__name {
  color: var(--blanc);
}

.product-card--premium .product-card__reassurance {
  color: rgba(247, 248, 250, 0.75);
}

.product-card--premium:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.product-card__cta--neon {
  background-color: var(--rouge-neon);
  box-shadow: 0 0 16px rgba(255, 75, 75, 0.45);
}

.product-card__cta--neon:hover,
.product-card__cta--neon:focus-visible {
  box-shadow: 0 0 24px rgba(255, 75, 75, 0.6);
}

.reassurance-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1.25rem;
  background-color: var(--blanc-casse);
}

.reassurance-section__badge {
  background-color: var(--blanc);
  color: var(--bleu-marine);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.08);
}

.site-footer {
  text-align: center;
  padding: 2rem 1.25rem;
  color: rgba(30, 30, 30, 0.6);
  font-size: 0.85rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hauteur-sticky-cta);
  background-color: var(--rouge-signature);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 -2px 12px rgba(11, 37, 69, 0.15);
}

.sticky-cta__link {
  color: var(--blanc);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}

@media (min-width: 600px) {
  .hero__title {
    font-size: 2.25rem;
  }

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

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 1.25rem 6rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .catalog-section,
  .premium-section {
    padding-left: 3rem;
    padding-right: 3rem;
  }

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

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