/* Neutral wireframe layer: the existing layout and content remain intact. */
:root {
  --navy: #f4f4f4;
  --ink: #1c1c1c;
  --blue: #242424;
  --blue-dark: #151515;
  --red: #242424;
  --red-dark: #111;
  --slate: #555;
  --muted: #727272;
  --line: #dedede;
  --soft: #f7f7f7;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 10px 28px rgb(0 0 0 / 5%);
}

html { scroll-padding-top: 106px; }
body { color: var(--ink); background: #fff; }
*:focus-visible { outline-color: #333; }
.skip-link { border-color: #333; }
.preview-flag {
  background: #ededed;
  color: #555;
  letter-spacing: .12em;
}

.topbar { background: #fff; border-color: var(--line); }
.topbar-inner { color: #575757; }
.topbar-links a:hover,
.phone-link,
.phone-link svg { color: #2b2b2b; }
.top-separator { background: #ddd; }
.status-dot,
.pill-dot {
  background: #777;
  box-shadow: 0 0 0 4px #ededed;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(calc(100% - 32px), 1248px);
  margin: 16px auto 0;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgb(0 0 0 / 9%);
  transform: translateY(0);
  opacity: 1;
  transition: transform .24s ease, opacity .24s ease, border-radius .24s ease;
}
.site-header.is-hidden {
  transform: translateY(calc(-100% - 32px));
  opacity: 0;
  pointer-events: none;
}
.site-header.is-expanded { border-radius: 28px; }
.nav-row { height: 74px; }
.logo img,
.footer-brand img { filter: grayscale(1); }
.desktop-nav > a,
.nav-drop-toggle { color: #444; }
.desktop-nav > a:hover,
.nav-drop-toggle:hover,
.desktop-nav .active { color: #111; }
.desktop-nav .active { text-decoration: underline; text-underline-offset: 7px; }
.dropdown-panel {
  top: calc(100% + 10px);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgb(0 0 0 / 11%);
}
.dropdown-panel a:hover,
.dropdown-panel a:focus-visible { background: #f2f2f2; color: #111; }
.mega-holder { position: static; }
.mega-menu {
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  border-radius: 24px;
}
.mega-main { min-width: 0; }
.mega-main .dropdown-title { padding: 0 10px 12px; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mega-menu .mega-links a {
  min-height: 122px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 10px;
  border: 1px solid transparent;
  border-radius: 16px;
}
.mega-menu .mega-links a:hover { background: #f7f7f7; border-color: #e5e5e5; }
.mega-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex: none;
  background: #efefef;
  border-radius: 50%;
}
.mega-icon svg { width: 21px; height: 21px; }
.mega-links strong { display: block; color: #222; font-size: 15px; line-height: 1.3; }
.mega-links small { display: block; margin-top: 5px; color: #656565; font-size: 13px; line-height: 1.45; }
.mega-menu .mega-all {
  width: max-content;
  margin-top: 10px;
  padding: 10px 12px;
  color: #222;
  font-weight: 700;
}
.mega-all svg { width: 17px; }
.mega-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e4e4e4;
  border-radius: 20px;
  background: #f7f7f7;
  padding: 32px;
}
.mega-help-mark { font-size: 48px; font-weight: 700; line-height: 1; margin-bottom: 28px; }
.mega-help h2 { font-size: 30px; line-height: 1.22; letter-spacing: -.025em; }
.mega-help p { max-width: 430px; color: #626262; font-size: 16px; line-height: 1.6; margin: 12px 0 22px; }
.mega-help .btn { margin-top: auto; width: 100%; min-height: 48px; padding: 13px 22px; border-radius: 999px; justify-content: center; font-size: 16px; }
.account-link,
.menu-toggle { border-radius: 50%; background: #fff; }
.account-link:hover { background: #f2f2f2; color: #111; }

.btn,
.cookie-actions button,
.card-link { border-radius: 999px; }
.btn { box-shadow: none; }
.btn-large { min-height: 48px; padding: 13px 22px; font-size: 16px; }
.btn-red { background: #262626; color: #fff; box-shadow: none; }
.btn-red:hover { background: #111; box-shadow: none; }
.btn-white,
.btn-outline { background: #fff; border-color: #cfcfcf; color: #222; box-shadow: none; }
.btn-white:hover,
.btn-outline:hover { background: #f4f4f4; border-color: #aaa; }
.btn-dark-outline { color: #222; border-color: #bcbcbc; }
.btn-dark-outline:hover { background: #fff; }

.hero { background: #fff; border-color: var(--line); }
.hero-glow,
.cta-glow { display: none; }
.hero-inner { padding-block: 92px 82px; }
.eyebrow-pill {
  background: #f7f7f7;
  border-color: #dedede;
  color: #444;
  box-shadow: none;
}
.eyebrow-pill .pill-dot { background: #777; box-shadow: 0 0 0 4px #e8e8e8; }
.hero h1 span { color: inherit; }
.hero h1 { max-width: 1200px; font-size: clamp(46px, 5.5vw, 74px); }
.hero-title-line { display: block; white-space: nowrap; }
#typed-service { border-right: 2px solid currentColor; padding-right: 3px; animation: type-cursor 1s steps(1) infinite; }
@keyframes type-cursor { 50% { border-color: transparent; } }
.hero-lead { color: #555; }
.hero-assurances { border-color: #e5e5e5; }
.hero-assurances > span { color: #444; }
.hero-actions-proof { align-items: center; gap: 24px; }
.hero-social-proof { display: inline-flex; align-items: center; gap: 16px; color: #343434; text-align: left; }
.hero-social-proof:hover .hero-proof-copy > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.hero-proof-avatars { display: flex; align-items: center; padding-left: 9px; }
.hero-proof-avatars > span { width: 48px; height: 48px; display: grid; place-items: center; margin-left: -9px; border: 2px solid #fff; border-radius: 50%; background: #dedede; color: #333; font-size: 11px; font-weight: 800; }
.hero-proof-avatars > span:nth-child(2) { background: #d4d4d4; }
.hero-proof-avatars > span:nth-child(3) { background: #c8c8c8; }
.hero-proof-avatars > span:nth-child(4) { background: #ededed; }
.hero-proof-copy { display: grid; gap: 2px; font-size: 12px; line-height: 1.25; }
.hero-proof-stars { font-size: 17px; line-height: 1; letter-spacing: .075em; }
.hero-proof-copy strong { font-weight: 800; }
@media (max-width: 760px) { .hero-actions-proof { flex-direction: column; gap: 18px; } .hero-social-proof { justify-content: center; } }
.assurance-icon.blue,
.assurance-icon.green,
.assurance-icon.violet {
  background: #f0f0f0;
  color: #333;
}

.section-soft { background: #f7f7f7; }
.section-head p:not(.overline),
.trust-lead,
.trust-points p { color: #5b5b5b; }
.overline,
.text-link { color: #333; }
.problem-card,
.service-card,
.process-card { border-color: #dedede; box-shadow: none; }
.problem-card:hover,
.service-card:hover {
  border-color: #bcbcbc;
  box-shadow: 0 8px 22px rgb(0 0 0 / 5%);
}
.icon-box,
.trust-icon,
.engagement-mark,
.dialog-icon {
  background: #f0f0f0;
  color: #333;
  border-radius: 50%;
}
.problem-card p,
.service-card p,
.process-card p,
.service-card ul { color: #595959; }
.service-icon,
.service-card li svg,
.process-number,
.engagement-card-top,
.engagement-card li svg { color: #333; }
.card-link {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid #d5d5d5;
  color: #333;
}
.card-link:hover { background: #f6f6f6; text-decoration: none; }
.process-line { background: #e4e4e4; }
.engagement-card { background: #f7f7f7; border-color: #dedede; }
.engagement-card li { border-color: #dedede; }

.final-cta {
  background: #f4f4f4;
  color: #1c1c1c;
  border-top: 1px solid #e4e4e4;
}
.final-cta .overline,
.final-cta p:not(.overline),
.cta-email a { color: #333; }
.footer {
  background: #fff;
  color: #555;
  border-color: #ddd;
}
.footer-brand img { filter: grayscale(1); }
.footer-brand p,
.footer-grid > div:not(:first-child) > a:not(.footer-contact),
.footer-contact,
.footer-contact svg,
.footer-bottom { color: #555; }
.footer h2 { color: #222; }
.footer-ai { margin-top: 28px; }
.footer-ai h2,
.footer-social h2 { font-size: 16px; line-height: 1.3; margin-bottom: 13px; }
.footer-ai-links { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.footer-ai-links a {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: #f1f1f1;
  border: 1px solid #e4e4e4;
  border-radius: 13px;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}
.footer-ai-links a:hover { background: #e8e8e8; text-decoration: none; }
.footer-ai-links a:first-child { font-size: 23px; }
.footer-ai-links a:nth-child(2) { font-size: 12px; }
.footer-social { margin-top: 28px; }
.footer-social-links { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dedede;
  border-radius: 50%;
  color: #555;
}
.footer-social-links img { width: 19px; height: 19px; object-fit: contain; filter: grayscale(1); }
.footer-social-links a:hover { background: #f2f2f2; text-decoration: none; }
.footer-grid a:hover,
.footer-bottom a:hover { color: #111; }
.footer-bottom { border-color: #e4e4e4; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom strong { color: #222; }
.footer-bottom a { color: #222; text-decoration: underline; text-underline-offset: 3px; }

dialog { box-shadow: 0 22px 70px rgb(0 0 0 / 20%); }
dialog::backdrop { background: rgb(0 0 0 / 45%); }
.dialog-close { border-radius: 50%; background: #f0f0f0; }
.dialog-close:hover { background: #e6e6e6; }
.dialog-inner p { color: #555; }
.login-dialog {
  width: min(568px, calc(100vw - 32px));
  max-width: 568px;
  max-height: calc(100dvh - 32px);
  border-radius: 28px;
  overflow: hidden;
}
.login-shell { max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
.login-top {
  min-height: 70px;
  padding: 12px 22px;
  border-bottom: 1px solid #e3e3e3;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.login-top h2 { text-align: center; font-size: 17px; line-height: 1.2; }
.login-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f4f4f4; }
.login-close:hover { background: #e9e9e9; }
.login-body { padding: 32px 34px 36px; overflow-y: auto; }
.login-body h3 { font-size: 28px; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 26px; }
.login-fields { border: 1px solid #bdbdbd; border-radius: 14px; overflow: hidden; }
.login-fields:focus-within { border-color: #555; }
.login-country-field { display: grid; padding: 10px 16px 11px; border-bottom: 1px solid #d0d0d0; }
.login-country-field label { color: #666; font-size: 12px; font-weight: 600; }
.login-country-field select { width: 100%; border: 0; background: transparent; color: #222; font: inherit; font-size: 17px; padding: 2px 0 0; }
.login-fields input { display: block; width: 100%; border: 0; outline: 0; padding: 16px; font: inherit; font-size: 17px; color: #222; }
.login-fields input::placeholder { color: #777; }
.login-privacy { margin: 18px 0 20px; color: #555; font-size: 13px; line-height: 1.5; }
.login-privacy a { text-decoration: underline; font-weight: 700; }
.login-submit { width: 100%; min-height: 53px; }
.login-submit:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.login-divider { display: flex; align-items: center; gap: 14px; color: #777; font-size: 13px; margin: 24px 0; }
.login-divider::before,
.login-divider::after { content: ''; height: 1px; flex: 1; background: #dedede; }
.login-option {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 55px;
  padding: 11px 18px;
  margin-top: 10px;
  border: 1px solid #a9a9a9;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.login-option:hover { background: #f5f5f5; }
.login-option svg { width: 22px; }
.login-google-mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #333; font-size: 13px; }
.login-message { margin-top: 17px; padding: 12px 14px; background: #f4f4f4; border: 1px solid #dedede; border-radius: 14px; font-size: 13px; color: #444; }
.login-message a { font-weight: 700; text-decoration: underline; }
.login-dialog [hidden] { display: none !important; }

.cookie-banner {
  inset: auto 22px 22px auto;
  width: min(460px, calc(100% - 44px));
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgb(0 0 0 / 16%);
}
.cookie-inner {
  width: auto;
  padding: 18px 20px 20px;
  display: block;
}
.cookie-inner p { color: #5b5b5b; }
.cookie-actions { margin-top: 14px; }
.cookie-actions button { color: #333; border-color: #d0d0d0; }
.cookie-actions button:hover { background: #f1f1f1; border-color: #aaa; }

@media (min-width: 1021px) and (max-width: 1240px) {
  .account-link { display: grid; }
  .logo,
  .logo img { width: 166px; }
  .desktop-nav { gap: 12px; }
  .nav-row { gap: 10px; }
  .nav-cta { padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 1020px) {
  .mobile-menu {
    background: #fff;
    border-color: #e5e5e5;
    border-radius: 0 0 28px 28px;
  }
  .mobile-menu a { border-color: #ececec; }
}
@media (max-width: 760px) {
  .site-header { top: 12px; margin-top: 12px; width: calc(100% - 24px); }
  .nav-row { height: 68px; }
  .hero h1 { font-size: clamp(24px, 7vw, 38px); letter-spacing: -.055em; }
  .hero-inner { padding-block: 70px 58px; }
  .footer-bottom { display: grid; gap: 10px; }
  .login-body { padding: 26px 22px 28px; }
  .login-body h3 { font-size: 24px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-inner { padding: 15px; }
  .cookie-actions { display: flex; gap: 8px; }
}
@media (max-width: 420px) {
  .cookie-actions button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  #typed-service { animation: none; border: 0; padding: 0; }
}

/* Corrections issues de la revue UX, sans changer les structures validées. */
.typed-service-slot { display: inline-grid; vertical-align: baseline; }
.typed-service-slot::before { content: "Maintenance"; grid-area: 1 / 1; visibility: hidden; padding-right: 5px; }
.typed-service-slot #typed-service { grid-area: 1 / 1; justify-self: end; }
.mobile-menu a.active { color: #111; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom a { display: inline; margin-top: 0; }
@media (max-width: 420px) {
  main .btn { padding-inline: 16px; font-size: 14px; }
  .service-card .btn { padding-inline: 12px; }
  .hero-actions .btn { font-size: 16px; }
  .hero-social-proof { gap: 12px; }
}

/* Concentric capsule ends: equal optical sizes and equal horizontal/vertical insets. */
.site-header { --header-content-height: 74px; --header-control-size: 48px; --header-inset: calc((var(--header-content-height) - var(--header-control-size)) / 2); }
.site-header .nav-row {
  width: 100%;
  max-width: none;
  height: var(--header-content-height);
  padding: var(--header-inset);
}
.site-header .logo { width: auto; }
.site-header .logo img { width: auto; height: var(--header-control-size); }
.site-header .nav-actions { flex: none; }
.site-header .account-link, .site-header .menu-toggle { width: var(--header-control-size); height: var(--header-control-size); flex: none; }
.site-header .nav-dropdown:not(.mega-holder) .dropdown-panel { top: calc(100% + var(--header-inset) + 10px); }
@media (max-width: 760px) {
  .site-header { --header-content-height: 68px; --header-control-size: 44px; }
}
@media (max-width: 420px) { .site-header { --header-control-size: 40px; } }
@media (max-width: 360px) { .site-header { --header-control-size: 36px; } .site-header .nav-row { gap: 8px; } }
