/* TICKET FOR PLANET — styles page d'accueil (home.css) */
/* NE PAS modifier tfp-coups.css depuis ce fichier — on surcharge via ID/classe spécifique */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #0a0714;
  color: #C9C7D6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════ HEADER ═══════════════════════════════ */

.tfp-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 7, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid #1a1730;
}

.tfp-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tfp-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 1px;
  flex-shrink: 0;
}

.tfp-logo-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
}

.tfp-logo-by {
  font-size: 10px;
  color: #B8AEDB;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tfp-logo-by img {
  height: 30px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.tfp-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.tfp-nav a {
  color: #C9C7D6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.tfp-nav a:hover { color: #4ECDC4; }

/* ═══════════════════════════════ HERO ════════════════════════════════ */

.tfp-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 24px 64px;
  overflow: hidden;
}

.tfp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% 25%, rgba(78, 205, 196, 0.11) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 15% 85%, rgba(184, 174, 219, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.tfp-hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.tfp-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ECDC4;
  background: rgba(78, 205, 196, 0.08);
  border: 0.5px solid rgba(78, 205, 196, 0.28);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 22px;
}

.tfp-hero-title {
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.tfp-hero-title .tfp-accent { color: #4ECDC4; }

.tfp-hero-subtitle {
  font-size: 16px;
  color: #8a8398;
  margin: 0 0 36px;
  line-height: 1.55;
}

/* Barre de recherche hero */
.tfp-hero-search-wrap {
  position: relative;
  max-width: 540px;
  margin: 0 auto 16px;
}

.tfp-hero-search {
  width: 100%;
  padding: 15px 52px 15px 20px;
  background: #12101c;
  border: 0.5px solid #2a2340;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.tfp-hero-search::placeholder { color: #666078; }

.tfp-hero-search:focus {
  border-color: #4ECDC4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.09);
}

.tfp-hero-search-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #4ECDC4;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.tfp-hero-search-btn i { font-size: 19px; }

/* Chips de filtre rapide */
.tfp-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tfp-chip {
  background: transparent;
  border: 0.5px solid #2a2340;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-family: inherit;
  color: #C9C7D6;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.tfp-chip:hover {
  background: rgba(78, 205, 196, 0.07);
  border-color: rgba(78, 205, 196, 0.5);
  color: #4ECDC4;
}

.tfp-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tfp-chips-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tfp-chips-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666078;
}

/* ════════════════════════ SECTION "A LA UNE" ════════════════════════ */

.tfp-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* La barre de recherche du composant est dans le hero — on masque celle du composant */
#tfp_coups .tfp-controls { display: none; }

/* La note d'affiliation est dans le footer */
#tfp_coups .tfp-affiliation-note { display: none; }

/* Retirer la mise en boîte interne du composant : il prend la largeur de .tfp-section */
#tfp_coups {
  max-width: none;
  margin-bottom: 0;
  padding: 0;
  border-radius: 0;
}

/* ══════════════════════════ BANDEAU IMPACT ══════════════════════════ */

.tfp-impact-banner {
  background: linear-gradient(135deg,
    rgba(78, 205, 196, 0.055) 0%,
    rgba(184, 174, 219, 0.055) 100%);
  border-top: 0.5px solid #1a1730;
  border-bottom: 0.5px solid #1a1730;
  padding: 24px;
  text-align: center;
}

.tfp-impact-banner p {
  margin: 0;
  font-size: 14px;
  color: #8a8398;
  line-height: 1.6;
}

.tfp-impact-banner strong { color: #C9C7D6; font-weight: 500; }

.tfp-impact-banner a {
  color: #4ECDC4;
  text-decoration: none;
  font-weight: 500;
}

.tfp-impact-banner a:hover { text-decoration: underline; }

/* ═══════════════════════════════ FOOTER ══════════════════════════════ */

.tfp-site-footer {
  border-top: 0.5px solid #1a1730;
  padding: 40px 24px;
}

.tfp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.tfp-footer-logo {
  text-decoration: none;
  display: block;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.tfp-footer-logo:hover { opacity: 1; }

.tfp-footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.tfp-footer-affiliation {
  font-size: 12px;
  color: #666078;
  margin: 0;
}

.tfp-footer-affiliation a {
  color: #8a8398;
  text-decoration: none;
  transition: color 0.15s;
}

.tfp-footer-affiliation a:hover { color: #C9C7D6; }

.tfp-footer-legal {
  display: flex;
  gap: 20px;
}

.tfp-footer-legal a {
  font-size: 11px;
  color: #666078;
  text-decoration: none;
  transition: color 0.15s;
}

.tfp-footer-legal a:hover { color: #8a8398; }

/* ═══════════════════════════════ MOBILE ══════════════════════════════ */

@media (max-width: 640px) {
  .tfp-header-inner { padding: 0 16px; }
  .tfp-nav { gap: 18px; }
  .tfp-nav a { font-size: 13px; }

  .tfp-hero { padding: 60px 16px 44px; min-height: 60vh; }
  .tfp-hero-subtitle { font-size: 15px; }

  .tfp-section { padding: 0 16px 48px; }
  .tfp-impact-banner { padding: 20px 16px; }
}
