/*
Theme Name: Le Bien-Être - Page de Vente
Theme URI: https://lebienetre.cm
Author: WINDIGITAL TECH / Le Bien-Être
Author URI: https://lebienetre.cm
Description: Thème WordPress optimisé pour la page de vente du Pack Guides Peau & Compléments Alimentaires. Design moderne, responsive, conversion-focused. Prêt pour LWS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: le-bien-etre
Tags: one-column, custom-menu, featured-images, translation-ready, landing-page
*/

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0B5C3B;
  --primary-dark: #08432B;
  --primary-light: #1A7A4F;
  --accent: #7CB342;
  --accent-light: #AED581;
  --text: #1A1A1A;
  --text-light: #4A4A4A;
  --bg: #FFFFFF;
  --bg-soft: #F7FAF7;
  --bg-card: #FFFFFF;
  --border: #E5EDE7;
  --danger: #C62828;
  --warning: #F9A825;
  --success: #2E7D32;
  --shadow: 0 4px 20px rgba(11, 92, 59, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 92, 59, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button, .btn {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== TOP BAR OFFER ========== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 100;
}

.top-bar strong {
  color: #FFD54F;
}

.top-bar .countdown {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.top-bar .countdown span {
  background: rgba(255,255,255,0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
  min-width: 1.6rem;
  display: inline-block;
}

/* ========== HEADER ========== */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: none;
}

.nav-menu {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-menu a {
  color: var(--text-light);
  position: relative;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

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

.header-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(11, 92, 59, 0.25);
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 92, 59, 0.3);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(180deg, #F0F7F2 0%, #FFFFFF 100%);
  padding: 3rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 179, 66, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E8F5E9;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid #C8E6C9;
}

.badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.price-box {
  background: white;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: inline-block;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
}

.price-box .old-price {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.price-box .current-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-box .current-price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.price-box .save {
  position: absolute;
  top: -12px;
  right: -12px;
  background: var(--danger);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(198, 40, 40, 0.3);
}

.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(11, 92, 59, 0.3);
  transition: var(--transition);
  margin-bottom: 1rem;
}

.cta-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 92, 59, 0.4);
}

.cta-main svg {
  width: 22px;
  height: 22px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

.trust-line span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-line svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
}

.section-alt {
  background: var(--bg-soft);
}

/* ========== GUIDES SECTION ========== */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.guide-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent);
}

.guide-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.guide-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.guide-card p {
  margin-bottom: 1.25rem;
}

.guide-card ul {
  margin-bottom: 0;
}

.guide-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.guide-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ========== BENEFITS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #E8F5E9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.benefit-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.benefit-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* ========== PRICING / CTA BOX ========== */
.pricing-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.pricing-box h2 {
  color: white;
  margin-bottom: 0.5rem;
}

.pricing-box .lead {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.pricing-price small {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}

.pricing-old {
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.pricing-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.pricing-features span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.cta-pricing {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.cta-pricing:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.secure-note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.25rem;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: #F9FBF9;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ========== DISCLAIMER ========== */
.disclaimer {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: #5D4037;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer strong {
  color: #E65100;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 400px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ========== FLOATING CTA MOBILE ========== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 0.85rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 80;
  border-top: 1px solid var(--border);
}

.floating-cta .btn {
  width: 100%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  padding: 0.9rem;
  border-radius: 12px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .guides-grid {
    grid-template-columns: 1fr 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-box {
    padding: 1.75rem 2.5rem;
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .logo-text {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
  }
  .logo img {
    height: 52px;
  }
  .hero {
    padding: 4.5rem 0 5rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .pricing-box {
    padding: 3rem;
  }
  .floating-cta {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .floating-cta {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
  .header-cta {
    display: none;
  }
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
