/* ==========================================================================
   Toiture Sans Mousse — feuille de styles principale (vanilla)
   Design system inspiré des tokens du site : #006591 / Manrope + Inter
   ========================================================================== */

/* ---------- Fonts (auto-hébergées, RGPD friendly) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-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;
}

/* ---------- Tokens ---------- */
:root {
  --primary: #006591;
  --primary-dark: #004c6e;
  --primary-strong: #003751;
  --primary-container: #0ea5e9;
  --primary-soft: #e6f6ff;
  --primary-fixed: #c9e6ff;
  --tertiary: #8a5100;
  --tertiary-container: #de8712;
  --tertiary-soft: #fff3e3;

  --surface: #f7f9fb;
  --surface-low: #f2f4f6;
  --surface-container: #eceef0;
  --surface-high: #e6e8ea;
  --white: #ffffff;

  --ink: #191c1e;
  --body: #3e4850;
  --muted: #515f74;
  --muted-2: #6e7881;
  --line: #bec8d2;
  --line-soft: rgba(190, 200, 210, 0.42);

  --font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 18px 44px -26px rgba(16, 24, 40, 0.32);
  --shadow-lg: 0 30px 70px -32px rgba(0, 55, 81, 0.36);
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--font-head);
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.03; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); color: var(--ink); }
h4 { font-size: 1.08rem; color: var(--ink); }
strong { color: var(--ink); }
small { font-size: 0.82rem; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2rem 0; }

:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--primary-fixed); color: var(--primary-strong); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 999;
  background: var(--primary-strong);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #0082b8 55%, var(--primary-container) 130%);
  box-shadow: 0 16px 32px -18px rgba(0, 101, 145, 0.75);
}
.btn--primary:hover { color: #fff; box-shadow: 0 20px 38px -16px rgba(0, 101, 145, 0.6); }
.btn--ghost {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(190, 200, 210, 0.9);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); background: #fff; }
.btn--light { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.btn--light:hover { color: var(--primary); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 0.88rem; }
.btn--lg { padding: 18px 32px; font-size: 1.02rem; }
.btn__icon { width: 19px; height: 19px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--primary);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(190, 200, 210, 0.4);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(16, 24, 40, 0.4); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 56px; }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--primary-container);
  transition: width 0.3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone .icon { width: 17px; height: 17px; color: var(--primary-container); }
.header-phone:hover { color: var(--primary-container); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--primary-dark);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 89;
  background: #fff;
  padding: 22px 24px 40px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.mobile-nav { visibility: hidden; }
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--body);
  text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--primary); }
.mobile-nav .btn { margin-top: 22px; width: 100%; }
.mobile-nav__phone { color: var(--primary) !important; }
.mobile-nav__foot { margin-top: 22px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 78vh, 760px);
  overflow: hidden;
  background: var(--surface);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #f7f9fb 0%, rgba(247, 249, 251, 0.96) 32%, rgba(247, 249, 251, 0.74) 52%, rgba(247, 249, 251, 0.1) 78%, rgba(247, 249, 251, 0) 100%),
    linear-gradient(0deg, rgba(247, 249, 251, 0.65) 0%, rgba(247, 249, 251, 0) 30%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(56px, 8vw, 96px); }
.hero__content { max-width: 660px; }
.hero h1 { margin-bottom: 22px; color: var(--primary-dark); }
.hero h1 .accent { color: var(--primary); }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(190, 200, 210, 0.6);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  backdrop-filter: blur(6px);
}
.hero__kicker .icon { width: 15px; height: 15px; }
.hero__lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(190, 200, 210, 0.55);
  max-width: 610px;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-strong);
  list-style: none;
}
.hero__trust .icon { width: 19px; height: 19px; color: var(--primary); }
.hero__trust ul { display: contents; }

/* ---------- Page hero (sous-pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-low);
  border-bottom: 1px solid rgba(190, 200, 210, 0.3);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 7vw, 88px);
}
.page-hero__inner--single { grid-template-columns: minmax(0, 1fr); }
.page-hero__content { max-width: 640px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); margin-bottom: 18px; }
.page-hero__lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; max-width: 570px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
  background: var(--surface-container);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  border-radius: inherit;
}
.page-hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--primary-strong);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.page-hero__badge .icon { width: 17px; height: 17px; color: var(--primary-container); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 22px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.82rem; color: var(--muted-2); }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--line); margin-left: 2px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current] { color: var(--primary); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--white { background: #fff; }
.section--tint { background: var(--surface-low); }
.section--container { background: var(--surface-container); }
.section--dark {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 165, 233, 0.28), transparent 65%),
    linear-gradient(135deg, #003751 0%, #004c6e 55%, #005f86 100%);
  color: #d9eefb;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c3ddec; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 54px); text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--primary-container); }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--primary-container); }
.section--dark .eyebrow { color: var(--primary-fixed); }
.section--dark .eyebrow::before, .section--dark .section-head:not(.section-head--left) .eyebrow::after { background: var(--primary-fixed); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(14, 165, 233, 0.35); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.96rem; }
.card .link-arrow { margin-top: 20px; }
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(140deg, #eaf8ff, #c9e6ff);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--tertiary { background: linear-gradient(140deg, #fff7ec, #ffe3bd); color: var(--tertiary); }
.card--service { padding: 0; overflow: hidden; }
.card--service .card__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.card--service .card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-container); }
.card--service .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card--service:hover .card__media img { transform: scale(1.04); }
.card--service p { margin-bottom: 0; }
.card--service .link-arrow { margin-top: auto; padding-top: 18px; }
.card__price { margin-top: 16px; font-family: var(--font-head); font-size: 0.8rem; font-weight: 800; color: var(--tertiary); letter-spacing: 0.02em; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-strong);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat {
  padding: 26px 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}
.stat__value { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat__label { font-size: 0.82rem; letter-spacing: 0.04em; color: #bcd9e9; }

/* ---------- Before / After ---------- */
.ba {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-container);
  box-shadow: var(--shadow-sm);
  touch-action: pan-y;
  user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 2;
}
.ba__handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23006591' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5M16 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.ba input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba__tag {
  position: absolute;
  top: 12px;
  z-index: 4;
  padding: 5px 10px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 55, 81, 0.72);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: rgba(0, 101, 145, 0.82); }

/* Project */
.project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
}
.project:last-child { border-bottom: 0; padding-bottom: 0; }
.project:first-child { padding-top: 0; }
.project:nth-child(even) .project__media { order: 2; }
.project__body { max-width: 520px; }
.project__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.project h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 10px; }
.project p { color: var(--muted); font-size: 0.97rem; }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.78rem;
  color: var(--muted);
}
.chip .icon { width: 14px; height: 14px; color: var(--primary); }
.quote {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary-container);
  background: var(--surface);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}
.quote footer { margin-top: 6px; font-style: normal; font-size: 0.8rem; font-weight: 600; color: var(--primary-dark); }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--tertiary-container); }
.stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0 0 22px; font-size: 0.97rem; line-height: 1.7; color: var(--body); }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--surface-container); }
.testimonial__name { font-family: var(--font-head); font-weight: 800; font-size: 0.9rem; color: var(--ink); line-height: 1.3; }
.testimonial__meta { font-size: 0.78rem; color: var(--muted-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-low);
  overflow: hidden;
  transition: background 0.25s, border-color 0.25s;
}
.faq details[open] { background: #fff; border-color: rgba(14, 165, 233, 0.32); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--primary); transition: transform 0.3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); font-size: 0.95rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Answer box (GEO) ---------- */
.answer-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 26px;
  margin-bottom: 36px;
  background: linear-gradient(135deg, #eef9ff, #f7fcff);
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: var(--radius);
}
.answer-box__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary); color: #fff; }
.answer-box__icon .icon { width: 21px; height: 21px; }
.answer-box h2, .answer-box h3 { font-size: 1.02rem; margin-bottom: 6px; }
.answer-box p { margin: 0; font-size: 0.94rem; color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  right: -140px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding-block: clamp(52px, 6.5vw, 82px);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #c3ddec; margin-bottom: 0; max-width: 580px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
.cta-band__phone .icon { width: 20px; height: 20px; color: var(--primary-fixed); }
.cta-band__phone:hover { color: var(--primary-fixed); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-card {
  padding: clamp(26px, 3.5vw, 40px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-list__item { display: flex; gap: 14px; margin: 0; padding: 16px; background: var(--surface); border-radius: 12px; border: 1px solid var(--line-soft); }
.contact-list__item > .icon { width: 21px; height: 21px; color: var(--primary); margin-top: 2px; }
.contact-label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.96rem; color: var(--ink); line-height: 1.45; }
.contact-value a { color: var(--primary-dark); text-decoration: none; }
.contact-value a:hover { color: var(--primary-container); }

.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-size: 0.83rem; font-weight: 700; color: var(--ink); }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dee5;
  border-radius: 9px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #98a2b3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-container);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13);
}
.field--full { grid-column: 1 / -1; }
.field__hint { font-size: 0.76rem; color: var(--muted-2); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.checkbox a { color: var(--primary); }
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px dashed #c3ced8;
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover, .file-drop.is-dragover { border-color: var(--primary-container); background: #f0faff; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 11px; background: #fff; color: var(--primary); border: 1px solid var(--line-soft); }
.file-drop__text { font-size: 0.84rem; color: var(--muted); }
.file-drop__text strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.87rem; }
.file-drop__name { font-size: 0.78rem; color: var(--primary); font-weight: 600; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.form__note { font-size: 0.75rem; color: var(--muted-2); line-height: 1.5; margin: 0; }
.form__status { display: none; padding: 14px 16px; border-radius: 10px; font-size: 0.88rem; }
.form__status.is-error { display: block; background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.form__status.is-success { display: block; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.form[hidden] { display: none; }
.form-success { display: none; padding: 34px 28px; text-align: center; background: #f2fbf6; border: 1px solid #abefc6; border-radius: var(--radius); }
.form-success.is-visible { display: block; }
.form-success .icon { width: 46px; height: 46px; margin: 0 auto 14px; color: #067647; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { margin-bottom: 0; color: var(--muted); font-size: 0.92rem; }
.turnstile-wrap { min-height: 66px; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sector {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}
.sector .icon { width: 17px; height: 17px; color: var(--primary-container); flex: none; }
.sector:hover { border-color: var(--primary-container); color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: #052c3d; color: #a9c7d8; font-size: 0.9rem; }
.site-footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 46px; }
.site-footer h2 { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer a { color: #b9d3e1; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.site-footer li { margin: 0; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 18px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer-brand p { color: #a9c7d8; font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; max-width: 320px; }
.footer-contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.87rem; line-height: 1.55; }
.footer-contact .icon { width: 17px; height: 17px; color: #6cc8ee; flex: none; margin-top: 2px; }
.footer-phone { font-family: var(--font-head); font-size: 1.16rem; font-weight: 800; color: #fff !important; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.17); border-radius: 6px; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #bfe0f0; }
.footer-badge .icon { width: 13px; height: 13px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #8fb4c7;
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__bottom a { color: #8fb4c7; }
.site-footer__bottom a:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 120;
  width: min(430px, calc(100vw - 44px));
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 30px 70px -24px rgba(0, 55, 81, 0.45);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cookie-banner.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.cookie-banner__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.cookie-banner__top .icon { width: 22px; height: 22px; color: var(--primary); }
.cookie-banner h2 { font-size: 1.02rem; margin: 0; }
.cookie-banner p { font-size: 0.83rem; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.cookie-banner p a { color: var(--primary); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .btn { width: 100%; padding: 11px 12px; font-size: 0.82rem; }
.cookie-actions .btn--link {
  grid-column: 1 / -1;
  padding: 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 28, 38, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal.is-open { opacity: 1; pointer-events: auto; }
.cookie-modal__panel {
  width: min(620px, 100%);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(12px) scale(0.99);
  transition: transform 0.25s var(--ease);
}
.cookie-modal.is-open .cookie-modal__panel { transform: none; }
.cookie-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.cookie-modal h2 { font-size: 1.25rem; margin: 0; }
.cookie-close { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid var(--line-soft); border-radius: 50%; background: #fff; color: var(--muted); cursor: pointer; }
.cookie-close:hover { color: var(--primary); border-color: var(--primary-container); }
.cookie-modal p { font-size: 0.87rem; color: var(--muted); }
.cookie-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.cookie-cat h3 { font-size: 0.95rem; margin-bottom: 4px; }
.cookie-cat p { font-size: 0.8rem; margin: 0; line-height: 1.55; }
.switch { position: relative; display: inline-flex; align-items: center; flex: none; margin-top: 4px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { width: 44px; height: 25px; border-radius: 999px; background: #d4dce3; transition: background 0.2s; position: relative; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); transition: transform 0.2s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(19px); }
.switch input:focus-visible + span { outline: 3px solid rgba(14, 165, 233, 0.55); outline-offset: 3px; }
.switch input:disabled + span { background: #9fc9dd; opacity: 0.85; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cookie-modal__actions .btn { flex: 1 1 auto; }
.cookie-modal__foot { margin-top: 16px; font-size: 0.74rem; color: var(--muted-2); }
.cookie-reopen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-reopen .icon { width: 15px; height: 15px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
}
.mobile-cta .btn { padding: 12px 10px; font-size: 0.86rem; }
body.cookie-open .mobile-cta { display: none !important; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Helpers ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.lead { font-size: 1.12rem; line-height: 1.7; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.white { color: #fff; }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul li { margin-bottom: 0.5rem; }
.note { padding: 16px 18px; background: var(--surface-low); border-left: 3px solid var(--primary-container); border-radius: 0 8px 8px 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- 404 ---------- */
.error-hero { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding-block: 70px; background: radial-gradient(700px 420px at 50% 0%, #e7f7ff, transparent 70%), var(--surface); }
.error-card { max-width: 620px; text-align: center; }
.error-code { font-family: var(--font-head); font-size: clamp(6rem, 16vw, 10rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em; background: linear-gradient(135deg, #006591, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.error-card h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.error-card p { color: var(--muted); margin-bottom: 26px; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: 0.87rem; }
  .header-phone span { display: none; }
}
@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(247, 249, 251, 0.72) 0%, rgba(247, 249, 251, 0.93) 55%, #f7f9fb 100%);
  }
  .hero { min-height: 0; }
  .hero__content { max-width: 640px; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 640px; aspect-ratio: 16 / 9; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: 22px; }
  .project:nth-child(even) .project__media { order: 0; }
  .project__body { max-width: none; }
  .testimonial { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobile-cta { display: grid; }
  body { padding-bottom: 0; }
  .cookie-banner { left: 12px; bottom: 78px; width: calc(100vw - 24px); }
  .hero__trust { gap: 14px 20px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero__actions .btn, .page-hero__actions .btn { width: 100%; }
  .grid--4, .steps { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .card { padding: 24px; }
  .card--service .card__body { padding: 24px; }
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-actions .btn--link { grid-column: auto; }
  .answer-box { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .error-links .btn { width: 100%; }
}
