:root {
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --dark-2: #242424;
  --yellow: #FFC800;
  --yellow-dark: #E6B400;
  --white: #ffffff;
  --gray-light: #f6f6f4;
  --gray-mid: #6b6b6b;
  --border: #e6e6e2;
  --success: #1e9e4d;
  --danger: #d1352b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  padding-bottom: 74px; /* espace pour la barre CTA collante mobile */
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { font-weight: 800; margin: 0 0 14px; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; }
h2 { font-size: clamp(24px, 3vw, 32px); text-align: center; }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }

.section { padding: 56px 0; }
.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--gray-mid);
  font-size: 17px;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(255,200,0,.35);
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--yellow); }
.btn-lg { width: 100%; padding: 16px 28px; font-size: 18px; }
.btn-header { padding: 10px 20px; font-size: 14px; }

/* Header */
.site-header { background: var(--black); color: var(--white); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.logo { display: flex; flex-direction: column; }
.logo-text { font-size: 22px; font-weight: 900; color: var(--white); letter-spacing: .5px; }
.logo-accent { color: var(--yellow); }
.logo-tagline { font-size: 11px; color: #bbb; }
.top-badges { background: var(--yellow); }
.top-badges-inner {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%); color: var(--white); padding: 48px 0; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); }
.hero-sub { color: #d8d8d8; font-size: 17px; }
.hero-points { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li { font-size: 15px; }
.hero-trust { margin-top: 14px; font-size: 14px; color: var(--yellow); font-weight: 700; }
.hero-image { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }

/* Problem */
.problem { background: var(--gray-light); text-align: center; }
.problem h2 { margin-bottom: 10px; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-icon { font-size: 34px; display: block; margin-bottom: 10px; }
.benefit-card p { color: var(--gray-mid); font-size: 14.5px; margin: 0; }

/* How it works */
.how-it-works { background: var(--dark); color: var(--white); }
.how-it-works h2 { color: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.step-card { text-align: center; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
}
.step-card h3 { color: var(--white); }
.step-card p { color: #bbb; font-size: 14.5px; }

/* Gallery */
.gallery-single {
  max-width: 640px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Reviews */
.reviews { background: var(--gray-light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.stars { color: var(--yellow-dark); font-size: 18px; margin-bottom: 10px; }
.review-card p { font-size: 14.5px; color: var(--dark-2); }
.review-author { display: block; margin-top: 10px; font-weight: 700; font-size: 13.5px; color: var(--gray-mid); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; align-items: stretch; }
.pricing-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured { border-color: var(--yellow); box-shadow: var(--shadow); transform: scale(1.03); }
.badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--black);
  font-size: 12.5px; font-weight: 800;
  padding: 6px 16px; border-radius: 50px;
  white-space: nowrap;
}
.badge-alt { background: var(--black); color: var(--yellow); }
.price { font-size: 34px; font-weight: 900; margin: 10px 0 18px; }
.price span { font-size: 16px; font-weight: 700; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 22px; text-align: right; flex: 1; }
.pricing-features li { font-size: 14.5px; margin-bottom: 8px; color: var(--dark-2); }

/* Guarantee */
.guarantee-inner { display: flex; align-items: center; gap: 24px; background: var(--gray-light); border-radius: var(--radius); padding: 30px; }
.guarantee-icon { font-size: 48px; flex-shrink: 0; }
.guarantee h2 { text-align: right; margin-bottom: 8px; }
.guarantee p { color: var(--gray-mid); margin: 0; }

/* FAQ */
.faq-list { max-width: 760px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 16px 20px;
}
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--yellow-dark); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 12px 0 0; color: var(--gray-mid); font-size: 14.5px; }

/* Footer */
.site-footer { background: var(--black); color: #ccc; padding: 34px 0; text-align: center; }
.site-footer .logo-text { justify-content: center; margin-bottom: 10px; font-size: 20px; }
.site-footer p { font-size: 13.5px; }
.copyright { color: #777; margin-top: 10px; font-size: 12.5px; }

/* Sticky CTA mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 60;
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
}
.sticky-cta-price { font-size: 14px; font-weight: 700; }
.sticky-cta .btn { padding: 10px 22px; font-size: 14px; }

/* ===== Modal / Popup ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 100;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 16px;
  overflow-y: auto;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 28px 24px;
  position: relative;
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.modal h2 { text-align: center; margin-bottom: 4px; font-size: 22px; }
.modal-sub { text-align: center; color: var(--gray-mid); font-size: 13.5px; margin-bottom: 20px; }
.modal-close {
  position: absolute; top: 14px; left: 14px;
  background: var(--gray-light); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 15px; cursor: pointer;
}

.pack-selector { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pack-option {
  display: flex; align-items: center; justify-content: space-between;
  border: 2px solid var(--border); border-radius: 10px;
  padding: 12px 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.pack-option input { accent-color: var(--yellow-dark); margin-left: 10px; }
.pack-option .pack-label { flex: 1; font-weight: 700; font-size: 14.5px; }
.pack-option .pack-label em { color: var(--gray-mid); font-style: normal; font-size: 12.5px; }
.pack-option .pack-price { font-weight: 800; }
.pack-option.selected { border-color: var(--yellow-dark); background: #FFFBEA; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--yellow-dark); }
.form-group.invalid input, .form-group.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12px; display: block; margin-top: 4px; min-height: 14px; }

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-light);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 14.5px;
  font-weight: 700;
}
.order-total strong { font-size: 19px; color: var(--yellow-dark); }
.btn-submit { margin-top: 6px; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-note { font-size: 11.5px; color: var(--gray-mid); text-align: center; margin-top: 12px; }

.modal-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 46px; display: block; margin-bottom: 10px; }
.modal-success .btn { margin-top: 12px; width: 100%; }

.form-toast {
  background: #FDEBEA; color: var(--danger);
  border-radius: 8px; padding: 10px 14px; font-size: 13.5px;
  margin-bottom: 14px; display: none;
}
.form-toast.active { display: block; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .benefits-grid, .steps-grid, .reviews-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .guarantee-inner { flex-direction: column; text-align: center; }
  .guarantee h2 { text-align: center; }
  .sticky-cta { display: flex; }
  .top-badges-inner { gap: 14px; font-size: 12px; }
}
