:root {
  --navy: #061d3a;
  --navy-2: #082a52;
  --orange: #ff7900;
  --text: #071b3a;
  --muted: #4d5d73;
  --line: #dde5ef;
  --soft: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(7, 27, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  background: #fbfdff;
}

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

/* Lien d'evitement : invisible jusqu'a ce qu'on l'atteigne au clavier. */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

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

:where(a, button, summary, details):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: clamp(176px, 16vw, 230px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 35px 0;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--orange);
  border-radius: 999px;
  opacity: 0;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  opacity: 1;
}

.language,
.menu-toggle {
  border: 1px solid var(--line);
  background: var(--white);
}

.language {
  min-width: 82px;
  padding: 13px 16px;
  color: var(--text);
  font-weight: 800;
  border-radius: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 450px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(2, 17, 36, 0.98), rgba(2, 17, 36, 0.62) 48%, rgba(2, 17, 36, 0.08)),
    var(--navy) url("hero.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1140px, 86vw);
  padding: 62px 0 38px;
  margin: 0 auto;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--orange);
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 28px;
  font-size: 19px;
  line-height: 1.58;
}

.hero-text strong {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 26px;
  font-weight: 800;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

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

.btn-icon-img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.btn-primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 16px 34px rgba(255, 121, 0, 0.28);
}

.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  font-size: 13px;
  font-weight: 800;
}

.trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.trust-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--orange);
}

.section {
  width: min(1060px, 86vw);
  padding: 34px 0 0;
  margin: 0 auto;
  text-align: center;
}

.section h2,
.contact-panel h2,
.faq h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}

.service-card {
  min-height: 178px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #edf1f6;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.icon-circle,
.step-icon {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 14px;
  font-size: 34px;
  background: #f7f9fc;
  border: 1px solid #e6edf6;
  border-radius: 50%;
}

.icon-circle img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-card h3::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: var(--orange);
}

.service-card p {
  min-height: 68px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.service-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid #edf1f6;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card .icon-circle .ui-icon {
  width: 32px;
  height: 32px;
  color: var(--navy);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product-card h3::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: var(--orange);
}

.product-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-top: 16px;
  padding: 0 14px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: #fff3e6;
  border: 1px solid #ffd4a8;
  border-radius: 999px;
  cursor: default;
}

.product-badge::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
}

.product-links a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card.next {
  background: #f8fafd;
  border-style: dashed;
  border-color: #d7e1ee;
  box-shadow: none;
}

.product-card.next p {
  color: var(--muted);
}

.process {
  padding-top: 32px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 14px;
}

.steps article {
  position: relative;
  display: grid;
  justify-items: center;
}

.steps article:not(:last-child)::after {
  position: absolute;
  top: 34px;
  right: -42px;
  width: 58px;
  color: #9aa8ba;
  content: "→";
}

.step-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
  color: var(--navy);
}

.ui-icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps strong {
  color: var(--orange);
  font-size: 18px;
}

.steps p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, 89vw);
  margin: 34px auto 30px;
  color: var(--white);
  background: linear-gradient(90deg, var(--navy), #082f5b);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stats div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stats div:last-child {
  border-right: 0;
}

.stat-icon {
  display: grid;
  grid-row: span 2;
  width: 54px;
  height: 54px;
  place-items: center;
}

.stat-svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats strong {
  color: var(--orange);
  font-size: 34px;
  line-height: 1;
}

.stats p {
  margin: 3px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.contact-panel,
.trust-section {
  width: min(1120px, 89vw);
  margin: 0 auto 30px;
  padding: 32px 6vw;
  text-align: center;
  background: var(--soft);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(7, 27, 58, 0.03);
}

.contact-panel > p:not(.section-kicker):not(.availability) {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 16px;
}

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

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 18px 28px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 10px 25px rgba(7, 27, 58, 0.08);
}

.contact-card span {
  display: grid;
  grid-row: span 2;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  border-radius: 50%;
}

.contact-card span img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.whatsapp span,
.wechat span {
  background: #21c458;
}

.email span {
  background: var(--orange);
}

.contact-card strong {
  font-size: 16px;
}

.contact-card small {
  color: var(--muted);
  font-size: 13px;
}

.availability {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.trust-section {
  padding: 32px 0 36px;
  background: transparent;
  box-shadow: none;
}

.trust-section .section-kicker {
  margin-bottom: 18px;
  text-align: center;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.trust-cards article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 24px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f9fbfe);
  border: 1px solid #dce5f0;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(7, 27, 58, 0.07);
}

.trust-cards article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--orange), #ffac4d);
}

.trust-cards span {
  display: grid;
  grid-row: span 2;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--navy);
  background: #eef4fb;
  border: 1px solid #dce8f5;
  border-radius: 50%;
}

.trust-card-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-cards strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.3;
}

.trust-cards small {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.faq {
  padding-bottom: 42px;
}

.faq details {
  max-width: 760px;
  padding: 18px 22px;
  margin: 12px auto;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  color: var(--white);
  background: radial-gradient(circle at 20% 0, #0b3768, var(--navy) 55%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr 0.95fr 1.55fr 1.25fr;
  gap: 0;
  width: min(1380px, 89vw);
  padding: 46px 0 34px;
  margin: 0 auto;
}

.footer-grid > div {
  padding: 0 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-grid > div:last-child {
  padding-right: 0;
}

.footer h3 {
  margin: 0 0 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 11px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.5;
}

.footer-brand img {
  width: 275px;
  max-height: 105px;
  object-fit: contain;
  margin: 0 auto;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 275px;
  margin: 22px auto 0;
}

.socials a,
.socials .soon-link {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  margin: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

.socials img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-line {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  max-width: 330px;
}

.footer-line svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.footer-line span {
  display: block;
}

.footer-line a {
  display: inline;
  margin: 0;
}

.footer-grid > div:nth-child(4) {
  min-width: 0;
}

.footer-grid > div:nth-child(4) p {
  overflow-wrap: anywhere;
}

.footer-soon {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 16px !important;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: rgba(255, 121, 0, 0.16);
  border: 1px solid rgba(255, 172, 77, 0.6);
  border-radius: 999px;
  cursor: default;
}

.footer-soon::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.copyright {
  padding: 18px 0 24px;
  margin: 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Le menu déroulant prend le relais dès que la barre horizontale devient trop
   serrée : 7 entrées, et des libellés plus longs en français qu'en anglais. */
@media (max-width: 1200px) {
  .site-header {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .language {
    display: block;
    min-width: 58px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5vw 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 0;
  }

  .main-nav a::after {
    bottom: 8px;
    width: 42px;
  }
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 5vw;
  }

  .service-grid,
  .product-grid,
  .contact-grid,
  .trust-cards {
    grid-template-columns: 1fr 1fr;
  }

  .steps,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div {
    padding: 0 24px;
  }

  .footer-brand img {
    width: 235px;
  }

  .footer-grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .steps article:not(:last-child)::after {
    display: none;
  }

  .stats div:nth-child(2) {
    border-right: 0;
  }

  .stats div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 570px;
    background: linear-gradient(90deg, rgba(2, 17, 36, 0.92), rgba(2, 17, 36, 0.56)),
      var(--navy) url("hero-mobile.jpg") center / cover no-repeat;
    background-position: center;
  }

  .hero-content {
    width: min(90vw, 540px);
    padding-top: 48px;
  }

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

  .btn {
    width: 100%;
  }

  .trust-row {
    gap: 14px;
  }

  .service-grid,
  .product-grid,
  .contact-grid,
  .steps,
  .stats,
  .trust-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact-panel,
  .trust-section,
  .stats,
  .footer-grid {
    width: min(90vw, 540px);
  }

  .section {
    padding-top: 28px;
  }

  .stats div,
  .stats div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .trust-cards article {
    border-right: 1px solid #dce5f0;
    border-bottom: 1px solid #dce5f0;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-grid > div,
  .footer-grid > div:nth-child(odd) {
    padding: 0;
    border-left: 0;
  }

  .footer-brand img {
    width: 225px;
  }

  .footer-line {
    justify-content: center;
    max-width: none;
    text-align: left;
  }

  .footer-grid > div:not(.footer-brand) {
    text-align: center;
  }

  .footer-grid > div:not(.footer-brand) a,
  .footer-grid > div:not(.footer-brand) p {
    text-align: center;
  }

  .footer-grid > div:nth-child(4) p {
    overflow-wrap: normal;
  }
}


.soon-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  padding: 13px 18px;
  color: var(--white);
  font-weight: 800;
  background: var(--orange);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(7, 27, 58, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.soon-toast.show {
  opacity: 1;
  transform: translateY(0);
}
