:root {
  --bg-light: #f5f3f0;
  --text-dark: #2a2622;
  --accent-primary: #a64c42;
  --accent-secondary: #9e9993;
  --highlight: #8fa887;
  --bg-dark: #1a1a1a;
  --border-light: #e8e4df;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-dark);
}

header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: 1px;
}

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

.nav-menu a {
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--accent-primary);
}

.nav-button {
  background-color: var(--accent-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.nav-button:hover {
  background-color: transparent;
  color: var(--accent-primary);
}

.hero {
  background: linear-gradient(135deg, #0f0f0f 0%, #2a2622 100%);
  color: white;
  padding: 4rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
}

.hero-content h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #e8e4df;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 2rem;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-filled {
  background-color: var(--accent-primary);
  color: white;
}

.btn-filled:hover {
  background-color: transparent;
  color: var(--accent-primary);
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--text-dark);
  transform: scale(1.02);
}

.hero-product {
  border: 2px solid var(--border-light);
  padding: 1.5rem;
  border-radius: 4px;
  background-color: white;
  overflow: hidden;
}

.hero-product img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.22s ease;
}

.hero-product:hover img {
  transform: scale(1.02);
}

.hero-product h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.hero-product p {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.hero-product .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.tiles-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tile {
  background-color: white;
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.22s ease;
}

.tile:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tile h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.tile p {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tile-subtitle {
  font-size: 0.9rem;
  color: var(--highlight);
  font-weight: 600;
  margin-bottom: 1rem;
}

.tile-image {
  width: 60px;
  height: 60px;
  background-color: var(--bg-light);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.note-rapide {
  background-color: var(--accent-secondary);
  color: white;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  border-radius: 4px;
}

.note-rapide h3 {
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.note-rapide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.note-item {
  font-size: 0.9rem;
  line-height: 1.4;
}

.products-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background-color: white;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  background-color: var(--highlight);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.product-divider {
  height: 1px;
  background-color: var(--border-light);
  margin-bottom: 0.75rem;
}

.product-meta {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.product-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.4;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.product-button {
  background-color: var(--accent-primary);
  color: white;
  border: 1px solid var(--accent-primary);
  padding: 0.7rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.22s ease;
  text-align: center;
  text-decoration: none;
}

.product-button:hover {
  background-color: transparent;
  color: var(--accent-primary);
  transform: scale(1.02);
}

.faq-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.faq-title {
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq-item h4 {
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.faq-item p {
  color: var(--accent-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cta-section {
  background-color: var(--accent-primary);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-section p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

footer {
  background-color: #1a1a1a;
  color: white;
  padding: 3rem 1rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-block h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-block p, .footer-block a {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0.5rem;
}

.footer-block a {
  display: block;
  color: #bbb;
  transition: color 0.2s ease;
}

.footer-block a:hover {
  color: var(--accent-primary);
}

.footer-divider {
  border-top: 1px solid #333;
  margin: 2rem 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid #333;
  font-size: 0.85rem;
  color: #999;
  text-align: center;
}

.product-page {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.product-detail-image {
  width: 100%;
  height: auto;
  border: 2px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-detail-content h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.product-detail-content p {
  color: var(--accent-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.product-specs {
  background-color: white;
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.product-specs h3 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.specs-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.specs-row strong {
  color: var(--accent-primary);
}

.product-detail-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(166, 76, 66, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--accent-secondary);
  font-weight: 400;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.thank-you-message {
  max-width: 600px;
  margin: 4rem auto;
  padding: 3rem 1rem;
  text-align: center;
  background-color: white;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.thank-you-message h1 {
  color: var(--highlight);
  margin-bottom: 1rem;
}

.thank-you-message p {
  color: var(--accent-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
}

.about-block {
  margin-bottom: 3rem;
}

.about-block h2 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.about-block h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-block p {
  color: var(--accent-secondary);
  line-height: 1.8;
  font-size: 1rem;
}

.about-block ul, .about-block ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
}

.about-block li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.legal-content {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  background-color: white;
  border-radius: 4px;
}

.legal-content h1 {
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.legal-content h2 {
  color: var(--accent-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--accent-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .hero-product {
    display: none;
  }

  .tiles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .note-rapide-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    display: flex;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

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

  .btn {
    width: 100%;
  }

  .specs-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .note-rapide-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem;
  z-index: 2000;
  border-top: 2px solid var(--accent-primary);
  max-height: 200px;
  overflow-y: auto;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.cookie-text a {
  color: var(--accent-primary);
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-buttons button {
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--accent-primary);
  border-radius: 2px;
  background-color: transparent;
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-buttons button.accept {
  background-color: var(--accent-primary);
  color: white;
}

.cookie-buttons button:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: scale(1.02);
}

.hidden-cookie {
  display: none !important;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
  }
}
