/* ---------- Base ---------- */

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

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

/* ---------- Logo : carré arrondi + halo doux ---------- */

.logo-halo {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 30px auto 24px;
}

.logo-halo::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%,
    rgba(0, 245, 255, 0.35),
    rgba(0, 0, 0, 0) 60%
  );
  filter: blur(18px);
  opacity: 0.9;
  z-index: 1;
}

.logo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 26px rgba(0, 245, 255, 0.6);
}

.logo {
  display: block;
  width: 80%;
  height: auto;
}

/* ---------- Phrase d'accroche ---------- */

.hero-text {
  text-align: center;
  max-width: 90%;
  margin: 0 auto 28px;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 700;
  background: linear-gradient(45deg, #00f5ff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Contours dégradés FIXES (barre + boutons) ---------- */

.glow-button-wrapper {
  margin-bottom: 14px;
}

/* Utilisé pour la barre (search-inner) et les boutons */
.bordered {
  border-radius: 24px;
  border: 2px solid transparent;
  background: #000000;
  background-clip: padding-box;
  position: relative;
}

.bordered::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f5ff, #ffaa00);
  z-index: -1;
}

/* ---------- Barre projet ---------- */

.search-wrapper {
  width: 100%;
  max-width: 380px;
  margin: 0 auto 18px;
  padding: 0 20px;
}

.search-inner {
  position: relative;
  padding: 12px 18px;
}

/* On applique la classe .bordered via HTML ou en ciblant directement */
.search-inner {
  border-radius: 24px;
  border: 2px solid transparent;
  background: #000000;
  background-clip: padding-box;
  position: relative;
}

.search-inner::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f5ff, #ffaa00);
  z-index: -1;
}

.project-input {
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  cursor: pointer;
}

/* ---------- Placeholder animé (texte qui s'écrit) ---------- */

.project-input::placeholder {
  color: transparent;
}

.typewriter-placeholder {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 85%;
  border-right: 2px solid #00f5ff;
  animation: typingBar 3s steps(28) infinite, blinkBar 0.8s step-end infinite;
}

@keyframes typingBar {
  0%   { width: 0; }
  50%  { width: 100%; }
  100% { width: 100%; }
}

@keyframes blinkBar {
  0%, 50%  { border-color: #00f5ff; }
  51%,100% { border-color: transparent; }
}

/* ---------- Boutons PRO / PARTICULIER ---------- */

.main-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.glow-button {
  display: block;
  width: 100%;
  padding: 18px 22px;
  border-radius: 24px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* Contour dégradé fixe pour les boutons */

.glow-button-wrapper .glow-button {
  border-radius: 24px;
  border: 2px solid transparent;
  background: #000000;
  background-clip: padding-box;
  position: relative;
}

.glow-button-wrapper .glow-button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #00f5ff, #ffaa00);
  z-index: -1;
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
}

/* ---------- Responsive ---------- */

@media (min-width: 768px) {
  .logo-halo {
    margin-top: 50px;
    width: 300px;
    height: 300px;
  }

  .hero-text {
    font-size: 1.6rem;
  }

  .main-buttons {
    flex-direction: row;
  }
}
/* ---------- Sections de contenu PRO ---------- */

.content-wrapper {
  max-width: 420px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.intro-text {
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* ---------- Formulaire PRO ---------- */

.form-section {
  max-width: 460px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.pro-form {
  background: #050505;
  border-radius: 24px;
  padding: 20px 18px 24px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.form-title {
  font-size: 1rem;
  margin: 16px 0 8px;
  background: linear-gradient(45deg, #00f5ff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-group label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000000;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.9rem;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #00f5ff;
}

.info-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 14px;
}
/* Liens dans les textes d'info */

.link-inline {
  color: #00f5ff;
  text-decoration: underline;
  font-weight: 500;
}
/* ---------- Tableau de bord PRO ---------- */

.dashboard {
  max-width: 460px;
  margin: 0 auto 30px;
  padding: 0 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dashboard-card {
  display: block;
  background: #050505;
  border-radius: 20px;
  padding: 14px 16px 16px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #ffffff;
}

.dashboard-card h2 {
  font-size: 1rem;
  margin-bottom: 6px;
  background: linear-gradient(45deg, #00f5ff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.palier-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.palier-list li {
  margin-bottom: 2px;
}

.code-parrain {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #000000;
  border: 1px solid rgba(0, 245, 255, 0.4);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: #00f5ff;
}
/* ---------- Cartes chantiers PRO ---------- */

.chantier-list {
  max-width: 460px;
  margin: 0 auto 30px;
  padding: 0 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chantier-card {
  background: #050505;
  border-radius: 20px;
  padding: 12px 14px 14px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chantier-card h2 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  background: linear-gradient(45deg, #00f5ff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.chantier-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.chantier-actions {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}
/* ---------- Étapes formulaire projet ---------- */

.step-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin: 10px 0 6px;
}

.form-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 12px 0;
}

.pro-form textarea {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000000;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.9rem;
  resize: vertical;
}











