/* ==========================================================
   Déneigeur Lévis — feuille de style
   Palette : bleu nuit (confiance), bleu glacier (hiver),
   orange sécurité (appels à l'action). Coins droits, contraste élevé.
   ========================================================== */

@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --blue: #1D4E89;
  --ice: #EAF2FA;
  --frost: #C9DDF0;
  --orange: #C2410C;
  --orange-dark: #9A3412;
  --flame: #F97316;
  --ink: #0B1B2E;
  --body: #2B3A4A;
  --muted: #53606E;
  --line: #D6E1EC;
  --bg: #FFFFFF;
  --success: #15803D;
  --error: #B91C1C;

  --font-heading: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.1rem, 4.6vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 3.2vw, 2.4rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.4rem);

  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem;
  --container: 1200px;
  --narrow: 820px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 900; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }
h4 { font-size: 1.05rem; font-weight: 800; }
p + p { margin-top: 1rem; }
.overline { display: inline-block; font-family: var(--font-heading); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--orange); margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--body); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 24px; } }
.narrow { max-width: var(--narrow); }
section { padding-block: var(--s-6); }
@media (min-width: 768px) { section { padding-block: var(--s-7); } }
.bg-ice { background: var(--ice); }
.bg-navy { background: var(--navy); color: #DCE7F3; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }
.mb-2 { margin-bottom: var(--s-2); } .mb-3 { margin-bottom: var(--s-3); } .mb-4 { margin-bottom: var(--s-4); }
.section-head { max-width: 760px; margin-bottom: var(--s-4); }
.section-head.center { margin-inline: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.6rem; font-family: var(--font-heading); font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--ice); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Bandeau d'annonce */
.announce { background: var(--orange); color: #fff; font-size: .9rem; font-weight: 600; text-align: center; padding: .45rem 16px; }
.announce a { color: #fff; font-weight: 800; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); height: var(--header-h); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 100%; }
.logo img { width: 190px; height: auto; }
@media (max-width: 420px) { .logo img { width: 150px; } }
.main-nav { display: none; }
.main-nav ul { list-style: none; padding: 0; display: flex; gap: 1.4rem; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
@media (min-width: 1024px) { .main-nav { display: block; } }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-call { display: inline-flex; align-items: center; gap: .5rem; background: var(--orange); color: #fff; text-decoration: none; font-family: var(--font-heading); font-weight: 800; padding: .7rem 1rem; white-space: nowrap; }
.header-call:hover { background: var(--orange-dark); color: #fff; }
.header-call svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 480px) { .announce .hide-sm { display: none; } .header-call { padding: .65rem .75rem; font-size: .95rem; } }
.header-call small { display: none; font-family: var(--font-body); font-weight: 600; font-size: .72rem; opacity: .9; }
@media (min-width: 640px) { .header-call { flex-direction: row; } }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--navy); color: #fff; border: 0; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 55; overflow-y: auto; padding: 1rem 16px 6rem; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.mobile-nav .sub a { font-weight: 500; font-size: 1rem; padding-left: 1rem; }

/* Héros */
.hero { position: relative; background: var(--navy); color: #DCE7F3; padding-block: var(--s-5) 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/flocons.svg") repeat; background-size: 800px 400px; opacity: .6; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: var(--s-4); align-items: start; padding-bottom: var(--s-4); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s-5); padding-bottom: var(--s-5); } }
.hero h1 { color: #fff; margin-bottom: var(--s-2); }
.hero h1 .accent { color: var(--flame); }
.hero .lead { color: #DCE7F3; margin-bottom: var(--s-3); max-width: 56ch; }
.hero .checks { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: var(--s-3); }
@media (min-width: 560px) { .hero .checks { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--flame); margin-top: 2px; }
.hero-landscape { position: relative; z-index: 0; height: 150px; background: url("/assets/img/paysage-hiver-deneigement-levis.svg") center bottom / auto 150px repeat-x; }
@media (min-width: 768px) { .hero-landscape { height: 200px; background-size: auto 200px; } }
.hero-sm { padding-block: var(--s-5) 0; }
.hero-sm .hero-grid { padding-bottom: var(--s-4); }
.hero-sm .hero-landscape { height: 110px; background-size: auto 110px; }
.hero-phone { color: #fff; font-weight: 700; }
.hero-phone a { color: #fff; }

/* Fil d'Ariane */
.breadcrumbs { font-size: .88rem; color: #B9CCE0; margin-bottom: var(--s-2); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: #8FA9C4; }
.breadcrumbs a { color: #DCE7F3; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* Formulaire */
.lead-card { background: #fff; color: var(--body); padding: var(--s-3); border-top: 6px solid var(--orange); box-shadow: 0 18px 50px rgba(3, 14, 30, .35); }
@media (min-width: 768px) { .lead-card { padding: var(--s-4); } }
.lead-card h2, .lead-card .form-title { font-family: var(--font-heading); font-weight: 900; font-size: 1.45rem; color: var(--ink); margin-bottom: .35rem; line-height: 1.15; }
.lead-card .form-sub { font-size: .95rem; color: var(--muted); margin-bottom: var(--s-2); }
.lead-form .field { margin-bottom: .85rem; }
.lead-form label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: .3rem; }
.lead-form label .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: .8rem .85rem; border: 2px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; border-radius: 0; }
.lead-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 16px; padding-right: 2.4rem; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--navy); outline: 3px solid var(--flame); outline-offset: 0; }
.lead-form textarea { min-height: 96px; resize: vertical; }
.lead-form .row-2 { display: grid; gap: 0 .85rem; }
@media (min-width: 520px) { .lead-form .row-2 { grid-template-columns: 1fr 1fr; } }
.lead-form .btn { width: 100%; margin-top: .25rem; font-size: 1.05rem; }
.lead-form .hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: .75rem; text-align: center; }
.form-note a { color: var(--muted); }
.form-error { background: #FEF2F2; color: var(--error); border-left: 4px solid var(--error); padding: .75rem 1rem; font-weight: 600; margin-bottom: 1rem; }
.form-error a { color: var(--error); }

/* Barre de confiance */
.trust-bar { background: var(--navy-2); color: #fff; padding-block: var(--s-3); border-top: 1px solid rgba(255,255,255,.08); }
.trust-bar ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 900px) { .trust-bar ul { grid-template-columns: repeat(5, 1fr); } }
.trust-bar li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.trust-bar svg { width: 30px; height: 30px; flex: none; color: var(--flame); }

/* Grilles et cartes */
.grid-3 { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.grid-4 { display: grid; gap: var(--s-3); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: block; background: #fff; border: 2px solid var(--line); padding: var(--s-3); text-decoration: none; color: var(--body); transition: border-color .15s, background .15s; }
a.card:hover { border-color: var(--navy); background: var(--ice); color: var(--body); }
.card h3 { margin-bottom: .5rem; }
.card .icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: 1rem; }
.card .icon svg { width: 30px; height: 30px; }
.card .more { display: inline-block; margin-top: .9rem; font-family: var(--font-heading); font-weight: 800; color: var(--orange); }
.pillar { background: #fff; border-left: 6px solid var(--orange); padding: var(--s-3); }
.pillar h3 { margin-bottom: .5rem; }
.pillar .fact { display: block; font-family: var(--font-heading); font-weight: 900; color: var(--blue); font-size: 1.05rem; margin-bottom: .35rem; }
.bg-ice .pillar, .bg-ice .card { border-color: #fff; }

/* Contenu éditorial */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--s-5); margin-bottom: var(--s-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-4); margin-bottom: .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-block: 1rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--orange); font-weight: 800; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1.25rem; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--navy); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: .92rem; }
.prose tbody tr:nth-child(even) { background: var(--ice); }
.table-wrap { overflow-x: auto; }
.callout { background: var(--ice); border-left: 6px solid var(--blue); padding: 1.1rem 1.25rem; margin-block: 1.5rem; }
.callout strong { color: var(--ink); }
.source { font-size: .85rem; color: var(--muted); }
.layout-aside { display: grid; gap: var(--s-5); }
@media (min-width: 1024px) { .layout-aside { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: var(--s-3); }
.aside-box { border: 2px solid var(--line); padding: var(--s-3); background: #fff; }
.aside-box h2, .aside-box h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.aside-box ul { list-style: none; padding: 0; }
.aside-box li { border-bottom: 1px solid var(--line); }
.aside-box li a { display: block; padding: .55rem 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.aside-box li a:hover { color: var(--orange); }

/* Étapes */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s-3); }
@media (min-width: 900px) { .steps.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: var(--s-3); padding-top: 4.2rem; background: #fff; border: 2px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; top: 1.2rem; left: var(--s-3); width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--font-heading); font-weight: 900; }
.steps h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.prose .steps { padding-left: 0; }

/* Zones */
.zone-groups { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .zone-groups { grid-template-columns: repeat(3, 1fr); } }
.zone-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); margin-bottom: .75rem; }
.zone-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.zone-list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .8rem 1rem; background: #fff; border: 2px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.zone-list a:hover { border-color: var(--navy); color: var(--orange); }
.zone-list a::after { content: "→"; color: var(--orange); }
.bg-ice .zone-list a { border-color: #fff; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .45rem .8rem; background: #fff; border: 2px solid var(--line); font-weight: 600; text-decoration: none; color: var(--ink); font-size: .95rem; }
.chips a:hover { border-color: var(--navy); }

/* Prix */
.price-table td:last-child, .price-table th:last-child { white-space: nowrap; font-weight: 700; color: var(--ink); }

/* FAQ */
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { font-family: var(--font-heading); font-weight: 800; font-size: 1.08rem; color: var(--ink); cursor: pointer; list-style: none; position: relative; padding: 1.1rem 2.5rem 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.6rem; color: var(--orange); font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 1.2rem; }
.bg-ice .faq details { border-color: #fff; }

/* Bande d'appel à l'action */
.cta-band { background: var(--orange); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { font-size: 1.15rem; margin-bottom: var(--s-3); color: #FFF7ED; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-light { color: var(--orange-dark); }

/* Section formulaire milieu de page */
.mid-form { background: var(--navy); color: #DCE7F3; position: relative; overflow: hidden; }
.mid-form::before { content: ""; position: absolute; inset: 0; background: url("/assets/img/flocons.svg") repeat; background-size: 800px 400px; opacity: .5; }
.mid-form .container { position: relative; }
.mid-form h2 { color: #fff; }

/* Pied de page */
.site-footer { background: var(--ink); color: #C7D4E2; padding-block: var(--s-5) var(--s-3); font-size: .95rem; }
.site-footer a { color: #E6EEF7; text-decoration: none; }
.site-footer a:hover { color: var(--flame); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s-4); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .95rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-phone { display: inline-block; margin-top: .75rem; font-family: var(--font-heading); font-weight: 900; font-size: 1.35rem; color: #fff !important; }
.footer-bottom { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #9FB2C6; }
.hours dt { font-weight: 700; color: #fff; }
.hours dd { margin: 0 0 .5rem; }

/* Barre d'appel mobile */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); transform: translateY(110%); transition: transform .25s ease; }
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 58px; font-family: var(--font-heading); font-weight: 800; font-size: .98rem; text-decoration: none; color: #fff; }
.mobile-cta a svg { width: 20px; height: 20px; }
.mobile-cta .call { background: var(--orange); }
.mobile-cta .quote { background: var(--navy); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 58px; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.merci-box { background: #fff; color: var(--body); padding: var(--s-4); border-top: 6px solid var(--success); max-width: 680px; }
