/* ==========================================================================
   08-patterns.css - Block patterns & pages intérieures
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero pages intérieures
   -------------------------------------------------------------------------- */

.t-hero-inner {
  background: linear-gradient(135deg, var(--t-primary) 0%, var(--t-primary-dark) 100%);
  color: var(--t-white);
  padding: var(--t-space-16) var(--t-space-8);
  border-radius: var(--t-radius-lg);
  margin-bottom: var(--t-space-12);
  text-align: center;
}

.t-hero-inner h1,
.t-hero-inner h2 {
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: var(--t-line-height-tight);
  margin-bottom: var(--t-space-4);
}

.t-hero-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--t-font-size-md);
  max-width: 680px;
  margin: 0 auto;
  line-height: var(--t-line-height);
}

/* --------------------------------------------------------------------------
   Chiffres clés — .t-stat-card
   -------------------------------------------------------------------------- */

.t-stat-card {
  background: var(--t-primary);
  color: var(--t-white);
  padding: var(--t-space-10) var(--t-space-8);
  border-radius: var(--t-radius-md);
  text-align: center;
  box-shadow: var(--t-shadow-md);
}

.t-stat-card h2,
.t-stat-card h3,
.t-stat-card p.t-stat-number {
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-3xl);
  font-weight: 800;
  line-height: 1;
  margin-bottom: var(--t-space-3);
}

.t-stat-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--t-font-size-sm);
  margin: 0;
  line-height: var(--t-line-height);
}

.t-stat-card--secondary { background: var(--t-secondary); }
.t-stat-card--accent    { background: var(--t-accent); }

/* --------------------------------------------------------------------------
   Highlight budget — .t-highlight-box
   -------------------------------------------------------------------------- */

.t-highlight-box {
  background: linear-gradient(135deg, var(--t-accent) 0%, var(--t-accent-dark) 100%);
  color: var(--t-white);
  padding: var(--t-space-12) var(--t-space-8);
  border-radius: var(--t-radius-md);
  text-align: center;
  margin: var(--t-space-8) 0;
  box-shadow: var(--t-shadow-lg);
}

.t-highlight-box h2,
.t-highlight-box h3 {
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--t-space-4);
  line-height: 1;
}

.t-highlight-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--t-font-size-md);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Cards missions & infrastructures — .t-mission-card
   -------------------------------------------------------------------------- */

.t-mission-card {
  background: var(--t-white);
  border: 1px solid var(--t-border);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-8) var(--t-space-6);
  box-shadow: var(--t-shadow-sm);
  transition: box-shadow var(--t-transition-base), transform var(--t-transition-base);
  height: 100%;
}

.t-mission-card:hover {
  box-shadow: var(--t-shadow-md);
  transform: translateY(-2px);
}

.t-mission-card h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-lg);
  font-weight: 700;
  color: var(--t-primary);
  margin-bottom: var(--t-space-3);
}

.t-mission-card p {
  color: var(--t-text-light);
  font-size: var(--t-font-size-sm);
  margin: 0;
  line-height: var(--t-line-height);
}

/* --------------------------------------------------------------------------
   Saisons été / hiver — .t-season-col
   -------------------------------------------------------------------------- */

.t-season-col {
  background: var(--t-bg);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-8) var(--t-space-6);
  border-top: 4px solid var(--t-primary);
}

.t-season-col h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-lg);
  font-weight: 700;
  color: var(--t-primary);
  margin-bottom: var(--t-space-4);
}

.t-season-col--summer { border-top-color: var(--t-secondary); }
.t-season-col--summer h3 { color: var(--t-secondary); }

.t-season-col--winter { border-top-color: var(--t-primary); }

/* --------------------------------------------------------------------------
   Niveaux de sponsoring — .t-sponsor-tier
   -------------------------------------------------------------------------- */

.t-sponsor-tier {
  background: var(--t-white);
  border: 2px solid var(--t-border);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-8) var(--t-space-6);
  position: relative;
  box-shadow: var(--t-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.t-sponsor-tier h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-xl);
  font-weight: 800;
  margin-bottom: var(--t-space-2);
}

.t-sponsor-tier .t-tier-price {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--t-space-6);
}

.t-sponsor-tier ul {
  margin-bottom: var(--t-space-6);
  flex: 1;
}

.t-sponsor-tier ul li {
  color: var(--t-text);
  font-size: var(--t-font-size-sm);
  padding: var(--t-space-2) 0;
  border-bottom: 1px solid var(--t-border-light);
}

.t-sponsor-tier ul li:last-child { border-bottom: none; }

.t-sponsor-tier--bronze  { border-color: #CD7F32; }
.t-sponsor-tier--bronze h3,
.t-sponsor-tier--bronze .t-tier-price  { color: #CD7F32; }

.t-sponsor-tier--silver  { border-color: #9E9E9E; }
.t-sponsor-tier--silver h3,
.t-sponsor-tier--silver .t-tier-price  { color: #757575; }

.t-sponsor-tier--gold    { border-color: #F5B400; background: #FDF8E6; }
.t-sponsor-tier--gold h3,
.t-sponsor-tier--gold .t-tier-price    { color: #C68C00; }

.t-sponsor-tier--platinum {
  border-color: #7A8B99;
  background: #EEF1F4;
}
.t-sponsor-tier--platinum h3,
.t-sponsor-tier--platinum .t-tier-price { color: #5B6F7E; }

/* --------------------------------------------------------------------------
   Membres du comité — .t-team-member
   -------------------------------------------------------------------------- */

.t-team-member {
  background: var(--t-white);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-6) var(--t-space-6);
  border-left: 4px solid var(--t-primary);
  box-shadow: var(--t-shadow-sm);
}

.t-team-member h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-base);
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: var(--t-space-1);
}

.t-team-member .t-member-role {
  color: var(--t-primary);
  font-size: var(--t-font-size-sm);
  font-weight: 600;
  margin-bottom: var(--t-space-2);
}

.t-team-member p {
  color: var(--t-text-light);
  font-size: var(--t-font-size-sm);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Impact social — .t-impact-item
   -------------------------------------------------------------------------- */

.t-impact-item {
  background: var(--t-white);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-6) var(--t-space-5);
  border-top: 3px solid var(--t-secondary);
  box-shadow: var(--t-shadow-sm);
  text-align: center;
}

.t-impact-item h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-2xl);
  font-weight: 800;
  color: var(--t-secondary);
  margin-bottom: var(--t-space-2);
  line-height: 1;
}

.t-impact-item p {
  color: var(--t-text-light);
  font-size: var(--t-font-size-sm);
  margin: 0;
  line-height: var(--t-line-height);
}

/* --------------------------------------------------------------------------
   Étapes de sponsoring — .t-steps-block
   -------------------------------------------------------------------------- */

.t-steps-block {
  counter-reset: t-step;
}

.t-step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--t-space-5);
  padding: var(--t-space-6) 0;
  border-bottom: 1px solid var(--t-border);
}

.t-step-item:last-child { border-bottom: none; }

.t-step-number {
  background: var(--t-primary);
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-xl);
  font-weight: 800;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-step-item h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-md);
  font-weight: 700;
  color: var(--t-text);
  margin-bottom: var(--t-space-2);
}

.t-step-item p {
  color: var(--t-text-light);
  font-size: var(--t-font-size-sm);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Contact GTT — .t-contact-gtt
   -------------------------------------------------------------------------- */

.t-contact-gtt {
  background: var(--t-bg);
  border-radius: var(--t-radius-md);
  padding: var(--t-space-10) var(--t-space-8);
  border-left: 5px solid var(--t-primary);
}

.t-contact-gtt h3 {
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-lg);
  color: var(--t-primary);
  margin-bottom: var(--t-space-4);
}

.t-contact-gtt p {
  color: var(--t-text);
  line-height: 2;
  margin: 0;
}

.t-contact-gtt a {
  color: var(--t-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Grille tarifaire hockey — .t-hockey-grid
   -------------------------------------------------------------------------- */

.t-hockey-grid {
  border-collapse: collapse;
  width: 100%;
  border-radius: var(--t-radius-md);
  overflow: hidden;
  box-shadow: var(--t-shadow-sm);
}

.t-hockey-grid thead th {
  background: var(--t-primary);
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-weight: 700;
  padding: var(--t-space-4) var(--t-space-5);
  text-align: left;
  font-size: var(--t-font-size-sm);
}

.t-hockey-grid tbody tr:nth-child(even) { background: var(--t-bg); }
.t-hockey-grid tbody tr:nth-child(odd)  { background: var(--t-white); }

.t-hockey-grid td {
  padding: var(--t-space-4) var(--t-space-5);
  font-size: var(--t-font-size-sm);
  color: var(--t-text);
  border-bottom: 1px solid var(--t-border-light);
}

.t-hockey-grid td:last-child {
  font-weight: 700;
  color: var(--t-primary);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   CTA soutenir — .t-cta-block (complète le composant de la home)
   -------------------------------------------------------------------------- */

.t-cta-block {
  background: linear-gradient(135deg, var(--t-primary) 0%, var(--t-primary-dark) 100%);
  color: var(--t-white);
  padding: var(--t-space-16) var(--t-space-8);
  border-radius: var(--t-radius-lg);
  text-align: center;
  margin: var(--t-space-12) 0;
}

.t-cta-block h2 {
  color: var(--t-white);
  font-family: var(--t-font-heading);
  font-size: var(--t-font-size-xl);
  font-weight: 700;
  margin-bottom: var(--t-space-4);
}

.t-cta-block p {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--t-font-size-md);
  max-width: 600px;
  margin: 0 auto var(--t-space-8);
}

.t-cta-block .wp-block-buttons {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Séparateur de section
   -------------------------------------------------------------------------- */

.t-section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--t-font-size-xs);
  font-weight: 700;
  color: var(--t-primary);
  margin-bottom: var(--t-space-2);
}

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

@media (max-width: 768px) {
  .t-hero-inner {
    padding: var(--t-space-12) var(--t-space-4);
    border-radius: var(--t-radius-md);
  }

  .t-highlight-box h2,
  .t-highlight-box h3 {
    font-size: var(--t-font-size-3xl);
  }

  .t-stat-card h2,
  .t-stat-card h3 {
    font-size: var(--t-font-size-2xl);
  }

  .t-step-item {
    flex-direction: column;
    gap: var(--t-space-3);
  }

  .t-sponsor-tier {
    margin-bottom: var(--t-space-6);
  }
}
