/* ============================================================
   EDIMELEC — Style Deblock · Blanc dominant · SF Pro Display
   Compatible 100% avec index.html (classes originales)
   ============================================================ */

:root {
  --white:    #ffffff;
  --off:      #f7f7f7;
  --off2:     #f0f0f0;
  --black:    #080808;
  --black2:   #111111;
  --black3:   #1a1a1a;
  --ink:      #0d0d0d;
  --muted:    rgba(8,8,8,0.45);
  --faint:    rgba(8,8,8,0.08);
  --border:   rgba(8,8,8,0.1);
  --border2:  rgba(8,8,8,0.18);
  --radius:   16px;
  --container: min(1160px, calc(100vw - 48px));
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
strong { font-weight: 600; }

/* ── CONTAINER ── */
.container {
  width: var(--container);
  margin: 0 auto;
}

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

/* BRAND */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--black);
}

.brand small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* TOPBAR INFO */
.topbar-info { text-align: right; }

.topbar-info p {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.topbar-info a {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}

/* NAV ROW */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 20px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.1px;
  transition: color .15s;
}

.main-nav a:hover { color: var(--black); }

/* ══════════════════════════════════════
   BOUTONS
══════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  border: none;
  background: var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.button:hover { background: var(--black3); transform: translateY(-1px); }

.button-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border2);
}
.button-outline:hover { background: var(--faint); transform: translateY(-1px); }

.button-light {
  background: var(--off);
  color: var(--black);
  border: 1px solid var(--border);
}
.button-light:hover { background: var(--off2); transform: translateY(-1px); }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 56px;
}

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--off2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
  width: fit-content;
}

h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: -0.1px;
}
.lead strong { color: var(--black); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* HERO POINTS */
.hero-points { list-style: none; padding: 0; }

.hero-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.1px;
}

.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.25;
}

/* HERO CARD */
.hero-card-panel {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
}

.hero-card-panel h2 {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--white);
  margin-bottom: 12px;
}

.hero-card-panel p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* PILL */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 18px;
}

/* STATS DL */
.stats { display: grid; gap: 0; }

.stats > div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stats > div:last-child { border-bottom: none; }

.stats dt {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.stats dd {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-align: right;
}

/* ══════════════════════════════════════
   TRUST STRIP
══════════════════════════════════════ */
.trust-strip {
  border-bottom: 1px solid var(--border);
  background: var(--off);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.trust-grid > div {
  background: var(--off);
  padding: 22px 24px;
  transition: background .15s;
}

.trust-grid > div:hover { background: var(--off2); }

.trust-grid strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.trust-grid span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-alt { background: var(--off); }

.section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  letter-spacing: -0.1px;
}
.section p strong { color: var(--black); font-weight: 600; }

/* SECTION GRID */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* INFO CARD */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.section-alt .info-card { background: var(--white); }

.info-card h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* CHECK LIST */
.check-list { list-style: none; padding: 0; }

.check-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--faint);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  letter-spacing: -0.1px;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.2;
}

/* ══════════════════════════════════════
   SERVICE CARDS
══════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--white);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}

.card:hover { background: var(--off); }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: background .25s;
}

.card:hover::before { background: var(--black); }

.card h3 { color: var(--black); margin-bottom: 8px; }

.card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ══════════════════════════════════════
   DISTRICTS
══════════════════════════════════════ */
.districts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.district {
  background: var(--white);
  padding: 28px 30px;
  transition: background .15s;
}

.district:hover { background: var(--off); }
.district h3 { color: var(--black); }
.district p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 8px;
}

.zones-note {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(8,8,8,0.35);
  padding-left: 16px;
  border-left: 2px solid var(--black);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .15s;
}

.price-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.price-card.featured {
  background: var(--black);
  border-color: var(--black);
}

.price-card.featured h3 { color: rgba(255,255,255,0.5); }
.price-card.featured .price { color: var(--white); }
.price-card.featured p:last-child { color: rgba(255,255,255,0.45); }

.price-card.featured::after {
  content: '★ Recommandé';
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.price-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-transform: none;
}

.price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 12px;
}

.price-card p:last-of-type {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.pricing-note {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(8,8,8,0.3);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════
   REASONS
══════════════════════════════════════ */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  counter-reset: reason;
}

.reasons article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .2s;
  counter-increment: reason;
}

.reasons article:hover { border-color: var(--black); }

.reasons article::before {
  content: '0' counter(reason);
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(8,8,8,0.25);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.reasons h3 { color: var(--black); }
.reasons p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 8px;
  margin-bottom: 0;
}

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list details {
  background: var(--white);
  overflow: hidden;
}

.faq-list details:hover { background: var(--off); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  transition: color .15s;
  user-select: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: rgba(8,8,8,0.3);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .25s, color .15s;
  display: block;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--black);
}

.faq-list details p {
  padding: 0 28px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0;
}

/* ══════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════ */
.contact-section {
  padding: 80px 0;
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-section .eyebrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}

.contact-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.contact-section > .container > div > p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  max-width: 44ch;
  line-height: 1.75;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* CONTACT ACTIONS */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.contact-section .button {
  background: var(--white);
  color: var(--black);
}
.contact-section .button:hover { background: var(--off); }

.contact-section .button-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.15);
}
.contact-section .button-light:hover { background: rgba(255,255,255,0.14); }

/* CONTACT LIST */
.contact-list { list-style: none; padding: 0; }

.contact-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  letter-spacing: -0.1px;
}

.contact-list li:last-child { border-bottom: none; }

.contact-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 11px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
}

/* CONTACT FORM CARD */
.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-card label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color .2s, background .2s;
  letter-spacing: -0.1px;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
}

.contact-card input::placeholder,
.contact-card textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.contact-card .button {
  width: fit-content;
  background: var(--white);
  color: var(--black);
}
.contact-card .button:hover { background: var(--off); }

.form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--black);
  padding: 56px 0 28px;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  margin-bottom: 0;
}

.site-footer strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  margin: 0;
}

.site-footer ul { list-style: none; padding: 0; }

.site-footer ul li {
  margin-bottom: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.site-footer ul a:hover { color: var(--white); }

.site-footer ul li:first-child a {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 980px) {
  :root { --container: calc(100vw - 32px); }

  .hero-grid,
  .section-grid,
  .contact-grid,
  .cards,
  .districts,
  .pricing,
  .reasons,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .nav-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topbar-info { text-align: left; }
  .main-nav { gap: 16px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .contact-section { padding: 56px 0; }
}

@media (max-width: 640px) {
  h1 { letter-spacing: -0.03em; }
  h2 { letter-spacing: -0.02em; }

  .hero-card-panel,
  .info-card,
  .card,
  .district,
  .price-card,
  .reasons article,
  .contact-card {
    padding: 22px 20px;
  }

  .faq-list summary { padding: 18px 20px; font-size: 14px; }
  .faq-list details p { padding: 0 20px 18px; padding-top: 14px; }

  .pricing { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}