/* ===========================
   TOKENS
=========================== */
:root {
  --black:   #0f0f0f;
  --ink:     #1c1c1c;
  --mid:     #6b7280;
  --light:   #e5e7eb;
  --fog:     #f5f6f8;
  --white:   #ffffff;
  --accent:  #0ea5e9;       /* sky blue — vapeur, eau, propreté */
  --accent2: #0284c7;
  --green:   #16a34a;
  --radius:  12px;
  --shadow:  0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.06);
  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
}

/* ===========================
   RESET
=========================== */
/* *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--fog);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
} */

/* ===========================
   HEADER
=========================== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--light);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: .875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.logo-wipe { color: var(--ink); }
.logo-city { color: var(--accent); }

.lang-toggle { display: flex; align-items: center; gap: 6px; }
.lang-sep { color: var(--light); font-size: 14px; }
.lang-btn {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--light);
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all .15s;
  letter-spacing: .04em;
}
.lang-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ===========================
   HERO
=========================== */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--light);
  padding: 3rem 1.5rem 2.5rem;
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: .75rem;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: 16px;
  color: var(--mid);
  font-weight: 300;
  max-width: 420px;
}

/* ===========================
   CALCULATOR
=========================== */
.calculator {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ===========================
   STEP BLOCK
=========================== */
.step-block {
  background: var(--white);
  border: 1px solid var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1.25rem;
}
.step-dot {
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0;
  min-width: 24px;
}

/* ===========================
   SERVICE GRID
=========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.service-card {
  border: 1.5px solid var(--light);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: all .15s;
  background: var(--fog);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card:hover { border-color: var(--accent); background: #f0f9ff; }
.service-card.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}
.service-icon { font-size: 26px; line-height: 1; }
.service-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.service-desc { font-size: 11px; color: var(--mid); line-height: 1.4; }
.service-card.selected .service-desc { color: #94a3b8; }
.service-from { font-size: 11px; font-weight: 500; color: var(--accent); margin-top: 2px; }
.service-card.selected .service-from { color: #7dd3fc; }

/* ===========================
   DETAIL GRID
=========================== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.detail-card {
  border: 1.5px solid var(--light);
  border-radius: 10px;
  padding: .875rem;
  cursor: pointer;
  transition: all .15s;
  background: var(--fog);
  text-align: center;
}
.detail-card:hover { border-color: var(--accent); background: #f0f9ff; }
.detail-card.selected { border-color: var(--ink); background: var(--ink); color: var(--white); }
.detail-icon { font-size: 22px; display: block; margin-bottom: 5px; }
.detail-name { font-size: 13px; font-weight: 600; display: block; }
.detail-price { font-size: 12px; color: var(--mid); margin-top: 3px; display: block; }
.detail-card.selected .detail-price { color: #94a3b8; }

/* ===========================
   OPTIONS GRID
=========================== */
.options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  border: 1.5px solid var(--light);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
  background: var(--fog);
  gap: 12px;
}
.option-row:hover { border-color: var(--accent); background: #f0f9ff; }
.option-row.selected { border-color: var(--ink); background: #f8fafc; }
.option-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.option-icon { font-size: 20px; flex-shrink: 0; }
.option-text {}
.option-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.option-subdesc { font-size: 11px; color: var(--mid); margin-top: 1px; }
.option-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.option-price-tag { font-size: 13px; font-weight: 600; color: var(--ink); }
.option-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all .15s;
  flex-shrink: 0;
}
.option-row.selected .option-check {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ===========================
   RESULT BLOCK
=========================== */
.result-block {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
  box-shadow: 0 4px 32px rgba(0,0,0,.15);
}
.result-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: .75rem;
}
.result-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.result-amount {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 1;
  color: var(--white);
  letter-spacing: -.03em;
  transition: all .2s;
}
.result-currency {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
}
.result-note {
  font-size: 12px;
  color: #64748b;
  margin-top: .5rem;
  line-height: 1.5;
}

.result-lines {
  border-top: 1px solid #1e293b;
  padding-top: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rline {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
}
.rline .rv { color: #cbd5e1; font-weight: 500; }
.rline.rtotal {
  border-top: 1px solid #1e293b;
  padding-top: 8px;
  margin-top: 2px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}
.rline.rtotal .rv { color: var(--accent); }

.result-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-primary, .btn-secondary {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .15s;
  border: none;
}
.btn-primary { background: #25d366; color: var(--white); }
.btn-primary:hover { background: #1ebe59; }
.btn-secondary { background: transparent; border: 1.5px solid #1e293b; color: #94a3b8; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ===========================
   FOOTER
=========================== */
/* footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 12px;
  color: var(--mid);
}
footer a { color: var(--accent); text-decoration: none; } */

/* ===========================
   PRINT
=========================== */
.print-zone { display: none; }

@media print {
  body > *:not(.print-zone) { display: none !important; }
  .print-zone {
    display: block !important;
    font-family: Arial, sans-serif;
    padding: 2.5rem;
    color: #000;
  }
  .pheader {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #000;
  }
  .plogo { font-size: 24px; font-weight: 700; }
  .plogo span { color: #0ea5e9; }
  .pmeta { font-size: 12px; color: #666; text-align: right; }
  .ptitle { font-size: 18px; font-weight: 700; margin-bottom: 1rem; }
  .ptable { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
  .ptable th { background: #f5f6f8; padding: 9px 12px; text-align: left; font-size: 12px; }
  .ptable td { padding: 9px 12px; border-bottom: 1px solid #eee; font-size: 13px; }
  .ptotal { text-align: right; font-size: 20px; font-weight: 700; }
  .pfooter { margin-top: 2.5rem; font-size: 11px; color: #777; border-top: 1px solid #ddd; padding-top: 1rem; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 600px) {
  .hero { padding: 2rem 1.25rem 1.75rem; }
  .calculator { padding: 1.25rem 1rem 3rem; gap: 1rem; }
  .step-block { padding: 1.25rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .result-block {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .result-amount { font-size: 44px; }
}

@media (max-width: 380px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}