/* ═══════════════════════════════════════════════════════════════
   Dapfy Cameroun — site vitrine
   Style : minimaliste corporate tech (inspiration bowwe)
   Palette : noir / blanc / gris + accent rouge Dapfy #e63e3b
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────── Typographie ─────────── */
h1, h2, h3, h4 {
  margin: 0;
  color: #0f0f0f;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; margin-bottom: 6px; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #e63e3b;
  margin: 0 0 20px;
}
.eyebrow-inverted { color: #ff8a86; }
.h2-inverted { color: #ffffff; }
.accent { color: #e63e3b; }
.lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #555555;
  margin: 0 0 32px;
}
.lead-narrow { max-width: 720px; }
.lead-inverted { color: #d1d1d1; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-primary {
  background: #0f0f0f;
  color: #ffffff;
}
.btn-primary:hover { background: #e63e3b; }
.btn-ghost {
  background: transparent;
  color: #0f0f0f;
  border-color: #d2d2d2;
}
.btn-ghost:hover { border-color: #e63e3b; color: #e63e3b; }

/* ─────────── Header ─────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ececec;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand-mark {
  width: 32px;
  height: 32px;
  background: #e63e3b;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}
.brand-mark-dark { background: #ffffff; color: #0f0f0f; }
.brand-name { font-size: 1rem; }
.brand-name-dark { color: #ffffff; }

.nav {
  display: flex;
  gap: 30px;
  font-size: .92rem;
}
.nav a { color: #333; font-weight: 500; }
.nav a:hover { color: #e63e3b; }

/* ─────────── Hero ─────────── */
.hero {
  padding: 96px 0 88px;
  border-bottom: 1px solid #ececec;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy h1 {
  margin: 22px 0 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: .82rem;
  color: #555;
  margin-top: 8px;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #e63e3b; }

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}
.hero-card {
  width: 100%;
  max-width: 360px;
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: 0 2px 0 #eaeaea, 0 24px 60px -30px rgba(0,0,0,.18);
  transform: rotate(-1deg);
}
.hero-card-2 {
  transform: rotate(2deg) translateX(-40px);
  background: #0f0f0f;
  color: #ffffff;
  border-color: transparent;
}
.hero-card .mini-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 8px;
}
.hero-card-2 .mini-label { color: #ff8a86; }
.hero-card .mini-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.hero-card .mini-line { font-size: .92rem; margin: 4px 0; font-weight: 500; }
.hero-card .mini-line-muted { color: #888; font-size: .84rem; font-weight: 400; }
.hero-card-2 .mini-line-muted { color: #a8a8a8; }

/* ─────────── Sections génériques ─────────── */
.section { padding: 100px 0; }
.section-white { background: #ffffff; }
.section-gray  { background: #f6f6f6; }
.section-dark  { background: #0f0f0f; color: #e5e5e5; }

/* ─────────── Services (grille 3 buckets) ─────────── */
.services-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-bucket {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.service-bucket:hover {
  border-color: #0f0f0f;
  transform: translateY(-3px);
}
.bucket-head { margin-bottom: 18px; }
.bucket-num {
  font-family: 'Inter', monospace;
  font-size: .85rem;
  font-weight: 700;
  color: #e63e3b;
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}
.bucket-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 6px;
}
.service-bucket h3 { font-size: 1.25rem; }
.bucket-desc {
  color: #555;
  font-size: .92rem;
  margin: 0 0 24px;
}
.service-list {
  border-top: 1px solid #ececec;
  padding-top: 8px;
  margin-top: auto;
}
.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid #ececec;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-list li:last-child { border-bottom: 0; }
.service-name {
  font-weight: 600;
  color: #0f0f0f;
  font-size: .95rem;
}
.service-detail {
  font-size: .82rem;
  color: #888;
  line-height: 1.4;
}
.services-cta {
  margin-top: 40px;
  text-align: center;
  color: #555;
  font-size: .95rem;
}
.services-cta a {
  color: #e63e3b;
  font-weight: 600;
  border-bottom: 2px solid #e63e3b;
  padding-bottom: 1px;
}
.services-cta a:hover { color: #0f0f0f; border-color: #0f0f0f; }

/* ─────────── Products ─────────── */
.product-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.product-card {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 24px;
  padding: 40px;
  transition: border-color .18s ease, transform .18s ease;
}
.product-card:hover {
  border-color: #e63e3b;
  transform: translateY(-4px);
}
.product-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.product-icon-sale { background: #fde8e7; }
.product-icon-fleet { background: #dbeafe; }
.product-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 4px;
}
.product-desc { color: #555; margin: 0 0 24px; }
.product-features {
  margin: 0 0 28px;
  font-size: .92rem;
  color: #333;
}
.product-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-top: 1px solid #ececec;
}
.product-features li:first-child { border-top: 0; }
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 12px;
  background: #e63e3b;
  border-radius: 2px;
  transform: rotate(45deg);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f0f0f;
  padding-bottom: 3px;
  border-bottom: 2px solid #0f0f0f;
  transition: color .15s ease, border-color .15s ease;
}
.product-link:hover { color: #e63e3b; border-color: #e63e3b; }
.arrow { font-size: 1.1rem; transition: transform .15s ease; }
.product-link:hover .arrow { transform: translate(3px, -3px); }

/* ─────────── About ─────────── */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about-copy p {
  color: #c8c8c8;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-copy strong { color: #ffffff; }
.about-facts {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  border-top: 1px solid #262626;
  padding-top: 32px;
}
.fact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 6px;
}
.fact-value { color: #ffffff; font-weight: 600; margin: 0; font-size: 1rem; }

/* ─────────── Values ─────────── */
.values-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.value {
  padding: 32px;
  border: 1px solid #ececec;
  border-radius: 24px;
  background: #ffffff;
  transition: border-color .18s ease;
}
.value:hover { border-color: #0f0f0f; }
.value-num {
  font-family: 'Inter', monospace;
  font-size: .85rem;
  font-weight: 700;
  color: #e63e3b;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.value h4 { margin-bottom: 10px; }
.value p { color: #555; margin: 0; font-size: .94rem; }

/* ─────────── Contact ─────────── */
.section-cta {
  background: #0f0f0f;
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  display: block;
  background: #171717;
  border: 1px solid #262626;
  border-radius: 20px;
  padding: 24px;
  position: relative;
  transition: border-color .18s ease, background .18s ease;
}
.contact-card:not(.contact-card-static):hover {
  border-color: #e63e3b;
  background: #1e1e1e;
}
.contact-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 8px;
}
.contact-value {
  color: #ffffff;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #e63e3b;
  font-size: 1.1rem;
}

/* ─────────── Footer ─────────── */
.site-footer {
  background: #0a0a0a;
  color: #c8c8c8;
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1f1f1f;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-tagline {
  margin-top: 14px;
  font-size: .88rem;
  color: #888;
  max-width: 260px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #888;
  margin: 0 0 14px;
}
.footer-cols ul li { margin-bottom: 8px; font-size: .9rem; }
.footer-cols ul li a { color: #d1d1d1; }
.footer-cols ul li a:hover { color: #e63e3b; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: #666;
}
.footer-bottom p { margin: 0; }
.footer-mention {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive < 900px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { align-items: stretch; }
  .hero-card { max-width: 100%; }
  .hero-card-2 { transform: rotate(0) translateX(0); }
  .section { padding: 72px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-facts { grid-template-columns: 1fr 1fr; gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 500px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
