/* ===================== DMM — Décontamination Moisissure Montréal ===================== */

/* Archivo variable font, self-hosted (no third-party request, no layout shift) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy:      #16293F;
  --navy-deep: #0F1E30;
  --navy-line: #22374C;
  --teal:      #1E8E96;
  --teal-dk:   #177178;
  --teal-lt:   #7FD1D6;
  --ink:       #16293F;
  --ink-2:     #4A5B63;
  --ink-3:     #5B6B70;
  --muted-dk:  #A7B8C2;
  --page:      #E8ECED;
  --soft:      #F4F7F7;
  --line:      #E3EAEB;
  --line-2:    #DCE5E6;
  --white:     #FFFFFF;
  --wrap:      1200px;
  --mono: ui-monospace, Menlo, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--white);
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---- shared bits ---- */
.mono-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--ink-3);
}
.mono-kicker.teal { color: var(--teal); }
.mono-kicker.teal-light { color: var(--teal-lt); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 15px; font-weight: 800;
  padding: 15px 20px; border-radius: 12px; border: none; cursor: pointer;
  text-align: center; line-height: 1; transition: transform .08s ease, opacity .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-navy   { background: var(--navy);  color: #fff; }
.btn-navy:hover  { color: #fff; opacity: .93; }
.btn-teal   { background: var(--teal);  color: #fff; }
.btn-teal:hover  { color: #fff; opacity: .93; }
.btn-outline{ background: #fff; color: var(--navy); border: 1.5px solid #C6D4D6; }
.btn-outline:hover { color: var(--navy); border-color: var(--teal); }
.btn-block  { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-kicker { font-size: 8.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--teal); }
.brand-name   { font-size: 15px; font-weight: 900; letter-spacing: 2px; color: var(--navy); line-height: 1; }
.brand-kicker.light, .brand-name.light { color: #fff; }
.brand-kicker.light { color: var(--teal-lt); }

.desktop-nav { display: none; align-items: center; gap: 26px; }
.desktop-nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.desktop-nav a:hover { color: var(--teal); }
.desktop-nav .nav-cta { background: var(--navy); color: #fff; padding: 11px 16px; border-radius: 10px; font-weight: 800; }
.desktop-nav .nav-cta:hover { color: #fff; opacity: .92; }

.menu-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2);
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 100; background: var(--navy);
  display: flex; flex-direction: column; padding: 24px 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.menu-close { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--navy-line); background: transparent; color: #fff; font-size: 22px; font-weight: 600; cursor: pointer; line-height: 1; }
.mobile-links { display: flex; flex-direction: column; margin-top: 36px; }
.mobile-links a { font-size: 26px; font-weight: 800; color: #fff; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.mobile-links a:hover { color: var(--teal-lt); }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.urgence-block { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--teal); padding-left: 14px; }
.urgence-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--teal-lt); }
.urgence-phone { font-size: 24px; font-weight: 900; color: #fff; }
.urgence-phone:hover { color: var(--teal-lt); }
.lang-switch { font-size: 13px; font-weight: 700; color: var(--teal-lt); text-align: center; }
.lang-switch .dim { opacity: .5; font-weight: 400; }

/* ===================== HERO ===================== */
.hero { background: var(--soft); }
.hero-grid { padding: 32px 20px 40px; display: flex; flex-direction: column; gap: 16px; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: 30px; font-weight: 900; line-height: 1.12; letter-spacing: -0.4px; color: var(--navy); text-wrap: balance; }
.lead { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badges li { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 11.5px; font-weight: 600; color: #3E4F58; }
.hero-media {
  position: relative; min-height: 210px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, #16293F 0%, #1E8E96 130%);
}
.hero-media picture, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ===================== EMERGENCY ===================== */
.emergency { background: var(--navy-deep); }
.emergency .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.emergency p { color: #C9D6DA; font-size: 13.5px; }
.emergency strong { color: #fff; }
.emergency a { color: var(--teal-lt); font-size: 13.5px; font-weight: 800; }

/* ===================== SECTIONS ===================== */
.section { padding: 44px 0; }
.section .wrap { display: flex; flex-direction: column; gap: 18px; }
.section h2 { font-size: 23px; font-weight: 800; line-height: 1.2; color: var(--navy); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); }
.on-dark { color: #fff; }
.on-dark-muted { color: var(--muted-dk); font-size: 14px; line-height: 1.55; }

/* services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-card { background: var(--soft); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-card .num { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--teal-dk); }
.service-card h3 { font-size: 13.5px; font-weight: 800; color: var(--navy); }

/* process */
.process-list { display: flex; flex-direction: column; gap: 18px; }
.process-list li { display: flex; gap: 14px; align-items: flex-start; border-left: 2px solid #2A4158; padding-left: 16px; }
.step-num { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--teal); flex: none; }
.process-list h3 { font-size: 14.5px; font-weight: 800; color: #fff; }
.process-list p { font-size: 12.5px; line-height: 1.5; color: var(--muted-dk); margin-top: 3px; }

/* zones */
.zones-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zones-grid li { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* pricing */
.price-table { display: flex; flex-direction: column; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: none; }
.price-row > span:first-child { font-size: 14px; font-weight: 700; color: var(--navy); }
.price { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--teal-dk); white-space: nowrap; }
.price-note { font-size: 13.5px; font-weight: 700; color: var(--navy); }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.section-soft .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--teal); font-weight: 800; font-size: 18px; transition: transform .18s ease; }
.faq details[open] .chev { transform: rotate(45deg); }
.faq p { margin-top: 12px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* ===================== CONTACT ===================== */
.section-contact { background: var(--navy); padding: 44px 0 48px; }
.contact-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-intro { display: flex; flex-direction: column; gap: 10px; }
.contact-intro h2 { font-size: 24px; font-weight: 900; line-height: 1.15; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 15px; padding: 14px; border: none; border-radius: 10px;
  color: var(--ink); outline: 2px solid transparent; outline-offset: 0; transition: outline-color .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline-color: var(--teal-lt); }
.contact-form textarea { resize: vertical; min-height: 84px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #93A3A8; }
.file-field { display: flex; flex-direction: column; gap: 8px; }
.file-label { font-size: 13.5px; font-weight: 700; color: #fff; }
.file-hint { font-weight: 400; color: var(--muted-dk); }
.contact-form input[type="file"] {
  background: rgba(255,255,255,.06); color: #C9D6DA;
  border: 1.5px dashed #3D5468; border-radius: 10px;
  padding: 12px; font-size: 13px; outline: 2px solid transparent;
}
.contact-form input[type="file"]:focus { outline-color: var(--teal-lt); }
.contact-form input[type="file"]::file-selector-button {
  font-family: inherit; font-size: 13px; font-weight: 700;
  background: #fff; color: var(--navy); border: none; border-radius: 8px;
  padding: 9px 14px; margin-right: 12px; cursor: pointer;
}
.file-list { font-size: 12.5px; line-height: 1.5; color: var(--muted-dk); min-height: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-status { font-size: 13.5px; font-weight: 600; min-height: 1.2em; margin-top: 2px; }
.form-status.ok  { color: var(--teal-lt); }
.form-status.err { color: #FF9B8A; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy-deep); padding: 20px 0 calc(20px + env(safe-area-inset-bottom)); }
.site-footer p { font-size: 11.5px; color: #5B7484; text-align: center; }

/* ===================== STICKY MOBILE BAR ===================== */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 10px;
}
.sticky-bar .btn { flex: 1; padding: 14px; font-size: 14px; }
body { padding-bottom: 84px; } /* room for sticky bar */

/* ===================== DESKTOP / TABLET ===================== */
@media (min-width: 760px) {
  .hero-grid { flex-direction: row; align-items: center; gap: 40px; padding: 64px 20px 72px; }
  .hero-copy { flex: 1 1 50%; }
  .hero-media { flex: 1 1 50%; min-height: 340px; align-self: stretch; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 17px; max-width: 40ch; }
  .hero-actions { flex-direction: row; }
  .emergency .wrap { flex-direction: row; align-items: center; gap: 16px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service-card { padding: 22px; }
  .service-card h3 { font-size: 16px; }
  .zones-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
  .section h2 { font-size: 30px; }
  .process-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
  .contact-wrap { flex-direction: row; align-items: flex-start; gap: 48px; }
  .contact-intro { flex: 1 1 40%; position: sticky; top: 100px; }
  .contact-form { flex: 1 1 55%; }
  .price-row > span:first-child, .price { font-size: 15px; }
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .desktop-nav { display: flex; }
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
  html { scroll-padding-top: 84px; }
}

/* ===================== DESKTOP DESIGN (DMM Site Web) ===================== */

/* topbar */
.topbar { display: none; background: var(--navy-deep); }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; color: #C9D6DA; font-size: 12.5px; letter-spacing: .4px; }

/* header phone + CTA */
.header-actions { display: none; align-items: center; gap: 18px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; }
.header-phone-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; color: #78878C; }
.header-phone a { font-size: 16px; font-weight: 800; color: var(--navy); white-space: nowrap; }
.header-phone a:hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 800; font-size: 14px; }
.nav-cta:hover { background: var(--teal-dk); color: #fff; }

/* hero floating card */
.hero-card {
  display: none; position: absolute; left: 16px; bottom: 16px; z-index: 1;
  flex-direction: column; gap: 3px; background: #fff; border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 10px 30px rgba(15,30,48,.18); pointer-events: none;
}
.hero-card-kicker { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--teal); }
.hero-card-text { font-size: 13px; font-weight: 600; color: var(--navy); }

/* service descriptions (desktop only) */
.service-desc { display: none; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* process footer note */
.process-note { font-size: 13.5px; color: var(--teal-lt); border-top: 1px solid var(--navy-line); padding-top: 22px; }

/* section intro paragraph */
.section-intro { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }

/* pourquoi nous */
.pourquoi-wrap { display: flex; flex-direction: column; gap: 20px; }
.pourquoi-media {
  display: none; position: relative; min-height: 380px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg, #16293F 0%, #1E8E96 130%);
  align-items: flex-end; padding: 16px;
}
.pourquoi-media-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,.85); background: rgba(15,30,48,.45); padding: 5px 10px; border-radius: 6px; }
.pourquoi-copy { display: flex; flex-direction: column; gap: 18px; }
.check-list { display: flex; flex-direction: column; gap: 18px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 2px; }
.check-list p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.check-list strong { color: var(--navy); }

/* zones pills */
.zones-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.zones-pills li { background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: #3E4F58; }

/* pricing */
.prix-grid { display: flex; flex-direction: column; gap: 18px; }
.prix-intro { display: flex; flex-direction: column; gap: 14px; }
.price-item { display: flex; flex-direction: column; gap: 3px; }
.price-item > span:first-child { font-size: 14px; font-weight: 700; color: var(--navy); }
.price-sub { font-size: 12.5px; color: #78878C; }
.price-row { align-items: baseline; }

/* contact extras */
.form-row { display: flex; flex-direction: column; gap: 12px; }
.contact-urgence { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--teal); padding-left: 16px; margin-top: 4px; }
.contact-urgence-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--teal-lt); }
.contact-urgence a { font-size: 26px; font-weight: 900; color: #fff; }
.contact-urgence a:hover { color: var(--teal-lt); }
.form-privacy { font-size: 12.5px; color: var(--muted-dk); text-align: center; }

/* footer */
.site-footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: flex; flex-direction: column; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; color: #8FA2AD; max-width: 340px; text-align: left; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: #5B7484; }
.footer-col a { font-size: 14px; color: #C9D6DA; }
.footer-col a:hover { color: var(--teal-lt); }
.footer-col .footer-phone { font-size: 15px; font-weight: 800; color: #fff; }
.footer-muted { font-size: 13px; color: #8FA2AD; }
.footer-bottom { border-top: 1px solid var(--navy-line); margin-top: 32px; padding-top: 20px; }
.footer-bottom p { font-size: 12px; color: #5B7484; text-align: center; }

@media (min-width: 560px) {
  .form-row { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .hero-media { min-height: 440px; }
  .hero h1 { font-size: 46px; }
  .hero-card { display: flex; }
  .service-desc { display: block; }
  .section h2 { font-size: 32px; }
  .section-intro { font-size: 15.5px; }

  /* white-card form */
  .contact-form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
  .contact-form input, .contact-form textarea { border: 1.5px solid var(--line-2); }
  .contact-form input:focus, .contact-form textarea:focus { outline-color: transparent; border-color: var(--teal); }
  .contact-form .file-label { color: var(--navy); }
  .contact-form .file-hint { color: var(--ink-3); }
  .contact-form input[type="file"] { background: var(--soft); color: var(--ink-3); border-color: var(--line-2); }
  .form-status.ok { color: var(--teal-dk); }
  .form-status.err { color: #C0392B; }
  .form-privacy { color: #78878C; }
}

@media (min-width: 900px) {
  .topbar { display: block; }
  .header-actions { display: flex; }
  .section { padding: 88px 0; }
  .pourquoi-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  .pourquoi-media { display: flex; }
  .prix-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .price-item > span:first-child { font-size: 15.5px; }
  .price-sub { font-size: 13px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}

@media (min-width: 1024px) {
  .process-list { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .process-list li { flex-direction: column; gap: 10px; padding: 6px 20px; }
  .step-num { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq .chev { transition: none; }
}
