/* Self-hosted Inter Variable (SIL OFL-1.1) — replaces Google Fonts */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/InterVariable.woff2') format('woff2-variations'),
       url('../fonts/InterVariable.woff2') format('woff2');
}

/* ============================================================
   DS CORDISTE — Ghost Theme v2.0 (Brand Kit canon 2026-04-10)
   Brand: #BF1111 red | #023059 navy | #0D0D0D black | #B4C0D9 steel
   ============================================================ */

:root {
  --red: #BF1111;
  --red-hover: #9a0d0d;
  --navy: #023059;
  --navy-light: #0a4480;
  --steel-button: #2c4a73;     /* приглушённый sine-grey для кнопок */
  --steel-button-hover: #1f3958;
  --black: #0D0D0D;
  --steel: #B4C0D9;
  --steel-light: #d8dfeb;
  --offwhite: #F2F2F2;
  --white: #FFFFFF;
  --gray: #6b6b6b;
  --gray-light: #9a9a9a;
  --border: #E0E0E0;

  --font-main: 'Inter', 'Barlow', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(2, 48, 89, 0.08);
  --shadow: 0 4px 20px rgba(2, 48, 89, 0.12);
  --shadow-lg: 0 12px 40px rgba(2, 48, 89, 0.18);
  --radius: 6px;
  --radius-lg: 12px;

  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography — body text = Near Black, headings = Navy, links = Red */
h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
p { color: var(--black); line-height: 1.7; margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all .2s;
  letter-spacing: 0.02em;
}
/* Buttons on LIGHT bg (default): navy -> hover lavender */
.btn-primary { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-primary:hover { background: var(--steel); color: var(--navy); border-color: var(--steel); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
/* .btn-accent kept as alias of .btn-primary (red removed from buttons) */
.btn-accent { background: var(--navy); color: var(--white); border: 2px solid var(--navy); }
.btn-accent:hover { background: var(--steel); color: var(--navy); border-color: var(--steel); }

/* Buttons on DARK bg (hero, cta-strip, footer, section-dark, sidebar-cta, contact-strip) */
.hero .btn,
.cta-strip .btn,
.section-dark .btn,
.site-footer .btn,
.sidebar-cta .btn,
.post-cta .btn,
.contact-strip .contact-form-compact button {
  background: var(--steel) !important;
  color: var(--navy) !important;
  border: 2px solid var(--steel) !important;
  border-radius: var(--radius) !important;
}
.hero .btn:hover,
.cta-strip .btn:hover,
.section-dark .btn:hover,
.site-footer .btn:hover,
.sidebar-cta .btn:hover,
.post-cta .btn:hover,
.contact-strip .contact-form-compact button:hover:not(:disabled) {
  background: var(--navy) !important;
  color: var(--white) !important;
  border-color: var(--white) !important;
}
/* Outline-light kept (hero phone btn) — independent variant */
.hero .btn.btn-outline-light,
.cta-strip .btn.btn-outline-light {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
}
.hero .btn.btn-outline-light:hover,
.cta-strip .btn.btn-outline-light:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--steel); }
.top-bar .cert-badge { color: var(--steel); font-weight: 600; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: relative;
}
.site-logo { display: block; }
.site-logo img { max-height: 56px; width: auto; }
.logo-text .logo-name { font-weight: 900; font-size: 1.15rem; color: var(--black); letter-spacing: 0.02em; }
.logo-text .logo-name .ds { color: var(--red); }
.logo-text .logo-tagline { display: block; font-size: .65rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.15em; }

/* === Desktop nav === */
.main-nav {
  display: flex;
  list-style: none;
  align-items: stretch;
  align-self: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--navy);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.main-nav > li > a:hover { color: var(--red); }
.main-nav .has-arrow > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: .7em;
  color: var(--gray);
}
.main-nav .nav-social {
  display: flex;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  align-items: center;
}
.main-nav .nav-social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border-radius: 50%;
  background: var(--offwhite);
  transition: all .2s;
}
.main-nav .nav-social a.li { color: #0A66C2; }
.main-nav .nav-social a.li:hover { background: #0A66C2; color: #fff; }
.main-nav .nav-social a.yt { color: #FF0000; }
.main-nav .nav-social a.yt:hover { background: #FF0000; color: #fff; }
.main-nav .nav-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Submenu (cities dropdown) */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 200;
  border-top: 3px solid var(--navy);
}
.main-nav > li:hover > .submenu,
.main-nav > li.open > .submenu { display: block; }
.submenu li a {
  display: block;
  padding: 10px 18px;
  color: var(--black);
  font-size: .9rem;
}
.submenu li a:hover { background: var(--offwhite); color: var(--red); }

/* Megamenu (Services) */
.main-nav > li.has-mega { position: static !important; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  display: none;
  z-index: 200;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 3px solid var(--navy);
  box-sizing: border-box;
}
.has-mega:hover .mega-menu,
.has-mega.open .mega-menu { display: grid; }
.mega-col h4 {
  color: var(--navy);
  font-size: .85rem;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--steel);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin: 6px 0; }
.mega-col li a {
  color: var(--black);
  font-size: .9rem;
  display: block;
  padding: 4px 0;
}
.mega-col li a:hover { color: var(--red); }

/* Mobile burger */
.burger {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* === Mobile menu === */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 1000;
  overflow-y: auto;
  padding: 24px;
}
.mobile-overlay.open { display: block; }
.mobile-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-overlay-head .site-logo img { filter: brightness(0) invert(1); max-height: 40px; }
.mobile-close {
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
}
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav > li > a {
  display: block;
  padding: 16px 4px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}
.mobile-nav > li > a:hover { color: var(--steel); }
.mobile-nav .nav-cta > a {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  margin: 16px 0;
}
.mobile-section h4 {
  display: block;
  color: var(--steel);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 20px 0 8px;
}
.mobile-section ul { list-style: none; padding: 0 4px; }
.mobile-section ul li a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-section ul li a:hover { color: var(--white); }

/* === Hero === */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,48,89,0.78) 0%, rgba(2,48,89,0.55) 50%, rgba(2,48,89,0.30) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--steel); }
.hero .subtitle { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 8px; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.7; }
.hero .hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; font-size: .88rem; }
.hero .hero-trust span { color: var(--steel); }
.hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.hero-video iframe,
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: #000;
}

/* === Sections === */
.section { padding: 64px 0; }
.section-light { background: var(--offwhite); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.85); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Services grid (4 cols) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--steel);
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}
.service-card ul { list-style: none; padding: 0; }
.service-card li { padding: 4px 0; font-size: .9rem; }
.service-card li a { color: var(--black); }
.service-card li a:hover { color: var(--red); }
.service-card li::before { content: "→ "; color: var(--navy); font-weight: 700; }

/* Proof / stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-item .num { font-size: 2.4rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-item .label { color: var(--gray); font-size: .9rem; margin-top: 6px; }

/* Process (4 steps) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  text-align: center;
  position: relative;
}
.process-step .num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .9rem; }

/* CTA strip */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
  background-image: linear-gradient(135deg, rgba(2,48,89,0.95), rgba(2,48,89,0.85));
}
.cta-strip h2 { color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.92); margin-bottom: 24px; font-size: 1.05rem; }
.cta-strip .btn { background: var(--white); color: var(--navy); }
.cta-strip .btn:hover { background: var(--offwhite); color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  font-size: 1.3rem;
  color: var(--red);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 18px; }

/* Page (single) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,48,89,0.85) 0%, rgba(2,48,89,0.95) 100%);
  z-index: 1;
}
.page-hero.has-image::before { background: linear-gradient(180deg, rgba(2,48,89,0.0) 0%, rgba(2,48,89,0.65) 100%), var(--page-image-l) center/cover; }
@media (max-width: 767px) {
  .page-hero.has-image::before { background: linear-gradient(180deg, rgba(2,48,89,0.0) 0%, rgba(2,48,89,0.65) 100%), var(--page-image-m) center/cover; }
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumbs { color: var(--steel); font-size: .85rem; margin-bottom: 12px; }
.page-hero .breadcrumbs a { color: var(--steel); }
.page-content { padding: 56px 0; }
.page-content .layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.page-content .article p,
.page-content .article ul,
.page-content .article ol { margin-bottom: 1rem; }
.page-content .article h2 { margin: 2rem 0 0.8rem; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.page-content .article h3 { margin: 1.5rem 0 0.6rem; color: var(--navy); }
.page-content .article ul, .page-content .article ol { padding-left: 24px; }
.page-content .article li { margin-bottom: 6px; }
.page-content .article img { border-radius: var(--radius); margin: 16px 0; }

.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-cta h3 { color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 16px; }
.sidebar-cta a.btn { display: block; text-align: center; margin-bottom: 8px; }
.sidebar-cta .phone-big {
  display: block;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  margin: 12px 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 0 0 0;
  font-size: .92rem;
}
.footer-camion {
  width: 100%;
  background: var(--navy);
  border-bottom: 4px solid var(--red);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.footer-camion img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
}
.site-footer > .container { padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { font-size: 1.2rem; color: var(--white); margin-bottom: 14px; display: block; font-weight: 900; letter-spacing: 0.04em; }
.footer-brand p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.65; margin-bottom: 8px; }
.footer-col h4 { color: var(--white); margin-bottom: 14px; font-size: .82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: rgba(255,255,255,.78); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-contact-item { margin: 4px 0; color: rgba(255,255,255,.85); font-size: .92rem; }
.footer-contact-item a { color: var(--white); }
.footer-phone {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: 0.02em;
}
.footer-mailbox {
  margin-bottom: 14px;
}
.footer-mailbox strong {
  display: block;
  color: var(--steel);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 2px;
}
.footer-mailbox a {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 2px;
}
.footer-mailbox small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  line-height: 1.4;
}
.footer-rating {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  color: var(--steel);
  font-size: .88rem;
  font-weight: 600;
  display: inline-block;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: all .2s;
}
.footer-social a.li { color: #fff; }
.footer-social a.li:hover { background: #0A66C2; color: #fff; }
.footer-social a.yt { color: #fff; }
.footer-social a.yt:hover { background: #FF0000; color: #fff; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* === Certifications block === */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cert-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.cert-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}
.cert-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.3;
}
.cert-card p { font-size: .9rem; color: var(--black); line-height: 1.6; margin: 0; }

/* === Domaines (9-grid) — clear photos, no darkening === */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.domain-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: all .25s;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.domain-card .photo {
  position: relative;
  width: 100%;
  padding-bottom: 66%;  /* 3:2 aspect — фото видно целиком */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.domain-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  gap: 12px;
}
.domain-card .label {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
}
.domain-card .more {
  font-size: .85rem;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}
.domain-card:hover .more { color: var(--red-hover); }

/* === Avis === */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.avis-card .stars { color: #f5a623; font-size: 1rem; margin-bottom: 12px; }
.avis-card blockquote {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--black);
  font-style: italic;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.avis-card .author {
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
}
.avis-card .author-meta {
  font-size: .8rem;
  color: var(--gray);
}

/* === Inline form === */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: 4px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: .95rem;
  background: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(2,48,89,0.1);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .submit { text-align: center; margin-top: 12px; }
.contact-form .submit button { padding: 14px 36px; }
.contact-form-note {
  text-align: center;
  font-size: .82rem;
  color: var(--gray);
  margin-top: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
  .services-grid, .stats, .process,
  .certs-grid, .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-content .layout { grid-template-columns: 1fr; }
  .sidebar-cta { position: static; }
  .contact-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-bar .container { flex-direction: column; align-items: flex-start; gap: 4px; }
  .services-grid, .stats, .process,
  .certs-grid, .avis-grid, .domains-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0; }
}


/* === RÉALISATIONS (LinkedIn cases) === */
.realisations-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.real-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; text-decoration:none; transition:all .2s; display:flex; flex-direction:column; }
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.real-card .photo { width:100%; padding-bottom:60%; background-size:cover; background-position:center; }
.real-card .meta { padding: 18px 22px; flex:1; display:flex; flex-direction:column; gap:8px; }
.real-card .tag { font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--steel-button); font-weight:700; }
.real-card h3 { font-size:1.05rem; color:var(--navy); margin:0; line-height:1.3; }
.real-card p { font-size:.9rem; color:var(--black); margin:0; line-height:1.5; flex:1; }
.real-card .more { font-size:.85rem; color:var(--red); font-weight:700; margin-top:auto; }
@media (max-width: 980px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .realisations-grid { grid-template-columns: 1fr; } }

/* === Avis verified label === */
.avis-card .avis-verified { font-size:.78rem; color:var(--gray); margin-top:14px; padding-top:12px; border-top:1px solid var(--border); font-weight:600; }

/* === Notre équipe === */
.team-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.team-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:transform .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .team-photo { width:100%; padding-bottom:120%; background-size:cover; background-position:center top; background-color:#e9eef5; }
.team-card .team-meta { padding:16px 18px 20px; }
.team-card .team-role { font-weight:800; color:var(--navy); font-size:1rem; line-height:1.25; margin-bottom:4px; }
.team-card .team-sub { font-size:.82rem; color:var(--gray); line-height:1.4; }
@media (max-width:980px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .team-grid { grid-template-columns: 1fr; } }

/* === Ils nous font confiance === */
.clients-strip { display:grid; grid-template-columns: repeat(6, 1fr); gap:14px; }
.client-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:18px 16px; text-align:center; display:flex; flex-direction:column; gap:6px; align-items:center; justify-content:center; min-height:130px; transition:transform .2s, box-shadow .2s; }
.client-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--navy); }
.client-card .client-tag { font-size:.7rem; text-transform:uppercase; letter-spacing:.08em; color:var(--steel-button); font-weight:700; }
.client-card .client-name { font-weight:900; color:var(--navy); font-size:1.05rem; line-height:1.2; }
.client-card .client-meta { font-size:.78rem; color:var(--gray); line-height:1.3; }
.clients-disclaimer { text-align:center; font-size:.78rem; color:var(--gray); margin-top:18px; opacity:.85; }
@media (max-width:980px) {
  .clients-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x:auto; scroll-snap-type: x mandatory; padding-bottom:8px; }
  .client-card { scroll-snap-align: start; min-height:110px; }
}
@media (max-width:600px) {
  .clients-strip { grid-auto-columns: 85%; }
}

/* === Galerie page === */
.galerie-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:8px; }
.galerie-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; cursor:pointer; transition: transform .2s; border-radius:6px; display:block; }
.galerie-grid img:hover { transform: scale(1.04); }
@media (max-width:980px) { .galerie-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .galerie-grid { grid-template-columns: 1fr; } }

/* Ghost converts <img> → <figure class="kg-image-card"> on the galerie page —
   force the figures into the same 4-col grid. */
.page-galerie .article > p:first-of-type { margin-bottom: 28px; }
.page-galerie .article {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.page-galerie .article > p,
.page-galerie .article > h2,
.page-galerie .article > h3 { grid-column: 1 / -1; }
.page-galerie .article figure.kg-image-card { margin: 0; }
.page-galerie .article figure.kg-image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .2s;
  display: block;
}
.page-galerie .article figure.kg-image-card img:hover { transform: scale(1.04); }
@media (max-width:980px) { .page-galerie .article { grid-template-columns: repeat(2,1fr); } }
@media (max-width:600px) { .page-galerie .article { grid-template-columns: 1fr; } }


/* === Mobile bottom dock (< 768px) === */
.mobile-dock { display: none; }

@media (max-width: 767px) {
  .mobile-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #0a1628;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  }
  .mobile-dock .dock-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(191,17,17,0.18);
    transition: color 0.15s;
  }
  .mobile-dock .dock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
  }
  .mobile-dock .dock-icon svg { width: 22px; height: 22px; display: block; fill: currentColor; }
  .mobile-dock .dock-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
    white-space: nowrap;
  }
  .mobile-dock .dock-item:active,
  .mobile-dock .dock-item.is-active {
    color: #BF1111;
  }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .mobile-overlay.open ~ .mobile-dock { display: none; }
}

/* ===================================================================
   Magazine List (Actualités) — Variant C
   Added 2026-05-12
   =================================================================== */
.magazine-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.actualites-header {
  padding: 56px 0 16px;
  background: var(--white);
}
.actualites-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -.01em;
  text-align: left;
}
.actualites-subtitle {
  color: #4a5a73;
  font-size: 1.05rem;
  margin: 0;
  max-width: 720px;
}
.actualites-accent {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--red);
  margin-top: 14px;
}

.actualites-list {
  padding: 24px 0 80px;
  background: var(--white);
}

.magazine-list {
  display: flex;
  flex-direction: column;
}

.magazine-card {
  border-bottom: 1px solid var(--steel);
}
.magazine-card:first-child {
  border-top: 1px solid var(--steel);
}

.magazine-card-link {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 24px;
  align-items: stretch;
  padding: 24px 16px;
  border-left: 4px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
  color: inherit;
  text-decoration: none;
}
.magazine-card-link:hover,
.magazine-card-link:focus-visible {
  background: #f5f7fa;
  border-left-color: var(--red);
  color: inherit;
}
.magazine-card-link:hover .magazine-card-title,
.magazine-card-link:focus-visible .magazine-card-title {
  color: var(--navy);
}

.magazine-card-media {
  overflow: hidden;
}
.magazine-card-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: var(--steel-light);
  border-radius: 0;
}
.magazine-card-media-placeholder {
  width: 100%;
  height: 280px;
  display: block;
  background-color: #B4C0D9;
  background-image: url('../images/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% auto;
  border-radius: 0;
}

.magazine-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.magazine-card-tag {
  font-size: .72rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  margin: 0;
}

.magazine-card-title {
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
  font-weight: 700;
}

.magazine-card-excerpt {
  color: #4a5a73;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.magazine-card-meta {
  color: #6b7990;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.magazine-card-meta-sep {
  opacity: .5;
}

.magazine-empty {
  text-align: center;
  color: #6b7990;
  padding: 60px 0;
}

.magazine-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--steel);
}
.magazine-pagination-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 18px;
  border: 1px solid var(--steel);
  background: var(--white);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  border-radius: 0;
}
.magazine-pagination-link:hover,
.magazine-pagination-link:focus-visible {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.magazine-pagination-link.is-disabled {
  color: #b6becc;
  border-color: #e4e8ef;
  cursor: not-allowed;
  pointer-events: none;
  background: transparent;
}

.magazine-pagination-pages {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.magazine-pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: 0;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.magazine-pagination-num:hover,
.magazine-pagination-num:focus-visible {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.magazine-pagination-num.is-current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  cursor: default;
  pointer-events: none;
}

@media (max-width: 720px) {
  .magazine-card-link {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 8px;
  }
  .magazine-card-media img,
  .magazine-card-media-placeholder {
    height: 200px;
  }
  .magazine-card-title {
    font-size: 1.2rem;
  }
  .actualites-title {
    font-size: 2rem;
  }
  .magazine-pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  .magazine-pagination-pages {
    order: -1;
    width: 100%;
    justify-content: center;
  }
  .magazine-pagination-num {
    min-width: 36px;
    padding: 8px 12px;
    font-size: .9rem;
  }
}

/* ===================================================================
   Post (single) — branded layout
   Added 2026-05-12
   =================================================================== */
.post-single {
  background: var(--white);
  padding: 32px 0 64px;
}

.post-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 720px) {
  .post-wrap {
    padding: 0 40px;
  }
}

.post-head {
  margin-bottom: 28px;
}

.post-tag {
  display: inline-block;
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-decoration: none;
}

.post-title {
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (min-width: 720px) {
  .post-title {
    font-size: 2.6rem;
  }
}

.post-meta {
  color: #6b7990;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.post-meta-sep {
  opacity: .5;
}

.post-feature {
  margin: 0 0 36px;
}
.post-feature img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0;
}
.post-feature figcaption {
  color: #6b7990;
  font-size: .85rem;
  margin-top: 8px;
  text-align: center;
}

.post-body {
  color: #1a2535;
  font-size: 1.05rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.post-body > * {
  max-width: 100%;
}
@media (max-width: 480px) {
  .post-body {
    font-size: 1rem;
  }
}

.post-body img,
.post-body video,
.post-body iframe {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  margin: 1.4em 0;
}

.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  margin: 1.6em 0 .55em;
}
.post-body h2 { font-size: 1.6rem; }
.post-body h3 { font-size: 1.3rem; }
.post-body h4 { font-size: 1.1rem; }

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body figure,
.post-body table {
  margin: 0 0 1.15em;
}

.post-body ul,
.post-body ol {
  padding-left: 1.4em;
}
.post-body li {
  margin: .4em 0;
}

.post-body a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 0;
  transition: color .15s ease;
}
.post-body a:hover,
.post-body a:focus-visible {
  text-decoration: underline;
  color: var(--red-hover);
}

.post-body blockquote {
  border-left: 4px solid var(--red);
  padding: 8px 18px;
  background: #f5f7fa;
  color: var(--navy);
  font-style: italic;
  border-radius: 0;
}
.post-body blockquote p:last-child {
  margin-bottom: 0;
}

.post-body code {
  background: #f0f2f6;
  padding: 2px 6px;
  font-size: .92em;
  border-radius: 0;
  color: var(--navy);
}
.post-body pre {
  background: #0f1a2b;
  color: #e7ecf4;
  padding: 16px;
  overflow-x: auto;
  font-size: .9rem;
  margin: 1.4em 0;
  border-radius: 0;
}
.post-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.post-body hr {
  border: 0;
  border-top: 1px solid var(--steel);
  margin: 2.2em 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.post-body table th,
.post-body table td {
  border: 1px solid var(--steel);
  padding: 8px 12px;
  text-align: left;
}
.post-body table th {
  background: #f5f7fa;
  color: var(--navy);
  font-weight: 700;
}

.post-cta {
  margin: 56px 0 36px;
  background: var(--navy);
  color: var(--white);
  padding: 32px 28px;
  text-align: center;
  border-radius: 0;
}
.post-cta h3 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.post-cta p {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  margin: 0 0 20px;
}
.post-cta-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  font-size: 15px;
}
.post-cta-btn:hover,
.post-cta-btn:focus-visible {
  background: var(--steel);
  color: var(--navy);
  border-color: var(--steel);
}

.post-nav {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--steel);
  padding-top: 28px;
  margin-top: 12px;
}
.post-nav--two {
  grid-template-columns: 1fr 1fr;
}
.post-nav--one {
  grid-template-columns: 1fr;
}

.post-nav-link {
  display: block;
  padding: 16px 20px;
  border: 1px solid var(--steel);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  border-radius: 0;
  transition: background-color .15s ease, border-color .15s ease;
}
.post-nav-link:hover,
.post-nav-link:focus-visible {
  background: #f5f7fa;
  border-color: var(--navy);
  color: var(--navy);
}
.post-nav-prev { text-align: left; }
.post-nav-next { text-align: right; }

.post-nav-label {
  display: block;
  font-size: .78rem;
  color: #6b7990;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
  font-weight: 600;
}
.post-nav-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--navy);
}

@media (max-width: 600px) {
  .post-nav--two {
    grid-template-columns: 1fr;
  }
  .post-nav-next {
    text-align: left;
  }
}

/* ===================================================================
   Actualités nav dropdown — recent posts
   Added 2026-05-12
   Inherits .submenu visual style; only constrains width and wraps long titles.
   =================================================================== */
.submenu.submenu-actualites {
  min-width: 320px;
  max-width: 380px;
}
.submenu.submenu-actualites li a {
  white-space: normal;
  line-height: 1.35;
  padding: 10px 18px;
  font-size: .88rem;
}
.submenu.submenu-actualites .submenu-all {
  border-top: 1px solid var(--steel);
  margin-top: 4px;
}
.submenu.submenu-actualites .submenu-all a {
  color: var(--navy);
  font-weight: 600;
  font-size: .85rem;
  padding-top: 12px;
  padding-bottom: 12px;
}

/* ===================================================================
   Mobile menu — clickable section headers
   Updated 2026-05-12 (sky-blue, underlined, centered, larger)
   =================================================================== */
.mobile-section h4 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
}
.mobile-section h4 a:hover,
.mobile-section h4 a:focus-visible {
  color: var(--white);
}

/* ===================================================================
   Sidebar PDF download link
   Added 2026-05-12
   =================================================================== */
.sidebar-cta .pdf-download-link, .post-cta .pdf-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .02em;
  padding: 2px 0;
  background: transparent;
  border: 0;
}
.sidebar-cta .pdf-download-link, .post-cta .pdf-download-link:hover,
.sidebar-cta .pdf-download-link, .post-cta .pdf-download-link:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sidebar-cta .pdf-download-link, .post-cta .pdf-download-link span {
  font-size: 16px;
  line-height: 1;
}

/* ===================================================================
   Hero CTA — mobile stack
   Added 2026-05-12 — two buttons full-width vertical on small screens
   =================================================================== */
@media (max-width: 720px) {
  .hero .hero-cta {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero .hero-cta .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ===================================================================
   FIX 1 — cookie banner lifted above mobile dock
   Added 2026-05-12
   =================================================================== */
@media (max-width: 768px) {
  #ds-cookie-banner { bottom: 65px; }
}

/* ===================================================================
   FIX 3 — Hero CTA mobile stack (!important override safety)
   Updated 2026-05-12
   =================================================================== */
@media (max-width: 720px) {
  .hero .hero-cta {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
  }
  .hero .hero-cta .btn {
    width: 100% !important;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ===================================================================
   FIX 2 — custom file-upload button (iOS shows native button in browser locale)
   Added 2026-05-12
   =================================================================== */
.contact-form .file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #f5f7fa;
  color: var(--navy);
  border: 1.5px dashed var(--steel);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s ease, border-color .15s ease;
  width: fit-content;
  max-width: 100%;
}
.contact-form .file-upload-label:hover,
.contact-form .file-upload-label:focus-within {
  background: var(--white);
  border-color: var(--red);
  color: var(--red);
}
.contact-form .file-upload-label .file-upload-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.contact-form .file-upload-hint {
  display: block;
  margin-top: 6px;
  color: #6B7990;
  font-size: .82rem;
  line-height: 1.45;
}
.contact-form #cf-files:not(:empty) {
  display: block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #f5f7fa;
  border-left: 3px solid var(--red);
  color: #1a2535;
  font-size: .85rem;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .contact-form .file-upload-label { width: 100%; justify-content: center; }
}

/* ===================================================================
   /devis/ landing — clean conversion page
   Added 2026-05-12
   - Hides nav/header/footer/sidebar/cta-strip on Ghost body.page-devis
   - Custom layout for hero + trust + photo + PDF + form
   =================================================================== */

/* Hide global chrome on /devis/ landing */
body.page-devis .top-bar,
body.page-devis .site-header,
body.page-devis .site-footer,
body.page-devis .mobile-dock,
body.page-devis .mobile-overlay,
body.page-devis .footer-camion,
body.page-devis .cta-strip,
body.page-devis .breadcrumbs,
body.page-devis .page-hero,
body.page-devis aside,
body.page-devis .sidebar-cta {
  display: none !important;
}
body.page-devis .page-content > .container {
  max-width: 100% !important;
  padding: 0 !important;
}
body.page-devis .layout {
  display: block !important;
}
body.page-devis .article {
  width: 100% !important;
  max-width: 100% !important;
}

body.page-devis .devis-hero .container,
body.page-devis .devis-pdf .container,
body.page-devis .devis-form-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.devis-hero {
  background: #023059;
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.devis-hero .eyebrow {
  display: inline-block;
  color: #BF1111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: #fff;
  padding: 6px 14px;
}
.devis-hero h1 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.devis-hero .lead {
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 720px;
}
.devis-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}
.devis-trust span {
  border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px;
  letter-spacing: .12em;
}
.devis-trust .devis-rating {
  border: 0;
  background: #BF1111;
  font-weight: 700;
}

.devis-photo {
  display: block;
  width: 100%;
  background: #000;
  text-align: center;
}
.devis-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

.devis-pdf {
  padding: 40px 0;
  background: #f5f7fa;
}
.devis-pdf-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #fff;
  border-left: 6px solid #BF1111;
  padding: 26px 32px;
}
.devis-pdf-text h2 {
  color: #023059;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.devis-pdf-text p {
  color: #6B7990;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.devis-pdf-btn {
  background: #023059;
  color: #fff;
  padding: 14px 26px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color .15s ease;
  border: 2px solid #023059;
  border-radius: 6px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.devis-pdf-btn:hover { background: var(--steel); color: var(--navy); border-color: var(--steel); }

.devis-form-section {
  padding: 56px 0 32px;
  background: #fff;
}
.devis-form-head { text-align: center; margin-bottom: 28px; }
.devis-form-head h2 {
  color: #023059;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.devis-form-head p {
  color: #6B7990;
  font-size: 15px;
  margin: 0;
}
.devis-form-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: #BF1111;
  margin: 14px auto 0;
}
.devis-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.devis-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #1a2535;
  font-weight: 600;
}
.devis-form label.full { grid-column: 1 / -1; }
.devis-form label span { color: #023059; }
.devis-form input,
.devis-form select,
.devis-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid #E1E6EE;
  background: #fff;
  color: #1a2535;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}
.devis-form input:focus,
.devis-form select:focus,
.devis-form textarea:focus {
  outline: 0;
  border-color: #BF1111;
}
.devis-form textarea { resize: vertical; line-height: 1.5; }
.devis-form .submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.devis-submit {
  background: #BF1111;
  color: #fff;
  border: 0;
  padding: 16px 36px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s ease;
}
.devis-submit:hover:not(:disabled) { background: #9A0D0D; }
.devis-submit:disabled { opacity: .55; cursor: not-allowed; }

.devis-call {
  text-align: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #E1E6EE;
}
.devis-call p { margin: 4px 0; color: #6B7990; font-size: 15px; }
.devis-call .devis-phone { font-size: 28px; color: #BF1111; text-decoration: none; letter-spacing: -.005em; }
.devis-call .devis-phone strong { font-weight: 800; }
.devis-call a { color: #023059; }
.devis-hours { color: #6B7990 !important; }

@media (max-width: 720px) {
  .devis-hero { padding: 40px 0 36px; }
  .devis-hero h1 { font-size: 30px; }
  .devis-trust { gap: 8px; }
  .devis-trust span { font-size: 12px; padding: 5px 10px; }
  .devis-pdf-card { flex-direction: column; align-items: stretch; text-align: center; padding: 22px; }
  .devis-pdf-btn { display: block; text-align: center; }
  .devis-form { grid-template-columns: 1fr; gap: 14px; }
}

/* ===================================================================
   Contact-strip — compact CTA form before footer (page.hbs + post.hbs)
   Added 2026-05-12
   =================================================================== */
.contact-strip {
  background: #023059;
  color: #fff;
  padding: 56px 0;
  margin-top: 64px;
}
.contact-strip .container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.contact-strip-head {
  text-align: center;
  margin-bottom: 28px;
}
.contact-strip-head h2 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  line-height: 1.15;
}
.contact-strip-head p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  margin: 0;
}
.contact-strip-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: #BF1111;
  margin: 14px auto 0;
}
.contact-form-compact {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 12px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-form-compact input,
.contact-form-compact textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 0;
  background: #fff;
  color: #1a2535;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}
.contact-form-compact textarea {
  resize: vertical;
  min-height: 50px;
  line-height: 1.45;
}
.contact-form-compact input::placeholder,
.contact-form-compact textarea::placeholder {
  color: #6B7990;
}
.contact-form-compact button {
  background: #BF1111;
  color: #fff;
  border: 0;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background-color .15s ease;
  white-space: nowrap;
}
/* hover handled by .contact-strip .contact-form-compact button rule above */
.contact-form-compact button:disabled { opacity: .5; cursor: not-allowed; }
.contact-form-compact .cf-status {
  grid-column: 1 / -1;
  display: block;
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
  min-height: 1.2em;
}
@media (max-width: 860px) {
  .contact-form-compact {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-strip { padding: 44px 0; margin-top: 48px; }
  .contact-strip-head h2 { font-size: 26px; }
}

/* ===================================================================
   /devis/ landing — minimal navigation override
   Updated 2026-05-12 — TASK 1
   - Show .site-header (logo only) — strip top-bar + nav + burger
   - Show .site-footer (only Contact column + bottom legal bar)
   - Show .mobile-dock (burger + Email + Phone only — hide LinkedIn/YouTube)
   - Keep hiding: .mobile-overlay nav, sidebar, breadcrumbs, .page-hero, .cta-strip
   These override the earlier blanket `display:none` block.
   =================================================================== */

/* Re-show header but strip everything except logo */
body.page-devis .site-header { display: block !important; }
body.page-devis .site-header .main-nav,
body.page-devis .site-header .burger,
body.page-devis .top-bar {
  display: none !important;
}

/* Re-show footer but only Contact column (4th) + bottom legal row */
body.page-devis .site-footer { display: block !important; }
body.page-devis .footer-grid > .footer-brand,
body.page-devis .footer-grid > .footer-col:nth-child(2),
body.page-devis .footer-grid > .footer-col:nth-child(3) {
  display: none !important;
}
body.page-devis .footer-grid {
  grid-template-columns: 1fr !important;
  justify-items: center;
  text-align: center;
}
body.page-devis .footer-grid > .footer-col { max-width: 480px; }
body.page-devis .footer-camion { display: none !important; }

/* Re-show mobile-dock, but drop LinkedIn / YouTube */
body.page-devis .mobile-dock { display: flex !important; }
body.page-devis .mobile-dock .dock-item[aria-label="LinkedIn"],
body.page-devis .mobile-dock .dock-item[aria-label="YouTube"] {
  display: none !important;
}

/* ===================================================================
   /devis/ — reasons + process sections
   Added 2026-05-12 (TASK 2)
   =================================================================== */
body.page-devis .devis-reasons,
body.page-devis .devis-process {
  background: #ffffff;
  padding: 48px 0;
}
body.page-devis .devis-process {
  background: #f5f7fa;
}
body.page-devis .devis-reasons .container,
body.page-devis .devis-process .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
body.page-devis .devis-reasons h2,
body.page-devis .devis-process h2 {
  color: #023059;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  text-align: center;
}
body.page-devis .devis-reasons h2::after,
body.page-devis .devis-process h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: #BF1111;
  margin: 14px auto 0;
}

.devis-reasons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.devis-reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-left: 6px solid #BF1111;
  padding: 18px 24px;
  font-size: 17px;
  line-height: 1.5;
  color: #1a2535;
}
.devis-reasons-list li .devis-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #023059;
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 0;
}
.devis-reasons-list li strong {
  color: #023059;
}

.devis-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: devis-step;
}
.devis-process-list li {
  background: #ffffff;
  border-top: 5px solid #BF1111;
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.devis-process-list li .devis-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #023059;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  border-radius: 0;
}
.devis-process-list li strong {
  display: block;
  color: #023059;
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.devis-process-list li small {
  display: block;
  color: #6B7990;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  body.page-devis .devis-reasons,
  body.page-devis .devis-process { padding: 36px 0; }
  body.page-devis .devis-reasons h2,
  body.page-devis .devis-process h2 { font-size: 24px; }
  .devis-process-list { grid-template-columns: 1fr; }
  .devis-reasons-list li { font-size: 15px; padding: 16px 18px; }
}


/* DS Cordiste — Présentation B2B download button (home NOS MÉTIERS) */
.metiers-cta {
  text-align: center;
  margin-top: 48px;
}
.btn-metiers-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(2,48,89,0.18);
}
.btn-metiers-download:hover {
  background: var(--steel);
  color: var(--navy);
  border-color: var(--steel);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2,48,89,0.28);
}
.btn-metiers-download svg { flex-shrink: 0; }
@media (max-width: 720px) {
  .metiers-cta { margin-top: 32px; }
  .btn-metiers-download { width: 100%; justify-content: center; padding: 16px 24px; }
}


/* === Callback form select dropdown — DS Cordiste, added 2026-05-14 === */
.contact-strip .contact-form-compact select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius, 6px);
  background: #fff;
  color: var(--navy, #023059);
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23023059%22%20d%3D%22M6%208.5L1.5%204h9z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-strip .contact-form-compact select {
  grid-column: 1 / -1;
}
