:root {
  --tv-blue: #316da5;
  --tv-blue-dark: #173f65;
  --tv-blue-deep: #102e4b;
  --tv-blue-soft: #eaf3fb;
  --tv-blue-pale: #f4f8fc;
  --tv-green: #16865f;
  --tv-green-soft: #e5f5ee;
  --tv-purple: #7554c7;
  --tv-purple-soft: #f0ebfb;
  --tv-orange: #d88119;
  --tv-text: #14243a;
  --tv-muted: #5d7188;
  --tv-border: #cbdbea;
  --tv-surface: #ffffff;
  --tv-page: #f7fafc;
  --tv-shadow: 0 22px 60px rgba(23, 63, 101, 0.12);
  --tv-radius-lg: 24px;
  --tv-radius-md: 16px;
  --tv-radius-sm: 10px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--tv-page);
  color: var(--tv-text);
  font-family: Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
output {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button,
.button,
.main-navigation a {
  touch-action: manipulation;
}

svg {
  display: block;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(58px, 6vw, 88px);
}

#solutions,
#eco-securite,
#benefices,
#simulateur,
#fonctionnement {
  scroll-margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--tv-blue-deep);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(184, 205, 225, 0.78);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(23, 63, 101, 0.045);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--tv-blue-deep);
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: var(--tv-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .brand-pin {
  fill: var(--tv-blue);
  stroke: var(--tv-blue);
}

.brand-mark .brand-pin-dot {
  fill: #fff;
  stroke: #fff;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.15vw, 30px);
}

.language-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.language-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  border: 1px solid #d1d7e2;
  border-radius: 8px;
  background: #fff;
  color: var(--tv-blue);
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  border-color: #8db3d4;
  background: #f8fbfe;
}

.language-toggle .flag {
  width: 20px;
  height: 14px;
}

.language-caret {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.language-toggle[aria-expanded="true"] .language-caret {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  z-index: 150;
  top: calc(100% + 8px);
  right: 0;
  min-width: 138px;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 63, 101, 0.18);
}

.language-options[hidden] {
  display: none;
}

.language-option {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #334c66;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.is-active {
  background: var(--tv-blue-soft);
  color: var(--tv-blue);
}

.language-option.is-active::after {
  content: "✓";
  margin-left: auto;
  color: var(--tv-blue);
}

.flag {
  width: 23px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.22);
}

.flag-fr {
  background: linear-gradient(90deg, #1f4aa8 0 33.333%, #fff 33.333% 66.666%, #ef4135 66.666% 100%);
}

.flag-gb {
  background-color: #012169;
  background-image:
    linear-gradient(27deg, transparent 39%, #fff 39% 45%, #c8102e 45% 49%, #fff 49% 55%, transparent 55%),
    linear-gradient(-27deg, transparent 39%, #fff 39% 45%, #c8102e 45% 49%, #fff 49% 55%, transparent 55%),
    linear-gradient(90deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 36%, #fff 36% 64%, transparent 64%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 42%, #c8102e 42% 58%, transparent 58%);
}

.main-navigation > a:not(.button) {
  position: relative;
  padding-block: 10px;
  color: #334c66;
  font-size: 0.91rem;
  font-weight: 700;
  white-space: nowrap;
}

.login-link {
  min-height: 38px;
  padding: 7px 13px;
  gap: 7px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.login-link svg {
  width: 17px;
  height: 17px;
}

.main-navigation > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--tv-blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-navigation > a:not(.button):hover::after,
.main-navigation > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--tv-border);
  border-radius: 9px;
  background: #fff;
  color: var(--tv-blue);
  cursor: pointer;
}

.header-mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 9px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.main-navigation a:focus-visible,
.solution-card a:focus-visible,
.site-footer a:focus-visible,
.menu-toggle:focus-visible,
.language-toggle:focus-visible,
.language-option:focus-visible,
input[type="range"]:focus-visible {
  outline: 3px solid rgba(49, 109, 165, 0.25);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--tv-blue);
  background: var(--tv-blue);
  box-shadow: 0 10px 24px rgba(49, 109, 165, 0.22);
  color: #fff;
}

.button-primary:hover {
  background: #285e91;
  box-shadow: 0 14px 30px rgba(49, 109, 165, 0.28);
}

.button-outline {
  border-color: #8db3d4;
  background: #f8fbfe;
  color: var(--tv-blue);
}

.button-outline:hover {
  border-color: var(--tv-blue);
  background: var(--tv-blue-soft);
}

.button-quiet {
  border-color: var(--tv-border);
  background: #fff;
  color: var(--tv-blue-dark);
}

.button-quiet:hover {
  border-color: #90b6d7;
  box-shadow: 0 8px 22px rgba(23, 63, 101, 0.08);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding-top: clamp(72px, 8vw, 112px);
  background:
    linear-gradient(180deg, #f5f9fd 0%, #fff 71%, #f7fafc 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(49, 109, 165, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 109, 165, 0.07) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  width: 480px;
  height: 480px;
  top: 48px;
  right: -150px;
  background: radial-gradient(circle, rgba(49, 109, 165, 0.16), rgba(49, 109, 165, 0));
}

.hero-glow-two {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: -180px;
  background: radial-gradient(circle, rgba(117, 84, 199, 0.1), rgba(117, 84, 199, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(470px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--tv-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.115em;
  line-height: 1.25;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--tv-blue-deep);
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--tv-blue);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--tv-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 23px;
  margin: 28px 0 0;
  padding: 0;
  color: #526a82;
  font-size: 0.86rem;
  list-style: none;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--tv-green-soft);
  fill: none;
  stroke: var(--tv-green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  min-width: 0;
}

.fleet-illustration {
  width: min(100%, 720px);
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.float-card {
  animation: card-float 6s ease-in-out infinite;
}

.float-card-two {
  animation-delay: -2s;
}

.float-card-three {
  animation-delay: -4s;
}

.route-pulse circle:last-child {
  transform-box: fill-box;
  transform-origin: center;
  animation: route-ping 2.7s ease-out infinite;
}

.route-pulse-delay circle:last-child {
  animation-delay: -0.9s;
}

.route-pulse-late circle:last-child {
  animation-delay: -1.8s;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes route-ping {
  0% { opacity: 0.55; transform: scale(0.5); }
  70%, 100% { opacity: 0; transform: scale(1.8); }
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: clamp(50px, 7vw, 84px);
  overflow: hidden;
  border: 1px solid var(--tv-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 35px rgba(23, 63, 101, 0.07);
}

.capability-strip span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 12px 10px;
  color: #536a82;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.capability-strip span + span::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 1px;
  background: var(--tv-border);
}

.solutions {
  background: #fff;
}

.eco-safety {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 28%, rgba(34, 158, 112, 0.12), transparent 31%),
    linear-gradient(180deg, #f2faf6 0%, #eaf7f1 100%);
}

.eco-safety::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(22, 134, 95, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 134, 95, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 64%);
  pointer-events: none;
}

.eco-safety-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(450px, 1.06fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.eco-safety-copy h2 {
  margin: 0;
  color: #123e30;
  font-size: clamp(2.25rem, 4.3vw, 3.75rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.eco-safety-copy h2 em {
  color: var(--tv-green);
  font-style: normal;
}

.eco-safety .eyebrow {
  color: var(--tv-green);
}

.eco-safety-intro {
  max-width: 610px;
  margin: 20px 0 0;
  color: #587469;
  font-size: 1.05rem;
}

.eco-safety-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.eco-safety-points article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.eco-safety-points article:hover {
  transform: translateX(4px);
  border-color: #b8dccb;
  background: rgba(255, 255, 255, 0.68);
}

.eco-point-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 92, 66, 0.1);
  color: var(--tv-green);
}

.eco-point-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-safety-points h3 {
  margin: 0 0 3px;
  color: #153d30;
  font-size: 1rem;
}

.eco-safety-points p {
  margin: 0;
  color: #5d776d;
  font-size: 0.89rem;
}

.eco-safety-visual {
  min-width: 0;
}

.eco-safety-visual > svg {
  width: min(100%, 640px);
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.eco-node {
  animation: eco-node-float 5.5s ease-in-out infinite;
}

.eco-node-shield {
  animation-delay: -2.7s;
}

@keyframes eco-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.section-heading {
  max-width: 760px;
  margin: 0 auto clamp(42px, 6vw, 68px);
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.benefits-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--tv-blue-deep);
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.benefits-intro {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--tv-muted);
  font-size: 1.06rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  background: #fff;
  box-shadow: 0 12px 36px rgba(23, 63, 101, 0.055);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: currentColor;
}

.solution-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--tv-shadow);
}

.solution-blue { color: var(--tv-blue); }
.solution-green { color: var(--tv-green); }
.solution-purple { color: var(--tv-purple); }

.solution-number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.solution-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 14px;
  background: color-mix(in srgb, currentColor 11%, #fff);
}

.solution-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-kicker {
  margin: 0 0 6px;
  color: currentColor;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-card h3 {
  margin: 0 0 12px;
  color: var(--tv-text);
  font-size: 1.52rem;
  line-height: 1.15;
}

.solution-card > p:not(.solution-kicker) {
  min-height: 76px;
  margin: 0;
  color: var(--tv-muted);
}

.solution-card ul {
  display: grid;
  gap: 10px;
  margin: 23px 0;
  padding: 20px 0 20px 20px;
  border-block: 1px solid #e1eaf2;
  color: #3e536b;
  font-size: 0.91rem;
}

.solution-card li::marker {
  color: currentColor;
}

.solution-card > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: currentColor;
  font-size: 0.9rem;
  font-weight: 800;
}

.solution-card > a span {
  transition: transform 160ms ease;
}

.solution-card > a:hover span {
  transform: translateX(4px);
}

.benefits {
  overflow: hidden;
  padding-top: clamp(36px, 4.2vw, 58px);
  background: var(--tv-blue-pale);
}

.benefits-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(55px, 8vw, 112px);
}

.benefits-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.benefits-visual::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 109, 165, 0.16), rgba(49, 109, 165, 0));
}

.orbit {
  position: absolute;
  inset: 7%;
  border: 1.5px dashed #9abbd8;
  border-radius: 50%;
}

.orbit-small {
  inset: 22%;
  border-style: solid;
  border-color: #cfdfed;
}

.benefit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid #97b9d6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 63, 101, 0.14);
  color: var(--tv-blue);
  text-align: center;
}

.benefit-center svg {
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-center strong {
  color: var(--tv-blue-deep);
}

.benefit-center span {
  color: var(--tv-muted);
  font-size: 0.8rem;
}

.orbit-node {
  position: absolute;
  min-width: 112px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid var(--tv-border);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 63, 101, 0.11);
  color: var(--tv-blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.orbit-node svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-one { top: 4%; left: 36%; }
.node-two { right: -1%; bottom: 24%; color: var(--tv-green); }
.node-three { bottom: 7%; left: 1%; color: var(--tv-purple); }

.benefits-copy .eyebrow {
  margin-bottom: 16px;
}

.benefits-intro {
  margin-inline: 0;
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.benefit-list article:hover {
  border-color: var(--tv-border);
  background: rgba(255, 255, 255, 0.7);
}

.benefit-check {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tv-blue-soft);
  color: var(--tv-blue);
}

.benefit-check svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-list h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.benefit-list p {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.91rem;
}

.simulator {
  position: relative;
  overflow: hidden;
  padding-block: clamp(24px, 2.4vw, 34px);
  background:
    radial-gradient(circle at 8% 15%, rgba(117, 84, 199, 0.24), transparent 27%),
    radial-gradient(circle at 92% 90%, rgba(49, 109, 165, 0.32), transparent 30%),
    var(--tv-blue-deep);
}

.simulator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.simulator .shell {
  position: relative;
}

.simulator .section-heading {
  max-width: 1120px;
  margin-bottom: clamp(22px, 2.5vw, 32px);
}

.simulator .section-heading h2 {
  font-size: clamp(2.1rem, 3.1vw, 3.25rem);
  white-space: nowrap;
}

.simulator .section-heading > p:last-child {
  margin-top: 10px;
}

.section-heading-light h2 {
  color: #fff;
}

.section-heading-light .eyebrow {
  color: #90c4ed;
}

.section-heading-light > p:last-child {
  color: #c4d7e8;
}

.simulator-panel {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  overflow: hidden;
  border: 1px solid rgba(180, 210, 237, 0.25);
  border-radius: var(--tv-radius-lg);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.19);
  backdrop-filter: blur(12px);
}

.simulator-controls {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 2.4vw, 28px) clamp(30px, 3.5vw, 42px);
}

.range-field {
  min-width: 0;
}

.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
  color: #fff;
}

.range-label label {
  font-size: 0.91rem;
  font-weight: 700;
}

.number-entry {
  min-width: 108px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(173, 208, 237, 0.36);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 0.89rem;
  font-weight: 800;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.number-entry:focus-within {
  border-color: #8dcaef;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(115, 178, 229, 0.2);
}

.number-entry.is-invalid {
  border-color: #ffaaa5;
  background: rgba(151, 32, 32, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 120, 112, 0.13);
}

.number-entry input[type="number"] {
  width: 72px;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: 1.2;
  text-align: right;
  appearance: textfield;
}

.number-entry input[type="number"]::-webkit-inner-spin-button,
.number-entry input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.number-entry > span {
  flex: 0 0 auto;
  color: #dbeaf6;
}

.range-feedback {
  min-height: 0;
  margin: 2px 0 0;
  color: #ffcdc9;
  font-size: 0.72rem;
  line-height: 1.2;
}

.range-feedback:empty {
  display: none;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  margin: 0;
  border-radius: 999px;
  background: linear-gradient(to right, #73b2e5 0 var(--range-progress, 50%), rgba(255, 255, 255, 0.2) var(--range-progress, 50%) 100%);
  cursor: pointer;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--tv-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  appearance: none;
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--tv-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #8facbf;
  font-size: 0.72rem;
}

.simulator-results {
  position: relative;
  padding: clamp(28px, 3vw, 36px) clamp(30px, 3.5vw, 42px);
  background: #fff;
  color: var(--tv-text);
}

.simulator-results::before {
  content: "";
  position: absolute;
  top: 28px;
  right: 30px;
  width: 68px;
  height: 68px;
  border: 13px solid var(--tv-blue-soft);
  border-right-color: var(--tv-blue);
  border-radius: 50%;
  opacity: 0.6;
}

.result-label {
  position: relative;
  margin: 0 0 3px;
  color: var(--tv-muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-total {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--tv-blue);
}

.result-total strong {
  font-size: clamp(2.6rem, 4.4vw, 3.85rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.result-total span {
  color: var(--tv-muted);
  font-weight: 700;
}

.result-breakdown {
  display: grid;
  gap: 2px;
  margin-bottom: 14px;
}

.result-breakdown > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #e2ebf3;
}

.result-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
}

.result-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-icon-blue { background: var(--tv-blue-soft); color: var(--tv-blue); }
.result-icon-green { background: var(--tv-green-soft); color: var(--tv-green); }
.result-icon-purple { background: var(--tv-purple-soft); color: var(--tv-purple); }

.result-breakdown p {
  display: flex;
  flex: 1;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.result-breakdown strong {
  font-size: 1.05rem;
}

.result-breakdown p span {
  color: var(--tv-muted);
  font-size: 0.83rem;
}

.button-white {
  width: 100%;
  border-color: var(--tv-blue);
  background: var(--tv-blue);
  color: #fff;
}

.button-white:hover {
  background: #285e91;
  box-shadow: 0 12px 26px rgba(49, 109, 165, 0.22);
}

.simulator-note {
  margin: 12px 0 0;
  color: #74869a;
  font-size: 0.7rem;
  line-height: 1.35;
}

.workflow {
  background: #fff;
}

.workflow-map {
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr;
  align-items: center;
  gap: 16px;
}

.workflow-map article {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius-md);
  background: var(--tv-blue-pale);
  text-align: center;
}

.workflow-step {
  position: absolute;
  top: 14px;
  left: 17px;
  color: #7b91a8;
  font-size: 0.76rem;
  font-weight: 800;
}

.workflow-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 63, 101, 0.1);
  color: var(--tv-blue);
}

.workflow-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-map h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.workflow-map p {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.89rem;
}

.workflow-arrow svg {
  width: 100%;
  fill: none;
  stroke: #9abbd8;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final-cta {
  padding-bottom: clamp(70px, 9vw, 110px);
  background: #fff;
}

.final-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid #b8d0e5;
  border-radius: var(--tv-radius-lg);
  background: linear-gradient(120deg, #eef6fc, #f8fbfe 58%, #eee9fb);
}

.final-cta-inner::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -110px;
  bottom: -140px;
  border: 35px solid rgba(49, 109, 165, 0.1);
  border-radius: 50%;
}

.final-cta .eyebrow {
  margin-bottom: 12px;
}

.final-cta h2 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
}

.final-cta p:last-child {
  margin: 13px 0 0;
  color: var(--tv-muted);
}

.final-cta .button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid #dbe6ef;
  background: var(--tv-blue-deep);
  color: #d4e3ef;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark {
  stroke: #8ac4ee;
}

.brand-footer .brand-mark .brand-pin {
  fill: #8ac4ee;
  stroke: #8ac4ee;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: #fff;
}

.copyright {
  color: #9fb5c7;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.solution-grid .reveal:nth-child(2) { transition-delay: 90ms; }
.solution-grid .reveal:nth-child(3) { transition-delay: 180ms; }

@media (max-width: 1050px) {
  .main-navigation {
    gap: 15px;
  }

  .main-navigation > a:not(.button) {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.98fr);
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.3vw, 4.35rem);
  }

  .solution-card {
    padding: 25px 22px;
  }

  .eco-safety-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    gap: 30px;
  }

  .workflow-map {
    grid-template-columns: 1fr 55px 1fr 55px 1fr;
    gap: 10px;
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header-mobile-actions {
    display: flex;
  }

  .header-mobile-actions .menu-toggle {
    display: block;
  }

  .main-navigation > .language-switch {
    display: none;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--tv-border);
    background: #fff;
    box-shadow: 0 20px 35px rgba(23, 63, 101, 0.12);
    max-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation > a:not(.button) {
    padding: 10px 4px;
    font-size: 0.95rem;
  }

  .main-navigation > a:not(.button)::after {
    display: none;
  }

  .login-link {
    margin-top: 4px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--tv-border);
    background: #fff;
    box-shadow: 0 20px 35px rgba(23, 63, 101, 0.12);
    max-height: calc(100dvh - 68px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .main-navigation.is-open {
    display: grid;
  }

  .main-navigation > a:not(.button) {
    padding: 10px 4px;
    font-size: 0.95rem;
  }

  .main-navigation > a:not(.button)::after {
    display: none;
  }

  .login-link {
    margin-top: 4px;
  }

  .hero {
    padding-top: 74px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }

  .hero-intro {
    margin-inline: auto;
  }

  .hero-visual {
    max-width: 690px;
    margin: -10px auto 0;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    max-width: 690px;
    margin-inline: auto;
  }

  .solution-card > p:not(.solution-kicker) {
    min-height: auto;
  }

  .eco-safety-grid {
    grid-template-columns: 1fr;
  }

  .eco-safety-copy {
    max-width: 720px;
    margin-inline: auto;
  }

  .eco-safety-visual {
    width: min(100%, 660px);
    margin: -20px auto 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .benefits-copy {
    max-width: 700px;
    margin-inline: auto;
  }

  .simulator .section-heading h2 {
    white-space: normal;
  }

  .simulator-panel {
    grid-template-columns: 1fr;
  }

  .simulator-controls {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-map {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }

  .workflow-arrow {
    width: 55px;
    transform: rotate(90deg);
    justify-self: center;
  }

  .workflow-map article {
    min-height: 220px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-footer .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .shell {
    width: 100%;
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
  }

  .section-pad {
    padding-block: 72px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.65rem);
  }

  .hero-intro {
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .capability-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .capability-strip span {
    min-height: 52px;
  }

  .capability-strip span + span::before {
    display: none;
  }

  .capability-strip span:last-child {
    border-top: 1px solid var(--tv-border);
  }

  .capability-strip span:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .capability-strip span:nth-child(even) {
    border-left: 1px solid var(--tv-border);
  }

  .capability-strip span:nth-child(n+3) {
    border-top: 1px solid var(--tv-border);
  }

  .section-heading {
    text-align: left;
  }

  .section-heading .eyebrow {
    justify-content: flex-start;
  }

  .section-heading h2,
  .benefits-copy h2,
  .eco-safety-copy h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .eco-safety {
    padding-block: 68px 52px;
  }

  .eco-safety-points article {
    padding-inline: 0;
  }

  .eco-safety-points article:hover {
    transform: none;
    border-color: transparent;
    background: transparent;
  }

  .eco-safety-visual {
    width: calc(100% + 18px);
    margin-left: -9px;
  }

  .section-heading > p:last-child {
    margin-inline: 0;
  }

  .benefits-visual {
    width: calc(100% - 10px);
  }

  .benefit-center {
    width: 126px;
    height: 126px;
  }

  .orbit-node {
    min-width: 0;
    padding: 9px;
  }

  .orbit-node span {
    display: none;
  }

  .node-one { left: 43%; }
  .node-two { right: 1%; }

  .benefit-list article {
    padding-inline: 0;
  }

  .simulator-controls {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-inline: 22px;
  }

  .simulator-results {
    padding-inline: 22px;
  }

  .simulator-results::before {
    top: 30px;
    right: 22px;
    width: 58px;
    height: 58px;
    border-width: 11px;
  }

  .result-total strong {
    font-size: 2.7rem;
  }

  .final-cta-inner {
    display: grid;
  }

  .final-cta .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand-footer,
  .site-footer nav {
    justify-content: center;
  }

  .site-footer {
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 430px) {
  .section-pad {
    padding-block: 62px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13.4vw, 3.3rem);
  }

  .hero-trust {
    gap: 10px 14px;
    font-size: 0.78rem;
  }

  .solution-card {
    padding: 24px 19px;
  }

  .eco-safety {
    padding-top: 56px;
  }

  .benefits {
    padding-top: 30px;
  }

  .benefit-list article {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .range-label {
    align-items: flex-start;
  }

  .range-label label {
    max-width: 62%;
  }

  .number-entry {
    min-width: 94px;
  }

  .number-entry input[type="number"] {
    width: 60px;
  }

  .result-breakdown p {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .workflow-map article {
    min-height: 205px;
    padding-inline: 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .main-navigation {
    grid-template-columns: 1fr 1fr;
  }

  .main-navigation .language-switch,
  .main-navigation .login-link {
    grid-column: 1 / -1;
  }
}

@media (hover: none) {
  .button:hover,
  .solution-card:hover {
    transform: none;
  }
}

/* Page publique de demande de devis et d'information. */
.contact-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 12%, rgba(49, 109, 165, 0.12), transparent 32%),
    radial-gradient(circle at 92% 82%, rgba(22, 134, 95, 0.1), transparent 28%),
    #f4f8fc;
}

.contact-header-inner {
  min-height: 66px;
}

.contact-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-back-link {
  color: #334c66;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-back-link:hover {
  color: var(--tv-blue);
}

.contact-language-picker {
  position: relative;
}

.contact-language-picker summary {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #d1d7e2;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.contact-language-picker summary::-webkit-details-marker {
  display: none;
}

.contact-language-picker[open] summary {
  border-color: #8db3d4;
  box-shadow: 0 0 0 3px rgba(49, 109, 165, 0.12);
}

.contact-language-picker > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  min-width: 142px;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 63, 101, 0.18);
}

.contact-language-picker > div a {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border-radius: 7px;
  color: #334c66;
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-language-picker > div a:hover,
.contact-language-picker > div a.is-active {
  background: var(--tv-blue-soft);
  color: var(--tv-blue);
}

.contact-main {
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: center;
  padding-block: clamp(32px, 5vw, 68px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
  align-items: start;
  gap: clamp(38px, 6vw, 82px);
}

.contact-introduction {
  padding-top: clamp(24px, 3vw, 38px);
}

.contact-introduction h1 {
  max-width: 650px;
  margin: 14px 0 18px;
  color: var(--tv-blue-deep);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 0.99;
  letter-spacing: -0.052em;
}

.contact-lead {
  max-width: 590px;
  margin: 0;
  color: var(--tv-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.contact-promise {
  max-width: 560px;
  margin-top: 34px;
  padding: 24px 26px;
  border: 1px solid rgba(141, 179, 212, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(23, 63, 101, 0.08);
}

.contact-promise h2 {
  margin: 0 0 5px;
  color: var(--tv-blue-deep);
  font-size: 1.12rem;
}

.contact-promise p {
  margin: 0;
  color: var(--tv-muted);
}

.contact-promise ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-promise li {
  position: relative;
  padding-left: 28px;
  color: #284763;
  font-weight: 700;
}

.contact-promise li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tv-green-soft);
  color: var(--tv-green);
  font-size: 0.75rem;
}

.contact-form-card {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(184, 205, 225, 0.85);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--tv-shadow);
}

.contact-form-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-form-heading .eyebrow {
  margin-bottom: 5px;
}

.contact-form-heading h2 {
  margin: 0;
  color: var(--tv-blue-deep);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.contact-form-heading small,
.contact-field small {
  color: var(--tv-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 18px;
}

.contact-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  color: #29445f;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c5d7e7;
  border-radius: 9px;
  background: #fff;
  color: var(--tv-text);
  font: inherit;
  font-weight: 500;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-field textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--tv-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(49, 109, 165, 0.14);
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea,
.contact-consent.has-error {
  border-color: #d23b3b;
  box-shadow: 0 0 0 3px rgba(210, 59, 59, 0.1);
}

.contact-topics {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-topics legend {
  margin-bottom: 8px;
  color: #29445f;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-topics > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contact-topics label {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #d8e4ee;
  border-radius: 9px;
  background: #f8fbfe;
  color: #39536d;
  cursor: pointer;
}

.contact-topics input,
.contact-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--tv-blue);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d8e4ee;
  border-radius: 9px;
  background: #f8fbfe;
  color: #526a81;
  font-size: 0.82rem;
}

.contact-consent input {
  margin-top: 2px;
}

.contact-submit {
  display: flex;
  justify-content: flex-end;
}

.contact-alert {
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #efb6b6;
  border-radius: 9px;
  background: #fff1f1;
  color: #a52121;
  font-weight: 700;
}

.contact-alert ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding-left: 20px;
  font-weight: 600;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-success {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.contact-success > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tv-green-soft);
  color: var(--tv-green);
  font-size: 2rem;
  font-weight: 800;
}

.contact-success h2 {
  margin: 20px 0 8px;
  color: var(--tv-blue-deep);
  font-size: 2rem;
}

.contact-success p {
  max-width: 480px;
  margin: 0 0 24px;
  color: var(--tv-muted);
}

@media (max-width: 980px) {
  .contact-main {
    align-items: start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-introduction {
    padding-top: 0;
    text-align: center;
  }

  .contact-introduction .eyebrow {
    justify-content: center;
  }

  .contact-introduction h1,
  .contact-lead,
  .contact-promise {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .contact-header-inner {
    min-height: 62px;
    gap: 10px;
  }

  .contact-header-actions {
    gap: 8px;
  }

  .contact-header-actions .login-link,
  .contact-back-link {
    display: none;
  }

  .contact-main {
    padding-block: 24px 40px;
  }

  .contact-layout {
    width: min(calc(100% - 24px), var(--shell));
  }

  .contact-introduction h1 {
    font-size: clamp(2.3rem, 13vw, 3.25rem);
  }

  .contact-promise {
    padding: 20px;
  }

  .contact-form-card {
    padding: 21px 16px;
    border-radius: 18px;
  }

  .contact-form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .contact-topics > div {
    grid-template-columns: 1fr;
  }

  .contact-submit .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
