:root {
  --green: #2f7a5c;
  --green-dark: #245f49;
  --green-soft: #e7f1eb;
  --green-pale: #d8eadf;

  --cream: #f5f0e6;
  --cream-light: #fbf8f1;
  --beige: #eee3d4;

  --text: #171b18;
  --text-soft: #6e766f;

  --white: #ffffff;
  --border: #d9ddd8;

  --shadow: 0 18px 45px rgba(40, 54, 45, 0.08);
  --radius: 30px;

  --cem-navy: #031b34;
  --cem-navy-deep: #021326;
  --cem-navy-soft: #082945;
  --cem-turquoise: #00d9b5;
  --cem-turquoise-soft: #73ead8;
  --cem-hero-text: #f7fbff;
  --cem-hero-muted: #c5d4df;

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--cream-light);
  color: var(--text);

  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;

  color: var(--green);

  font-size: 0.85rem;
  font-weight: 800;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-heading h2,
.technical-content h2,
.passport-content h2,
.data-card h2,
.download-card h2 {
  margin: 0 0 18px;

  font-size: clamp(2rem, 4vw, 3.4rem);

  line-height: 1.05;
}

.section-heading p,
.technical-content p,
.passport-content p,
.data-card p,
.download-card p {
  color: var(--text-soft);
  font-size: 1.08rem;
}



/* ANCRAGES — évite que le header sticky masque les titres */
#accueil,
#fonctionnalites,
#controle-technique,
#smart-capture,
#passeport {
  scroll-margin-top: 96px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(251, 248, 241, 0.92);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(47, 122, 92, 0.08);
}

.header-content {
  min-height: 86px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;

  border: 2px solid var(--green);
  border-radius: 17px;

  display: grid;
  place-items: center;

  color: var(--green);

  font-weight: 900;

  background: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.brand-name {
  font-size: 1rem;
  font-weight: 850;
}

.brand-subtitle {
  margin-top: 4px;

  color: var(--text-soft);

  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;

  gap: 28px;

  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -8px;

  width: 0;
  height: 2px;

  background: var(--green);

  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}


/* HERO */

.hero {
  padding: 42px 0 68px;

  background:
    radial-gradient(
      circle at 88% 22%,
      rgba(47, 122, 92, 0.09),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #f7f3e9 0%,
      #fbf8f1 100%
    );
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1.08fr
    0.92fr;

  align-items: center;

  gap: 72px;

  min-height: 575px;
}

.hero-content h1 {
  max-width: 700px;

  margin: 0;

  font-size: clamp(3rem, 5.05vw, 4.85rem);

  line-height: 0.98;

  letter-spacing: -0.055em;
}

.hero-content h1 span {
  display: block;
  color: var(--green);
}

.hero-description {
  max-width: 650px;

  margin: 22px 0 0;

  color: var(--text-soft);

  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 26px;
}

.button {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border-radius: 999px;

  font-weight: 800;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.button-primary {
  background: var(--green);

  color: var(--white);

  box-shadow:
    0
    14px
    24px
    rgba(47, 122, 92, 0.18);
}

.button-secondary {
  background: var(--white);

  border: 1px solid var(--border);
}

.availability {
  margin-top: 16px;

  color: var(--text-soft);

  font-size: 0.9rem;
}


/* HERO PHONE */

.hero-preview {
  display: flex;
  justify-content: center;
}

.phone-screen {
  overflow: hidden;
  background: var(--cream);
}

/* FEATURES */

.features {
  background: var(--white);
}

.screens-showcase {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 34px;

  align-items: start;
}

.screen-feature {
  padding: 30px 25px;

  border: 1px solid rgba(47, 122, 92, 0.08);
  border-radius: 36px;

  background:
    linear-gradient(
      180deg,
      #faf7f0,
      #ffffff
    );

  box-shadow:
    0
    22px
    50px
    rgba(45, 58, 49, 0.07);
}

.mini-phone {
  width: 200px;

  margin: 0 auto 30px;

  padding: 7px;

  border-radius: 30px;

  background: #171b18;

  box-shadow:
    0
    18px
    35px
    rgba(25, 35, 29, 0.16);
}

.mini-phone-screen {
  overflow: hidden;

  aspect-ratio: 9 / 19.5;

  border-radius: 24px;

  background: var(--cream);
}

.mini-phone-screen img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;
}

.screen-number {
  color: var(--green);

  font-size: 0.78rem;

  font-weight: 900;

  letter-spacing: 0.08em;
}

.screen-feature h3 {
  margin: 8px 0 12px;

  font-size: 1.55rem;
}

.screen-feature p {
  margin: 0;

  color: var(--text-soft);
}

.screen-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 7px;

  margin-top: 20px;
}

.screen-tags span {
  padding: 7px 11px;

  border-radius: 999px;

  background: var(--green-soft);

  color: var(--green-dark);

  font-size: 0.75rem;

  font-weight: 800;
}

.features-summary {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;

  margin-top: 35px;
}

.feature-card {
  min-height: 220px;

  padding: 30px;

  border: 1px solid rgba(47, 122, 92, 0.08);
  border-radius: var(--radius);

  background: var(--cream-light);

  box-shadow:
    0
    14px
    40px
    rgba(45, 58, 49, 0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;

  margin-bottom: 22px;

  border-radius: 18px;

  display: grid;
  place-items: center;

  background: var(--green-soft);

  color: var(--green);

  font-size: 1.35rem;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 10px;

  font-size: 1.4rem;
}

.feature-card p {
  margin: 0;

  color: var(--text-soft);
}


/* TECHNICAL */

.technical {
  overflow: hidden;

  background: var(--cream);
}

.technical-grid {
  display: grid;

  grid-template-columns:
    0.92fr
    1.08fr;

  gap: 70px;

  align-items: center;
}

.check-list {
  margin: 28px 0 0;

  padding: 0;

  list-style: none;
}

.check-list li {
  position: relative;

  margin: 15px 0;

  padding-left: 34px;

  font-weight: 700;
}

.check-list li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color: var(--green);
}


/* VRAIES CAPTURES CONTRÔLE TECHNIQUE */

.technical-showcase {
  position: relative;

  min-height: 620px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.technical-phone {
  position: absolute;

  padding: 7px;

  border-radius: 30px;

  background: #171b18;

  box-shadow:
    0
    24px
    55px
    rgba(25, 35, 29, 0.18);

  transition:
    transform 0.2s ease;
}

.technical-phone-screen {
  overflow: hidden;

  aspect-ratio: 9 / 19.5;

  border-radius: 24px;

  background: var(--cream);
}

.technical-phone-screen img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;
}

.technical-phone-main {
  z-index: 3;

  width: 245px;

  transform:
    translateY(-2px);
}

.technical-phone-left {
  z-index: 1;

  width: 190px;

  left: 5%;

  transform:
    translateY(28px)
    rotate(-8deg);
}

.technical-phone-right {
  z-index: 2;

  width: 190px;

  right: 5%;

  transform:
    translateY(35px)
    rotate(8deg);
}

.technical-phone-main:hover {
  transform:
    translateY(-8px);
}

.technical-phone-left:hover {
  transform:
    translateY(20px)
    rotate(-5deg);
}

.technical-phone-right:hover {
  transform:
    translateY(27px)
    rotate(5deg);
}



/* =========================================================
   CONTRÔLE TECHNIQUE — profondeur premium
========================================================= */

@media (hover: hover) and (pointer: fine) {

  .technical-showcase {
    perspective: 1200px;
  }

  .technical-phone {
    transition:
      transform 0.28s ease,
      box-shadow 0.28s ease,
      filter 0.28s ease;
  }

  .technical-phone-main {
    filter: saturate(1.03);
    box-shadow:
      0 30px 68px rgba(3, 27, 52, 0.22);
  }

  .technical-phone-left,
  .technical-phone-right {
    filter:
      saturate(0.94)
      brightness(0.985);
  }

  .technical-showcase:hover .technical-phone-left {
    transform:
      translateY(24px)
      translateX(-8px)
      rotate(-9deg)
      scale(0.985);
  }

  .technical-showcase:hover .technical-phone-right {
    transform:
      translateY(31px)
      translateX(8px)
      rotate(9deg)
      scale(0.985);
  }

  .technical-showcase:hover .technical-phone-main {
    transform:
      translateY(-10px)
      scale(1.025);

    box-shadow:
      0 36px 78px rgba(3, 27, 52, 0.26);
  }

  .technical-phone-left:hover {
    filter: none;

    transform:
      translateY(18px)
      translateX(-2px)
      rotate(-5deg)
      scale(1.015) !important;

    z-index: 4;
  }

  .technical-phone-right:hover {
    filter: none;

    transform:
      translateY(24px)
      translateX(2px)
      rotate(5deg)
      scale(1.015) !important;

    z-index: 4;
  }

  .technical-phone-main:hover {
    filter: saturate(1.06);

    transform:
      translateY(-14px)
      scale(1.035) !important;

    z-index: 5;
  }
}

/* SMART CAPTURE */

.smart-capture {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(47, 122, 92, 0.1),
      transparent 30%
    ),
    var(--white);
}

/* Resserre uniquement l’espace entre l’introduction et les cartes Smart Capture */
.smart-capture .section-heading {
  margin-bottom: 32px;
}

.capture-flow {
  display: grid;

  grid-template-columns:
    1fr
    auto
    1fr
    auto
    1fr;

  align-items: center;

  gap: 20px;
}

.capture-step {
  position: relative;

  min-height: 260px;

  padding: 35px 28px;

  text-align: center;

  border-radius: 30px;

  background: var(--cream-light);

  border: 1px solid rgba(47, 122, 92, 0.1);
}

.step-number {
  position: absolute;

  top: 18px;
  left: 18px;

  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--green);

  color: var(--white);

  font-weight: 900;
}

.step-icon {
  width: 70px;
  height: 70px;

  margin: 15px auto 18px;

  border-radius: 24px;

  display: grid;
  place-items: center;

  background: var(--green-soft);

  color: var(--green);

  font-size: 1.7rem;
  font-weight: 900;
}

.capture-step h3 {
  margin: 0 0 10px;

  font-size: 1.35rem;
}

.capture-step p {
  margin: 0;

  color: var(--text-soft);
}

.flow-arrow {
  color: var(--green);

  font-size: 2rem;

  font-weight: 900;
}


/* PASSPORT */

.passport {
  background: var(--cream);
}

.passport-grid {
  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  align-items: center;

  gap: 70px;
}

.passport-points {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 14px;

  margin-top: 30px;
}

.passport-points div {
  padding: 18px;

  border-radius: 20px;

  background:
    rgba(255, 255, 255, 0.65);
}

.passport-points strong,
.passport-points span {
  display: block;
}

.passport-points strong {
  color: var(--green);
}

.passport-points span {
  margin-top: 4px;

  color: var(--text-soft);

  font-size: 0.9rem;
}

.passport-preview {
  perspective: 1000px;
}

.passport-sheet {
  min-height: 560px;

  padding: 32px;

  border: 1px solid #d4d8d4;
  border-radius: 26px;

  background: var(--white);

  box-shadow:
    0
    30px
    60px
    rgba(45, 58, 49, 0.12);

  transform:
    rotateY(-4deg)
    rotateX(2deg);
}

.passport-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cem-box {
  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  border: 2px solid var(--green);
  border-radius: 20px;

  color: var(--green);

  font-size: 1.25rem;

  font-weight: 900;
}

.official-label {
  padding: 9px 15px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--green);

  font-size: 0.8rem;

  font-weight: 800;
}

.passport-sheet h3 {
  margin: 55px 0 15px;

  text-align: center;

  color: var(--green);

  font-size: 2rem;
}

.passport-sheet > strong {
  display: block;

  text-align: center;

  font-size: 1.45rem;
}

.passport-tagline {
  display: block;

  margin-top: 6px;

  text-align: center;

  color: var(--text-soft);
}

.passport-score {
  margin-top: 40px;

  padding: 30px;

  text-align: center;

  border: 1px solid #c8dfcf;
  border-radius: 26px;
}

.passport-score span,
.passport-score small {
  display: block;
}

.passport-score span {
  color: var(--green);

  font-weight: 800;
}

.passport-score strong {
  display: block;

  margin: 15px 0 4px;

  color: var(--green-dark);

  font-size: 4.2rem;

  line-height: 1;
}

.passport-score small {
  color: var(--text-soft);

  font-weight: 700;
}

.passport-summary {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;

  margin-top: 24px;
}

.passport-summary span {
  padding: 14px;

  border-radius: 16px;

  background: var(--cream-light);

  text-align: center;

  color: var(--green);

  font-weight: 800;
}


/* DATA */

.data-section {
  background: var(--white);
}

.data-card {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: center;

  gap: 40px;

  padding: 60px;

  border-radius: 36px;

  background: var(--green-dark);

  color: var(--white);
}

.data-card .eyebrow,
.data-card p {
  color: #d7e8df;
}

.data-icon {
  width: 100px;
  height: 100px;

  border-radius: 30px;

  display: grid;
  place-items: center;

  background:
    rgba(255, 255, 255, 0.12);

  font-size: 2.5rem;

  font-weight: 900;
}


/* DOWNLOAD */

.download {
  padding-top: 0;
  background: var(--white);
}

.download-card {
  position: relative;
  overflow: hidden;

  min-height: 470px;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;

  gap: 54px;

  padding: 64px 70px;

  border: 1px solid rgba(0, 217, 181, 0.12);
  border-radius: 40px;

  background:
    radial-gradient(
      circle at 78% 34%,
      rgba(0, 217, 181, 0.16),
      transparent 24%
    ),
    radial-gradient(
      circle at 95% 0%,
      rgba(36, 151, 221, 0.16),
      transparent 28%
    ),
    linear-gradient(
      120deg,
      var(--cem-navy-deep) 0%,
      var(--cem-navy) 58%,
      #073552 100%
    );

  box-shadow:
    0 28px 70px rgba(2, 19, 38, 0.15);
}

.download-card::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 46px 46px;

  mask-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.55),
      transparent 78%
    );
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-card .eyebrow {
  color: var(--cem-turquoise);
}

.download-card h2 {
  max-width: 650px;

  margin-bottom: 20px;

  color: #ffffff;

  font-size: clamp(2.2rem, 4.1vw, 3.6rem);
  line-height: 1.02;

  letter-spacing: -0.045em;
}

.download-card p {
  max-width: 560px;

  margin: 0 0 30px;

  color: var(--cem-hero-muted);

  font-size: 1.08rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 18px;
}

.play-placeholder {
  min-height: 62px;

  display: inline-flex;
  align-items: center;

  gap: 13px;

  padding: 9px 20px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.09);

  color: var(--white);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.15);

  backdrop-filter: blur(10px);
}

.play-icon {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 12px;

  background: var(--cem-turquoise);

  color: var(--cem-navy-deep);

  font-size: 1rem;
  font-weight: 900;
}

.play-text {
  display: flex;
  flex-direction: column;

  line-height: 1.05;
}

.play-text small {
  color: #aac1cf;

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.02em;
}

.play-text strong {
  margin-top: 4px;

  font-size: 1.05rem;
}

.download-note {
  color: #8fa9b9;

  font-size: 0.82rem;
  font-weight: 700;
}

.download-preview {
  position: relative;
  z-index: 2;

  min-height: 350px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.download-glow {
  position: absolute;

  width: 310px;
  height: 310px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(0, 217, 181, 0.24) 0%,
      rgba(36, 151, 221, 0.13) 38%,
      transparent 72%
    );
}

.download-phone {
  position: relative;
  z-index: 2;

  width: 190px;

  padding: 5px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 29px;

  background: #111918;

  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.32);

  transform:
    translateX(18px)
    rotate(5deg);
}

.download-phone-screen {
  overflow: hidden;

  aspect-ratio: 1080 / 2460;

  border-radius: 24px;

  background: var(--cream);
}

.download-phone-screen img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;
}

.download-badge {
  position: absolute;
  z-index: 3;

  left: 2%;
  bottom: 40px;

  display: flex;
  align-items: center;

  gap: 11px;

  padding: 12px 15px;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;

  background: rgba(4, 38, 66, 0.84);

  color: #ffffff;

  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.22);

  backdrop-filter: blur(12px);
}

.download-badge-mark {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(0, 217, 181, 0.55);
  border-radius: 13px;

  color: var(--cem-turquoise);

  font-size: 0.78rem;
  font-weight: 900;
}

.download-badge > span:last-child {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.download-badge strong {
  font-size: 0.82rem;
}

.download-badge small {
  margin-top: 3px;

  color: #9fb6c5;

  font-size: 0.68rem;
}


/* =========================================================
   TRANSITIONS ENTRE SECTIONS — rythme visuel discret
========================================================= */

.features,
.technical,
.smart-capture,
.passport,
.data-section,
.download {
  position: relative;
}

.features::before,
.technical::before,
.smart-capture::before,
.passport::before,
.data-section::before,
.download::before {
  content: "";

  position: absolute;
  top: 0;
  left: 50%;

  width: min(860px, 72%);
  height: 1px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(8, 126, 105, 0.16) 18%,
      rgba(0, 217, 181, 0.22) 50%,
      rgba(8, 126, 105, 0.16) 82%,
      transparent 100%
    );

  pointer-events: none;
}

/* Les sections crème gagnent un léger relief sans changer leur contenu */
.technical,
.passport {
  box-shadow:
    inset 0 18px 34px rgba(47, 122, 92, 0.025),
    inset 0 -18px 34px rgba(47, 122, 92, 0.018);
}

/* Les sections blanches restent aérées avec une lueur très légère */
.features,
.smart-capture,
.data-section {
  box-shadow:
    inset 0 16px 34px rgba(3, 27, 52, 0.018);
}

@media (max-width: 640px) {
  .features::before,
  .technical::before,
  .smart-capture::before,
  .passport::before,
  .data-section::before,
  .download::before {
    width: 78%;
  }
}


/* =========================================================
   MICRO-INTERACTIONS — cartes plus vivantes sur ordinateur
========================================================= */

@media (hover: hover) and (pointer: fine) {

  .screen-feature,
  .feature-card,
  .capture-step,
  .passport-points div {
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }

  .screen-feature:hover,
  .feature-card:hover,
  .capture-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 181, 0.20);
    box-shadow:
      0 22px 48px rgba(3, 27, 52, 0.10);
  }

  .passport-points div:hover {
    transform: translateY(-3px);
    box-shadow:
      0 14px 30px rgba(3, 27, 52, 0.07);
  }
}


/* =========================================================
   HEADER / NAVIGATION — finition premium
========================================================= */

.site-header {
  transition:
    box-shadow 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease;
}

.main-nav a {
  padding: 10px 0;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--cem-turquoise);
  transform: translateY(-1px);
}

.main-nav a::after {
  left: 50%;
  bottom: 1px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  transform: translateX(-50%);

  transition:
    width 0.22s ease,
    opacity 0.22s ease;

  opacity: 0.8;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
  opacity: 1;
}

.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a.is-active::after {
  width: 100%;
  opacity: 1;
}

.brand {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.025);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 0 30px rgba(0, 217, 181, 0.16);
}


/* =========================================================
   TRANSITIONS DE SECTIONS — profondeur douce
========================================================= */

/* Léger dégradé de transition au début des sections claires */
.features,
.smart-capture,
.data-section {
  background:
    linear-gradient(
      180deg,
      rgba(3, 27, 52, 0.018) 0%,
      transparent 90px
    ),
    var(--white);
}

/* Les sections crème gagnent une profondeur douce */
.technical,
.passport {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(0, 217, 181, 0.045),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #f6f1e7 0%,
      var(--cream) 24%,
      var(--cream) 100%
    );
}

/* Petit fondu avant le bloc final Google Play */
.download {
  background:
    linear-gradient(
      180deg,
      rgba(3, 27, 52, 0.018) 0%,
      transparent 100px
    ),
    var(--white);
}

/* Séparateurs très fins et centrés */
.features::after,
.technical::after,
.smart-capture::after,
.passport::after,
.data-section::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: 0;

  width: min(920px, 76%);
  height: 1px;

  transform: translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(8, 126, 105, 0.08) 20%,
      rgba(0, 217, 181, 0.15) 50%,
      rgba(8, 126, 105, 0.08) 80%,
      transparent 100%
    );

  pointer-events: none;
}

@media (max-width: 640px) {
  .features::after,
  .technical::after,
  .smart-capture::after,
  .passport::after,
  .data-section::after {
    width: 82%;
  }
}

/* FOOTER */

.site-footer {
  padding: 45px 0;

  background: #151a16;

  color: var(--white);
}

.footer-content {
  display: grid;

  grid-template-columns:
    1fr
    auto
    auto;

  align-items: center;

  gap: 35px;
}

.footer-content p {
  margin: 4px 0 0;

  color: #aeb7b0;

  font-size: 0.88rem;
}

.footer-content nav {
  display: flex;

  gap: 20px;

  color: #d7ddd8;

  font-size: 0.88rem;
}

.copyright {
  white-space: nowrap;
}





/* =========================================================
   FOOTER — finition premium légère
========================================================= */

.site-footer {
  position: relative;
  border-top: 1px solid rgba(0, 217, 181, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(760px, 68%);
  height: 1px;
  transform: translateX(-50%);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(0, 217, 181, 0.12) 18%,
      rgba(0, 217, 181, 0.65) 50%,
      rgba(0, 217, 181, 0.12) 82%,
      transparent
    );
  pointer-events: none;
}

.footer-content > div:first-child strong {
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.footer-content > div:first-child p {
  color: #8fa8b8;
}

.footer-content nav a {
  position: relative;
  padding: 6px 0;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-content nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 0;
  height: 1px;
  border-radius: 999px;
  background: var(--cem-turquoise);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-content nav a:hover {
    color: var(--cem-turquoise);
    transform: translateY(-1px);
  }

  .footer-content nav a:hover::after {
    width: 100%;
  }
}

.copyright {
  color: #7892a3;
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .site-footer::before {
    width: 78%;
  }
}

/* MENU MOBILE — structure */
.mobile-menu-button {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 1px solid rgba(47, 122, 92, 0.14);
  border-radius: 15px;

  background: var(--white);

  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;

  border-radius: 999px;

  background: var(--text);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.mobile-menu-button.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-content {
  padding-top: 10px;
  padding-bottom: 14px;

  display: grid;
  gap: 4px;
}

.mobile-nav a {
  display: flex;
  align-items: center;

  min-height: 46px;

  padding: 0 14px;

  border-radius: 14px;

  font-weight: 800;
}


/* TABLETTE */

@media (max-width: 980px) {

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .hero-grid,
  .technical-grid,
  .passport-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-preview {
    margin-top: 10px;
  }

  .screens-showcase {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .screen-feature:last-child {
    grid-column: 1 / -1;

    width: 50%;

    justify-self: center;
  }

  .features-summary {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .technical-content {
    text-align: center;
  }

  .check-list {
    display: inline-block;

    text-align: left;
  }

  .technical-showcase {
    min-height: 590px;

    max-width: 620px;

    margin: 20px auto 0;
  }

  .capture-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);

    text-align: center;
  }

  .passport-content {
    text-align: center;
  }

  .data-card {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .data-icon {
    margin: 0 auto;
  }

  .download-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 46px;
  }

  .download-content {
    text-align: center;
  }

  .download-card h2,
  .download-card p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .download-preview {
    min-height: 315px;
  }

  .footer-content {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .footer-content nav {
    justify-content: center;

    flex-wrap: wrap;
  }
}


/* MOBILE */

@media (max-width: 640px) {

  .container {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 78px 0;
  }

  .header-content {
    min-height: 72px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;

    border-radius: 15px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding: 48px 0 70px;
  }

  .hero-grid {
    min-height: auto;

    gap: 50px;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .phone-main {
    max-width: 285px;
  }

  .screens-showcase {
    grid-template-columns: 1fr;
  }

  .screen-feature:last-child {
    grid-column: auto;

    width: 100%;
  }

  .screen-feature {
    padding: 27px 22px;
  }

  .mini-phone {
    width: 185px;
  }

  .features-summary {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .technical-showcase {
    min-height: 540px;

    max-width: 360px;
  }

  .technical-phone-main {
    width: 200px;
  }

  .technical-phone-left {
    width: 145px;

    left: 0;
  }

  .technical-phone-right {
    width: 145px;

    right: 0;
  }

  .passport-points {
    grid-template-columns: 1fr;
  }

  .passport-sheet {
    min-height: auto;

    padding: 22px;

    transform: none;
  }

  .passport-sheet h3 {
    margin-top: 38px;

    font-size: 1.55rem;
  }

  .passport-score strong {
    font-size: 3.3rem;
  }

  .data-card {
    padding: 38px 24px;
  }

  .download-card {
    min-height: auto;
    padding: 48px 24px 42px;
    border-radius: 30px;
  }

  .download-card h2 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .download-actions {
    flex-direction: column;
  }

  .download-preview {
    min-height: 285px;
  }

  .download-phone {
    width: 165px;
    transform: rotate(4deg);
  }

  .download-badge {
    left: 0;
    bottom: 20px;
  }
}


/* =========================================================
   CEM — DIRECTION GRAPHIQUE BLEU NUIT / TURQUOISE
========================================================= */

/* Header premium assorti au bandeau */
.site-header {
  background: rgba(3, 27, 52, 0.94);
  border-bottom: 1px solid rgba(0, 217, 181, 0.18);
  box-shadow: 0 10px 32px rgba(1, 14, 28, 0.18);
}

.brand-logo {
  border-color: rgba(0, 217, 181, 0.8);
  background: rgba(4, 38, 66, 0.96);
  color: var(--cem-turquoise);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 0 24px rgba(0, 217, 181, 0.10);
}

.brand-name {
  color: #ffffff;
}

.brand-subtitle {
  color: #9fb4c3;
}

.main-nav {
  color: #eaf3f8;
}

.main-nav a::after {
  background: var(--cem-turquoise);
}

/* Hero inspiré du bandeau de référence */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 22%, rgba(36, 151, 221, 0.32), transparent 26%),
    radial-gradient(circle at 92% 66%, rgba(0, 217, 181, 0.14), transparent 29%),
    linear-gradient(118deg, #021326 0%, #03213e 51%, #063554 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, rgba(0,0,0,.3), transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -86px;
  height: 125px;
  border-top: 5px solid var(--cem-turquoise);
  border-radius: 50% 50% 0 0;
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--cem-turquoise);
}

.hero-content h1 {
  color: var(--cem-hero-text);
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.14);
}

.hero-content h1 span {
  color: var(--cem-turquoise);
}

.hero-description {
  color: var(--cem-hero-muted);
}

.availability {
  color: #93acbd;
}

.hero .button-primary {
  background: var(--cem-turquoise);
  color: #02243a;
  box-shadow:
    0 14px 30px rgba(0, 217, 181, 0.23),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.hero .button-primary:hover {
  box-shadow:
    0 18px 38px rgba(0, 217, 181, 0.31),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.hero .button-secondary {
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.24);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.hero .button-secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* Halo derrière le téléphone */
.hero-preview {
  position: relative;
}

.hero-preview::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(32, 160, 226, 0.25) 0%,
      rgba(0, 217, 181, 0.10) 35%,
      rgba(0, 217, 181, 0) 70%);
  filter: none;
  pointer-events: none;
}

/* Quelques rappels de la nouvelle identité dans le reste du site */
.features .eyebrow,
.technical .eyebrow,
.smart-capture .eyebrow,
.passport .eyebrow,
.data-section .eyebrow,
.download .eyebrow {
  color: #078e79;
}

.button-primary {
  background: #087e69;
}

.site-footer {
  background: var(--cem-navy-deep);
  border-top: 1px solid rgba(0, 217, 181, 0.14);
}

/* Navigation mobile cohérente avec le header sombre */
.mobile-menu-button {
  border-color: rgba(0, 217, 181, 0.28);
  background: rgba(255,255,255,0.07);
}

.mobile-menu-button span {
  background: #ffffff;
}

.mobile-nav {
  border-top-color: rgba(0, 217, 181, 0.15);
  background: rgba(3, 27, 52, 0.985);
}

.mobile-nav a {
  color: #f4f9fc;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(0, 217, 181, 0.12);
  color: var(--cem-turquoise);
}

@media (max-width: 640px) {
  .hero::after {
    bottom: -105px;
  }
}

/* =========================================================
   HERO — TÉLÉPHONE : CADRE FIN + CAPTURE SANS ZONE NOIRE
========================================================= */
.hero-preview .phone-main {
  width: min(300px, 100%);
  position: relative;
  z-index: 1;
  transform-origin: center center;
}

.hero-preview .phone {
  padding: 0;
  overflow: hidden;
  border: 4px solid #121917;
  border-radius: 34px;
  background: transparent;
  box-shadow: 0 18px 36px rgba(0, 8, 18, 0.28);
  transform: rotate(1deg);
  will-change: transform;
  contain: paint;
}

.hero-preview .real-screen {
  aspect-ratio: 1080 / 2460;
  border-radius: 29px;
  overflow: hidden;
  background: transparent;
}

.hero-preview .real-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 640px) {
  .hero-preview .phone-main {
    width: min(270px, 100%);
  }

  .hero-preview .phone {
    border-width: 4px;
    border-radius: 32px;
  }

  .hero-preview .real-screen {
    border-radius: 27px;
  }

  .hero-preview::before {
    width: 300px;
    height: 300px;
  }
}


/* =========================================================
   GOOGLE PLAY — reflet lumineux discret sur les 2 capsules
========================================================= */

.play-placeholder,
.download-badge {
  overflow: hidden;
}

.play-placeholder::after,
.download-badge::after {
  content: "";

  position: absolute;
  top: -55%;
  left: -45%;

  width: 28%;
  height: 210%;

  transform: rotate(18deg);

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.30) 50%,
      rgba(115, 234, 216, 0.16) 65%,
      transparent 100%
    );

  filter: blur(1px);

  pointer-events: none;

  animation: cemCapsuleShine 4.6s ease-in-out infinite;
}

.download-badge::after {
  animation-delay: 1.15s;
}

@keyframes cemCapsuleShine {
  0%,
  18% {
    left: -45%;
    opacity: 0;
  }

  24% {
    opacity: 1;
  }

  48% {
    left: 118%;
    opacity: 0.9;
  }

  55%,
  100% {
    left: 118%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .play-placeholder::after,
  .download-badge::after {
    animation: none;
  }
}


/* =========================================================
   IMAGES 2026 — SMARTPHONE DÉJÀ INCORPORÉ DANS LES WEBP
   Les nouveaux fichiers contiennent directement le cadre du téléphone.
   On neutralise donc les anciens faux cadres CSS sans changer la mise en page.
========================================================= */

/* HERO */
.hero-preview .phone,
.hero-preview .phone-main {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  contain: none;
}

.hero-preview .phone {
  transform: none;
}

.hero-preview .real-screen {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hero-preview .real-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* FONCTIONNALITÉS */
.mini-phone {
  width: 210px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mini-phone-screen {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.mini-phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* CONTRÔLE TECHNIQUE */
.technical-phone {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
}

.technical-phone-screen {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.technical-phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* PASSEPORT */
.passport-preview-real {
  display: flex;
  align-items: center;
  justify-content: center;
}

.passport-document {
  width: min(500px, 100%);
}

.passport-document img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* GOOGLE PLAY */
.download-phone {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.download-phone-screen {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.download-phone-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .mini-phone {
    width: 190px;
  }

  .hero-preview .phone-main {
    width: min(270px, 100%);
  }
}

