:root {
      --navy:#061426;
      --blue:#0f4c81;
      --gold:#d9a441;
      --green:#2f8f5b;
      --light:#f5f8fb;
      --text:#17202a;
      --white:#ffffff;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      color: var(--text);
      background: var(--light);
      line-height: 1.6;
    }

    header {
      background: linear-gradient(135deg, var(--navy), #0b2646);
      color: var(--white);
      padding: 72px 22px 56px;
      text-align: center;
    }

    header h1 {
      margin: 0;
      font-size: clamp(2.1rem, 4vw, 4rem);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    header p {
      max-width: 920px;
      margin: 18px auto 0;
      font-size: 1.14rem;
      color: #dce8f5;
    }

    .container {
      max-width: 1180px;
      margin: 0 auto;
      padding: 46px 22px;
    }

    .intro {
      background: var(--white);
      border-radius: 20px;
      padding: 34px;
      box-shadow: 0 14px 35px rgba(6,20,38,0.08);
      border-left: 6px solid var(--gold);
    }

    h2 {
      color: var(--navy);
      font-size: clamp(1.7rem, 2.6vw, 2.5rem);
      margin: 0 0 14px;
    }

    h3 {
      color: var(--navy);
      margin-top: 0;
      font-size: 1.45rem;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
      margin-top: 28px;
    }

    .card {
      background: var(--white);
      border-radius: 18px;
      padding: 26px;
      box-shadow: 0 12px 28px rgba(6,20,38,0.08);
      border-top: 5px solid var(--blue);
    }

    .card.identity { border-top-color: #1d5fd1; }
    .card.raptor { border-top-color: #d98a1f; }
    .card.eco { border-top-color: var(--green); }
    .card.erp { border-top-color: #7c4dff; }
    .card.archeo { border-top-color: #b07a32; }
    .card.equs { border-top-color: #2ca66f; }
    .card.aesthetic { border-top-color: #a05cc8; }

    .tag {
      display: inline-block;
      padding: 5px 10px;
      border-radius: 999px;
      background: #eaf1f8;
      color: var(--blue);
      font-size: 0.78rem;
      font-weight: 700;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    ul {
      padding-left: 20px;
      margin-bottom: 0;
    }

    .layer {
      margin-top: 14px;
      padding: 14px;
      border-radius: 14px;
      background: #f1f5f9;
      font-weight: 700;
      color: var(--navy);
    }

    .section {
      margin-top: 52px;
    }

    .cta {
      margin-top: 48px;
      background: linear-gradient(135deg, var(--navy), #12395f);
      color: white;
      padding: 34px;
      border-radius: 22px;
      text-align: center;
    }

    .cta strong { color: var(--gold); }

    footer {
      background: var(--navy);
      color: #c9d8e8;
      text-align: center;
      padding: 28px 18px;
      font-size: 0.9rem;
    }
    .cta h2{
  color:#f8fbff;
}

.grid .card h2 {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-bottom: 22px;
    word-break: break-word;
}

.grid .card ul {
    margin-top: 20px;
}

.grid .card {
    min-height: 420px;
}

@media (max-width: 768px) {

    .grid .card h2 {
        font-size: 1.6rem;
    }

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

}

.visual-a4-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  margin-top: 52px;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 14px 35px rgba(6,20,38,0.08);
}

.visual-content h2 {
  color: #061426;
  margin-bottom: 14px;
}

.visual-frame {
  background: #f1f5f9;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid #dbe5ee;
}

.visual-frame img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

@media (max-width: 800px) {
  .visual-a4-block {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.contact-form-section {
  margin-top: 48px;
}

.contact-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 14px 35px rgba(6,20,38,0.08);
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  border: 1px solid #d7e2ec;
  border-radius: 14px;
  padding: 16px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  background: #f8fbfe;
}

.contact-box textarea {
  resize: vertical;
}

.contact-box button {
  border: none;
  background: #061426;
  color: white;
  padding: 16px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-box button:hover {
  background: #0f4c81;
}

/* RETOUR HAUT */

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #061426, #0f4c81);
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(6,20,38,0.28);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {

  #backToTop {
    width: 46px;
    height: 46px;
    bottom: 18px;
    right: 18px;
    font-size: 1.2rem;
  }

}

/* PROTOTYPE */
.prototype-hero {
  margin: 60px auto;
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(6,20,38,0.92), rgba(15,76,129,0.78)),
    url("images/prototype-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 42px;
  box-shadow: 0 18px 45px rgba(6,20,38,0.18);
}

.prototype-overlay {
  max-width: 720px;
  color: #ffffff;
}

.prototype-tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prototype-overlay h2 {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
}

.prototype-overlay p {
  max-width: 640px;
  font-size: 1.12rem;
  color: #dce8f5;
}

.prototype-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 22px;
  border-radius: 14px;
  background: #d9a441;
  color: #061426;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.prototype-btn:hover {
  background: #f0bd52;
}

@media (max-width: 760px) {
  .prototype-hero {
    min-height: 360px;
    padding: 28px;
    border-radius: 22px;
  }

  .prototype-overlay h2 {
    font-size: 2rem;
  }
}

/* PROTOTYPE LIEN MENU */
.nav-prototype {
  background: linear-gradient(135deg,#d9a441,#f0bd52);
  color: #061426 !important;
  border-radius: 12px;
  padding: 10px 16px !important;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

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

.certification-smartia {
  max-width: 1150px;
  margin: 40px auto;
  padding: 80px 24px;
  background: radial-gradient(circle at top, #102a43, #06111f 65%);
  color: #ffffff;
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.28);
}

.certification-hero {
  max-width: 950px;
  margin: 0 auto 60px;
  text-align: center;
}

.certification-badge {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  color: #7dd3fc;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.certification-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 20px;
}

.certification-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  border-radius: 40px;
}

.certification-grid {
  max-width: 1150px;
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.cert-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.cert-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 20px;
}

.cert-card h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.cert-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

.level {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.gold { background: #facc15; color: #111827; }
.platinum { background: #dbeafe; color: #1e3a8a; }
.silver { background: #e5e7eb; color: #111827; }

.certification-matrix,
.certification-levels {
  max-width: 1150px;
  margin: 0 auto 50px;
}

.certification-matrix h2,
.certification-levels h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

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

.matrix-grid div,
.certification-levels p {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px;
  border-radius: 18px;
}

.matrix-grid p {
  color: #cbd5e1;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .certification-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .certification-smartia {
    padding: 55px 18px;
  }
}
.hero {
    border-radius: 40px;
    overflow: hidden;
}

.cert-card:hover{
   transform: translateY(-6px);
   box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.certification-smartia h1,
.certification-smartia h2,
.certification-smartia h3,
.certification-smartia p,
.certification-smartia span {
    color: #ffffff;
}
.cert-card img {
    filter: brightness(1.1);
}
.cert-card i,
.cert-card svg {
    color: #7dd3fc;
}
h2 {
   color:#111;
}
.certification-smartia .cert-card h2 {
   color:white;
}
.cert-card p {
   color:#cbd5e1;
}