.policy,
.success,
.contact-section {
  padding-block: 130px 60px;
  min-height: 92vh;
}

.success__text {
  margin-bottom: 30px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-bottom: 30px;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 14px;
}

.policy__link {
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.cookie-popup.show {
  display: flex;
}

.cookie-content {
  background: white;
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  margin: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.cookie-content p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.cookie-content a {
  color: #4a6c7a;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-accept {
  background: #4a6c7a;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-accept:hover {
  background: #3a5a68;
}

.btn-refuse {
  background: transparent;
  color: #333;
  border: none;
  padding: 10px;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 400;
}

/* Header */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-brand h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #4a6c7a;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
  padding: 80px 0;
}

.hero-content {
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.hero-image {
  margin: 40px 0;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  background: #4a6c7a;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #3a5a68;
}

/* Nouveautés Section */
.nouveautes {
  padding: 80px 0;
  background: #f8f9fa;
}

.nouveautes h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.book-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.book-card.full-width {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.book-cover {
  text-align: center;
  margin-bottom: 25px;
}

.book-cover img {
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.book-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.book-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #666;
}

.book-details {
  margin: 20px 0;
  font-size: 0.9rem;
  color: #888;
}

.book-details p {
  margin-bottom: 5px;
}

.book-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 20px 0;
}

.btn-book {
  display: inline-block;
  background: #4a6c7a;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-book:hover {
  background: #3a5a68;
}

/* Collection Section */
.collection {
  padding: 80px 0;
  background: white;
}

/* Engagements Section */
.engagements {
  padding: 80px 0;
  background: #f8f9fa;
}

.engagements h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.engagement-image {
  flex-shrink: 0;
}

.engagement-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
}

.engagement-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.engagement-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.commitment-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.commitment-image {
  margin-bottom: 20px;
}

.commitment-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.commitment-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.commitment-card p {
  line-height: 1.6;
  color: #666;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: white;
}

.faq h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}

.faq-item {
  margin-bottom: 30px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #4a6c7a;
}

.faq-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.faq-item p {
  line-height: 1.6;
  color: #666;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: #4a6c7a;
}

.contact-form {
  max-width: 600px;
  height: 500px;

  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a6c7a;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-submit {
  margin-bottom: 40px;
}

.btn-submit {
  background: #4a6c7a;
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  float: right;
}

.btn-submit:hover {
  background: #3a5a68;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4a6c7a;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .books-grid {
    grid-template-columns: 1fr;
  }

  .engagement-item {
    flex-direction: column;
    text-align: center;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-content {
    margin: 10px;
    padding: 25px;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .nouveautes h2,
  .engagements h2,
  .faq h2 {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .book-card {
    padding: 20px;
  }

  .contact-form {
    padding: 25px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
  }

  .btn-submit {
    width: 100%;
    float: none;
  }
}
