
/* =========================================
   1. COULEURS ET BASE
========================================= */

:root {
  --blue: #0411D1;
  --blue-dark: #030B8F;
  --green: #28A745;
  --yellow: #FFC107;
  --red: #FF5252;
  --white: #FFFFFF;
  --black: #05070D;
  --gray: rgba(0, 0, 0, 0.65);
  --text-muted: #D4D9F4;
  --border: rgba(255, 255, 255, 0.15);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--white);
  background: var(--blue);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

section {
  scroll-margin-top: 125px;
}

/* =========================================
   2. BOUTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(40, 167, 69, 0.2);
}

.btn-green:hover {
  background: #218838;
  box-shadow: 0 12px 25px rgba(40, 167, 69, 0.3);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
}

/* =========================================
   3. EN-TÊTE ET NAVIGATION
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 36, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.main-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  white-space: nowrap;
}

.brand strong {
  color: var(--yellow);
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 5px 18px rgba(255, 193, 7, 0.2);
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 23px;
}

.menu > a:not(.btn) {
  color: #F0F2FF;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.menu > a:not(.btn):hover {
  color: var(--yellow);
}

.secondary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 9px 20px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.secondary-nav a {
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #E5E9FF;
  transition: background 0.2s ease, color 0.2s ease;
}

.secondary-nav a:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.09);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
}

/* =========================================
   4. ACCUEIL / HERO
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  background:
    radial-gradient(
      circle at 85% 35%,
      rgba(255, 193, 7, 0.13),
      transparent 27%
    ),
    linear-gradient(135deg, var(--blue), #070B88 85%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -220px;
  left: -180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 65px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 30px;
  color: var(--yellow);
  background: rgba(255, 193, 7, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0;
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.08;
  letter-spacing: -2px;
}

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

.hero-description {
  max-width: 650px;
  color: #E0E5FF;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
}

.hero-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  color: var(--yellow);
  font-size: 23px;
  line-height: 1.3;
}

.hero-stats span {
  max-width: 145px;
  color: #D5DBFF;
  font-size: 11px;
}

/* =========================================
   5. ILLUSTRATION DU TÉLÉPHONE
========================================= */

.phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
}

.phone {
  position: relative;
  width: 275px;
  height: 540px;
  padding: 11px;
  border: 8px solid #101521;
  border-radius: 42px;
  background: linear-gradient(145deg, #0B86FF, #052E9C);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.phone:hover {
  transform: rotate(0) translateY(-5px);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 20px;
  border-radius: 0 0 15px 15px;
  background: #101521;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 24px 13px 15px;
  overflow: hidden;
  border-radius: 25px;
  background: #F7F9FF;
  color: #111A35;
}

.app-symbol {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  margin: 6px auto 7px;
  border-radius: 16px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 30px;
  font-weight: 900;
}

.phone-caption,
.phone-subtitle {
  text-align: center;
  color: #68728C;
  font-size: 10px;
}

.phone-screen h2 {
  margin: 0;
  text-align: center;
  font-size: 23px;
}

.phone-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 9px;
  border: 1px solid #E5EAF5;
  border-radius: 12px;
  background: #FFFFFF;
}

.phone-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #EAF0FF;
  color: var(--blue);
  font-weight: 900;
}

.phone-card strong {
  display: block;
  font-size: 11px;
}

.phone-card p {
  color: #68728C;
  font-size: 10px;
}

.phone-balance {
  margin-top: 13px;
  padding: 13px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid #E5EAF5;
}

.phone-balance > span {
  font-size: 10px;
  color: #68728C;
}

.balance-line {
  height: 7px;
  width: 90%;
  margin-top: 10px;
  border-radius: 5px;
  background: #E6EAF5;
}

.balance-line.short {
  width: 55%;
  margin-top: 7px;
}

.balance-button {
  height: 28px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--green);
}

.phone-footer {
  margin-top: 13px;
  text-align: center;
  font-size: 10px;
  color: #68728C;
}

.floating-label {
  position: absolute;
  right: -10px;
  bottom: 50px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
   6. SECTIONS ET TITRES
========================================= */

.section {
  padding: 85px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.kicker {
  display: inline-block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.section-heading p {
  max-width: 690px;
  color: var(--text-muted);
}

.kicker-yellow {
  color: var(--yellow);
}

/* =========================================
   7. CARTES DU PRODUIT
========================================= */

#produit {
  background: #F4F6FF;
  color: #111A35;
}

#produit .section-heading p {
  color: #59627C;
}

#produit .kicker {
  color: var(--blue);
}

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

.feature-card {
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(4, 17, 209, 0.13);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--blue-dark);
  box-shadow: 0 18px 35px rgba(4, 17, 209, 0.22);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--blue);
  background: var(--yellow);
  font-size: 21px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  color: var(--yellow);
  font-size: 18px;
}

.feature-card p {
  color: #E0E5FF;
  font-size: 14px;
}

/* =========================================
   8. TRACTION
========================================= */

.traction {
  background: #05091E;
  color: var(--white);
}

.traction .section-heading p {
  color: #C6CDE7;
}

.traction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.traction-item {
  min-height: 135px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--yellow);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.traction-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: clamp(22px, 3vw, 32px);
}

.traction-item span {
  display: block;
  color: #CFD5ED;
  font-size: 12px;
}

.small-note {
  margin-top: 22px;
  color: #9DA8CC;
  font-size: 12px;
}

/* =========================================
   9. MARCHÉ
========================================= */

#marche {
  background: var(--blue);
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.market-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(0, 0, 0, 0.16);
}

.market-card-accent {
  background: rgba(255, 255, 255, 0.07);
}

.market-label {
  display: inline-block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.market-card h3 {
  margin: 12px 0;
  font-size: 25px;
}

.market-card > p {
  color: #E0E5FF;
  font-size: 14px;
}

.market-highlight {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 24px;
  padding: 17px;
  border-left: 3px solid var(--yellow);
  background: rgba(0, 0, 0, 0.15);
}

.market-highlight span {
  color: #C9D2FF;
  font-size: 12px;
}

.market-highlight strong {
  color: var(--yellow);
  font-size: 16px;
}

/* =========================================
   10. VISION ET FEUILLE DE ROUTE
========================================= */

.vision-section {
  background: #F4F6FF;
  color: #111A35;
}

.vision-section .section-heading p {
  color: #59627C;
}

.vision-section .kicker {
  color: var(--blue);
}

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

.roadmap-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #E0E5F2;
  border-radius: 17px;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(8, 21, 68, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(8, 21, 68, 0.1);
}

.roadmap-number {
  display: block;
  color: var(--blue);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
}

.roadmap-status {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #5A4500;
  background: #FFF1B8;
  font-size: 11px;
  font-weight: 800;
}

.roadmap-card h3 {
  margin: 14px 0 9px;
  font-size: 19px;
}

.roadmap-card p {
  color: #59627C;
  font-size: 14px;
}

/* =========================================
   11. CONTACT
========================================= */

.contact-section {
  background: #F4F6FF;
  color: #111A35;
}

.contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), #080B83);
  box-shadow: 0 20px 45px rgba(4, 17, 209, 0.15);
}

.contact-banner h2 {
  margin: 9px 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.2;
}

.contact-banner p {
  max-width: 620px;
  color: #E0E5FF;
}

.contact-heading {
  margin-top: 65px;
}

.contact-section .contact-heading p {
  color: #59627C;
}

.contact-section .contact-heading .kicker {
  color: var(--blue);
}

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

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 25px;
  border: 1px solid #E0E5F2;
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(8, 21, 68, 0.05);
}

.contact-card h3 {
  font-size: 17px;
}

.contact-card a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  color: #68728C;
  font-size: 12px;
}

/* =========================================
   12. PIED DE PAGE
========================================= */

.site-footer {
  padding: 45px 0 20px;
  color: #CFD5ED;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 35px;
  padding-bottom: 35px;
}

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 15px;
}

.footer-grid p,
.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
}

.footer-grid a:not(.brand):hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

/* =========================================
   13. ANIMATIONS AU DÉFILEMENT
========================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

/* Évite de masquer le contenu si les animations
   sont désactivées dans le navigateur. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

/* =========================================
   14. TABLETTES
========================================= */

@media (max-width: 950px) {
  .menu {
    gap: 14px;
  }

  .menu > a:not(.btn) {
    font-size: 12px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-stats {
    gap: 18px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================
   15. MOBILES
========================================= */

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

  section {
    scroll-margin-top: 85px;
  }

  .main-nav {
    min-height: 68px;
  }

  .brand {
    font-size: 20px;
  }

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

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 4%;
    background: #030724;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  }

  .menu.open {
    display: flex;
  }

  .menu > a:not(.btn) {
    padding: 12px 8px;
    font-size: 14px;
  }

  .menu .btn {
    margin: 8px 0;
  }

  .secondary-nav {
    justify-content: flex-start;
    gap: 5px;
    padding: 8px 4%;
  }

  .secondary-nav a {
    padding: 5px 8px;
    font-size: 10px;
  }

  .hero {
    padding: 58px 0 45px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 58px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stats > div {
    flex: 1 1 100px;
  }

  .hero-stats strong {
    font-size: 21px;
  }

  .phone-wrap {
    min-height: 475px;
  }

  .phone {
    width: 245px;
    height: 470px;
  }

  .floating-label {
    right: 0;
    bottom: 20px;
    font-size: 10px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .feature-grid,
  .market-grid,
  .roadmap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .market-card,
  .roadmap-card {
    padding: 23px;
  }

  .traction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .traction-item {
    padding: 18px 13px;
  }

  .traction-item strong {
    font-size: 23px;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 27px;
  }

  .contact-heading {
    margin-top: 45px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Petits écrans */
@media (max-width: 380px) {
  .container {
    width: 90%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .phone {
    width: 225px;
  }
}

