:root {
  --cream: #fbf6eb;
  --cream-2: #f3eadc;
  --green: #1f3f26;
  --green-2: #2f5a36;
  --green-3: #6f815f;
  --brown: #b67b45;
  --text: #18251b;
  --muted: #657060;
  --line: rgba(31, 63, 38, 0.18);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(52, 42, 25, 0.10);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1220px;
  --font: Inter, Avenir, Helvetica, Arial, sans-serif;
}

/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* BOUTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 15px;
  border: 1px solid var(--green);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 63, 38, 0.16);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: var(--white);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
}

/* HEADER */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 28px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: 150px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-weight: 750;
  font-size: 15px;
}

.nav-links a {
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
}

.mobile-menu {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green);
  font-size: 22px;
}

/* PAGE PRODUIT */

.product-hero {
  position: relative;
  padding: 145px 0 64px;
  background:
    radial-gradient(circle at 0% 45%, rgba(111, 129, 95, 0.13), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(182, 123, 69, 0.10), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, var(--cream) 50%, #f4eadb 100%);
}

.product-hero::before {
  content: "";
  position: absolute;
  left: -95px;
  bottom: -70px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(111, 129, 95, 0.12);
  pointer-events: none;
}

/* BREADCRUMB */

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 32px;
}

.breadcrumb a {
  color: var(--green);
}

.breadcrumb span:last-child {
  color: var(--brown);
}

/* LAYOUT */

.product-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 18px;
}

.product-main-image {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 54px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid #eadfce;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.product-main-image::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(244, 235, 218, 0.88);
  z-index: -1;
}

.product-main-image img {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.product-tag {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 2;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(31, 63, 38, 0.94);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.thumb {
  height: 150px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 18px;
  border: 1px solid #eadfce;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  overflow: hidden;
}

.thumb.is-active {
  border-color: rgba(31, 63, 38, 0.38);
  box-shadow: 0 12px 26px rgba(70, 54, 34, 0.08);
}

.thumb img {
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

/* INFO CARD */

.product-info-card {
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid #eadfce;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow);
}

.product-brand {
  color: var(--brown);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-info-card h1 {
  color: var(--green);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 950;
  margin-bottom: 22px;
}

.product-intro {
  max-width: 610px;
  color: #29342b;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 640;
  margin-bottom: 30px;
}

.product-price-block {
  display: inline-grid;
  gap: 2px;
  padding: 18px 26px;
  border-radius: 20px;
  background: rgba(244, 235, 218, 0.72);
  border: 1px solid rgba(31, 63, 38, 0.08);
  margin-bottom: 28px;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-price-block strong {
  color: var(--green);
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.product-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid #eadfce;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.48);
}

.product-meta-grid div {
  padding: 18px;
  border-right: 1px solid #eadfce;
  border-bottom: 1px solid #eadfce;
}

.product-meta-grid div:nth-child(2n) {
  border-right: 0;
}

.product-meta-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.product-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.product-meta-grid strong {
  display: block;
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
}

/* DETAILS */

.product-details {
  padding: 64px 0 34px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.details-card {
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #eadfce;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 34px rgba(70, 54, 34, 0.06);
}

.eyebrow {
  text-transform: uppercase;
  color: var(--brown);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}

.details-card h2 {
  color: var(--green);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 950;
  margin-bottom: 20px;
}

.details-card p {
  color: #29342b;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 620;
  margin-bottom: 16px;
}

.details-card p:last-child {
  margin-bottom: 0;
}

.specs-list {
  list-style: none;
  display: grid;
}

.specs-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #eadfce;
}

.specs-list li:last-child {
  border-bottom: 0;
}

.specs-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.specs-list strong {
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
}

/* ADVANTAGES */

.advantages-section {
  padding: 34px 0 62px;
}

.section-title {
  color: var(--green);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 950;
  text-align: center;
  letter-spacing: -0.04em;
  margin-bottom: 34px;
}

.leaf-accent::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 8px;
  background: var(--green-2);
  border-radius: 80% 0 80% 0;
  transform: rotate(-18deg) translateY(2px);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.advantage-card {
  min-height: 245px;
  padding: 32px 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid #eadfce;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(92, 71, 43, 0.05);
}

.icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: #dfe3c9;
  font-size: 28px;
  margin: 0 auto 18px;
}

.advantage-card h3 {
  color: var(--green);
  font-size: 20px;
  margin-bottom: 12px;
}

.advantage-card p {
  color: #28362b;
  font-size: 15px;
  font-weight: 600;
}

/* CTA */

.product-cta {
  padding: 0 0 70px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid #eadfce;
  background:
    radial-gradient(circle at 92% 30%, rgba(111, 129, 95, 0.12), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(244, 235, 218, 0.76));
  box-shadow: 0 18px 48px rgba(70, 54, 34, 0.08);
}

.cta-card h2 {
  color: var(--green);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.cta-card p {
  color: #29342b;
  max-width: 670px;
  font-weight: 620;
}

/* FOOTER */

.footer {
  background:
    radial-gradient(circle at 10% 20%, rgba(111, 129, 95, 0.35), transparent 28%),
    linear-gradient(135deg, #18331e, #244a2b);
  color: var(--white);
  padding: 46px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1fr;
  gap: 54px;
  padding-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-img {
  width: 130px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 190px;
  font-weight: 650;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.footer-col {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 48px;
}

.footer h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* ICONES */

.socials img {
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.icon {
  width: 23px;
  height: 23px;
  display: block;
  flex-shrink: 0;
}

/* RESPONSIVE TABLETTE */

@media (max-width: 1050px) {
  .site-header {
    position: relative;
    background: var(--cream);
    padding: 18px 0;
  }

  .nav-links,
  .site-header .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: grid;
    place-items: center;
  }

  .product-hero {
    padding: 54px 0 54px;
  }

  .product-layout,
  .details-grid,
  .advantages-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-main-image {
    min-height: 420px;
  }

  .product-info-card,
  .details-card,
  .cta-card {
    padding: 32px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .logo-img {
    width: 120px;
  }

  .footer-brand .logo-img {
    width: 110px;
  }

  .product-info-card h1 {
    font-size: 42px;
  }

  .product-main-image {
    min-height: 320px;
    padding: 34px;
  }

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

  .thumb {
    height: 88px;
  }

  .product-actions,
  .product-actions .btn {
    width: 100%;
  }

  .product-meta-grid {
    grid-template-columns: 1fr;
  }

  .product-meta-grid div,
  .product-meta-grid div:nth-child(2n),
  .product-meta-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #eadfce;
  }

  .product-meta-grid div:last-child {
    border-bottom: 0;
  }

  .specs-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .specs-list strong {
    text-align: left;
  }

  .cta-card .btn {
    width: 100%;
  }

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

  .footer-col {
    border-left: 0;
    padding-left: 0;
  }
}