/* ============================================================================
 * BâtiSmart — CSS commun pages offres (Phase B v3 — 8 mai 2026)
 * Utilisé par /offres/{economique,standard,pro,premium}.html
 * ============================================================================ */

:root {
  --bg: #0a0a0a; --bg-2: #161616; --bg-3: #1a1a1a; --bg-card: #141414;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.12);
  --border-amber: rgba(245,158,11,0.25);
  --amber: #F59E0B; --amber-light: #FDE68A; --amber-dark: #B45309;
  --text: #FFFFFF; --text-2: #D1D5DB; --text-dim: #9CA3AF; --text-light: #6B7280;
  --green: #22C55E; --red: #EF4444;
  --shadow: 0 20px 50px rgba(0,0,0,0.4);
  --shadow-amber: 0 24px 60px rgba(245,158,11,0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--amber); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* NAV */
nav.bs-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
@media (min-width: 768px) { nav.bs-nav { padding: 0.95rem 2rem; } }
.bs-logo { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.bs-logo strong { color: var(--amber); }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-link {
  display: none;
  color: var(--text-2);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover { background: rgba(255,255,255,0.04); color: var(--text); }
@media (min-width: 768px) { .nav-link { display: inline-block; } }
.nav-cta {
  padding: 0.55rem 1.05rem;
  background: var(--amber);
  color: #0a0a0a;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(245,158,11,0.35); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* HERO OFFRE */
.offer-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  position: relative;
}
.offer-hero::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(245,158,11,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.offer-hero > * { position: relative; }
.eyebrow {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-amber);
  border-radius: 100px;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.offer-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.85rem;
}
.offer-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.offer-hero .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.85rem;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  color: #0a0a0a;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-amber); }
.btn-primary.large { padding: 1.15rem 2rem; font-size: 1.05rem; }

/* SECTIONS */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--bg-2); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; }
.section-overline {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 0.85rem;
}
.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* FEATURES LIST */
.features-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.features-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--amber);
}
.features-list { list-style: none; }
.features-list li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.6rem 0;
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.5;
  border-bottom: 1px dashed var(--border);
}
.features-list li:last-child { border-bottom: none; }
.features-list li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.features-list li.coming::before { content: '◯'; color: var(--text-light); }
.features-list li .badge-soon {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.5rem;
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* HOW STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(5, 1fr); gap: 1rem; } }
.step-item {
  padding: 1.25rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--amber);
  color: #0a0a0a;
  border-radius: 50%;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}
.step-item p { font-size: 0.86rem; color: var(--text-2); line-height: 1.5; }

/* FOR WHOM */
.who-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.85rem 1.6rem;
  background: var(--bg-3);
  border: 1px solid var(--border-amber);
  border-radius: 16px;
  text-align: center;
}
.who-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(245,158,11,0.12);
  color: var(--amber);
  border-radius: 14px;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
}
.who-card p { color: var(--text-2); font-size: 1rem; line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem; font-weight: 800;
  color: var(--amber);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* CTA FINAL */
.cta-final {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(245,158,11,0.10) 0%, transparent 60%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-final h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); margin-bottom: 0.85rem; }
.cta-final p { color: var(--text-dim); margin-bottom: 1.85rem; }
.cta-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.84rem;
  color: var(--text-dim);
}
.cta-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cta-meta .dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
}
