:root {
  --primary: #11d39c;
  --primary-bright: #13d3a0;
  --primary-dark: #047a55;
  --teal: #007182;
  --dark: #032d4f;
  --gray: #5b7782;
  --gray-light: #e8eef0;
  --white: #fff;
  --glow: 0 0 20px rgba(255, 255, 255, 0.55);
  --shadow: 0 8px 32px rgba(3, 45, 79, 0.14);
  --radius: 12px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.lang-de, .lang-en { display: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ——— Loading (site original) ——— */
#block {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
}
#block .layer {
  position: absolute;
  inset: 0;
}
#block .seagreen {
  background: #75909a;
  animation: slideOutLeft 1s forwards;
  animation-delay: 0.65s;
}
#block .gray {
  background: var(--primary);
  animation: slideOutLeft 1.75s forwards;
}
@keyframes slideOutLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (max-width: 768px) {
  #block { display: none; }
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
}
.nav-logo img { height: 2.5rem; }
.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang-select-wrap {
  border: 1px solid #ddd;
  padding: 3px;
  border-radius: 12px;
}
.lang-select-wrap select {
  border: none;
  outline: none;
  padding: 6px 14px;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--white);
}
.nav-cta {
  padding: 0.55rem 1.1rem;
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s;
}
.nav-cta:hover {
  background: var(--dark);
  transform: translateY(-1px);
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
@media (max-width: 480px) {
  .nav-row {
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
  }
  .nav-logo {
    flex: 0 1 auto;
    min-width: 0;
  }
  .nav-logo img {
    width: 112px;
    height: auto;
  }
  .nav-actions {
    flex: 0 0 auto;
    gap: 0.4rem;
  }
  .lang-select-wrap select {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  .nav-cta {
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
    line-height: 1;
  }
}

/* ——— Hero (Bg_sec_1 + courbe) ——— */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 4rem 1rem 7rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/Bg_sec_1.webp?v=202605220700") center/cover no-repeat;
  transform: scaleX(-1);
  filter: brightness(1.2) saturate(1.18) sepia(0.18) hue-rotate(-8deg) contrast(1.02);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 80% 8%, rgba(255, 196, 92, 0.32) 0%, rgba(255, 170, 60, 0.10) 38%, rgba(255, 170, 60, 0) 62%),
    linear-gradient(160deg, rgba(255, 184, 92, 0.10) 0%, rgba(3, 45, 79, 0.16) 55%, rgba(3, 45, 79, 0.34) 100%);
}
.hero .curved-bottom { z-index: 2; }
.curved-bottom, .curved-top {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.curved-bottom {
  bottom: -1px;
}
.curved-bottom svg, .curved-top svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 70px;
}
.curved-top {
  top: 0;
  transform: rotate(180deg);
}
.curved-bottom .shape-fill,
.curved-top .shape-fill { fill: var(--white); }
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  width: 100%;
}
.hero-logo {
  width: min(280px, 70vw);
  filter: drop-shadow(0 2px 6px rgba(3, 45, 79, 0.35));
}
.glow-text {
  text-shadow: var(--glow);
}
.hero h1 {
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}
.hero h1 .accent {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.12em;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 300;
  max-width: 34rem;
}
.hero-badge {
  margin-top: 0.5rem;
  padding: 0.45rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}

/* ——— Sections ——— */
.section { padding: 5rem 0; position: relative; }
.section-alt { background: var(--gray-light); }
.section.section-dark {
  padding: 0;
}
.section-dark {
  position: relative;
  color: var(--white);
  background: url("../img/cards-bg.webp?v=202605221200") center/cover no-repeat;
}
.section-dark--train {
  background-image: url("../img/cards-bg-2.webp?v=202605221200");
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 45, 79, 0.78);
  z-index: 1;
  pointer-events: none;
}
.section-dark > .container {
  position: relative;
  z-index: 2;
}
.section-dark > .curved-top,
.section-dark > .curved-bottom {
  z-index: 3;
}
#signage .curved-top .shape-fill { fill: var(--gray-light); }
#signage .curved-bottom .shape-fill { fill: var(--white); }
#souverainete .curved-top .shape-fill { fill: var(--white); }
#souverainete .curved-bottom .shape-fill { fill: var(--white); }
.section-dark .curved-bottom .shape-fill { fill: var(--gray-light); }
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.section-dark .section-label { color: #00ffb7; }
.section-header h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
}
.section-header h2 .brand { color: var(--primary-dark); }
.section-dark .section-header h2 .brand { color: #00ffb7; }
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 40rem;
  margin-inline: auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Vision — style sec4 original */
.vision-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.vision-gif {
  flex: 1 1 280px;
  max-width: 460px;
  display: flex;
  justify-content: center;
}
.vision-lockup {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  filter: drop-shadow(var(--shadow));
}
.vision-mark {
  height: clamp(56px, 10vw, 84px);
  width: auto;
  transform: translateY(-20%);
}
.vision-wordmark {
  height: clamp(32px, 6vw, 48px);
  width: auto;
  margin-left: -0.4rem;
}
.vision-copy {
  flex: 1 1 320px;
  max-width: 560px;
}
.vision-copy h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: center;
}
@media (min-width: 900px) {
  .vision-copy h3 { text-align: start; }
}
.vision-copy p {
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
@media (min-width: 900px) {
  .vision-copy p { text-align: start; }
}
.vision-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
}
.mobility-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 480px) {
  .mobility-row { grid-template-columns: repeat(4, 1fr); }
}
.mobility-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid rgba(17, 211, 156, 0.15);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.mobility-tile:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(17,211,156,0.18);
}
.mobility-tile svg,
.mobility-icon {
  width: 36px;
  height: 36px;
  color: var(--primary-dark);
}
.mobility-icon {
  object-fit: contain;
}
.mobility-icon-pair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 36px;
}
.mobility-icon-pair .mobility-icon {
  width: 26px;
  height: 30px;
}

/* DMI benefits */
.maas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .maas-grid { grid-template-columns: 1fr 1fr; }
}
.maas-benefits { display: flex; flex-direction: column; gap: 0.85rem; }
.maas-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform 0.25s;
}
.maas-item:hover { transform: translateX(6px); }
.maas-num {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
/* Mockups (Phone & Browser) */
.phone-mockup {
  position: relative;
  width: min(270px, 100%);
  aspect-ratio: 270 / 549;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 40px rgba(3,45,79,0.25));
}
.phone-mockup .phone-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
.phone-mockup .phone-screen {
  position: absolute;
  top: 2.18%;
  left: 5.55%;
  width: 88.9%;
  height: 96%;
  border-radius: 11% / 5.4%;
  object-fit: cover;
  object-position: top center;
  z-index: 5;
}

.browser-mockup {
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(3,45,79,0.15);
  overflow: hidden;
  background: #fff;
  margin: 0 auto;
  border: 1px solid var(--gray-light);
}
.browser-bar {
  height: 32px;
  background: #eef3f5;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid var(--gray-light);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot.r { background: #ff5f56; }
.browser-dot.y { background: #ffbd2e; }
.browser-dot.g { background: #27c93f; }
.browser-screen {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* Conteneurs médias — images entières, sans rognage */
.media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef3f5 0%, #fff 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.media-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.media-frame--phone {
  min-height: 420px;
  max-width: 320px;
  margin-inline: auto;
}
.media-frame--phone img {
  max-height: 520px;
}
.media-frame--wide {
  min-height: 200px;
  width: 100%;
}
.media-frame--card {
  aspect-ratio: auto;
  min-height: 220px;
  padding: 1rem;
}
.media-frame--platform {
  min-height: 280px;
  padding: 1.5rem 2rem;
  background: var(--white);
}
.media-frame--signage {
  min-height: 360px;
  padding: 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.25rem;
  overflow: visible;
}

/* Banner temps réel */
.banner-realtime {
  background: linear-gradient(120deg, #032d4f 0%, #007182 60%, #11d39c 100%);
  padding: 3.5rem 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.banner-realtime::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 1px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 1px, transparent 2px);
  background-size: 80px 80px, 120px 120px, 60px 60px;
  pointer-events: none;
}
.banner-content {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.banner-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.banner-content h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 800;
  max-width: 720px;
}

/* Comparaison avant / avec FlowRide */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 900px) {
  .compare-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
  }
}
.compare-card {
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.compare-card header { display: flex; flex-direction: column; gap: 0.5rem; }
.compare-card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.compare-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
}
.compare-card ul li {
  padding-left: 1.5rem;
  position: relative;
}
.compare-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.compare-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  align-self: flex-start;
}
.compare-before { border-top: 4px solid #c9d2d6; }
.compare-before .compare-badge {
  background: rgba(118, 145, 155, 0.15);
  color: var(--dark);
}
.compare-before ul li::before { background: var(--gray); }
.compare-before h3 { color: var(--dark); }
.compare-after { border-top: 4px solid var(--primary); }
.compare-after .compare-badge {
  background: rgba(17, 211, 156, 0.15);
  color: var(--primary-dark);
}
.compare-after ul li::before { background: var(--primary); }
.compare-after h3 { color: var(--primary-dark); }
.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.compare-arrow svg {
  width: 60px;
  height: 60px;
  animation: pulse-arrow 2.5s ease-in-out infinite;
}
@media (max-width: 899px) {
  .compare-arrow svg { transform: rotate(90deg); }
}
@keyframes pulse-arrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Feature cards (ThreeCards style) */
.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .cards-container { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .cards-container.cols-5 { grid-template-columns: repeat(5, 1fr); }
}
.card-flow {
  background: rgba(9, 142, 105, 0.65);
  padding: 2rem 1.5rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  transition: transform 0.3s;
}
.card-flow:hover { transform: scale(1.04); }
.card-flow.left-top {
  border-top: 2px solid var(--primary-dark);
  border-left: 2px solid var(--primary-dark);
  border-image: linear-gradient(45deg, #055840ac, #6fceb3, #055840ac) 1;
}
.card-flow.top-bottom {
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #055840ac, #6fceb3, #055840ac) 1;
}
.card-flow.right-bottom {
  border-bottom: 2px solid var(--primary-dark);
  border-right: 2px solid var(--primary-dark);
  border-image: linear-gradient(45deg, #055840ac, #6fceb3, #055840ac) 1;
}
.card-flow img {
  height: auto;
  max-height: 5.5rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.card-flow h3 { font-size: 0.92rem; font-weight: 700; }
.card-flow p, .card-flow ul {
  font-size: 0.82rem;
  font-weight: 200;
  line-height: 1.55;
  text-align: left;
}
.card-flow ul { list-style: disc; padding-left: 1.2rem; }

/* Application — 5 captures */
.app-showcase-grid {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0 2rem;
  align-items: start;
}
.app-showcase-slider {
  overflow: hidden;
  padding: 1.5rem 0 3rem;
}
@media (min-width: 1100px) {
  .app-showcase-grid { display: grid; }
  .app-showcase-slider { display: none; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .app-showcase-slider { display: none; }
}
.app-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s;
}
.app-showcase-item:hover { transform: translateY(-6px); }
.app-showcase-item h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0.75rem;
  line-height: 1.3;
}
.app-showcase-item p {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.35rem;
  line-height: 1.45;
  max-width: 200px;
}
.phone-mockup--compact {
  width: 200px;
  height: 407px;
  transform: scale(1);
  transform-origin: top center;
}
.phone-mockup--compact .phone-screen {
  top: 9px;
  left: 11px;
  width: 178px;
  height: 391px;
  border-radius: 23px;
}
@media (min-width: 640px) and (max-width: 1099px) {
  .app-showcase-grid .app-showcase-item:nth-child(4),
  .app-showcase-grid .app-showcase-item:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 639px) {
  .app-showcase-slider { display: block; }
  .app-showcase-grid { display: none; }
  .phone-mockup--compact {
    width: 240px;
    height: 488px;
  }
  .phone-mockup--compact .phone-screen {
    top: 12px;
    left: 15px;
    width: 210px;
    height: 464px;
    border-radius: 31px;
  }
}
.scale-on-hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s;
  max-width: 320px;
  width: 100%;
}
.scale-on-hover:hover { transform: scale(1.05); }
.scale-on-hover .media-frame--phone {
  min-height: 380px;
  max-width: 100%;
  width: 100%;
}
.scale-on-hover .media-frame--phone img {
  max-height: 400px;
}
.btn-pill {
  margin: 1rem 0 0.75rem;
  padding: 0.65rem 1.5rem;
  background: var(--white);
  color: var(--gray);
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  background-clip: padding-box;
}
.scale-on-hover:hover .btn-pill::before { opacity: 1; }
.btn-pill::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  background: linear-gradient(10deg, var(--gray), rgba(255,255,255,0.4), var(--gray));
  opacity: 0;
  transition: opacity 0.4s;
}
.slider-wrap { overflow: hidden; }
.slides {
  display: flex;
  transition: transform 0.45s ease;
}
.slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}
.slider-dot.active { background: var(--primary); }

/* Diagramme plateforme — socle + modules */
.platform-diagram {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  position: relative;
}
.platform-core {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #13d3a0, #007182 75%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 113, 130, 0.35), inset 0 -10px 30px rgba(0,0,0,0.15);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  position: relative;
}
.platform-core::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(17, 211, 156, 0.35);
  animation: rotate-ring 25s linear infinite;
}
@keyframes rotate-ring {
  to { transform: rotate(360deg); }
}
.platform-core small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.9;
}
.platform-ring {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}
@media (min-width: 640px) {
  .platform-ring { grid-template-columns: repeat(4, 1fr); }
}
.platform-module {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 211, 156, 0.12);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.platform-module:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 18px 36px rgba(17, 211, 156, 0.18);
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17, 211, 156, 0.15), rgba(0, 113, 130, 0.1));
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.module-icon svg { width: 26px; height: 26px; }
.platform-module h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1.25rem;
}
.gallery.g3 { grid-template-columns: 1fr; }
.gallery.g4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .gallery.g3 { grid-template-columns: repeat(3, 1fr); }
  .gallery.g4 { grid-template-columns: repeat(4, 1fr); }
}
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.3s;
}
.gallery-card:hover { transform: scale(1.03); }
.gallery-card .media-frame--card { border-radius: 0; box-shadow: none; background: #f4f8f9; }
.gallery-card .media-frame--card img { max-height: 280px; }
.widget-gallery .media-frame--card {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0.6rem;
  background: #fff;
}
.widget-gallery .media-frame--card img {
  width: 100%;
  max-height: none;
}
.gallery-card figcaption {
  padding: 0.7rem;
  font-size: 0.82rem;
  text-align: center;
  color: var(--gray);
}
.section-dark .gallery-card {
  background: rgba(255,255,255,0.08);
}
.section-dark .gallery-card figcaption { color: rgba(255,255,255,0.9); }

/* Info au poteau — mise en scène poteau + QR */
.poteau-showcase {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .poteau-showcase {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
  }
}
.poteau-panel {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.poteau-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  border-top: 1px solid var(--gray-light);
}
.poteau-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.media-frame--poteau-scene {
  background: #e8eef0;
  min-height: 280px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame--poteau-scene img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}
.poteau-arrow {
  display: none;
  justify-content: center;
  align-items: center;
}
.poteau-arrow svg {
  width: 3rem;
  height: 3rem;
}
@media (min-width: 768px) {
  .poteau-arrow { display: flex; }
}
.media-frame--poteau-app {
  background: #f4f8f9;
  padding: 0.75rem;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame--poteau-app img {
  width: auto;
  max-width: 100%;
  max-height: 320px;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(3, 45, 79, 0.12);
}

/* Earth / dashboard */
.earth-section {
  position: relative;
  min-height: 520px;
  background: url("../img/earthBig.svg") center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}
.earth-content {
  text-align: center;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.earth-content img.logo-sec { width: 280px; }
.earth-title {
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.earth-text {
  font-size: 1.05rem;
  font-weight: 300;
  text-align: justify;
  color: var(--dark);
  line-height: 1.65;
}
.dashboard-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr 1.2fr; }
}
.dash-list li {
  padding: 0.85rem 1.2rem;
  margin-bottom: 0.6rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dash-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Sovereign */
.sovereign-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .sovereign-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sovereign-grid { grid-template-columns: repeat(3, 1fr); } }
.sovereign-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.sovereign-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(3,45,79,0.18);
}
.sovereign-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(17, 211, 156, 0.18), rgba(0, 113, 130, 0.12));
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sovereign-icon svg { width: 30px; height: 30px; }
.sovereign-card h3 {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.sovereign-card p {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.5;
}

/* CTA footer zone (rectangle original) */
.cta-zone {
  position: relative;
  background: linear-gradient(180deg, #fff 53%, var(--gray) 100%);
  padding: 5rem 1rem 12rem;
  text-align: center;
}
.cta-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/Group.svg") center 80px no-repeat;
  opacity: 0.2;
  pointer-events: none;
}
.cta-zone h2 {
  color: var(--primary-dark);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.cta-zone .cta-lead {
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
  position: relative;
}
.cta-zone .green-num { color: var(--primary-dark); font-size: 1.2em; }
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
}
.btn-solid {
  padding: 0.9rem 2rem;
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 700;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 122, 85, 0.4);
}
.btn-ghost {
  padding: 0.9rem 2rem;
  border: 2px solid var(--dark);
  color: var(--dark);
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--gray-light); }

.footer {
  background: var(--gray);
  color: var(--white);
  padding: 2rem 1rem 3rem;
  text-align: center;
  margin-top: -8rem;
  position: relative;
  z-index: 5;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.footer-links a { color: #fff; }
.footer-links a:hover { color: var(--primary-bright); }
.footer-copy { font-size: 0.85rem; color: #dce4e7; }

.scroll-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 150;
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}
.scroll-to-top svg circle { transition: fill 0.3s; }
.scroll-to-top:hover svg circle { fill: var(--primary); }
.scroll-to-top:hover svg path { fill: var(--white); }

.signage-hero {
  display: flex;
  justify-content: center;
}
.dashboard-visual .media-frame {
  min-height: 320px;
  width: 100%;
}
.dashboard-visual img { max-height: 480px; }

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

/* ——— Contact page ——— */
.contact-hero {
  position: relative;
  padding: 7rem 1rem 6rem;
  text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--teal) 60%, var(--primary-dark) 100%);
  color: var(--white);
  overflow: hidden;
}
.contact-hero .curved-bottom {
  position: absolute;
  inset: auto 0 0 0;
  line-height: 0;
}
.contact-hero .curved-bottom svg {
  width: 100%;
  height: 80px;
  display: block;
}
.contact-hero .shape-fill { fill: var(--white); }
.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.contact-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00ffb7;
  background: rgba(17, 211, 156, 0.12);
  border: 1px solid rgba(17, 211, 156, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.contact-hero .glow-text {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.contact-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.94;
}

.contact-section {
  background: var(--gray-light);
  padding: 4rem 1rem 7rem;
}
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}
.contact-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2.25rem;
}
.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.contact-form .field {
  display: block;
  margin-bottom: 1.2rem;
}
.field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.45rem;
}
.field-label em {
  font-style: normal;
  font-weight: 400;
  color: var(--gray);
}
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #d6dfe3;
  border-radius: 10px;
  background: #fbfdfd;
  font: inherit;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  resize: vertical;
}
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(17, 211, 156, 0.15);
}
.contact-form textarea { min-height: 110px; }
.contact-submit {
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  font-size: 1rem;
}
.contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.contact-fineprint {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
}

.contact-info {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 2.25rem;
}
.contact-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-bullets li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.contact-bullets strong {
  display: block;
  font-size: 0.98rem;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.contact-bullets span:not(.bullet-dot) {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.5;
}
.bullet-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(17, 211, 156, 0.15);
}

.contact-meta {
  border-top: 1px solid #e3eaed;
  padding-top: 1.25rem;
  display: grid;
  gap: 1rem;
}
.contact-meta-item .meta-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.3rem;
}
.contact-meta-item .meta-value {
  font-weight: 600;
  color: var(--primary-dark);
}
.contact-meta-item .meta-value:hover { color: var(--primary); }
.contact-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-light);
  color: var(--teal);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.contact-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .contact-card, .contact-info { padding: 1.5rem; }
  .contact-hero { padding: 6rem 1rem 5rem; }
}

