/* ============================================================
   DCB TECHNOLOGIES — DESIGN SYSTEM UNIFIÉ
   Version 1.0 — Code en dur, zéro CMS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --primary:         #0B3D91;
  --primary-dark:    #072B6B;
  --primary-light:   #E6EEF9;
  --cta:             #F57C00;
  --cta-dark:        #E65100;
  --white:           #FFFFFF;
  --s0:              #FFFFFF;
  --s1:              #F8F9FA;
  --s2:              #F3F4F5;
  --text:            #1A1A2E;
  --text-muted:      #4A5568;
  --text-light:      #6B7280;
  --shadow:          4px 4px 0px 0px rgba(7,43,107,0.04);
  --shadow-md:       0 10px 30px -10px rgba(11,61,145,0.15);
  --shadow-lg:       0 20px 40px -10px rgba(11,61,145,0.25);
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-2xl: 28px;
  /* Tags métiers */
  --boulangerie: #F59E0B;
  --restaurant:  #EF4444;
  --commerce:    #0D9488;
  --coiffure:    #A855F7;
  --font-title: 'Sora', sans-serif;
  --font-body:  'Inter', sans-serif;
}

/* ── BASE ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--s0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; }
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.label-caps {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.shadow-card { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }

/* ── NAVIGATION (STANDARD — TOUTES LES PAGES) ─────────────── */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 68px;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--primary); }
.nav__links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--cta);
  padding-bottom: 2px;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav__tel {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
}
.btn-cta {
  background: var(--cta);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: var(--r-lg);
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.15s, opacity 0.15s;
  display: inline-block;
}
.btn-cta:hover { opacity: 0.9; transform: scale(0.97); }

/* ── FOOTER (STANDARD — TOUTES LES PAGES) ─────────────────── */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer__tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9375rem;
}
.footer__col-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer__links a:hover { color: var(--white); transform: translateX(3px); }
.footer__links a.active { color: var(--cta); font-weight: 600; }
.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer__legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.footer__legal a { font-size: 0.75rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer__legal a:hover { color: var(--white); }

/* ── SECTIONS COMMUNES ──────────────────────────────────────── */
.section { padding: 6rem 0; }
.section--s1 { background: var(--s1); }
.section--s2 { background: var(--s2); }
.section--white { background: var(--white); }
.section--primary { background: var(--primary); color: var(--white); }
.section--dark { background: var(--primary-dark); color: var(--white); }

/* ── HERO GRADIENT ──────────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(135deg, #0B3D91 0%, #072B6B 100%);
  padding-top: 68px;
}

/* ── BOUTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--r-lg);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn--primary { background: var(--cta); color: var(--white); }
.btn--primary:hover { transform: translateY(-2px); opacity: 0.95; }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.1); }
.btn--outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline-primary:hover { background: var(--primary); color: var(--white); }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card--hover { transition: transform 0.2s, box-shadow 0.2s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── GRILLES DÉPARTEMENT ────────────────────────────────────── */
.depts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dept-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  aspect-ratio: 1;
}
.dept-card__num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.dept-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

/* ── CONFIGS / PRICING ──────────────────────────────────────── */
.configs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.config-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.config-card--featured {
  transform: translateY(-1rem) scale(1.02);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.config-card__price {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.config-card__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}
.config-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
  margin-bottom: 2rem;
}
.config-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

/* ── FORMULAIRE MINIMALISTE ─────────────────────────────────── */
.mini-form {
  background: var(--s1);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.mini-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: box-shadow 0.2s;
}
.form-input:focus { box-shadow: 0 0 0 2px rgba(11,61,145,0.2); }
.form-input::placeholder { color: var(--text-light); }
.form-note {
  text-align: center;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── FAQ ACCORDÉON ──────────────────────────────────────────── */
.faq-item {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary .expand-icon { transform: rotate(180deg); }
.expand-icon { transition: transform 0.3s; }
.faq-item__body { padding: 0 1.5rem 1.5rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA FINAL SECTION ──────────────────────────────────────── */
.cta-final {
  background: var(--white);
  border-radius: var(--r-xl);
  text-align: center;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(11,61,145,0.15);
  border-top: 8px solid var(--cta);
}
.cta-final__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-tel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cta-tel__icon {
  width: 3rem;
  height: 3rem;
  background: rgba(11,61,145,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.cta-tel__num {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}
.cta-tel__label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

/* ── SECTION TECHNICIENS / PROXIMITÉ ──────────────────────── */
.proximity-section { background: var(--primary); color: var(--white); overflow: hidden; position: relative; }
.proximity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.proximity-quote {
  background: var(--white);
  color: var(--primary);
  padding: 2.5rem;
  border-radius: var(--r-xl);
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.proximity-quote__icon {
  position: absolute;
  top: -1rem;
  left: -1rem;
  background: var(--cta);
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.proximity-quote__text { font-style: italic; font-size: 1.125rem; line-height: 1.7; margin-bottom: 1.5rem; }
.proximity-quote__author { font-weight: 700; font-size: 1rem; }
.proximity-quote__role { color: var(--text-muted); font-size: 0.875rem; }

/* ── TOP-BORDER CARDS ───────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-4px); }
.service-card--blue   { border-top: 4px solid var(--primary); }
.service-card--red    { border-top: 4px solid #EF4444; }
.service-card--teal   { border-top: 4px solid #0D9488; }
.service-card--violet { border-top: 4px solid #A855F7; }
.service-card--orange { border-top: 4px solid var(--cta); }

/* ── STATS EDITORIALES ──────────────────────────────────────── */
.stat-num {
  font-family: var(--font-title);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }

/* ── NF525 ──────────────────────────────────────────────────── */
.nf525-badge {
  width: 16rem;
  height: 16rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px rgba(11,61,145,0.4);
}
.nf525-badge__text {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .configs-grid { grid-template-columns: 1fr; }
  .config-card--featured { transform: none; }
  .proximity-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links, .nav__tel { display: none; }
  .nav__logo { font-size: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .mini-form__grid { grid-template-columns: 1fr; }
  .depts-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}
