/*
 * entete.css — Styles de l'en-tête de page
 * ─────────────────────────────────────────────────────────────
 * Ce fichier est SÉPARÉ de style.css pour faciliter
 * la personnalisation indépendante de l'en-tête.
 *
 * ★ Modifiez librement les couleurs, polices et dimensions.
 * ★ Les textes sont dans includes/entete.php
 *
 * FTP Uploader v3.0 — © Franck Canonne 2026
 */

/* ── Conteneur principal ─────────────────────────────────────── */
.entete-wrap {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(123, 47, 255, 0.12) 0%,
    rgba(0, 229, 255, 0.07)  60%,
    rgba(10, 10, 15, 0)      100%
  );
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  padding: 2rem 0 1.8rem;
  position: relative;
  overflow: hidden;
}

/* Ligne lumineuse décorative en haut */
.entete-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #7b2fff     30%,
    #00e5ff     60%,
    transparent 100%
  );
}

/* Motif de points discrets */
.entete-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Layout intérieur ────────────────────────────────────────── */
.entete-inner {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

/* ── Logo ────────────────────────────────────────────────────── */
.entete-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Taille du conteneur logo — modifiez ici */
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, #7b2fff, #00e5ff);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

/* Logo emoji (quand pas d'image) */
.entete-logo-emoji {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

/* Logo image */
.entete-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ── Textes ──────────────────────────────────────────────────── */
.entete-texts {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Titre principal */
.entete-titre {
  font-family: 'Syne', sans-serif;

  /* ★ Taille du titre — modifiez ici */
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);

  font-weight: 800;
  line-height: 1.1;
  color: #e8e8f0;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Mot mis en couleur dans le titre via <span class="entete-accent"> */
.entete-accent {
  color: #00e5ff;
  /* Optionnel : dégradé sur le texte */
  background: linear-gradient(90deg, #7b2fff, #00e5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sous-titre */
.entete-sous-titre {
  font-family: 'DM Mono', monospace;

  /* ★ Taille du sous-titre — modifiez ici */
  font-size: 0.82rem;

  letter-spacing: 0.06em;
  color: #00e5ff;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.85;
}

/* Description */
.entete-description {
  font-family: 'Syne', sans-serif;

  /* ★ Taille de la description — modifiez ici */
  font-size: 0.88rem;

  color: #5a5a7a;
  margin: 0.2rem 0 0;
  line-height: 1.6;
  max-width: 580px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .entete-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 0 1.2rem;
  }

  .entete-logo-wrap {
    width: 58px;
    height: 58px;
  }

  .entete-titre {
    font-size: 1.5rem;
  }

  .entete-description {
    font-size: 0.82rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   ★  THÈMES ALTERNATIFS  — décommentez pour changer d'aspect  ★
   ══════════════════════════════════════════════════════════════

--- Thème clair ---
.entete-wrap {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f8ff 100%);
  border-bottom: 1px solid #c5d8f0;
}
.entete-wrap::before { background: linear-gradient(90deg, transparent, #4a90d9, #00b4d8, transparent); }
.entete-titre         { color: #1a1a2e; }
.entete-accent        { color: #0077b6; -webkit-text-fill-color: unset; }
.entete-sous-titre    { color: #0077b6; }
.entete-description   { color: #555577; }

--- Thème minimaliste (juste un bandeau discret) ---
.entete-wrap {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid #1e1e2e;
  padding: 1.2rem 0;
}
.entete-wrap::before { display: none; }
.entete-wrap::after  { display: none; }
.entete-description  { display: none; }

*/
