/* ============================================================
   MISSING CSS VARIABLES — used across contact, apropos, realisations, offres
   ============================================================ */
:root {
  --accent-gold: #C8A96E;
  --text-primary: var(--dark);
  --text-secondary: var(--muted);
  --bg-secondary: var(--bg);
  --bg-primary: var(--white);
  --border-gold: rgba(200, 169, 110, 0.25);
}

/* ============================================================
   TRUST BAR — Fnac Darty
   ============================================================ */
.trust-bar {
  padding: 20px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-family: var(--font-sub);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.trust-bar-logo {
  height: 22px !important;
  width: auto !important;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity var(--trans-fast);
}
.trust-bar-logo:hover {
  opacity: 1;
}
.trust-bar-desc {
  font-size: 0.8rem;
  color: var(--muted);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
@media (max-width: 768px) {
  .trust-bar-inner {
    flex-direction: column;
    gap: 8px;
  }
  .trust-bar-desc {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }
}

/* ============================================================
   HERO — Micro Social Proof
   ============================================================ */
.hero-proof {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
}
.hero-proof-avatars { display: flex; }
.proof-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700;
  color: #fff; border: 2px solid var(--white);
}
.proof-avatar + .proof-avatar { margin-left: -8px; }
.hero-proof span { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ============================================================
   REALISTIC MOCKUPS
   ============================================================ */
.mockup-site {
  width: 88%; height: 88%; border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column; font-size: 5px;
}
.ms-topbar { background: rgba(255,255,255,0.15); padding: 4px 8px; display: flex; align-items: center; }
.ms-dot-row { display: flex; gap: 3px; }
.ms-dot-row span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.ms-nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; background: rgba(255,255,255,0.1); }
.ms-brand-pill { width: 32px; height: 5px; background: rgba(255,255,255,0.7); border-radius: 2px; }
.ms-nav-pills { display: flex; gap: 6px; }
.ms-nav-pills span { width: 16px; height: 3px; background: rgba(255,255,255,0.35); border-radius: 2px; }
.ms-hero-section { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px; }
.ms-headline-bar { width: 70%; height: 5px; background: rgba(255,255,255,0.5); border-radius: 2px; }
.ms-headline-bar.short { width: 50%; }
.ms-cta-pill { width: 40px; height: 10px; border-radius: 3px; margin-top: 3px; }

/* Coach mockup */
.mockup-coach .ms-avatar-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 8px; font-weight: 700; font-family: var(--font-heading); margin-bottom: 3px;
}
.mockup-coach .ms-cta-pill { background: #C8A96E; }
.ms-cards-row { display: flex; gap: 4px; padding: 0 8px 8px; }
.ms-service-card { flex: 1; height: 22px; background: rgba(255,255,255,0.12); border-radius: 2px; border: 1px solid rgba(255,255,255,0.15); }

/* Kine mockup */
.kine-nav { background: rgba(255,255,255,0.95); }
.kine-nav .ms-brand-pill { background: #1B3A5C; }
.kine-nav .ms-nav-pills span { background: rgba(27,58,92,0.3); }
.ms-rdv-btn { font-size: 5px; font-weight: 700; color: #fff; background: #C8A96E; padding: 2px 6px; border-radius: 2px; font-family: var(--font-heading); letter-spacing: 0.05em; }
.kine-hero { background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%); }
.kine-cta { background: #7A9E7E; }
.ms-icons-row { display: flex; gap: 4px; padding: 0 8px 8px; justify-content: center; }
.ms-icon-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.ms-icon-circle { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); }
.ms-icon-label { width: 18px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 1px; }

/* Consultant mockup */
.dark-topbar { background: rgba(0,0,0,0.3); }
.dark-topbar .ms-dot-row span { background: rgba(255,255,255,0.2); }
.dark-nav { background: rgba(0,0,0,0.2); }
.dark-nav .ms-brand-pill { background: rgba(255,255,255,0.6); }
.dark-nav .ms-nav-pills span { background: rgba(255,255,255,0.2); }
.dark-hero .ms-headline-bar { background: rgba(255,255,255,0.45); }
.orange-cta { background: #E67E22; }
.ms-logos-row { display: flex; gap: 6px; padding: 0 10px 8px; justify-content: center; }
.ms-logo-pill { width: 28px; height: 10px; background: rgba(255,255,255,0.1); border-radius: 2px; border: 1px solid rgba(255,255,255,0.15); }

/* ============================================================
   FOR WHO SECTION
   ============================================================ */
.for-who { padding: var(--section-pad); }
.forwho-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.forwho-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 22px; text-align: center; transition: all var(--trans-normal);
}
.forwho-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.forwho-icon { font-size: 2.5rem; margin-bottom: 18px; }
.forwho-card h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.forwho-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   WHY DRAFSH SECTION
   ============================================================ */
.why-drafsh { padding: var(--section-pad); background: var(--bg); }
.whydrafsh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.whydrafsh-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 24px; text-align: center; transition: all var(--trans-normal);
}
.whydrafsh-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.whydrafsh-icon { width: 44px; height: 44px; margin: 0 auto 16px; }
.whydrafsh-icon svg { width: 100%; height: 100%; stroke: var(--accent); }
.whydrafsh-card h3 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.whydrafsh-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   FAQ SECTION (homepage)
   ============================================================ */
.faq-section { padding: var(--section-pad); background: var(--bg); }

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block; position: fixed; bottom: 0; left: 0; right: 0;
    padding: 12px 20px;
    background: rgba(254, 252, 248, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); z-index: 997;
    transform: translateY(100%); transition: transform 0.3s ease;
  }
  .mobile-cta-bar.visible { transform: translateY(0); }
  body { padding-bottom: 72px; }

  /* Hero mobile — mockup between headline and subtitle */
  .hero .container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0 !important;
  }
  .hero-content { display: contents; text-align: center; }
  .hero-eyebrow { order: 1; text-align: center; width: 100%; margin-bottom: 12px; }
  .hero-headline { order: 2; text-align: center; width: 100%; margin-bottom: 4px; }
  .hero-visual { display: block !important; order: 3; margin: 4px auto 4px; width: 100%; }
  .hero-subtitle { order: 4; text-align: center; width: 100%; margin-top: 4px; margin-bottom: 20px; }
  .bg-dots { display: none; }
  .hero-actions { order: 5; flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-note { order: 6; text-align: center; width: 100%; }
  .hero-proof { order: 7; justify-content: center; width: 100%; }
  .device-wrapper { max-width: 300px !important; margin: 0 auto; }
  .iphone { display: block !important; }
  .hero { padding-top: 100px; }
  .forwho-grid { grid-template-columns: 1fr; }
  .whydrafsh-grid { grid-template-columns: 1fr; }
  .options-teaser-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .whydrafsh-grid { grid-template-columns: repeat(2, 1fr); }
  .forwho-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FOR WHO — E-commerce badges + CMS note
   ============================================================ */
.forwho-tech {
  display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap;
}
.forwho-badge {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 12px; border-radius: 20px;
  background: rgba(200, 169, 110, 0.12); color: var(--accent);
  border: 1px solid rgba(200, 169, 110, 0.25);
}
.forwho-cms-note {
  margin-top: 32px; text-align: center;
  padding: 20px 28px; border-radius: 4px;
  background: rgba(200, 169, 110, 0.06); border: 1px solid var(--line);
}
.forwho-cms-note p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0;
}

/* ============================================================
   OFFERS — More features teaser
   ============================================================ */
.offer-more {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 0; margin-top: -4px;
  border-top: 1px dashed var(--line);
}
.offer-more span {
  font-size: 0.82rem; font-weight: 600; color: var(--accent);
  letter-spacing: 0.02em;
}
.offer-more a {
  font-size: 0.78rem; color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px; transition: color var(--trans-fast);
}
.offer-more a:hover { color: var(--accent); }

/* Lower + extend right side of the ribbon */
.offer-card.featured::before { top: 22px; right: -34px; padding: 4px 44px; }

/* Centered "Recommandée" badge + diagonal "Populaire" ribbon coexist */
.offer-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--dark); color: var(--white);
  font-family: var(--font-heading); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 20px; border-radius: 0 0 4px 4px;
  z-index: 3;
}
.offer-card.featured { position: relative; }

/* ============================================================
   OPTIONS TEASER — Monthly options preview
   ============================================================ */
.options-teaser {
  margin-top: 48px; padding: 40px 36px; border-radius: 8px;
  background: var(--dark); color: var(--white); text-align: center;
  position: relative; overflow: hidden;
}
.options-teaser::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.options-teaser-header {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px;
}
.options-teaser-icon { font-size: 1.5rem; }
.options-teaser-header h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin: 0;
}
.options-teaser-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 20px;
}
.options-teaser-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--trans-normal);
}
.options-teaser-item:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(200,169,110,0.4);
  transform: translateY(-2px);
}
.ot-icon { font-size: 1.6rem; }
.options-teaser-item span:last-child {
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.85); line-height: 1.3;
}
.options-teaser-sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 22px; line-height: 1.5;
}
.options-teaser .btn-outline {
  color: var(--white); border-color: rgba(255,255,255,0.3);
}
.options-teaser .btn-outline:hover {
  background: var(--accent); border-color: var(--accent); color: var(--dark);
}

/* Offer teaser "more" hint */
.offer-teaser-more {
  text-align: center;
  margin: 24px 0 40px;
}
.offer-teaser-hint {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.offer-teaser-hint a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.offer-teaser-hint a:hover {
  color: var(--dark);
}

/* Sur Mesure teaser (index page) */
.surmesure-teaser {
  max-width: 800px;
  margin: 0 auto 40px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.surmesure-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--dark), var(--accent));
}
.smt-content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.smt-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.smt-text {
  flex: 1;
}
.smt-text h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.smt-text p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.smt-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .smt-content {
    flex-direction: column;
    text-align: center;
  }
  .smt-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .options-teaser-grid { grid-template-columns: 1fr 1fr; }
  .options-teaser { padding: 28px 20px; }
  .options-teaser-header h3 { font-size: 1.05rem; }
  .forwho-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .options-teaser-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CTA SHINE SWEEP — All filled/background buttons
   ============================================================ */

/* Shine sweep on ALL buttons that have a filled background */
.btn-primary::before,
.btn-secondary::before,
.btn-outline::before,
.cta-banner .btn-primary::before,
.config-total-cta::before,
.oc-cta::before,
.mobile-cta-bar .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 40%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.18) 60%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: none;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before,
.config-total-cta:hover::before,
.oc-cta:hover::before,
.mobile-cta-bar .btn:hover::before {
  animation: shineSweep 0.55s ease-out forwards;
}

@keyframes shineSweep {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* Mobile menu: btn text visible + proper size + scrollable */
.mobile-menu { overflow-y: auto; }
nav.mobile-menu a.btn.btn-primary {
  font-size: 0.8rem !important;
  color: #FFFFFF !important;
  padding: 14px 24px !important;
  letter-spacing: 0.12em;
  border-bottom: none;
}

/* Gold shine for light-background buttons (CTA banner) */
.cta-banner .btn-primary::before {
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(139, 115, 85, 0.15) 40%,
    rgba(139, 115, 85, 0.22) 50%,
    rgba(139, 115, 85, 0.15) 60%,
    transparent 100%
  );
}
