:root {
  --bg-1: #eef5ff;
  --bg-2: #dbe9ff;
  --text-main: #0f2946;
  --text-muted: #3f5d80;
  --brand-1: #1f6edc;
  --brand-2: #62a4ff;
  --brand-3: #8ec7ff;
  --focus: #0d4ead;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-border: rgba(255, 255, 255, 0.64);
  --card-pad: 1.25rem;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 14px 34px rgba(16, 63, 128, 0.12);
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  line-height: 1.62;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

figure {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  margin-top: 0.62rem;
  font-size: clamp(1.45rem, 2.25vw, 2.2rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.2rem 0;
  isolation: isolate;
  overflow: hidden;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12));
  border-top: 1px solid rgba(40, 91, 161, 0.1);
  border-bottom: 1px solid rgba(40, 91, 161, 0.08);
}

.hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(229, 242, 255, 0.42));
}

#approche {
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.92), rgba(232, 243, 255, 0.76));
}

#fonctions {
  background: linear-gradient(155deg, rgba(14, 38, 67, 0.98), rgba(19, 54, 91, 0.97));
  border-top: 1px solid rgba(132, 187, 255, 0.25);
  border-bottom: 1px solid rgba(132, 187, 255, 0.2);
}

#fonctions h2 {
  color: #eaf5ff;
}

#fonctions .eyebrow {
  color: #9eccff;
}

#auto-releve h2,
#tarifs h2 {
  color: #eaf8ff;
}

#auto-releve .eyebrow {
  color: #8de8d4;
}

#tarifs .eyebrow {
  color: #b7d8ff;
}

#auto-releve p {
  color: #c8ece3;
}

#tarifs p {
  color: #eef6ff;
}

#tarifs li {
  color: #eef6ff;
}

#tarifs .pricing-copy strong {
  color: #ffffff;
}

#tarifs .price-calculator p,
#tarifs .price-calculator label,
#tarifs .price-calculator span {
  color: #173f69;
}

#tarifs .price-calculator .price-calculator__total {
  color: #0f3970;
}

#auto-releve {
  background: linear-gradient(150deg, rgba(8, 64, 69, 0.98), rgba(11, 80, 72, 0.97));
  border-top: 1px solid rgba(145, 249, 227, 0.22);
  border-bottom: 1px solid rgba(145, 249, 227, 0.16);
}

#compatibilite {
  background: linear-gradient(180deg, rgba(255, 249, 239, 0.9), rgba(232, 243, 255, 0.7));
}

#tarifs {
  background: linear-gradient(155deg, rgba(9, 34, 71, 0.99), rgba(12, 54, 110, 0.98));
  border-top: 1px solid rgba(152, 201, 255, 0.26);
  border-bottom: 1px solid rgba(152, 201, 255, 0.18);
}

#conclusion {
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.56), rgba(221, 238, 255, 0.4));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--brand-1);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero .eyebrow {
  font-size: 0.87rem;
}

.hero-flag {
  font-size: 1.15em;
  line-height: 1;
}

.lead {
  margin-top: 1.12rem;
  font-size: 1.04rem;
  max-width: 68ch;
}

.lead p {
  color: var(--text-muted);
}

.lead p + p {
  margin-top: 0.65rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(239, 247, 255, 0.72);
  border-bottom: 1px solid rgba(48, 97, 169, 0.15);
}

.nav-bar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  text-decoration: none;
  font-weight: 700;
}

.brand span {
  white-space: nowrap;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  filter: saturate(1.1) drop-shadow(0 6px 14px rgba(27, 97, 192, 0.34));
}

.eyebrow-logo,
.card-logo-inline {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: 0.94;
  filter: saturate(1.08) drop-shadow(0 3px 7px rgba(29, 95, 182, 0.22));
}

nav {
  display: flex;
  gap: 0.65rem;
  padding: 0.32rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 95, 174, 0.16);
  background: rgba(255, 255, 255, 0.5);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-login {
  padding: 0.72rem 0.9rem;
  background: rgba(15, 41, 70, 0.92);
  color: #fff;
  border-color: rgba(15, 41, 70, 0.42);
  box-shadow: 0 10px 22px rgba(15, 41, 70, 0.22);
}

.btn-login:hover {
  background: rgba(15, 41, 70, 0.98);
  filter: saturate(1.05);
}

.btn-login:focus-visible {
  outline-color: #0f2946;
}

nav a {
  text-decoration: none;
  color: #275486;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.34rem 0.58rem;
  transition: background-color 0.18s ease, color 0.18s ease;
}

nav a:hover {
  color: #123f70;
  background: rgba(255, 255, 255, 0.78);
}

.glass {
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card {
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: none;
  box-shadow: 0 20px 44px rgba(17, 63, 129, 0.16);
  border-color: rgba(31, 93, 187, 0.3);
}

.copy-align {
  padding-inline: var(--card-pad);
}

.section-head {
  max-width: 72ch;
}

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  transition: 0.18s ease;
}

.btn-primary {
  background: linear-gradient(130deg, var(--brand-1), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 84, 169, 0.27);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.58);
  color: #1a4879;
  border-color: rgba(24, 86, 170, 0.22);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.76);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.56);
  color: #1b4f83;
  border-color: rgba(24, 86, 170, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.76);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.1rem;
  align-items: center;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-visual--mobile {
  display: none;
}

.hero-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-actions--center {
  justify-content: center;
}

.hero-subline {
  margin-top: 0.82rem;
  color: #2e527f;
  font-weight: 500;
  font-size: 0.94rem;
}

.hero-visual {
  padding: 0;
  border: 0;
  overflow: visible;
  position: relative;
  min-height: 520px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 12px;
}

.hero-visual picture {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(32, 97, 194, 0.16);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  filter: none;
  border-radius: 0;
  border: 0;
  transition: none;
}

img.media-fallback {
  object-fit: contain !important;
  padding: clamp(1.2rem, 4vw, 2.8rem) !important;
  background:
    radial-gradient(320px 180px at 78% 20%, rgba(130, 187, 255, 0.34), transparent 72%),
    linear-gradient(160deg, rgba(236, 246, 255, 0.96), rgba(208, 229, 250, 0.88));
  filter: none !important;
}

.hero-caption {
  display: block;
  padding: 0.56rem 0.1rem 0;
  border-top: 0;
  background: transparent;
}

.hero-caption strong {
  display: block;
  color: #103a6e;
  font-size: 0.98rem;
}

.hero-caption span {
  display: block;
  color: #3b5f87;
  margin-top: 0.12rem;
  font-size: 0.86rem;
}

.demo-form {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.62rem;
  align-items: center;
  justify-content: center;
}

.demo-form input {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 89, 165, 0.3);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.88rem 0.92rem;
  font: inherit;
  color: #133c6d;
}

.demo-form button {
  white-space: nowrap;
}

.demo-form input::placeholder {
  color: #6984a6;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  margin: 0.7rem auto 0;
  max-width: 60ch;
  font-size: 0.92rem;
  color: #2f547f;
}

.owner-text-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.owner-text-card {
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.owner-text-card h3 {
  margin: 0;
  color: #e7fff8;
  font-size: 1rem;
}

.owner-text-card ul {
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.owner-text-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(214, 246, 238, 0.92);
  font-weight: 500;
  font-size: 1rem;
}

.owner-text-card li::before {
  content: "";
  position: absolute;
  left: 0.12rem;
  top: 0.58rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(141, 249, 227, 0.95);
  box-shadow: 0 0 0 4px rgba(141, 249, 227, 0.14);
}

.approach-head p {
  margin-top: 0.85rem;
  max-width: 70ch;
}

.approach-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.approach-feature {
  margin: 0;
}

.approach-feature .media-zoom {
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.approach-feature__img {
  width: 100%;
  height: auto;
  max-height: 360px;
  display: block;
  object-fit: contain;
  background: #f6fbff;
  border-radius: 10px;
  border: 1px solid rgba(27, 93, 185, 0.16);
}

.approach-feature figcaption {
  margin-top: 0.38rem;
  color: #244a78;
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.approach-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1.15rem;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.approach-media {
  margin: 0;
}

.approach-media .media-zoom {
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 0;
}

.approach-media__img {
  width: 100%;
  height: auto;
  max-height: 260px;
  display: block;
  object-fit: contain;
  background: #f6fbff;
  border-radius: 10px;
  border: 1px solid rgba(27, 93, 185, 0.14);
}

.approach-media figcaption {
  margin-top: 0.38rem;
  color: #284f7c;
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(180, 220, 255, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.feature-card h3 {
  margin-top: 0.18rem;
  color: #eaf5ff;
}

.feature-card p {
  margin-top: 0.48rem;
  color: rgba(234, 245, 255, 0.86);
}

.feature-card:hover {
  transform: none;
}

.media-zoom {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.media-zoom img {
  display: block;
}

.owner-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.owner-copy {
  display: grid;
  align-content: start;
  gap: 0.85rem;
}

.owner-copy h2 {
  margin-top: 0;
}

.owner-layout p {
  margin: 0;
  color: #d8f8ee;
}

.auto-photo {
  width: 100%;
  height: auto;
  max-height: 620px;
  border-radius: 16px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
  border: 1px solid rgba(164, 243, 224, 0.24);
  background: rgba(240, 251, 247, 0.2);
  filter: saturate(1.02) contrast(1.02);
}

.auto-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.auto-points li {
  position: relative;
  padding-left: 1.35rem;
  color: #d6f6ee;
  font-size: 1rem;
  font-weight: 600;
}

.auto-points li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(141, 249, 227, 0.95);
  box-shadow: 0 0 0 4px rgba(141, 249, 227, 0.18);
}

.compat-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 0.92rem;
  align-items: start;
}

.compat-layout p {
  margin-top: 0.85rem;
}

.export-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(27, 93, 185, 0.2);
  filter: saturate(1.08) contrast(1.03);
}

.export-note {
  margin: 0.75rem 0 0;
  color: #2f547f;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.pricing-copy p {
  margin-top: 0.7rem;
}

.pricing-list {
  margin: 0.72rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.42rem;
}

.pricing-list li {
  color: inherit;
}

.pricing-copy strong {
  color: #0f3b70;
}

.pricing-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: flex;
}

.price-title {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  color: #eef6ff;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
  font-weight: 700;
}

.price-calculator {
  margin-top: 0;
  border-radius: 18px;
  border: 1px solid rgba(176, 208, 247, 0.6);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(236, 246, 255, 0.95));
  box-shadow: 0 18px 34px rgba(3, 28, 72, 0.18);
  padding: 0.95rem;
  width: 100%;
}

.price-calculator__heading {
  margin: 0 0 0.6rem;
  color: #164676;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-calculator__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.price-calculator__label {
  color: #123f70;
  font-size: 0.9rem;
  font-weight: 600;
}

.price-calculator__meter-pill {
  min-width: 78px;
  text-align: center;
  border-radius: 999px;
  border: 1px solid rgba(132, 184, 246, 0.6);
  background: rgba(218, 236, 255, 0.9);
  color: #123f70;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.28rem 0.62rem;
}

.price-calculator__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(109, 165, 231, 0.46);
  margin-top: 0.7rem;
  background: linear-gradient(
    90deg,
    #1c68da 0%,
    #6aaeff var(--range-progress, 0%),
    rgba(187, 213, 243, 0.72) var(--range-progress, 0%),
    rgba(187, 213, 243, 0.72) 100%
  );
}

.price-calculator__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #1459be, #4f97ff);
  box-shadow: 0 6px 16px rgba(14, 61, 130, 0.34);
  cursor: pointer;
}

.price-calculator__range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg, #1459be, #4f97ff);
  box-shadow: 0 6px 16px rgba(14, 61, 130, 0.34);
  cursor: pointer;
}

.price-calculator__scale {
  margin-top: 0.36rem;
  display: flex;
  justify-content: space-between;
  color: #244d78;
  font-size: 0.76rem;
  font-weight: 600;
}

.module-toggle {
  margin-top: 0.68rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: #173f69;
  font-size: 0.87rem;
  border-radius: 12px;
  border: 1px solid rgba(149, 194, 245, 0.9);
  background: rgba(255, 255, 255, 0.94);
  padding: 0.48rem 0.56rem;
}

.module-toggle input {
  margin-top: 0;
  accent-color: #1f6edc;
  flex: 0 0 auto;
}

.price-calculator__result {
  margin-top: 0.62rem;
  border-radius: 13px;
  border: 1px solid rgba(156, 198, 245, 0.64);
  background: linear-gradient(150deg, rgba(233, 245, 255, 0.95), rgba(217, 237, 255, 0.92));
  padding: 0.68rem 0.75rem;
}

.price-calculator__total {
  color: #0f3970;
  font-size: 1.28rem;
  font-weight: 700;
}

.price-calculator__breakdown {
  margin-top: 0.2rem;
  color: #1f4872;
  font-size: 0.84rem;
}

.final-cta {
  text-align: center;
  border-color: rgba(26, 94, 193, 0.3);
  background:
    radial-gradient(560px 220px at 50% -16%, rgba(127, 188, 255, 0.24), transparent 72%),
    linear-gradient(160deg, rgba(248, 252, 255, 0.9), rgba(227, 240, 255, 0.72));
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.final-cta h2 {
  margin-top: 0.75rem;
}

.final-cta .demo-form {
  margin-top: 1.35rem;
}

.final-cta .demo-form input {
  box-shadow: 0 10px 24px rgba(16, 63, 128, 0.12);
}

.final-cta::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: 50%;
  top: -190px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(120, 184, 255, 0.3), transparent 72%);
  pointer-events: none;
}

.final-cta p {
  margin: 0.65rem auto 1.2rem;
  max-width: 72ch;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(36, 89, 161, 0.16);
  background: rgba(227, 239, 255, 0.45);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-content p {
  font-size: 0.92rem;
}

.footer-content div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-content a {
  text-decoration: none;
  color: #255486;
  font-weight: 500;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: clamp(0.9rem, 3vw, 2rem);
  display: grid;
  place-items: center;
  background: rgba(8, 16, 31, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__panel {
  width: min(1220px, 94vw);
  max-height: 92vh;
  border-radius: 18px;
  border: 1px solid rgba(145, 186, 246, 0.3);
  background: linear-gradient(165deg, rgba(8, 28, 54, 0.96), rgba(16, 48, 90, 0.93));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.4);
  padding: 0.85rem;
}

.lightbox__image {
  width: 100%;
  max-height: calc(92vh - 5.8rem);
  object-fit: contain;
  border-radius: 12px;
  margin-top: 0;
  background: rgba(0, 0, 0, 0.2);
  cursor: zoom-out;
}

.lightbox__caption {
  margin-top: 0.45rem;
  color: #beddff;
  font-size: 0.88rem;
}

.legal-page .hero::after {
  right: 8%;
  top: 18%;
  opacity: 0.05;
}

.legal-hero {
  padding-bottom: 4.2rem;
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-meta-row {
  margin-top: 1.05rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.legal-header-actions {
  margin-top: 0.8rem;
}

.legal-pill {
  border-radius: 999px;
  border: 1px solid rgba(23, 86, 169, 0.24);
  background: rgba(255, 255, 255, 0.76);
  color: #1d4f82;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.28rem 0.68rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 295px 1fr;
  gap: 1rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 94px;
  border-color: rgba(25, 94, 184, 0.24);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(233, 244, 255, 0.74));
}

.legal-toc h2 {
  font-size: 1rem;
  color: #18477a;
}

.legal-toc ul {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.34rem;
}

.legal-toc a {
  display: block;
  text-decoration: none;
  color: #275486;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 10px;
  padding: 0.34rem 0.46rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.legal-toc a:hover {
  color: #123f70;
  background: rgba(255, 255, 255, 0.74);
}

.legal-article {
  border-color: rgba(25, 94, 184, 0.24);
  background:
    radial-gradient(540px 240px at 92% 2%, rgba(122, 190, 255, 0.18), transparent 74%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(234, 245, 255, 0.74));
  padding: 1.5rem;
}

.legal-section + .legal-section {
  border-top: 1px solid rgba(26, 93, 184, 0.18);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.legal-section h2 {
  font-size: 1.24rem;
  color: #0f3967;
}

.legal-section h3 {
  margin-top: 0.72rem;
  color: #17477a;
}

.legal-section p + p {
  margin-top: 0.62rem;
}

.legal-article p,
.legal-article li {
  color: #2d4f75;
}

.legal-list {
  margin: 0.56rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.legal-list li + li {
  margin-top: 0.34rem;
}

.legal-list-numbered {
  padding-left: 1.4rem;
}

.legal-note {
  margin-top: 0.78rem;
  border-radius: 12px;
  border: 1px solid rgba(24, 90, 179, 0.2);
  background: rgba(255, 255, 255, 0.64);
  padding: 0.58rem 0.68rem;
}

.legal-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.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;
}

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

html.has-js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@media (max-width: 1024px) {
  html {
    scroll-padding-top: 78px;
  }

  .hero-layout,
  .compat-layout,
  .pricing-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual--desktop {
    display: none;
  }

  .hero-visual--mobile {
    display: block;
    margin: 1.05rem 0 0.95rem;
    border-radius: 0;
    overflow: visible;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-photo {
    min-height: 360px;
  }

  .hero-visual--mobile.hero-visual {
    min-height: unset;
  }

  .hero-visual--mobile .hero-photo {
    height: auto;
    min-height: unset;
    aspect-ratio: 4 / 3;
  }

  .owner-layout {
    grid-template-columns: 1fr;
  }

  .owner-text-grid {
    grid-template-columns: 1fr;
  }

  .auto-photo {
    max-height: 520px;
  }

  .approach-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
    padding: 0;
  }

  .approach-top {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .approach-feature__img {
    max-height: 300px;
  }

  .approach-media__img {
    max-height: 220px;
  }

  .legal-toc {
    position: static;
  }

  nav {
    display: none;
  }
}

@media (max-width: 740px) {
  :root {
    --card-pad: 1.05rem;
  }

  .nav-bar {
    min-height: unset;
    gap: 0.6rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    padding-block: 0.55rem;
  }

  .brand span {
    font-size: 1.06rem;
  }

  .header-actions {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .header-actions .btn {
    min-width: 0;
    white-space: nowrap;
  }

  .btn {
    padding: 0.58rem 0.74rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .btn-primary {
    box-shadow: 0 8px 18px rgba(21, 84, 169, 0.22);
  }

  .btn-login {
    padding: 0.58rem 0.74rem;
    box-shadow: none;
  }

  .section {
    padding: 4.1rem 0;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .lead {
    font-size: 1rem;
  }

  .lead p + p {
    margin-top: 0.75rem;
  }

  .demo-form {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-visual--mobile {
    margin-top: 0.95rem;
  }

  .hero-visual--mobile .hero-photo {
    aspect-ratio: 16 / 12;
  }

  .hero-caption {
    padding: 0.78rem 0.85rem 0.85rem;
  }

  .hero-caption span {
    display: none;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .card {
    padding: 1.05rem;
  }

  .approach-media .media-zoom {
    border-radius: 0;
    padding: 0;
  }

  .approach-gallery {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0;
  }

  .approach-feature__img {
    max-height: 230px;
  }

  .approach-media__img {
    max-height: 210px;
  }

  .owner-text-card {
    padding: 0.85rem 0.9rem;
  }

  .export-photo {
    height: 160px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox__panel {
    padding: 0.68rem;
  }

  .lightbox__image {
    max-height: calc(92vh - 6.2rem);
  }

  .legal-article {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  html.has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  body.legal-page {
    background: #fff !important;
    color: #000 !important;
    line-height: 1.45;
  }

  body.legal-page .bg-layer,
  body.legal-page .site-header,
  body.legal-page .site-footer,
  body.legal-page .legal-toc,
  body.legal-page .legal-header-actions,
  body.legal-page .legal-actions {
    display: none !important;
  }

  body.legal-page .section {
    padding: 0 !important;
    overflow: visible !important;
  }

  body.legal-page .container {
    width: 100% !important;
    max-width: none !important;
  }

  body.legal-page .legal-layout {
    display: block !important;
  }

  body.legal-page .hero,
  body.legal-page #approche,
  body.legal-page #fonctions,
  body.legal-page #auto-releve,
  body.legal-page #compatibilite,
  body.legal-page #tarifs,
  body.legal-page #conclusion {
    background: #fff !important;
    border: 0 !important;
  }

  body.legal-page .hero::after {
    display: none !important;
  }

  body.legal-page .card,
  body.legal-page .glass,
  body.legal-page .legal-article {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.legal-page .legal-hero {
    padding-bottom: 14pt !important;
  }

  body.legal-page .legal-article {
    padding: 0 !important;
  }

  body.legal-page .legal-section + .legal-section {
    border-top: 1px solid #d0d0d0 !important;
    margin-top: 10pt !important;
    padding-top: 10pt !important;
  }

  body.legal-page h1,
  body.legal-page h2,
  body.legal-page h3,
  body.legal-page p,
  body.legal-page li,
  body.legal-page a,
  body.legal-page .eyebrow,
  body.legal-page .legal-pill {
    color: #000 !important;
  }

  body.legal-page a {
    text-decoration: none !important;
  }

  body.legal-page .legal-section {
    break-inside: avoid;
  }
}
