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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f9fafb;
  line-height: 1.6;
}

/* PALETTE / VARIABLES */
:root {
  --tf-primary: #b45309; /* ou jungle/bordeaux Terre Fauve */
  --tf-primary-soft: #fed7aa;
  --tf-bg: #050816;
  --tf-surface: #020617;
  --tf-surface-alt: #0b1120;
  --tf-border: rgba(148, 163, 184, 0.35);
  --tf-muted: #9ca3af;
  --tf-radius-lg: 20px;
  --tf-radius-md: 14px;
  --tf-shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.75);
  --tf-shadow-subtle: 0 18px 40px rgba(15, 23, 42, 0.6);
}

/* CONTAINER & SECTIONS */
.tf-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tf-section {
  padding: 3.5rem 0;
}

.tf-section-alt {
  background: radial-gradient(circle at top left, #0b1120 0, #020617 40%, #020617 100%);
}

.tf-section-header {
  margin-bottom: 2rem;
  text-align: left;
}

.tf-section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.tf-section-header p {
  color: var(--tf-muted);
}

/* HEADER */
.tf-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.95),
    rgba(2, 6, 23, 0.88),
    rgba(2, 6, 23, 0.75)
  );
  border-bottom: 1px solid rgba(30, 64, 175, 0.3);
}

.tf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* LOGO */
.tf-logo {
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.tf-logo span {
  color: var(--tf-primary-soft);
}

/* NAV */
.tf-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.tf-nav a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 0.15rem;
}

.tf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--tf-primary), #f97316);
  transition: width 0.2s ease;
}

.tf-nav a:hover::after {
  width: 100%;
}

/* CART BUTTON IN NAV */
.tf-cart-btn {
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.45);
  background: radial-gradient(circle at top left, #f97316 0, #b45309 40%, #0b1120 100%);
  color: #f9fafb;
  padding: 0.45rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}

/* HERO */
.tf-hero {
  padding: 3.5rem 0 0;
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.18), transparent 55%);
}

.tf-hero-inner {
  padding: 2.2rem 0 1.5rem;
}

.tf-hero h1 {
  font-size: clamp(2.3rem, 4vw, 2.9rem);
  margin-bottom: 0.75rem;
}

.tf-hero p {
  max-width: 560px;
  color: var(--tf-muted);
}

.tf-hero-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* MAIN / PRODUCTS */
.tf-main {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #000 100%);
}

/* PRODUCT GRID */
.tf-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

/* PRODUCT CARD */
.tf-product-card {
  background: radial-gradient(circle at top left, #020617 0, #020617 50%, #020617 100%);
  border-radius: var(--tf-radius-lg);
  border: 1px solid rgba(51, 65, 85, 0.8);
  box-shadow: var(--tf-shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* IMAGE PRODUIT */
.tf-product-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.tf-product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9), transparent 55%);
}

/* Image réelle (photo bouteille) */
.tf-product-real {
  background-image: url("/assets/images/header-bouteille.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Variations visuelles placeholder (si tu veux revenir dessus)
.tf-product-img-1 { ... } etc. */

/* PRODUCT BODY */
.tf-product-body {
  padding: 1.2rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tf-product-body h3 {
  font-size: 1.02rem;
}

.tf-product-tag {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tf-muted);
}

.tf-product-desc {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.tf-product-footer {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.tf-product-price {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tf-price-main {
  font-weight: 600;
  font-size: 1rem;
}

.tf-price-note {
  font-size: 0.75rem;
  color: var(--tf-muted);
}

/* BUTTONS */
.tf-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.tf-btn-primary {
  background: linear-gradient(to right, var(--tf-primary), #f97316);
  color: #f9fafb;
  box-shadow: 0 14px 32px rgba(248, 250, 252, 0.12);
}

.tf-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--tf-shadow-soft);
}

.tf-btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.tf-btn-full {
  width: 100%;
}

/* INFOS SECTION */
.tf-infos {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.tf-steps {
  list-style: decimal;
  margin-left: 1.2rem;
  margin-top: 0.7rem;
  color: var(--tf-muted);
}

.tf-steps li + li {
  margin-top: 0.25rem;
}

.tf-infos-box {
  background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.09), rgba(15, 23, 42, 1));
  border-radius: var(--tf-radius-lg);
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--tf-shadow-subtle);
  font-size: 0.95rem;
}

.tf-infos-box h3 {
  margin-bottom: 0.6rem;
}

.tf-infos-box p {
  color: var(--tf-muted);
  margin-bottom: 0.5rem;
}

.tf-infos-box ul {
  list-style: disc;
  margin-left: 1.2rem;
  color: #e5e7eb;
}

.tf-infos-box li + li {
  margin-top: 0.25rem;
}

/* ---------- OFFRES PROFESSIONNELLES ---------- */

.tf-pro-block {
  background: radial-gradient(circle at top left, #0b1120 0, #020617 50%, #020617 100%);
  border-radius: 24px;
  padding: 1.8rem 1.6rem 2rem;
  border: 1px solid rgba(248, 250, 252, 0.06);
  box-shadow: var(--tf-shadow-soft);
}

/* Onglets */
.tf-pro-tabs {
  display: inline-flex;
  padding: 0.25rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  margin-bottom: 1.5rem;
}

.tf-pro-tab {
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.85rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.tf-pro-tab-active {
  background: linear-gradient(to right, #b91c1c, #7f1d1d);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* Panels */
.tf-pro-panel {
  display: none;
}

.tf-pro-panel-active {
  display: block;
}

.tf-pro-panel h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.tf-pro-intro {
  color: var(--tf-muted);
  margin-bottom: 1.4rem;
}

.tf-pro-note {
  color: var(--tf-muted);
  margin-top: 0.6rem;
}

/* Cartes pro */
.tf-pro-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1rem;
}

.tf-pro-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--tf-shadow-subtle);
  font-size: 0.9rem;
}

.tf-pro-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.tf-pro-tag {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--tf-primary-soft);
  margin-bottom: 0.5rem;
}

.tf-pro-card p {
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.tf-pro-card ul {
  list-style: none;
  padding-left: 0;
  color: var(--tf-muted);
}

.tf-pro-card li + li {
  margin-top: 0.25rem;
}

/* CTA */
.tf-pro-cta {
  margin-top: 1.8rem;
  font-size: 0.9rem;
}

.tf-pro-cta-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tf-pro-contact a {
  color: var(--tf-primary-soft);
  text-decoration: none;
}

.tf-pro-contact a:hover {
  text-decoration: underline;
}

/* PANIER (CART) */
.tf-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100%);
  height: 100vh;
  background: radial-gradient(circle at top left, #111827 0, #020617 50%, #000 100%);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  transform: translateX(100%);
  transition: transform 0.22s ease-out;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.tf-cart.open {
  transform: translateX(0);
}

.tf-cart-header {
  padding: 1rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.tf-cart-header h2 {
  font-size: 1.1rem;
}

.tf-cart-close {
  background: transparent;
  border: none;
  color: #e5e7eb;
  font-size: 1.5rem;
  cursor: pointer;
}

.tf-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem 1.3rem;
}

/* SCROLLBAR DISCRET */
.tf-cart-body::-webkit-scrollbar {
  width: 6px;
}

.tf-cart-body::-webkit-scrollbar-track {
  background: transparent;
}

.tf-cart-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 999px;
}

.tf-cart-empty {
  color: var(--tf-muted);
  font-size: 0.9rem;
}

/* CART ITEM */
.tf-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(55, 65, 81, 0.8);
}

.tf-cart-item-main h4 {
  font-size: 0.95rem;
}

.tf-cart-item-main p {
  font-size: 0.83rem;
  color: var(--tf-muted);
}

.tf-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.tf-cart-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.9rem;
  cursor: pointer;
}

.tf-cart-item-price {
  text-align: right;
  font-size: 0.9rem;
}

.tf-cart-item-remove {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: #fca5a5;
  background: none;
  border: none;
  cursor: pointer;
}

/* CART FOOTER */
.tf-cart-footer {
  padding: 1rem 1.3rem 1.3rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.tf-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.tf-cart-total span:last-child {
  font-weight: 600;
}

.tf-cart-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--tf-muted);
}

/* CART OVERLAY */
.tf-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
  z-index: 40;
}

.tf-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .tf-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tf-infos {
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-infos-box {
    margin-top: 0.5rem;
  }

  .tf-pro-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tf-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .tf-nav {
    width: 100%;
    justify-content: space-between;
  }

  .tf-products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-section {
    padding: 3rem 0;
  }

  .tf-hero-inner {
    padding: 1.5rem 0 1.2rem;
  }

  .tf-pro-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tf-pro-block {
    padding: 1.4rem 1.2rem 1.6rem;
  }
}
