:root {
  --bg: #050816;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --soft: rgba(255, 255, 255, 0.08);
  --line:#e5e7eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(120, 119, 198, 0.18), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.16), transparent 25%),
    var(--bg);
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 100px;
}

.hero {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.badge,
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

h1 {
  margin: 22px 0 0;
  font-size: clamp(0.6rem, 3vw, 1.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gradient {
  display: block;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.call-btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.call-btn:hover {
  background-color: #1da851;
}

.subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 22px;
  border-radius: 18px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.projects {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 16px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.preview-shell {
  padding: 12px;
  border-radius: 22px;
}

.accent-1 {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.3), rgba(168, 85, 247, 0.1));
}

.accent-2 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(14, 165, 233, 0.1));
}

.accent-3 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(249, 115, 22, 0.1));
}

.browser {
  background: #0b1020;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-top {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.red {
  background: #f87171;
}

.yellow {
  background: #facc15;
}

.green {
  background: #4ade80;
}

.browser-body {
  padding: 16px;
}

.hero-block {
  height: 128px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
}
.hero-block img {
  width: 100%;
  display: block;
}
.card-footer {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.card-footer h2 {
  margin: 0;
  font-size: 22px;
}

.card-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* BOUTON STICKY APPEL */
.sticky-call-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: fixed;
  overflow: visible;
  isolation: isolate;
}

.sticky-call-btn::before,
.sticky-call-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  pointer-events: none;
}

.sticky-call-btn::before {
  animation: pulseRing 1.8s ease-out infinite;
}

.sticky-call-btn::after {
  animation: pulseRing 1.8s ease-out infinite 0.9s;
}

.sticky-call-btn:hover {
  background: #1da851;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(900px, calc(100% - 40px));
    padding: 64px 0 88px;
  }

  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: min(700px, calc(100% - 28px));
    padding: 56px 0 72px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .subtitle {
    font-size: 16px;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card {
    border-radius: 22px;
  }

  .preview-shell {
    border-radius: 18px;
  }

  .hero-block {
    height: 180px;
  }

  .sticky-call-btn {
    bottom: 15px;
    width: calc(100% - 30px);
    text-align: center;
    padding: 16px 20px;
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px);
    padding: 42px 0 56px;
  }

  .badge,
  .tag {
    font-size: 12px;
    padding: 7px 12px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .card {
    padding: 12px;
  }

  .browser-body {
    padding: 12px;
  }
.separator {
  width: 50%;
  margin: 2rem auto;
}

.required {
  color: red;
}
  /*.hero-block {
    height: 150px;
    border-radius: 14px;
  }*/
.iframe-preview {
  max-width: 900px;
  margin: auto;
  aspect-ratio: 16 / 9;
  position: relative;
}

.iframe-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.iframe-link {
  position: absolute;
  inset: 0;
  z-index: 10;
}
  .card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-footer h2 {
    font-size: 19px;
  }
}