* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* 📁 /css/style.css */

/* Reset global des liens */
a {
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

body {
  background: #FAF9F6;
  margin: 0;
  padding-top: 0;
  color: #1F3D2B;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  /* si ton logo est blanc sur fond transparent c'est parfait */
  /* sinon ajoute : */
  /*filter: brightness(0) invert(1); /* rend le logo blanc */
}

/* NAV */
nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #FAF9F6;
  font-size: 14px;
  position: relative;
}

/* hover stylé */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 1px;
  background: #FAF9F6;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-right: 8%;
  color: #FAF9F6;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1536 / 1024;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 50px;
  text-align: center; /* ← centré */
  margin-bottom: 15px;
}

.hero p {
  text-align: center; /* ← centré */
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center; /* ← boutons centrés */
  margin-top: 25px;
}

.hero button:hover {
  background: #1F3D2B;
  color: #FAF9F6;
}

/* PRODUCTS */
.products {
  padding: 60px 40px;
}

.products h2 {
  margin-bottom: 30px;
}

.scarcity {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #1F3D2B;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background: #ffffff;
  border: 1px solid #eae7e1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(31,61,43,0.15);
  border-color: #D8A78A;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 15px 15px 5px;
  color: #1F3D2B;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section {
  padding: 140px 10%;
  position: relative;
}

section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  }

h2 {
  font-size: clamp(28px, 4vw, 60px); /* ← taille réduite et plus raisonnable */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  position: relative;
  color: #1F3D2B;
  overflow: hidden; /* ← empêche le débordement */
  word-break: break-word; /* ← coupe si vraiment trop long */
}

h3 {
  font-size: clamp(28px, 4vw, 60px); /* ← idem */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  position: relative;
  color: #F5F1EA;
  overflow: hidden;
  word-break: break-word;
}

/* effet outline derrière */
h2::before {
  content: attr(data-text);
  position: absolute;
  top: -10px;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(31,61,43,0.15);
  z-index: -1;
  white-space: nowrap; /* ← reste sur une ligne */
  overflow: hidden;    /* ← ne déborde pas */
  max-width: 100%;     /* ← limité à la largeur du parent */
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #3A6B4F;
  margin-top: 15px;
}

section + section {
  border-top: 1px solid #eae7e1;
}

/* CONCEPT */
.concept {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #FAF9F6;
}

.concept p {
  font-size: 20px;
  line-height: 1.8;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

/* PROCESS */
.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 80px;
}

.process {
    background: #1F3D2B;
    color: #FAF9F6;
}

/* ligne */
.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #3A6B4F;
}

.step {
  position: relative;
  text-align: center;
}

.step span {
  display: block;
  font-size: 18px;
  background: #1F3D2B;
  padding: 10px;
  border: 1px solid #3A6B4F;
  margin-bottom: 15px;
}

.step:hover span {
  border-color: #D8A78A;
  transform: scale(1.1);
  transition: 0.3s;
}

.step p {
  color: rgba(250,249,246,0.7);
}

/* ===== TÉMOIGNAGES ===== */

.testimonials {
  background: #FAF9F6;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials h2 {
  max-width: 1100px;
  margin: 0 auto 80px;
  font-size: clamp(32px, 4.5vw, 70px);
  line-height: 1.1;
}

/* ligne sous le titre */
.testimonials h2::after {
  margin: 20px auto 0;
}

/* désactive le before uniquement ici (il fout le bordel visuel) */
.testimonials h2::before {
  display: none;
}

/* grid clean */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* cards */
.review {
  background: #fff;
  padding: 30px;
  border: 1px solid #eae7e1;
  transition: 0.3s;
}

.review:hover {
  transform: translateY(-8px);
  border-color: #D8A78A;
}

.review span {
  display: block;
  margin-top: 15px;
  color: #6E6A66;
}

.review p {
  color: #1F3D2B;
}

.footer {
  background: #1F3D2B;
  color: #FAF9F6;
  padding: 100px 10% 40px;
}

/* layout */
.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

/* titres */
.footer h4 {
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(250,249,246,0.6);
}

/* marque */
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(250,249,246,0.7);
  line-height: 1.6;
}

/* liens */
.footer a {
  display: block;
  color: rgba(250,249,246,0.8);
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.3s;
}

.footer a:hover {
  color: #D8A78A;
  transform: translateX(4px);
}

/* newsletter */
.footer-newsletter p {
  color: rgba(250,249,246,0.7);
  margin-bottom: 15px;
}

.footer-newsletter form {
  display: flex;
  border-bottom: 1px solid rgba(250,249,246,0.3);
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 0;
  color: #FAF9F6;
  outline: none;
}

.footer-newsletter input::placeholder {
  color: rgba(250,249,246,0.4);
}

.footer-newsletter button {
  background: none;
  border: none;
  color: #D8A78A;
  cursor: pointer;
  padding-left: 10px;
  transition: 0.3s;
}

.footer-newsletter button:hover {
  opacity: 0.7;
}

/* trust */
.footer-trust {
  text-align: center;
  margin-top: 60px;
  font-size: 14px;
  color: rgba(250,249,246,0.6);
}

/* bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(250, 249, 246, 0.5);
}

.footer-cta {
  text-align: center;
  padding: 80px 20px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  background: #FAF9F6;
  color: #1F3D2B;
}

/* ===== LIENS LÉGAUX SUR UNE LIGNE ===== */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
}

.footer-legal-links a {
  color: rgba(250, 249, 246, 0.5);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-legal-links a:hover {
  color: rgba(250, 249, 246, 0.9);
}

.footer-legal-links span {
  color: rgba(250, 249, 246, 0.3);
  font-size: 0.75rem;
}

/* 📁 /css/style.css */

/* Boutons hero */
.hero-buttons a {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.hero-buttons .btn-primary {
  background: #D8A78A;
  color: white;
}

.hero-buttons .btn-primary:hover {
  background: white;
  color: #1F3D2B;
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: #FAF9F6;
  border: 2px solid #FAF9F6;
}

.hero-buttons .btn-secondary:hover {
  background: #FAF9F6;
  color: #1F3D2B;
}

/* Footer CTA */
.footer-cta a {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: #D8A78A;
  color: white;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
}

.footer-cta a:hover {
  background: #1F3D2B;
  color: #FAF9F6;
  border: 2px solid #FAF9F6;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #D8A78A;
  color: #1F3D2B;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
}

.price {
  padding: 5px 15px 15px;
  font-size: 22px;
  font-weight: 900;
  color: #1F3D2B;
  display: flex;
  align-items: center;
  gap: 10px;
}

.old-price {
  font-size: 15px;
  color: #aaa;
  text-decoration: line-through;
  font-weight: 400;
}

.card button {
  margin: 0 15px 15px;
  padding: 12px;
  background: #D8A78A;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s;
}

.card button:hover {
  background: #1F3D2B;
  color: white;
}

/* NOTIFICATION PANIER */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1F3D2B;
  color: #FAF9F6;
  padding: 16px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 99999;
  animation: slideIn 0.3s ease;
}

/* ===== LIEN ACTIF DANS LA NAV ===== */
nav a.active {
  font-weight: 700;
  color: #D8A78A !important;
}
nav a.active::after {
  width: 100%;
  background: #D8A78A;
}

/* ── RÉSEAUX SOCIAUX FOOTER ──────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 249, 246, 0.7);   /* même couleur que le texte footer */
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  color: #ffffff;
  transform: translateY(-2px);       /* petit effet au survol */
}

.social-link svg {
  flex-shrink: 0;                    /* le logo ne se rétrécit pas */
}

/* Liens des cartes produits */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card-link:hover img {
  transform: scale(1.03); /* léger zoom au survol = effet pro ✨ */
}

/* ===== CARDS PRODUITS ===== */
.card {
  background: #ffffff;
  border: 1px solid #eae7e1;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31,61,43,0.15);
  border-color: #D8A78A;
}

/* Image */
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Badge sur l'image */
.card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #1F3D2B;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 20px;
}

/* Infos */
.product-info {
  padding: 16px 16px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1F3D2B;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0;
}

.size-tag {
  font-size: 13px;
  color: #888;
}

.price {
  font-size: 20px;
  font-weight: 700;
  color: #1F3D2B;
  margin-top: 6px;
}

.stock {
  font-size: 12px;
  color: #999;
}

/* Actions */
.product-actions {
  padding: 12px 16px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-cart {
  flex: 1;
  background: #D8A78A;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cart:hover {
  background: #c4916e;
}

.btn-wishlist {
  background: #f5f0eb;
  border: 1px solid #eae7e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-wishlist:hover {
  background: #D8A78A;
  color: #fff;
}

/* ================================================
   RESPONSIVE — style.css
   ================================================ */

/* ── Tablette (max 900px) ── */
@media (max-width: 900px) {

  section {
    padding: 80px 6%;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {

  section {
    padding: 60px 5%;
  }

  /* H2 plus petit */
  h2 {
    font-size: clamp(22px, 6vw, 36px);
  }

  h2::before {
    display: none;
  }

  /* Concept */
  .concept p {
    font-size: 16px;
  }

  /* Steps */
  .steps {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }

  .steps::before {
    top: 0;
    left: 25px;
    width: 1px;
    height: 100%;
  }

  .step {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .step span {
    flex-shrink: 0;
    font-size: 16px;
    padding: 8px 12px;
  }

  /* Reviews */
  .reviews {
    grid-template-columns: 1fr;
  }

  /* Grid produits */
  .grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer {
    padding: 60px 5% 30px;
  }

  .footer-trust {
    margin-top: 40px;
    font-size: 12px;
  }

  /* Toast */
  .toast {
    bottom: 16px;
    right: 12px;
    left: 12px;
    text-align: center;
    font-size: 14px;
  }
}

/* ── Petit mobile (max 380px) ── */
@media (max-width: 380px) {

  section {
    padding: 50px 4%;
  }

  .hero-buttons a {
    font-size: 14px;
    padding: 12px 16px;
  }

  .review {
    padding: 20px;
  }

  .footer-social {
    gap: 10px;
  }
}
