/* ==========================================================
   Alvéa Service — feuille de styles
   Palette : marine du logo (#0E243F) + vert du logo (#467B31)
   Rôles inversés : les éléments verts de la maquette sont en bleu
   et les éléments bleus en vert (le texte reste marine).
   Les classes gardent leur nom d'origine : .btn--green = bouton bleu,
   .btn--navy = bouton vert.
   ========================================================== */

:root {
  /* Couleurs principales */
  --navy: #0E243F;          /* couleur principale (logo) — remplace #1F2A2E */
  --navy-hover: #1B3A5F;
  --navy-soft: #305222;     /* pastilles et fonds de secours sur les zones vertes */
  --ink: #0E243F;           /* couleur du texte (reste marine pour la lisibilité) */
  --green: #467B31;         /* vert du logo */
  --green-dark: #305222;
  --green-light: #F9FFF1;

  /* Neutres */
  --white: #FFFFFF;
  --cream: #F4F3EE;
  --cream-2: #F8F8F5;
  --sand: #E9E6DD;
  --line: #BAB8B1;
  --border: #D6D1C2;
  --grey-5: #EDF0F1;
  --muted: #5B6F88;
  --muted-2: #4A6180;

  /* Effets */
  --shadow-input: 0 4px 8px -2px rgba(14, 36, 63, .12);
  --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  --overlay: linear-gradient(180deg, rgba(48, 82, 34, .5) 0%, rgba(48, 82, 34, .96) 100%);

  --radius: 6px;
  --radius-sm: 4px;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 12px 16px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typographie ---------- */
.h-hero { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; line-height: 1.2; }
.h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; line-height: 1.2; }
.h4 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.2; }
.h5 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }

/* ---------- Boutons & pastilles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 8px 12px; border: 0; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.btn--lg { height: auto; padding: 16px 24px; font-size: 16px; }
.btn--md { height: auto; padding: 12px 24px; font-size: 16px; }
.btn--green { background: var(--navy); color: var(--green-light); }
.btn--green:hover { background: var(--navy-hover); }
.btn--navy { background: var(--green); color: var(--white); }
.btn--navy:hover { background: var(--green-dark); }
.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand:hover { background: var(--border); }
.btn--light { background: var(--green-light); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--cream); }
.btn svg { width: 24px; height: 24px; flex: none; }

.link-line {
  display: inline-flex; align-items: center; padding: 4px 0;
  font-size: 14px; border-bottom: 2px solid var(--navy);
}
.link-line:hover { color: var(--green-light); border-color: var(--green-light); }

.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 4px 16px;
  border-radius: 999px; font-size: 16px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  background: var(--navy); color: var(--green-light);
}
.chip--soft { background: var(--navy-soft); color: var(--white); }

/* ---------- Barre de notification ---------- */
.topbar { background: var(--navy); color: var(--green-light); font-size: 14px; }
.topbar .container { display: flex; gap: 48px; padding-block: 8px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 24px; height: 24px; }
.topbar a:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 1px 0 rgba(14, 36, 63, .08), 0 8px 24px -12px rgba(14, 36, 63, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); padding-block: 24px; }
.header__left { display: flex; align-items: center; gap: 24px; }
.header__logo { display: block; width: 116px; flex: none; }
.header__logo img { width: 116px; height: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 8px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.nav a:hover { background: var(--cream); }
.nav a.is-active { background: var(--navy); color: var(--green-light); }
.header__right { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 8px 12px; font-size: 14px; font-weight: 700; white-space: nowrap; border-radius: var(--radius); }
.header__phone:hover { background: var(--cream); }
.header__phone svg { width: 24px; height: 24px; }

.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--cream); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--green); color: var(--white); }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(70, 123, 49, 0) 45%, var(--green) 100%); }
.hero__inner { display: flex; align-items: flex-end; gap: 40px; padding-block: 88px; }
.hero__text { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__lead { max-width: 680px; }

/* ---------- Carte devis (multi-étapes) ---------- */
.devis {
  flex: none; width: 528px; max-width: 100%;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 40px;
  min-height: 609px; display: flex; flex-direction: column;
}
.devis__form { flex: 1; display: flex; flex-direction: column; }
.devis__progress { display: flex; gap: 24px; margin-top: 32px; }
.devis__progress span { flex: 1; height: 5px; border-radius: 999px; background: var(--grey-5); transition: background-color .3s ease; }
.devis__progress span.is-done { background: var(--navy-hover); }
.devis__step { display: none; flex: 1; flex-direction: column; justify-content: space-between; gap: 32px; margin-top: 32px; }
.devis__step.is-active { display: flex; }
.devis__fields { display: flex; flex-direction: column; gap: 20px; }
.devis__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.devis__back { background: none; border: 0; padding: 8px 0; font-size: 14px; font-weight: 600; color: var(--muted-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.devis__back:hover { color: var(--ink); }
.devis__group-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.devis__done { display: none; flex: 1; flex-direction: column; justify-content: center; gap: 16px; margin-top: 32px; }
.devis__done.is-active { display: flex; }
.devis__done .check { width: 56px; height: 56px; border-radius: 999px; background: var(--navy); color: var(--green-light); display: grid; place-items: center; }

/* ---------- Champs de formulaire ---------- */
.field { position: relative; }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); font-size: 16px; line-height: 1.2; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: 1; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy-hover); box-shadow: var(--shadow-input); font-weight: 600; }
.input:not(:placeholder-shown), .textarea:not(:placeholder-shown) { font-weight: 600; }
.textarea { resize: vertical; min-height: 94px; }
.textarea--tall { min-height: 228px; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9' viewBox='0 0 15 9'%3E%3Cpath d='M.37.38a1.3 1.3 0 0 0 0 1.82l6.24 6.42a1.24 1.24 0 0 0 1.78 0l6.24-6.42a1.3 1.3 0 0 0 0-1.82 1.24 1.24 0 0 0-1.78 0L7.5 5.9 2.14.38a1.24 1.24 0 0 0-1.77 0Z' fill='%230E243F'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input[type="date"] { min-height: 49px; }
.input.is-invalid, .textarea.is-invalid, .select.is-invalid { border-color: #B3261E; }
.field__error { display: block; margin-top: 6px; font-size: 13px; color: #B3261E; }
.form-error { font-size: 14px; color: #B3261E; }

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 34px; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted-2); cursor: pointer; }
.check-item input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid rgba(14, 36, 63, .15); border-radius: 2px; background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.check-item input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check-item input:checked { background: var(--navy); border-color: var(--navy); }
.check-item input:checked::after { opacity: 1; }
.check-item input:checked + span { color: var(--ink); font-weight: 600; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.consent input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--navy); }
.consent a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bandeau vert ---------- */
.band { background: var(--navy); color: var(--green-light); overflow: hidden; }
.band__track { display: flex; align-items: center; justify-content: center; gap: 48px; padding-block: 20px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.band__sep { width: 72px; height: 1px; background: currentColor; opacity: .6; flex: none; }
.band__track > [aria-hidden="true"] { display: none; }
@media (max-width: 1360px) { .band__track { gap: 32px; } .band__sep { width: 40px; } }

/* ---------- Qui sommes-nous ---------- */
.about { position: relative; background: var(--green); color: var(--white); padding-top: 96px; }
.about::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 41%; background: var(--cream-2); }
.about__head { display: flex; align-items: center; gap: 40px; }
.about__title { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.about__title .h2 { max-width: 812px; }
.about__side { width: 438px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.services { position: relative; z-index: 1; margin-top: 64px; padding-bottom: 80px; }
.services__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 120px) / 4); gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 36px; }
.services__track::-webkit-scrollbar { display: none; }
.service { position: relative; height: 384px; border-radius: var(--radius); scroll-snap-align: start; background: var(--navy-soft); }
.service img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.service__label { position: absolute; right: 0; bottom: -32px; max-width: 100%; display: flex; align-items: stretch; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 8px 24px -12px rgba(14, 36, 63, .25); }
.service__txt { display: flex; align-items: flex-end; gap: 8px; padding: 12px 24px; }
.service__num { font-size: 16px; opacity: .4; }
.service__name { font-size: 22px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
@media (max-width: 1700px) { .service__name { font-size: 18px; white-space: normal; } .service__txt { padding: 12px 16px; } .service__go { padding: 16px; } }
.service__go { flex: none; display: grid; place-items: center; padding: 20px; background: var(--navy); color: var(--green-light); transition: background-color .15s ease; }
.service__go:hover { background: var(--navy-hover); }
.service__go svg { width: 24px; height: 24px; }
.services__arrow { position: absolute; top: 175px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--navy); color: var(--green-light); display: grid; place-items: center; cursor: pointer; transition: background-color .15s ease, opacity .15s ease; }
.services__arrow:hover { background: var(--navy-hover); }
.services__arrow:disabled { opacity: .35; cursor: default; }
.services__arrow[hidden] { display: none; }
.services__arrow svg { width: 24px; height: 24px; }
.services__arrow--prev { left: 60px; }
.services__arrow--next { right: 60px; }

/* ---------- Pourquoi nous choisir ---------- */
.why { padding-block: 112px; }
.why__inner { display: flex; align-items: center; gap: 40px; }
.why__content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; padding-right: 64px; }
.why__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 680px; }
.why__head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; max-width: 680px; width: 100%; margin: 0; padding: 0; list-style: none; }
.why__list li { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.why__icon { flex: none; width: 48px; height: 48px; }
.why__media { position: relative; flex: none; width: 680px; height: 655px; }
.why__img { position: absolute; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img--1 { left: 163px; top: 0; width: 511px; height: 495px; }
.why__img--2 { left: 6px; top: 367px; width: 350px; height: 288px; box-shadow: 16px -16px 0 0 var(--white); }

/* ---------- Chiffres ---------- */
.stats { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-soft); color: var(--white); padding-block: 112px; }
.stats__bg { position: absolute; inset: 0; z-index: -1; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; }
.stats__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.stats__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 56px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 185px; padding: 32px 24px; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.stat__num { font-size: 52px; font-weight: 700; line-height: 1.2; color: var(--navy); }
.stat__label { font-size: 18px; }

/* ---------- Formules ---------- */
.plans { background: var(--cream-2); padding-block: 112px; }
.plans__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 64px; }
.plans__list { display: flex; flex-direction: column; gap: 24px; max-width: 1161px; margin: 0 auto; padding: 0; list-style: none; }
.plan { display: grid; grid-template-columns: 276px minmax(0, 382px) auto; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .6); box-shadow: var(--shadow-card); }
.plan__name { display: flex; align-items: center; gap: 24px; font-size: 28px; font-weight: 600; line-height: 1.2; }
.plan__icon { flex: none; width: 48px; height: 48px; padding: 8px; }
.plan__desc { color: var(--muted-2); }
.plan--featured { background: var(--navy); border-color: var(--green); color: var(--green-light); }
.plan--featured .plan__desc { color: var(--green-light); }

/* ---------- Pied de page ---------- */
.footer { background: var(--cream); padding-top: 100px; }
.footer__main { position: relative; display: flex; gap: 130px; padding-bottom: 62px; }
.footer__cta { width: 695px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer__cols { flex: 1; display: flex; gap: 40px; }
.footer__col { flex: 1; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.footer__col a { opacity: .7; transition: opacity .15s ease; }
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__mark { position: absolute; right: 0; bottom: -22px; width: 85px; }
.subfooter { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 24px; margin-top: 100px; }
.subfooter p, .subfooter a { opacity: .7; }
.subfooter a:hover { opacity: 1; }
.subfooter__links { display: flex; gap: 32px; flex-wrap: wrap; }
.subfooter .underline { text-decoration: underline; }

/* ---------- Page Contact ---------- */
.contact-hero { position: relative; overflow: hidden; background: var(--green); color: var(--white); padding: 112px 0 378px; text-align: center; }
.contact-hero__circle { position: absolute; right: -90px; bottom: -80px; width: 316px; height: 316px; border-radius: 999px; background: linear-gradient(135deg, #5A9142, var(--green)); }
.contact-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-hero__inner > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-hero p.lead { max-width: 756px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.contact-card-wrap { margin-top: -290px; padding-bottom: 112px; position: relative; z-index: 1; }
.contact-card { display: flex; gap: 0; padding: 16px; background: var(--white); border-radius: var(--radius); box-shadow: 0 20px 25px rgba(0, 0, 0, .1), 0 8px 10px rgba(0, 0, 0, .1); }
.contact-info { position: relative; overflow: hidden; width: 544px; flex: none; display: flex; flex-direction: column; gap: 79px; padding: 64px 64px 161px 56px; border-radius: var(--radius); background: var(--navy); color: var(--green-light); }
.contact-info__head { display: flex; flex-direction: column; gap: 14px; }
.contact-info__head p { max-width: 401px; }
.contact-info__list { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.contact-info__list li { display: flex; align-items: center; gap: 24px; }
.contact-info__list svg { width: 40px; height: 40px; flex: none; }
.contact-info__list a:hover { text-decoration: underline; }
.contact-info__circle { position: absolute; left: 299px; top: 490px; width: 316px; height: 316px; border-radius: 999px; background: linear-gradient(135deg, #EAF1FA, #8FB3E0); }
.contact-form { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.contact-form form { display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.contact-form .fields { width: 100%; display: flex; flex-direction: column; gap: 48px; }
.form-success { display: none; padding: 16px; border-radius: var(--radius); background: var(--green-light); border: 1px solid var(--navy); color: var(--navy-hover); font-weight: 600; }
.form-success.is-visible { display: block; }

.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-soft); color: var(--white); padding: 82px 0; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.cta-band .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band .h2 { max-width: 812px; }

/* ---------- Pages simples (404, mentions) ---------- */
.simple { padding: 112px 0; }
.simple .container { max-width: 860px; }
.simple h1 { margin: 16px 0 24px; }
.simple h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
.simple p, .simple li { color: var(--muted-2); margin-bottom: 12px; }
.simple a { text-decoration: underline; }
.error-page { text-align: center; }
.error-page .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.error-page .big { font-size: clamp(96px, 16vw, 180px); font-weight: 700; line-height: 1; color: var(--navy); }

/* Image manquante : fond neutre plutôt qu'une icône cassée */
img.is-missing { visibility: hidden; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1360px) {
  .header .nav a { padding-inline: 8px; }
  .header__phone span { display: none; }
  .why__media { width: 520px; height: 540px; }
  .why__img--1 { left: 120px; width: 400px; height: 400px; }
  .why__img--2 { top: 300px; width: 280px; height: 240px; }
  .why__content { padding-right: 0; }
}

@media (max-width: 1180px) {
  .nav, .header__right .btn, .header__phone { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: flex; flex-direction: column; gap: 8px; padding: 24px var(--gutter) 40px; background: var(--white); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .mobile-menu.is-open { transform: none; visibility: visible; }
  .mobile-menu a:not(.btn) { padding: 14px 12px; border-radius: var(--radius); font-size: 18px; font-weight: 700; }
  .mobile-menu a.is-active { background: var(--navy); color: var(--green-light); }
  .mobile-menu .btn { height: 48px; font-size: 16px; margin-top: 8px; }
  .mobile-menu__phone { display: inline-flex; align-items: center; gap: 8px; }

  .hero__inner { flex-direction: column; align-items: stretch; padding-block: 64px; }
  .hero__text { padding-bottom: 8px; }
  .devis { width: 100%; max-width: 640px; min-height: 0; }

  .about__head { flex-direction: column; align-items: flex-start; }
  .about__side { width: 100%; max-width: 640px; }
  .services__track { grid-auto-columns: calc((100% - 40px) / 2); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .services__arrow--prev { left: 12px; }
  .services__arrow--next { right: 12px; }

  .why__inner { flex-direction: column; align-items: stretch; }
  .why__media { width: 100%; max-width: 680px; height: auto; aspect-ratio: 680 / 655; margin-inline: auto; }
  .why__img--1 { left: 24%; top: 0; width: 75%; height: 75.5%; }
  .why__img--2 { left: 1%; top: 56%; width: 51.5%; height: 44%; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

  .plan { grid-template-columns: 1fr; justify-content: stretch; gap: 16px; }
  .plan .btn { justify-self: start; }

  .footer__main { flex-direction: column; gap: 48px; }
  .contact-card { flex-direction: column; }
  .contact-info { width: 100%; padding: 48px 32px 140px; gap: 48px; }
  .contact-info__circle { left: auto; right: -80px; top: auto; bottom: -180px; }
  .contact-form { padding: 32px 16px 16px; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .header__inner { padding-block: 16px; }
  .topbar .container { flex-direction: column; gap: 4px; }
  .topbar__item:last-child { display: none; }

  .band__track { justify-content: flex-start; width: max-content; animation: band 28s linear infinite; }
  .band__track > [aria-hidden="true"] { display: block; }
  .devis { padding: 28px 20px; }
  .checks { grid-template-columns: 1fr; gap: 14px; }

  .about { padding-top: 64px; }
  .services { margin-top: 40px; padding-bottom: 56px; }
  .services__track { grid-auto-columns: 82%; gap: 20px; }
  .service { height: 320px; }
  .service__name { font-size: 18px; }
  .service__txt { padding: 12px 16px; }
  .service__go { padding: 16px; }
  .services__arrow { display: none; }

  .why { padding-block: 72px; }
  .why__list { grid-template-columns: 1fr; }

  .stats, .plans { padding-block: 72px; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { min-height: 0; padding: 24px 16px; }
  .stat__num { font-size: 36px; }
  .stat__label { font-size: 15px; }

  .plan__name { font-size: 22px; gap: 12px; }
  .plan .btn { width: 100%; white-space: normal; height: auto; min-height: 44px; }

  .footer { padding-top: 64px; }
  .footer__cols { flex-direction: column; gap: 16px; }
  .footer__mark { display: none; }
  .subfooter { margin-top: 48px; }

  .contact-hero { padding: 72px 0 300px; }
  .contact-card-wrap { margin-top: -240px; padding-bottom: 72px; }
  .contact-form .fields { gap: 20px; }
  .contact-card { padding: 8px; }
}

@keyframes band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .band__track { width: auto; flex-wrap: wrap; white-space: normal; justify-content: center; gap: 12px 24px; }
  .band__track > [aria-hidden="true"] { display: none !important; }
}
