/* ========================================
    HERO VERSION 1 - CINÉMATIQUE SOMBRE
    ======================================== */
.hero-1 {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 5%;
}
.hero-1__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}
.hero-1 .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-top: 4rem;
}
.hero-1 .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white-transparent);
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}
.hero-1 .badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-1 h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}
/* Accent du titre : le contrat ((…)) rend un .mcl-accent, chaque variante
   décide de ce que « mis en valeur » veut dire chez elle. Ici : couleur
   secondaire, italique, et sur sa propre ligne — le <br> qui vivait dans la
   donnée est devenu une décision de design. */
/* Selecteur historique conserve le temps que le socle remplace les anciens
   fichiers de data : ceux-ci emettent encore <span>/<strong>/.outline.
   A retirer quand data/components-data.php sera branche. */
.hero-1 h1 .mcl-accent {
  /* Le saut de ligne ne vaut QUE pour le nouveau contrat : la donnee
     historique porte deja un <br> devant son accent. */
  display: block;
}
.hero-1 h1 span,
.hero-1 h1 .mcl-accent {
  color: var(--secondary);
  font-style: italic;
}
.hero-1 .subtitle {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}
.hero-1 .description {
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}
.hero-1 .cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}
.hero-1 .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-1 .btn-primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}
.hero-1 .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-1 .btn-secondary:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}
.hero-1 .stats {
  display: flex;
  gap: 48px;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}
.hero-1 .stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.hero-1 .stat-label {
  font-size: 0.9rem;
  color: var(--gray-light);
}
.hero-1 .form-wrapper {
  animation: fadeInRight 1s ease 0.3s backwards;
}
.hero-1 .form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
}
.hero-1 .form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}
.hero-1 .form-subtitle {
  font-size: 0.9rem;
  color: var(--gray-light);
  text-align: center;
  margin-bottom: 28px;
}
.hero-1 .form-group {
  margin-bottom: 16px;
}
.hero-1 .form-input,
.hero-1 .form-select,
.hero-1 .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.hero-1 .form-input::placeholder,
.hero-1 .form-select::placeholder,
.hero-1 .form-textarea::placeholder {
  color: var(--white);
  opacity: 0.6;
}
.hero-1 .form-input:focus,
.hero-1 .form-select:focus,
.hero-1 .form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.12);
}
.hero-1 .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23adb5bd' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.hero-1 .form-select option {
  background: var(--primary);
  color: var(--on-primary);
}
.hero-1 .form-textarea {
  min-height: 100px;
  resize: vertical;
}
.hero-1 .form-submit {
  width: 100%;
  padding: 16px;
  background: var(--secondary);
  color: var(--on-secondary);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-1 .form-submit:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}
.hero-1 .form-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--gray-dark);
}
.hero-1 .form-footer svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
}
@media (max-width: 1024px) {
  .hero-1 .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-1 .description {
    max-width: 100%;
  }
  .hero-1 .cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-1 .stats {
    justify-content: center;
  }
  .hero-1 .form-card {
    max-width: 480px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  .hero-1 {
    padding: 60px 5%;
  }
  .hero-1 .stats {
    flex-direction: column;
    gap: 24px;
  }
  .hero-1 .cta-group {
    flex-direction: column;
  }
  .hero-1 .btn-primary,
  .hero-1 .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.hero-1 .form-title:hover,
.hero-1 .subtitle:hover,
.hero-1 h1:hover {
  color: var(--white);
}

/* ============ DEPOT DE PHOTOS ============ */

/* Le seul libellé visible du formulaire : tous les autres champs portent un
   placeholder. Sans règle ici, il héritait du noir par défaut — illisible sur
   la carte sombre, et sans le retrait qui l'aurait rattaché à son champ.
   On reprend donc exactement le traitement des placeholders voisins. */
.hero-1 .form-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.6;
}

/* La zone de dépôt est dessinée pour un fond clair : sur cette carte, sa
   trame et ses textes disparaîtraient. */
.hero-1 .upload-zone {
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.06);
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 8px,
    transparent 8px,
    transparent 16px
  );
}

.hero-1 .upload-zone span.upload-zone__hint {
  color: var(--white);
}

.hero-1 .upload-zone span.upload-zone__note {
  color: rgba(255, 255, 255, 0.55);
}

/* Pied de formulaire : la carte est un verre pose sur un hero SOMBRE. Le
   sous-composant mention-donnees prend le fond clair pour defaut (§4.12) :
   c'est donc a la variante, qui seule connait son fond reel, de lui donner
   les deux couleurs de ce contexte-la. */
.hero-1 .form-card {
  --mention-donnees-couleur: color-mix(in srgb, var(--white) 72%, transparent);
  --mention-donnees-lien: var(--white);
}
