/* Top 3 Web — design « Performance Elite » (maquettes) */

@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-400.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-500.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-600.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-700.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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-ext-800.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-latin-800.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;
}

:root {
  --surface: #f8f9fa;
  --surface-low: #f3f4f5;
  --surface-mid: #edeeef;
  --surface-high: #e7e8e9;
  --surface-highest: #e1e3e4;
  --white: #ffffff;
  --ink: #191c1d;
  --muted: #45474d;
  --outline: #76777d;
  --navy: #121b2f;
  --navy-deep: #0c1b35;
  --navy-soft: #7a849c;
  --orange: #fe6a17;
  --orange-deep: #a33e00;
  --orange-soft: #ffdbcd;
  --line: rgba(11, 21, 40, 0.08);
  --shadow: 0 2px 12px rgba(11, 21, 40, 0.04);
  --shadow-lg: 0 8px 24px rgba(11, 21, 40, 0.06), 0 1px 3px rgba(11, 21, 40, 0.04);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --max: 80rem;
  --header: 5rem;
  --font: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
.ico {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  display: block;
}
.icon .ico, .eyebrow .ico { width: 1.35rem; height: 1.35rem; }
.video-consent .ico { width: 4rem; height: 4rem; color: var(--orange); }
.video-consent:hover .ico { transform: scale(1.06); }
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}
iframe { border: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
html.i18n-wait body { visibility: hidden; }

.lang-switch {
  display: inline-flex;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  line-height: 1;
}
.lang-switch button.is-on {
  background: var(--navy);
  color: #fff;
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.page-loader img {
  height: 6.5rem;
  width: auto;
  animation: loader-pulse 1.15s ease-in-out infinite;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.7; }
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .wrap { width: min(var(--max), calc(100% - 6rem)); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h3 { font-size: 1.25rem; font-weight: 700; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.accent { color: var(--orange); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.section { padding: 4.5rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo img {
  height: 4.1rem;
  width: auto;
  display: block;
}
.brand-logo-footer {
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.2rem 0.45rem;
  width: max-content;
}
.brand-logo-footer img { height: 4.6rem; }
.brand-name { font-weight: 700; font-size: 1.05rem; line-height: 1; letter-spacing: -0.02em; }
.brand-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.exp-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface-mid);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.exp-pill i, .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}
@media (min-width: 1280px) { .exp-pill { display: inline-flex; } }

.nav { display: none; align-items: center; gap: 1.35rem; }
@media (min-width: 1080px) { .nav { display: flex; } }
.nav a, .nav-btn {
  background: none;
  border: 0;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
}
.nav a:hover, .nav-btn:hover, .nav a.is-active { color: var(--orange); font-weight: 700; }
.dropdown { position: relative; }
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 16.5rem;
  padding: 0.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: flex; flex-direction: column; }
.dropdown-panel a {
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
}
.dropdown-panel a:hover { background: var(--surface-high); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.phone-block { display: none; text-align: right; }
@media (min-width: 768px) { .phone-block { display: block; } }
.phone-block small {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.phone-block a { font-weight: 700; font-size: 0.92rem; letter-spacing: 0.02em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 0;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(254, 106, 23, 0.28);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #1c2b4a; }
.btn-ghost {
  background: var(--surface-high);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface-highest); }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(11, 21, 40, 0.15);
}
.btn-line:hover { background: #f0f4f8; }
.btn-sm { padding: 0.65rem 1.05rem; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.burger {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--surface-high);
  display: grid;
  place-items: center;
  gap: 4px;
  cursor: pointer;
}
.burger span { display: block; width: 1.1rem; height: 2px; background: var(--ink); }
@media (min-width: 1080px) { .burger { display: none; } }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: rgba(248, 249, 250, 0.98);
  z-index: 40;
  padding: 1.25rem;
  overflow: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a, .mobile-nav summary {
  display: block;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mobile-nav details a { font-weight: 500; color: var(--muted); padding-left: 0.6rem; }

main { padding-top: var(--header); }

/* Hero */
.hero { padding: 3rem 0 4rem; }
.hero-grid, .split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.25fr 0.9fr; gap: 4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split-7 { grid-template-columns: 1.2fr 0.8fr; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(254, 106, 23, 0.1);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0.5rem;
}
.proof-row strong { display: block; font-size: 1.2rem; }
.proof-row span { color: var(--muted); font-size: 0.85rem; }

.card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}
.card-soft { background: var(--surface-low); box-shadow: none; border-radius: var(--radius-lg); }
.tool-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-content: center;
  min-height: 22rem;
  padding: 1.15rem;
  border-radius: var(--radius-xl);
  background: #f3efe9;
  border: 1px solid rgba(18, 27, 47, 0.06);
}
.tool-tile {
  background: #fff;
  border-radius: 1rem;
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid rgba(18, 27, 47, 0.05);
}
.tool-tile img { width: 2.35rem; height: 2.35rem; }
.tool-tile span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-align: center;
  line-height: 1.25;
  max-width: 11rem;
  padding: 0 0.45rem;
}
.flags { display: flex; align-items: center; gap: 0.4rem; min-height: 1.9rem; }
.flag {
  height: 1.25rem;
  width: 1.85rem;
  border-radius: 3px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.flag-ch { width: 1.25rem; }
.kpi-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-top: 0.5rem;
}
.kpi-mini span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.kpi-mini strong { display: block; font-size: 1.25rem; }

/* Awards / expertise images */
.expertise-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 21, 40, 0.08);
  background: var(--surface-mid);
  border: 1px solid var(--line);
  transition: transform 0.35s ease;
}
.expertise-img:hover { transform: scale(1.015); }
.stat-grid, .card-grid, .steps, .certs {
  display: grid;
  gap: 1rem;
}
.stat-grid { grid-template-columns: repeat(3, 1fr); }
.stat {
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 1rem;
}
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; }
.stat span { font-size: 0.75rem; color: var(--muted); font-weight: 600; }

.band {
  background: var(--navy);
  color: #fff;
  position: relative;
}
.band .lead, .band .muted { color: var(--navy-soft); }
.feature {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(12, 27, 53, 0.55);
}
.icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  background: rgba(254, 106, 23, 0.18);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.icon .material-symbols-outlined { font-size: 1.5rem; }
.quote-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.video-frame {
  width: min(100%, 22rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.video-frame.wide { width: 100%; aspect-ratio: 16 / 9; max-width: 52rem; }
.video-frame iframe { width: 100%; height: 100%; }
.video-consent {
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at top right, rgba(254, 106, 23, 0.25), transparent 60%), var(--navy-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  font: inherit;
}
.video-consent small { color: var(--navy-soft); max-width: 16rem; }

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.client-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  height: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  overflow: hidden;
  flex: 0 0 calc((100% - 1rem) / 2);
  max-width: calc((100% - 1rem) / 2);
}
@media (min-width: 640px) {
  .client-logo {
    flex-basis: calc((100% - 3rem) / 4);
    max-width: calc((100% - 3rem) / 4);
  }
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cert-logo {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head p { max-width: 28rem; }

.card-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } .card-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* Un élément seul en fin de grille occupe toute la ligne */
@media (min-width: 720px) and (max-width: 1023px) {
  .card-grid.cols-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .card-grid.cols-3 > :last-child:nth-child(3n + 1) { grid-column: 1 / -1; }}
@media (min-width: 700px) {
  .choices > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .pillars > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

a.service-card:hover, a.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
a.service-card.service-card-cta { background: var(--navy); color: #fff; }
.service-card-cta p { color: #c3cadb; }
.service-card-cta .icon { background: var(--orange); color: #fff; }
.service-card-cta .tag { background: rgba(255, 255, 255, 0.12); color: #fff; }
.service-card-cta .card-foot { color: var(--orange); }
a.service-card.service-card-cta:hover { background: var(--navy-deep); }
a.service-card-cta:hover h3 { color: #fff; }

.t-card > p:first-child {
  position: relative;
  padding-top: 2rem;
  font-style: italic;
}
.t-card > p:first-child::before {
  content: "\201C";
  position: absolute;
  top: -1.4rem;
  left: -0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-style: normal;
  line-height: 1;
  color: var(--orange);
  opacity: 0.55;
}
.t-card .result-chip { align-self: flex-start; margin-top: auto; }

.service-card, .t-card, .step, .post-card, .legal-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(254, 106, 23, 0.1);
  color: var(--orange);
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
}
.service-card h3 { transition: color 0.15s; }
a.service-card:hover h3 { color: var(--orange); }
.card-foot {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.bg-low { background: var(--surface-low); }
.step .num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(254, 106, 23, 0.12);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step .num.on { background: var(--orange); color: #fff; }

.metrics {
  margin-top: 2rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 1rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .metrics { grid-template-columns: repeat(4, 1fr); padding: 2.5rem; }
  .metrics > div + div { border-left: 1px solid rgba(122, 132, 156, 0.35); }
}
.metrics strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.metrics span { color: var(--navy-soft); font-size: 0.875rem; }
.metrics .hot { color: var(--orange); }

.stars { color: var(--orange); letter-spacing: 0.1em; font-size: 0.95rem; }
.result-chip {
  display: inline-block;
  background: var(--surface-low);
  color: var(--orange);
  font-weight: 800;
  border-radius: 0.6rem;
  padding: 0.35rem 0.7rem;
}
.person { display: flex; align-items: center; gap: 0.8rem; padding-top: 0.4rem; }
.person strong { display: block; }
.person span { color: var(--muted); font-size: 0.875rem; }

.certs {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (min-width: 900px) { .certs { grid-template-columns: repeat(4, 1fr); } }
.cert { display: flex; align-items: center; gap: 0.7rem; }
.cert strong { display: block; font-size: 0.9rem; }
.cert span { font-size: 0.75rem; color: var(--muted); }

.cta-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 1.6rem;
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 800px) { .cta-panel { padding: 3.2rem; } }
.form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(11, 21, 40, 0.12);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}
.cta-panel input, .cta-panel select, .cta-panel textarea { border: 0; }
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(254, 106, 23, 0.2);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: 0.75rem; color: var(--navy-soft); text-align: center; }
.form-success {
  display: none;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  font-weight: 600;
}
.form-success.is-on { display: block; }

.field-error {
  color: #9f1239;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #be123c;
  box-shadow: 0 0 0 3px rgba(190, 18, 60, 0.12);
}
.form-error {
  margin: 0;
  color: #9f1239;
  background: #fff1f2;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.btn.is-loading { cursor: progress; }
.btn.is-loading .btn-spinner { display: block; }
.btn.is-loading:hover { transform: none; }
.btn.is-loading .ico { display: none; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: none; }
}
.js-lead-form.is-sent .form-body { display: none; }
.js-lead-form .form-body > .btn,
.js-lead-form .form-body .center > .btn { margin-top: 0.85rem; }
.form-sent {
  text-align: center;
  padding: 1.4rem 0.4rem 0.3rem;
}
.form-sent h2 { font-size: 1.55rem; margin: 0 0 0.45rem; }
.form-sent p { color: var(--muted); margin: 0 0 1.2rem; }
.form-sent strong { color: var(--ink); }
.form-check {
  width: 3.6rem;
  height: 3.6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 22px rgba(254, 106, 23, 0.35);
}
.form-sent h2:focus { outline: none; }
.cta-panel .form-sent h2,
.cta-panel .form-sent strong { color: #fff; }
.cta-panel .form-sent p { color: rgba(255, 255, 255, 0.82); }
.cta-panel .field-error { color: #ffe4e6; }
.cta-panel .form-error { color: #fff; background: rgba(159, 18, 57, 0.55); }
.cta-panel .form-sent .btn-line {
  background: #fff;
  color: var(--navy);
  border-color: transparent;
}

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 4rem 0 2rem; }
.foot-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 0.55fr 1.15fr; } }
.site-footer a { color: var(--navy-soft); }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pills span {
  background: var(--navy-deep);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
}
.foot-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(122, 132, 156, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--navy-soft);
  font-size: 0.875rem;
}
.socials { display: flex; gap: 0.8rem; margin-top: 0.4rem; }

/* Inner pages */
.page-hero { padding: 2.5rem 0 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.filter-btn {
  border: 0;
  background: var(--surface-mid);
  color: var(--muted);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-btn.is-on, .filter-btn:hover { background: var(--navy); color: #fff; }

.catalog { display: grid; gap: 1.25rem; }
.catalog-item {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .catalog-item { padding: 2.2rem; display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 2rem; align-items: center; }
}
.pillars { display: grid; gap: 0.7rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  display: flex;
  gap: 0.7rem;
  background: var(--surface-low);
  border-radius: var(--radius-lg);
  padding: 0.8rem;
}
.pillar strong { display: block; font-size: 0.9rem; }
.pillar span { font-size: 0.82rem; color: var(--muted); }

.faq details {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.faq details + details { margin-top: 0.6rem; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 0.6rem 0 0; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.check-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.check-list .material-symbols-outlined { color: var(--orange); font-size: 1.2rem; }

.choices { display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--surface-mid);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  cursor: pointer;
}
.choice:has(input:checked) { background: rgba(254, 106, 23, 0.12); outline: 1px solid rgba(254, 106, 23, 0.35); }
.choice input { width: auto; margin-top: 0.2rem; }
.budgets { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.budgets label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
  background: var(--surface-mid);
  border-radius: var(--radius);
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}
.budgets label:has(input:checked) { background: var(--navy); color: #fff; }
.budgets input { position: absolute; opacity: 0; pointer-events: none; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin: 1.8rem 0 0.5rem; }
.prose h3 { font-size: 1.1rem; margin: 1.2rem 0 0.4rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.1rem; }
.placeholder {
  background: #fff7ed;
  border-left: 3px solid var(--orange);
  padding: 0.7rem 0.9rem;
  border-radius: 0 0.5rem 0.5rem 0;
  color: var(--ink);
}

.cookie {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
}
.cookie.is-on { display: flex; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: 0.9rem; max-width: 46rem; }

.reveal { animation: rise 0.6s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.map-frame {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--surface-mid);
}

.white { background: #fff; }
.disclaimer { font-size: 0.8rem; color: var(--muted); margin: 0.8rem 0 0; }

@media (max-width: 700px) {
  .stat-grid, .proof-row { grid-template-columns: 1fr; }
  .header-cta span.long { display: none; }
}
