/* ═══════════════════════════════════════════════════════════
   SErvolution — Design System
   Primaire : #B05A3B (marron brûlé) · Accent : #F6A858 (orange chaud)
   Fond : #FDFAF7 · Sombre : #1E1810
   ═══════════════════════════════════════════════════════════ */

:root {
  --brown:    #B05A3B;
  --brown-dk: #8A3F25;
  --brown-lt: #D4795A;
  --orange:   #F6A858;
  --orange-lt:#FFECD5;
  --peach:    #FDEAE3;
  --peach-mid:#F8D5C4;
  --warm-sand:#FBF3EC;
  --blush:    #FAE8DC;
  --dark:     #1E1810;
  --dark-mid: #2C2016;
  --cream:    #FDFAF7;
  --off-white:#F5EFE8;
  --border:   #E8DDD4;
  --txt:      #2C2016;
  --txt-mid:  #5C4A3A;
  --txt-lt:   #9A8070;
  --white:    #FFFFFF;
  --maxw:     1100px;
  --radius:   10px;
  --shadow:   0 4px 28px rgba(30,24,16,0.10);
  --shadow-lg:0 10px 48px rgba(30,24,16,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', 'Inter', system-ui, sans-serif;
  color: var(--txt);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Conteneur ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,250,247,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(30,24,16,0.06);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 28px; height: 70px;
  display: flex; align-items: center; gap: 36px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 50px; width: auto; object-fit: contain; }
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brown), var(--brown-dk));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: #fff; letter-spacing: 0.02em;
}
.nav-logo-text { color: var(--dark); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.nav-logo-sub { color: var(--txt-lt); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.nav-links { display: flex; gap: 2px; list-style: none; flex: 1; }
.nav-links a {
  display: block; padding: 6px 13px;
  font-size: 13px; font-weight: 500;
  color: var(--txt-mid); white-space: nowrap;
  text-decoration: none; border-radius: 6px;
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--brown); background: rgba(176,90,59,0.07);
}
.nav-cta {
  padding: 9px 22px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brown), var(--brown-dk));
  color: #fff !important; font-weight: 700; font-size: 13px;
  text-decoration: none !important; flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none; cursor: pointer;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(176,90,59,0.45); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: var(--cream);
  background-image:
    radial-gradient(ellipse at 10% 70%, rgba(176,90,59,0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(246,168,88,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(248,213,196,0.35) 0%, transparent 60%);
  color: var(--dark);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,168,88,0.12); border: 1px solid rgba(246,168,88,0.25);
  color: var(--orange); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 22px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800; line-height: 1.18;
  margin-bottom: 22px; letter-spacing: -0.025em;
}
.hero h1 em { font-style: normal; color: var(--brown); }
.hero-sub {
  font-size: 1.05rem; color: var(--txt-mid);
  line-height: 1.78; margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 13px 28px; border-radius: 9px; font-weight: 700;
  font-size: 14px; text-decoration: none !important;
  transition: all 0.18s; cursor: pointer; border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brown), var(--brown-dk));
  color: #fff; box-shadow: 0 4px 20px rgba(176,90,59,0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(176,90,59,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--brown);
  border: 1.5px solid rgba(176,90,59,0.35);
}
.btn-ghost:hover { background: rgba(176,90,59,0.07); border-color: var(--brown); }
.btn-outline {
  background: transparent; color: var(--brown);
  border: 2px solid var(--brown);
}
.btn-outline:hover { background: var(--brown); color: #fff; }

/* ══════════════════════════════════════
   MOCKUP LOGICIEL (CSS pur)
══════════════════════════════════════ */
.app-window {
  background: #1A1512;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05);
}
.app-titlebar {
  background: #0F0C0A;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.app-dots { display: flex; gap: 6px; }
.app-dots span {
  width: 11px; height: 11px; border-radius: 50%;
}
.app-dots span:nth-child(1) { background: #FF5F57; }
.app-dots span:nth-child(2) { background: #FEBC2E; }
.app-dots span:nth-child(3) { background: #28C840; }
.app-url {
  flex: 1; background: rgba(255,255,255,0.05);
  border-radius: 6px; padding: 5px 12px;
  font-size: 11px; color: rgba(255,255,255,0.3);
  font-family: monospace;
}
.app-body {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 320px;
}
.app-sidebar {
  background: #120F0D;
  padding: 16px 0;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.app-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 12px; color: rgba(255,255,255,0.45);
  cursor: default; border-left: 3px solid transparent;
}
.app-nav-item.active {
  color: var(--orange); background: rgba(246,168,88,0.08);
  border-left-color: var(--orange);
}
.app-nav-item .icon { font-size: 14px; width: 18px; text-align: center; }
.app-content { padding: 20px; }
.app-content-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.app-title { font-size: 14px; font-weight: 700; color: #fff; }
.app-btn-sm {
  background: linear-gradient(135deg, var(--brown), var(--brown-dk));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 6px;
}
.app-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 6px;
}
.app-row:nth-child(even) { background: rgba(255,255,255,0.02); }
.app-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.app-row-name { font-size: 12px; color: rgba(255,255,255,0.75); flex: 1; font-weight: 500; }
.app-row-detail { font-size: 11px; color: rgba(255,255,255,0.3); }
.app-badge {
  padding: 2px 9px; border-radius: 100px;
  font-size: 10px; font-weight: 700;
}
.badge-green { background: rgba(0,200,100,0.15); color: #00C864; }
.badge-orange { background: rgba(246,168,88,0.15); color: var(--orange); }
.badge-grey { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

.app-stat-row { display: flex; gap: 10px; margin-bottom: 14px; }
.app-stat {
  flex: 1; background: rgba(255,255,255,0.04);
  border-radius: 8px; padding: 12px 14px;
}
.app-stat-val { font-size: 1.3rem; font-weight: 900; color: var(--orange); line-height: 1; }
.app-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
section { padding: 84px 0; }

.section-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brown); background: rgba(176,90,59,0.08);
  padding: 5px 13px; border-radius: 100px; margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 800; color: var(--dark);
  line-height: 1.22; letter-spacing: -0.025em; margin-bottom: 18px;
}
h2 em { font-style: normal; color: var(--brown); }

.lead {
  font-size: 1.05rem; color: var(--txt-mid);
  line-height: 1.8; max-width: 580px;
}

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── Card ── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 32px;
  transition: all 0.22s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(176,90,59,0.25); }
.card-num {
  font-size: 2.5rem; font-weight: 900; color: var(--orange);
  line-height: 1; margin-bottom: 12px; opacity: 0.8;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card p { font-size: 0.9rem; color: var(--txt-mid); line-height: 1.7; }

/* ── Feature bloc (alternance gauche/droite) ── */
.feature-bloc {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-bottom: 100px;
}
.feature-bloc:last-child { margin-bottom: 0; }
.feature-bloc.reverse .feature-visual { order: -1; }

.feature-text .section-tag { margin-bottom: 14px; }
.feature-text h2 { margin-bottom: 16px; }
.feature-text p {
  color: var(--txt-mid); font-size: 0.95rem;
  line-height: 1.82; margin-bottom: 28px;
}

/* ── Check list ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 0.9rem; color: var(--txt-mid); line-height: 1.6;
}
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px; min-width: 20px;
  border-radius: 50%;
  background: rgba(176,90,59,0.1);
  color: var(--brown);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px; flex-shrink: 0;
}

/* ── Stats ── */
.stats-strip {
  background: linear-gradient(135deg, var(--warm-sand) 0%, var(--peach) 100%);
  border-top: 1px solid var(--peach-mid);
  border-bottom: 1px solid var(--peach-mid);
  color: var(--dark); padding: 44px 0;
}
.stats-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-val { font-size: 2.4rem; font-weight: 900; color: var(--brown); line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-size: 0.82rem; color: var(--txt-mid); font-weight: 500; }

/* ── Bandeau colonne ── */
.highlight-band {
  background: linear-gradient(135deg, var(--warm-sand) 0%, var(--blush) 100%);
  border-top: 1px solid var(--peach-mid);
  border-bottom: 1px solid var(--peach-mid);
  padding: 72px 0;
}
/* Sections avec fond pastel doux */
.section-warm {
  background: linear-gradient(180deg, var(--cream) 0%, var(--warm-sand) 100%);
}
.section-peach {
  background: linear-gradient(135deg, var(--peach) 0%, var(--warm-sand) 100%);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--peach);
  background-image:
    radial-gradient(ellipse at 20% 60%, rgba(176,90,59,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(246,168,88,0.20) 0%, transparent 50%);
  color: var(--dark); padding: 88px 0; text-align: center;
  border-top: 1px solid var(--peach-mid);
}
.cta-banner h2 { color: var(--dark); margin-bottom: 18px; }
.cta-banner p { color: var(--txt-mid); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Testimonial ── */
.testimonial {
  background: #fff; border-radius: 14px;
  padding: 36px 40px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--brown);
}
.testimonial-quote {
  font-size: 1.05rem; font-style: italic; color: var(--txt);
  line-height: 1.78; margin-bottom: 22px;
}
.testimonial-quote::before { content: '« '; color: var(--orange); }
.testimonial-quote::after  { content: ' »'; color: var(--orange); }
.testimonial-author { font-size: 0.88rem; }
.testimonial-author strong { color: var(--dark); }
.testimonial-author span { color: var(--txt-lt); }

/* ── Pricing ── */
.pricing-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 36px 32px;
  transition: all 0.2s; box-shadow: var(--shadow);
}
.pricing-card.featured {
  border-color: var(--brown); background: var(--dark); color: #fff;
  box-shadow: 0 12px 48px rgba(176,90,59,0.3);
}
.pricing-card.featured h3, .pricing-card.featured .price-val { color: #fff; }
.pricing-card.featured p { color: rgba(255,255,255,0.6); }
.pricing-card.featured .check-list li { color: rgba(255,255,255,0.75); }
.pricing-card.featured .check-list li::before { background: rgba(246,168,88,0.15); }
.price-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.price-val { font-size: 2rem; font-weight: 900; color: var(--dark); margin: 8px 0 4px; }
.price-period { font-size: 12px; color: var(--txt-lt); margin-bottom: 24px; }

/* ── Footer ── */
footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 56px 0 0; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand h3 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.8; max-width: 270px; }
.footer-col h4 {
  color: rgba(255,255,255,0.38); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.52); font-size: 13px;
  text-decoration: none; margin-bottom: 9px; transition: color 0.15s;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 28px; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto;
}
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--orange); }

/* ── Page hero ── */
.page-hero {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 20% 55%, rgba(176,90,59,0.22) 0%, transparent 55%);
  color: #fff; padding: 72px 0 60px;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.025em; }
.page-hero h1 em { font-style: normal; color: var(--orange); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.78; max-width: 580px; }

/* ── Breadcrumb ── */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 11px 0; font-size: 12.5px; color: var(--txt-lt); }
.breadcrumb a { color: var(--txt-lt); }
.breadcrumb a:hover { color: var(--brown); }
.breadcrumb span { color: var(--txt-mid); font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner, .feature-bloc { grid-template-columns: 1fr; }
  .feature-bloc.reverse .feature-visual { order: 0; }
  .hero-visual, .feature-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ── Dropdown navigation ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); background: #fff; border: 1px solid #e8ddd5;
  border-radius: 12px; padding: 8px 0; min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10); list-style: none; z-index: 1000;
  white-space: nowrap;
}
.nav-dropdown-menu li a {
  display: block; padding: 9px 18px; font-size: 13px;
  color: #3d2b1f; font-weight: 500; text-decoration: none; border-radius: 0;
  transition: background 0.15s;
}
.nav-dropdown-menu li a:hover { background: rgba(176,90,59,0.07); color: var(--orange, #b05a3b); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
