/* ============================================
   Théa Aloe Care & Wellness | Global Stylesheet
   Vert #2ecc71 · blanc · texte foncé · accents dorés légers
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --green: #2ecc71;
  --green-dark: #27ae60;
  --green-light: #d5f5e3;
  --gold: #d4af37;
  --gold-soft: #e8c547;
  --gold-dark: #b8962e;
  --white: #ffffff;
  --off-white: #f7fbf8;
  --text-dark: #1a1a1a;
  --text-muted: #5c5c5c;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 6px 28px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 14px 44px rgba(46, 204, 113, 0.18);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding-top: 0;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

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

/* --- Navbar --- */
.navbar-thea {
  background: var(--white);
  border-bottom: 1px solid var(--green-light);
  padding: 0.5rem 0;
  z-index: 1040;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.navbar-thea .navbar-toggler {
  border: 1px solid var(--green-light);
  padding: 0.45rem 0.6rem;
}

.navbar-thea .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

.navbar-brand-thea {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: min(100%, 220px);
}

.navbar-brand-thea .brand-w {
  display: block;
  font-size: 0.72em;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}

.nav-link-thea {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 50px;
  transition: var(--transition);
}

.nav-link-thea:hover,
.nav-link-thea.active {
  color: var(--green-dark) !important;
  background: var(--green-light);
}

.btn-nav-cta {
  background: var(--green);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.55rem 1.15rem !important;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  transition: var(--transition);
  border: none;
  box-shadow: 0 3px 14px rgba(46, 204, 113, 0.35);
}

.btn-nav-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(46, 204, 113, 0.42);
}

.btn-cart-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.85rem !important;
  border-radius: 50px;
  border: 1.5px solid var(--green-light);
  color: var(--text-dark) !important;
  transition: var(--transition);
}

.btn-cart-nav:hover {
  background: var(--green-light);
  color: var(--green-dark) !important;
}

/* --- Hero --- */
.hero {
  min-height: auto;
  background: var(--off-white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
}

.hero::before,
.hero::after {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge i {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--text-dark);
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.12;
}

.hero-title .highlight {
  color: var(--green);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img-wrap img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--green-light);
}

.hero-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-img-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* --- Buttons --- */
.btn-primary-thea {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(46, 204, 113, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-thea:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 204, 113, 0.45);
  color: var(--white);
}

.btn-secondary-thea {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
  border-radius: 50px;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary-thea:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold-thea {
  background: var(--gold-soft);
  color: var(--text-dark);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-gold-thea:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.45);
  color: var(--text-dark);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.75rem;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #128c7e;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.btn-next-thea {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  min-height: 52px;
  font-size: 1.02rem;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-next-thea:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.5);
  color: var(--white);
}

/* --- Sections --- */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 2.25rem;
}

.section-label {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* --- Feature cards --- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #e8f0eb;
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.65rem;
  color: var(--green-dark);
}

.feature-card h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* --- Product cards --- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8f0eb;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-light);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--green-light);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-card-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Fiche produit (image) */
.product-detail-img-wrap {
  height: 340px;
  padding: 14px;
  background: var(--green-light);
}

@media (max-width: 767.98px) {
  .product-card-img-wrap {
    height: 200px;
    padding: 10px;
  }

  .product-detail-img-wrap {
    height: 280px;
    padding: 12px;
  }
}

.product-card-badge {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 0.65rem;
  align-self: flex-start;
}

.product-card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.product-card-desc {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
  flex: 1;
}

.product-card-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.product-card-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Théa profile (opportunité) --- */
.thea-profile-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e8f0eb;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.thea-profile-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.thea-profile-body {
  padding: 2rem 1.75rem;
}

@media (min-width: 992px) {
  .thea-profile-card.row {
    align-items: stretch;
  }
  .thea-profile-img {
    max-height: none;
    min-height: 100%;
  }
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid #e8f0eb;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.testimonial-avatar i {
  font-size: 1.6rem;
}

.testimonial-stars {
  color: var(--gold-soft);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
}

.testimonial-text {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.92rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Revenue --- */
.revenue-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 2px solid #e8f0eb;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative;
  height: 100%;
}

.revenue-card.featured {
  border-color: var(--green);
  box-shadow: 0 10px 36px rgba(46, 204, 113, 0.15);
}

.revenue-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.revenue-icon {
  font-size: 2rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.revenue-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--green-dark);
}

.revenue-period {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.list-check li i {
  color: var(--green);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* --- Steps --- */
.step-card {
  text-align: center;
  padding: 1.5rem 0.75rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
}

.step-card h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- Tunnel header --- */
.tunnel-header {
  background: var(--off-white);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--green-light);
}

.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.progress-step.active {
  color: var(--green-dark);
  font-weight: 700;
}

.progress-step.done {
  color: var(--green);
}

.progress-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e0f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-step.active .progress-dot {
  background: var(--green);
  color: var(--white);
}

.progress-step.done .progress-dot {
  background: var(--green-dark);
  color: var(--white);
}

.progress-line {
  width: 24px;
  height: 2px;
  background: #e0f0e8;
}

/* --- Cart --- */
.cart-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e8f0eb;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--green-light);
  flex-shrink: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #c0392b;
  padding: 0.35rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-remove-btn:hover {
  background: rgba(192, 57, 43, 0.08);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--green);
  background: var(--white);
  color: var(--green-dark);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--green);
  color: var(--white);
}

.qty-val {
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #e8f0eb;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 88px;
}

/* --- Footer --- */
.footer-thea {
  background: var(--text-dark);
  color: #c5d4c5;
  padding: 2.75rem 0 1.25rem;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.footer-brand .gold {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.55em;
  display: block;
  letter-spacing: 0.04em;
}

.footer-desc {
  color: #9aaa9a;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.25rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-contact-list a {
  color: #b8c9b8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.footer-contact-list a:hover {
  color: var(--green);
}

.footer-contact-list i {
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
}

.footer-links-row a {
  color: #8a9a8a;
  transition: var(--transition);
}

.footer-links-row a:hover {
  color: var(--green);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  font-size: 0.82rem;
  color: #6a7a6a;
  text-align: center;
}

/* --- WhatsApp float --- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--white);
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.5);
  z-index: 1030;
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* --- Section strip (no gradient) --- */
.section-strip-dark {
  background: var(--text-dark);
  color: var(--white);
}

.section-strip-green {
  background: var(--green);
  color: var(--white);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.25);
  }
}

.fade-in-up {
  animation: fadeInUp 0.55s ease forwards;
  opacity: 0;
}

.fade-in-up-delay-1 {
  animation-delay: 0.12s;
}

.fade-in-up-delay-2 {
  animation-delay: 0.24s;
}

.fade-in-up-delay-3 {
  animation-delay: 0.36s;
}

/* --- Utility --- */
.section-pad {
  padding: 4.5rem 0;
}

.section-pad-sm {
  padding: 2.75rem 0;
}

.bg-green-light {
  background: var(--off-white);
}

.bg-dark-thea {
  background: var(--text-dark);
}

.text-green {
  color: var(--green-dark);
}

.text-gold {
  color: var(--gold-dark);
}

.rounded-thea {
  border-radius: var(--radius);
}

.shadow-thea {
  box-shadow: var(--shadow-card);
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  margin: 0 auto 1.35rem;
}

.badge-thea {
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 50px;
  padding: 0.3rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.filter-tab.active {
  background: var(--green) !important;
  color: var(--white) !important;
  border-color: var(--green) !important;
}

/* Toolbar filtres boutique */
.filter-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.shop-filters-mobile {
  width: 100%;
  margin: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* Filtres boutique — selects (mobile surtout) */
.shop-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  width: 100%;
  text-align: center;
}

.shop-filter-select {
  border-radius: 12px;
  border: 1.5px solid #d8ebe0;
  padding: 0.65rem 2.5rem 0.65rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  margin: 0;
  appearance: none;
  text-align: center;
  text-align-last: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2327ae60' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 14px;
}

.shop-filter-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
  outline: none;
}

/* Transition légère lors du filtrage */
#products-grid {
  transition: opacity 0.2s ease;
}

/* Mobile uniquement : centrer le bloc filtres et le rendre "card" */
@media (max-width: 767.98px) {
  .shop-filters-mobile {
    width: min(100%, 500px);
    margin-inline: auto !important;
    align-self: center;
    box-sizing: border-box;

    background: var(--white);
    border: 1px solid #e8f0eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-card);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    overflow: visible;
    position: relative;
    z-index: 2;
  }

  .shop-filter-label {
    text-align: center;
  }

  .shop-filter-select {
    width: 100%;
    max-width: 100%;
  }
}

/* Tunnel — menu sticky (visible uniquement sur les pages tunnel) */
.tunnel-sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 1035;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-light);
}

.tunnel-sticky-nav .tunnel-sticky-inner {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.tunnel-sticky-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}

.tunnel-sticky-nav a:hover {
  color: var(--green-dark);
  background: var(--green-light);
}

.tunnel-sticky-nav a.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

@media (max-width: 767.98px) {
  .tunnel-sticky-nav {
    top: 66px;
  }
  .tunnel-sticky-nav .tunnel-sticky-inner {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.6rem 0.1rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .tunnel-sticky-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

.img-result-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e8f0eb;
  box-shadow: var(--shadow-card);
  height: 200px;
}

.img-result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .navbar-collapse {
    padding-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  /* Respiration & alignement */
  .container,
  .container-fluid {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }

  .section-pad {
    padding: 2.25rem 0;
    margin-bottom: 0;
  }

  .section-pad-sm {
    padding: 1.75rem 0;
  }

  .section-pad .text-center.mb-5,
  .section-pad-sm .text-center.mb-5 {
    margin-bottom: 1.75rem !important;
  }

  .section-title {
    margin-bottom: 0.65rem;
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .section-subtitle {
    margin-bottom: 1.25rem !important;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .tunnel-header {
    padding: 2.25rem 0 1.75rem;
  }

  .tunnel-header .section-title {
    margin-bottom: 0.5rem;
  }

  /* Images */
  .hero-img-wrap img,
  .product-card-img-wrap img,
  .thea-profile-img {
    border-radius: 14px;
  }

  .hero-img-wrap,
  .product-card-img-wrap {
    margin-bottom: 0.5rem;
  }

  /* Boutons — taille équilibrée, empilés, jamais collés */
  .btn-primary-thea,
  .btn-secondary-thea,
  .btn-gold-thea,
  .btn-next-thea,
  .btn-whatsapp {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.62rem 1.2rem;
    font-size: 0.93rem;
    min-height: 46px;
    box-sizing: border-box;
  }

  .btn-nav-cta {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0.58rem 1rem !important;
    font-size: 0.86rem !important;
    line-height: 1.25;
    min-height: 46px;
  }

  /* Groupes de boutons (hero, CTA, fiches) */
  .hero .d-flex.flex-wrap.gap-3,
  .hero .d-flex.flex-wrap.gap-2 {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem !important;
    width: 100%;
  }

  .section-strip-dark .row .text-lg-end,
  .section-strip-dark .col-lg-4 {
    text-align: center !important;
  }

  .section-strip-dark .btn-gold-thea {
    margin-top: 0.5rem;
  }

  .d-flex.flex-wrap.gap-3.mt-4 {
    justify-content: center;
    gap: 0.65rem !important;
  }

  /* Cartes produit : actions en colonne */
  #products-grid .product-card-body > .d-flex.flex-column.flex-sm-row,
  .product-card-body > .d-flex.flex-column.flex-sm-row {
    flex-direction: column !important;
    align-items: center;
    gap: 0.65rem !important;
    width: 100%;
  }

  #products-grid .product-card-body .btn-secondary-thea {
    max-width: 300px;
    width: 100%;
  }

  .product-card-body .btn-whatsapp {
    margin-top: 0.15rem !important;
  }

  /* Fiche produit (JS) */
  #product-detail .d-flex.flex-column.flex-sm-row.flex-wrap {
    flex-direction: column !important;
    align-items: center;
    gap: 0.65rem !important;
  }

  /* Hero */
  .hero {
    padding: 1.75rem 0 1.75rem;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6vw, 1.95rem);
    margin-bottom: 0.85rem;
  }

  .hero-subtitle {
    margin-bottom: 1.25rem;
  }

  .hero-img-wrap {
    margin-top: 1.25rem;
  }

  /* Panier icône — visible & zone tactile */
  .btn-cart-nav {
    color: var(--text-dark) !important;
    border-color: #cfe9d8 !important;
    min-width: 48px;
    min-height: 48px;
    align-self: center !important;
    z-index: 2;
  }

  .btn-cart-nav i,
  .btn-cart-nav .bi {
    color: var(--text-dark);
    font-size: 1.35rem;
    line-height: 1;
  }

  .navbar-collapse .d-flex.flex-column {
    gap: 0.65rem !important;
    align-items: center !important;
    padding-bottom: 0.75rem !important;
  }

  /* Barre de progression opportunité — scroll horizontal */
  .progress-steps {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    margin-bottom: 1rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }

  .progress-steps::-webkit-scrollbar {
    height: 4px;
  }

  .progress-steps::-webkit-scrollbar-thumb {
    background: #c5e0d0;
    border-radius: 4px;
  }

  .progress-line {
    display: none !important;
  }

  .progress-step {
    flex: 0 0 auto;
    font-size: 0.64rem;
    gap: 0.28rem;
    scroll-snap-align: start;
  }

  .progress-dot {
    width: 22px;
    height: 22px;
    font-size: 0.58rem;
  }

  .cart-summary {
    position: relative;
    top: 0;
  }

  .whatsapp-float {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
    width: 52px;
    height: 52px;
  }

  /* Cartes — léger feedback tactile */
  .product-card:active,
  .feature-card:active {
    transform: scale(0.992);
    transition: transform 0.12s ease;
  }

  .btn-primary-thea:active,
  .btn-secondary-thea:active,
  .btn-gold-thea:active,
  .btn-whatsapp:active,
  .btn-next-thea:active,
  .btn-nav-cta:active {
    transform: scale(0.97);
  }

  /* Footer */
  .footer-thea {
    padding: 2rem 0 1rem;
  }

  /* Espacement entre sections */
  body > section:not(:last-of-type) {
    margin-bottom: 1.875rem;
  }
}

@media (min-width: 768px) {
  .btn-primary-thea.w-md-auto,
  .btn-secondary-thea.w-md-auto {
    width: auto;
  }
}

@media (max-width: 480px) {
  .revenue-amount {
    font-size: 1.75rem;
  }
}
