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

:root {
  --font: 'Roboto', sans-serif;
  --bg: #eceef1;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-timeline: 800ms;
}

@media (max-width: 767px) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#hero {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  padding-bottom: 1.5rem;
  position: relative;

}

.hero-inner {
  width: 80%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5rem;
  gap: 1.5rem;
}

.hero-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: #0f1117;
}

.hero-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.hero-socials a {
  display: flex;
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .hero-socials a:hover {
    transform: scale(1.15);
  }
}


#section2 {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.section2-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  background-color: #ffffff;
  width: 100%;
  gap: 1rem;
}

.section2-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.section2-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #0f1117;
}

.section2-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0f1117;
  text-align: center;
  margin-bottom: 0rem;
}

.section2-book-wrapper {
  width: 540px;
  max-width: 100%;
  overflow: hidden;
}

.section2-book {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -50px;
  margin-bottom: -30px;
}

.hero-puce {
  position: absolute;
  top: 15rem;
  left: 15rem;
  height: 2.5rem;
  width: auto;
  transform: rotate(-45deg);
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero-puce {
    display: none;
  }
}

.hero-puce-mobile {
  position: absolute;
  bottom: -1.5rem;
  left: 0.5rem;
  height: 2rem;
  width: auto;
  transform: rotate(-45deg);
  pointer-events: none;
  display: none;
}

@media (max-width: 767px) {
  .hero-puce-mobile {
    display: block;
  }
}

.btn-commander {
  display: inline-block;
  background-color: #ff0059;
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.875rem 2.5rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  margin-top: 0rem;
  margin-bottom: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (hover: hover) {
  .btn-commander:hover {
    transform: translateY(-3px);
    outline: 3px solid #ff0059;
    outline-offset: 3px;
  }
}

#section3 {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.section3-inner {
  width: 540px;
  max-width: 100%;
  padding: 0.25rem 0 3rem 0;
}

@media (max-width: 767px) {
  .section3-inner {
    padding: 0.25rem 1.5rem 3rem 1.5rem;
  }
}

.section3-text {
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  color: #0f1117;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 767px) {
  .section3-text {
    font-weight: 400;
  }
}

#section4 {
  width: 100%;
  background-color: rgba(252, 87, 118, 0.98);
  display: flex;
  justify-content: center;
}

.section4-inner {
  width: 540px;
  max-width: 100%;
  padding: 3rem 0;
}

@media (max-width: 767px) {
  .section4-inner {
    padding: 3rem 1.5rem;
  }
}

.section4-text {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.7;
  text-align: center;
  font-weight: 1000;
}

@media (max-width: 767px) {
  .section4-text {
    font-size: 1.2rem;
    font-weight: 400;
  }
}



#section5 {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.section5-inner {
  width: 540px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
  padding: 3rem 0;
}

.section5-left {
  flex: 1;
}

.section5-livre {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.12);
  display: block;
}

.section5-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.75rem;
  padding-top: 1.5rem;
  text-align: right;
}

.section5-prix-unitaire {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f1117;
  margin-bottom: 0.75rem;
}

.section5-prix-unitaire span {
  font-size: 1.35rem;
  font-weight: 400;
  color: #0f1117;
}

.section5-quantite {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.section5-quantite label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f1117;
}

.section5-quantite-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.section5-quantite-controls button {
  width: 32px;
  height: 32px;
  border: 2px solid #0f1117;
  background: #ffffff;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.section5-quantite-controls button:hover {
  background: #0f1117;
  color: #ffffff;
}

.section5-select {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: #0f1117;
  background-color: #ffffff;
  border: 2px solid #0f1117;
  border-radius: 8px;
  padding: 0.65rem 2.5rem 0.65rem 1.25rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-width: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230f1117' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}

@media (max-width: 767px) {
  .section5-quantite label {
    font-size: 1.125rem;
  }

  .section5-select {
    font-size: 1.125rem;
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    min-width: 100px;
    color: #0f1117;
    -webkit-text-fill-color: #0f1117;
  }
}

#qte-valeur {
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
}

.section5-livraison {
  font-size: 0.9rem;
  color: #0f1117;
}

.section5-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1117;
  margin-bottom: 0.75rem;
}

.btn-acheter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff0059;
  color: #ffffff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
  text-align: center;
}

@media (hover: hover) {
  .btn-acheter:hover {
    transform: translateY(-3px);
    outline: 3px solid #ff0059;
    outline-offset: 3px;
  }
}

@media (max-width: 767px) {
  .section5-inner {
    flex-direction: column;
    padding: 3rem 1.5rem;
  }

  .section5-right {
    align-items: center;
    text-align: center;
  }

  .section5-quantite {
    align-items: center;
  }

  .section5-quantite-controls {
    justify-content: center;
  }
}

.section5-amazon {
  font-size: 0.9rem;
  color: #0f1117;
  margin-top: auto;
}

.section5-amazon-link {
  color: #FF9900;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .section5-amazon {
    margin-top: 1.5rem;
  }
}

#section6 {
  width: 100%;
  background-color: rgba(255, 193, 203, 0.98);
  display: flex;
  justify-content: center;
  position: relative;
}

.section6-inner {
  width: 540px;
  max-width: 100%;
  padding: 4rem 0 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section6-titre {
  font-size: 2rem;
  font-weight: 900;
  color: #0f1117;
  text-align: center;
  line-height: 3rem;
}

.section6-sous-titre {
  font-size: 0.85rem;
  font-weight: 400;
  color: #0f1117;
  text-align: center;
  margin-bottom: 1rem;
}

.carousel {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.carousel-track-wrapper {
  flex: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  align-items: flex-start;
}

.carousel-item {
  min-width: 100%;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  box-sizing: border-box;
}

.avis-nom {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f1117;
  margin-bottom: 0.25rem;
}

.avis-etoiles {
  color: #ff0059;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

.avis-texte {
  font-size: 0.9rem;
  color: #0f1117;
  line-height: 1.6;
}

.carousel-btn {
  background: none;
  border: none;
  color: #ff0059;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  margin-top: 7rem;
}

@media (hover: hover) {
  .carousel-btn:hover {
    transform: scale(1.2);
  }
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #ff0059;
}

@media (max-width: 767px) {
  .section6-inner {
    padding: 3rem 1.5rem;
  }
}

#footer {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.footer-inner {
  width: 540px;
  max-width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.8rem;
  color: #0f1117;
}

.footer-contact {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1117;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-cgv {
  color: #0f1117;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .footer-contact:hover {
    color: #ff0059;
  }

  .footer-cgv:hover {
    color: #ff0059;
  }
}




#thankyou {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.thankyou-inner {
  width: 540px;
  max-width: 100%;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-top: -5rem;
}

.thankyou-note {
  font-size: 0.75rem;
  color: #0f1117;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.thankyou-titre {
  font-size: 3rem;
  font-weight: 900;
  color: #0f1117;
}

.thankyou-texte {
  font-size: 1rem;
  color: #0f1117;
  line-height: 1.8;
}

.thankyou-signature {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f1117;
  margin-top: 1rem;
}

.thankyou-puce {
  position: absolute;
  top: 15rem;
  left: 15rem;
  height: 2.5rem;
  width: auto;
  transform: rotate(-45deg);
  pointer-events: none;
}

@media (max-width: 767px) {
  .thankyou-puce {
    display: none;
  }
}

.thankyou-puce-mobile {
  display: none;
}

@media (max-width: 767px) {
  .thankyou-puce-mobile {
    display: block;
    height: 2rem;
    width: auto;
    transform: rotate(-45deg);
    margin-bottom: -3.5rem;
    align-self: flex-start;
    margin-left: 0.5rem;
  }
}











#cgv {
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.cgv-inner {
  width: 540px;
  max-width: 100%;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cgv-titre {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f1117;
  margin-bottom: 0.25rem;
}

.cgv-maj {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.cgv-h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1117;
  margin-top: 1.25rem;
}

.cgv-link {
  color: #ff0059;
  text-decoration: underline;
  text-underline-offset: 3px;
}