/* ─── PRESTASHOP PAGE — REDESIGN V6 (MOCKUP MATCH) ────────────────────────── */
:root {
  --ps: #E0734B;  /* Terracotta (new brand) */
  --ps2: #D97757;
  --ps-light: var(--accent-12);
  --ps-border: var(--shadow-accent);
  --dp: #181818;
  --dp2: #2D2D2D;
  --accent: #E0734B;
  --cream: #FAF8F5;
  --ink: #181818;
  --ink2: #374151;
  --muted: #6b7280;
  --light: #faf8f5;
  --border: rgba(18, 18, 18, 0.1);
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Outfit', sans-serif; background: var(--cream); color: var(--ink); }

/* ─── BREADCRUMB ───────────────────────────────────────────────────────────── */
.breadcrumb-bar {
  margin-bottom: 24px;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #9ca3af;
}
.breadcrumb-inner a { color: #6b7280; text-decoration: none; transition: color 0.2s; }
.breadcrumb-inner a:hover { color: #374151; }
.bc-sep { opacity: 0.4; }
.breadcrumb-inner span[aria-current] { color: #181818; font-weight: 600; }

/* ─── SHARED UTILS ─────────────────────────────────────────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-inner--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ps-light); border: 1px solid var(--ps-border);
  color: var(--ps); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.section-h2 {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px;
}
.section-h2 .italic-ps { color: var(--ps); font-style: italic; }

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 15px;
  text-decoration: none; transition: background 0.2s, transform 0.2s, color 0.2s;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--ps); color: var(--ink); }
.btn-primary:hover { background: var(--ps2); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: #6b7280; border: 1px solid #d1d5db; }
.btn-secondary:hover { background: #f3f4f6; }
.btn-outline { background: transparent; color: var(--ps); border: 1px solid var(--ps); }
.btn-outline:hover { background: var(--ps-light); }
.btn-block { width: 100%; }

/* ─── HERO ─────────────────────────────────────────────────────────────────── */
.hero-section2 {
  background: #fff;
  padding: 120px 24px 100px; position: relative; overflow: hidden;
}
.hero-glow-1 {
  position: absolute; top: -100px; left: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,115,75,0.08) 0%, transparent 60%); pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -80px; right: -80px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(224,115,75,0.08) 0%, transparent 60%); pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,115,75,0.15); border: 1px solid rgba(224,115,75,0.3);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #E0734B; margin-bottom: 20px;
}
.hero-label-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ps); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

.hero-h1 {
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 900; line-height: 1.05;
  letter-spacing: -0.03em; color: #181818; margin-bottom: 20px;
}
.hero-h1 .italic-ps { color: var(--ps); font-style: italic; }
.hero-sub {
  font-size: 17px; line-height: 1.65; color: #6b7280;
  margin-bottom: 36px; max-width: 500px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Form */
.hero-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; box-shadow: 0 4px 12px rgba(24, 24, 24, 0.05);
}
.hero-form-wrapper h3 { font-size: 22px; font-weight: 800; color: #181818; margin-bottom: 6px; }
.hero-form-wrapper p { font-size: 14px; color: #6b7280; margin-bottom: 24px; }

.hero-form { display: flex; flex-direction: column; gap: 12px; }
.hero-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-form input, .hero-form select, .hero-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--border);
  color: #181818; font-family: 'Outfit', sans-serif; font-size: 14px; outline: none; transition: 0.2s;
}
.hero-form input::placeholder, .hero-form textarea::placeholder { color: #9ca3af; }
.hero-form select { color: #181818; cursor: pointer; }
.hero-form select option { background: var(--white); color: #181818; }
.hero-form input:focus, .hero-form select:focus, .hero-form textarea:focus { border-color: var(--ps); background: var(--white); }
.hero-form .btn-primary { margin-top: 8px; padding: 16px; font-size: 16px; }

/* ─── METRICS ROW ──────────────────────────────────────────────────────────── */
.section-metrics { background: var(--cream); padding: 80px 24px; text-align: center; }
.metrics-inner { max-width: 1200px; margin: 0 auto; }
.section-metrics h2 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.section-metrics p { color: var(--muted); margin-bottom: 32px; font-size: 16px; }

.certif-logos { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.logo-pill {
  background: var(--white); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink);
  box-shadow: 0 4px 10px rgba(45,16,96,0.03);
}

.metrics-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.metric-card-horiz {
  background: var(--white); border-radius: 16px; padding: 24px;
  border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(45,16,96,0.03);
  text-align: center;
}
.metric-card-horiz .val { font-size: 36px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.metric-card-horiz .lbl { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ─── POURQUOI ─────────────────────────────────────────────────────────────── */
.section-why { background: var(--cream); padding: 50px 0 100px; }
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.section-intro { font-size: 17px; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.why-text p { font-size: 16px; color: var(--ink2); line-height: 1.6; }

.why-cards { display: flex; flex-direction: column; gap: 20px; }
.why-card-horiz {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; display: flex; gap: 20px; align-items: flex-start;
  box-shadow: 0 10px 30px rgba(45,16,96,0.02); transition: transform 0.2s;
}
.why-card-horiz:hover { transform: translateY(-3px); }
.wh-icon {
  width: 48px; height: 48px; background: var(--ps-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0;
}
.why-card-horiz h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.why-card-horiz p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─── FEATURES GRID ────────────────────────────────────────────────────────── */
.section-features { background: var(--dp); padding: 100px 0; }
.section-features .section-h2 { color: var(--white); margin-bottom: 48px; }

.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ft-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 24px; transition: background 0.2s;
}
.ft-card:hover { background: rgba(255,255,255,0.09); }
.ft-icon {
  width: 44px; height: 44px; background: rgba(164, 219, 232, 0.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; color: var(--ps);
}
.ft-card h4 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.ft-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5; margin: 0; }

/* ─── PROCESS HZ ───────────────────────────────────────────────────────────── */
.section-process-hz { background: var(--cream); padding: 100px 0; }
.process-sub { font-size: 17px; color: var(--muted); margin-bottom: 48px; }

.process-hz-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.pr-hz-step {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 24px; text-align: center; position: relative;
}
.pr-icon {
  width: 60px; height: 60px; background: var(--ps); color: var(--ink);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(164, 219, 232, 0.3);
}
.pr-hz-step h4 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.pr-hz-step p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─── CTA DEVIS MID ────────────────────────────────────────────────────────── */
.section-cta-mid {
  background: linear-gradient(135deg, var(--ps) 0%, var(--ps2) 100%);
  padding: 80px 24px; text-align: center; color: var(--white);
}
.cta-mid-inner { max-width: 700px; margin: 0 auto; }
.section-cta-mid h2 {
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 900;
  line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--white);
}
.section-cta-mid h2 .italic-ps { font-style: italic; color: #fff; opacity: 0.9; }
.section-cta-mid p { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.6; margin-bottom: 36px; }
.section-cta-mid .btn-primary { background: var(--white); color: var(--ps); font-size: 16px; padding: 16px 32px; }
.section-cta-mid .btn-primary:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ─── REVIEWS ──────────────────────────────────────────────────────────────── */
.section-reviews { background: var(--cream); padding: 100px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.review-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; text-align: left;
}
.rv-stars { color: #f59e0b; font-size: 20px; margin-bottom: 16px; letter-spacing: 2px; }
.review-card p { font-size: 16px; color: var(--ink2); line-height: 1.6; font-style: italic; margin-bottom: 24px; }
.rv-author { font-size: 14px; color: var(--ink); line-height: 1.4; }
.rv-author strong { font-weight: 800; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.section-faq { background: var(--cream); padding: 50px 0 100px; }
.faq-list { display: flex; flex-direction: column; margin-top: 40px; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%; background: none; border: none; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 17px; font-weight: 700; color: var(--ink); text-align: left;
  cursor: pointer; font-family: 'Outfit', sans-serif; transition: color 0.2s;
}
.faq-btn:hover { color: var(--ps); }
.faq-icon-wrap {
  width: 30px; height: 30px; background: var(--white); border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ps); flex-shrink: 0; transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-icon-wrap { transform: rotate(45deg); background: var(--ps); color: #fff; border-color: var(--ps); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-body { max-height: 500px; }
.faq-body-inner { padding: 0 0 20px; font-size: 16px; color: var(--muted); line-height: 1.7; text-align: left; }

/* ─── CTA BOTTOM ──────────────────────────────────────────────────────────── */
.section-cta-bottom {
  background: var(--dp); padding: 100px 24px; text-align: center; color: var(--white);
}
.cta-bottom-inner { max-width: 600px; margin: 0 auto; }
.section-cta-bottom h2 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 900; line-height: 1.1; margin-bottom: 16px;
}
.section-cta-bottom h2 .italic-ps { color: var(--ps); font-style: italic; }
.section-cta-bottom p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.cta-b-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-b-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-b-btns .btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 40px; }
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .process-hz-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .hero-inner, .why-layout, .pricing-grid, .reviews-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-wrapper { max-width: 500px; margin: 0 auto; }
  .metrics-row { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .price-card.popular { transform: none; }
}
@media (max-width: 600px) {
  .hero-section2 { padding: 90px 16px 60px; }
  .metrics-row, .features-grid, .process-hz-grid { grid-template-columns: 1fr; }
  .hero-form .form-row { grid-template-columns: 1fr; }
  .cta-b-btns { flex-direction: column; }
  .cta-b-btns a { width: 100%; }
}
