/* Extrait du bloc <style> inline de page-sections-competition-loisir.php (thème WordPress cauxtt).
   Voir CLAUDE.md "Conservation du design existant" : plus aucun style ne
   doit rester en dur dans un template — sorti ici, chargé par ui/sections-competition-loisir.htm
   via le paramètre page_css de renderPage(). */

  .sections-page {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 10px 16px 40px;
  }

  .sections-page h1 {
    margin: 0 0 8px;
    font-size: 2.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-light);
    text-shadow:
      0 0 8px rgba(79,216,255,0.8),
      0 0 20px rgba(79,216,255,0.5);
  }

  .sections-subtitle {
    margin: 0 0 22px;
    color: var(--text-soft);
    font-size: 1rem;
  }

  /* HERO */
  .sections-hero {
    position: relative;
    background: radial-gradient(circle at top left, rgba(79,216,255,0.18), rgba(3,8,15,0.98));
    border-radius: 22px;
    padding: 20px 20px 22px;
    border: 1px solid rgba(79,216,255,0.35);
    box-shadow:
      0 0 14px rgba(79,216,255,0.4),
      0 18px 40px rgba(0,0,0,0.9);
    margin-bottom: 26px;
    overflow: hidden;
  }

  .sections-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(5,12,20,0.95);
    border: 1px solid rgba(79,216,255,0.7);
    color: var(--accent-light);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .sections-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4fd8ff;
    box-shadow:
      0 0 8px rgba(79,216,255,1),
      0 0 18px rgba(79,216,255,0.9);
  }

  .sections-hero-main {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 22px;
    align-items: center;
  }

  .sections-hero-text h2 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main);
  }

  .sections-hero-text p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
  }

  .sections-hero-highlight {
    margin-top: 12px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sections-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(79,216,255,0.6);
    color: var(--accent-light);
    background: rgba(5,10,18,0.9);
  }

  .sections-hero-infos {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }

  .sections-info-card {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(5,10,18,0.96);
    border: 1px solid rgba(79,216,255,0.35);
  }

  .sections-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
    opacity: 0.9;
    margin-bottom: 3px;
  }

  .sections-info-value {
    font-size: 0.98rem;
    color: var(--text-main);
    font-weight: 600;
  }

  /* CARTES SECTIONS */
  .sections-card {
    background: rgba(5,10,18,0.95);
    border-radius: 20px;
    padding: 18px 20px 20px;
    border: 1px solid rgba(79,216,255,0.3);
    box-shadow:
      0 0 10px rgba(79,216,255,0.25),
      0 12px 35px rgba(0,0,0,0.8);
    margin-bottom: 22px;
  }

  .sections-card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .sections-card h2::before {
    content: "";
    width: 8px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent-light), var(--accent-strong));
    box-shadow:
      0 0 8px rgba(79,216,255,0.8),
      0 0 18px rgba(79,216,255,0.6);
  }

  .sections-card > p {
    margin-top: 0;
    color: var(--text-soft);
    font-size: 0.94rem;
  }

  .sections-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 18px;
    margin-top: 14px;
  }

  .section-block {
    padding: 14px 14px 16px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(79,216,255,0.12), rgba(3,8,15,0.98));
    border: 1px solid rgba(79,216,255,0.4);
    box-shadow:
      0 0 12px rgba(79,216,255,0.35),
      0 0 24px rgba(0,0,0,0.9);
  }

  .section-title {
    margin: 0 0 4px;
    font-size: 1.02rem;
    color: var(--text-main);
    font-weight: 600;
  }

  .section-meta {
    margin: 0 0 6px;
    font-size: 0.8rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
  }

  .section-description {
    margin: 0 0 8px;
    font-size: 0.86rem;
    color: var(--text-soft);
  }

  .section-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }

  .section-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid rgba(79,216,255,0.5);
    color: var(--accent-light);
  }

  /* TABLEAU HORAIRES / PROFILS */
  .sections-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
  }

  .sections-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
  }

  .sections-table thead {
    background: rgba(5,10,18,0.98);
  }

  .sections-table th,
  .sections-table td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(79,216,255,0.2);
    text-align: left;
  }

  .sections-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--accent-light);
  }

  .sections-table td {
    color: var(--text-soft);
  }

  .sections-table tr:nth-child(even) td {
    background: rgba(5,10,18,0.8);
  }

  /* CONTACT / ORIENTATION */
  .sections-orient-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 18px;
    margin-top: 14px;
  }

  .sections-orient-list ul {
    margin: 0 0 10px 18px;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-soft);
  }

  .sections-orient-list li {
    margin-bottom: 4px;
  }

  .sections-orient-card {
    padding: 14px 14px 16px;
    border-radius: 16px;
    background: radial-gradient(circle at top, rgba(79,216,255,0.16), rgba(5,10,18,0.98));
    border: 1px solid rgba(79,216,255,0.5);
    box-shadow:
      0 0 12px rgba(79,216,255,0.35),
      0 0 24px rgba(0,0,0,0.9);
  }

  .sections-orient-card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-light);
  }

  .sections-orient-card p {
    margin: 0 0 8px;
    font-size: 0.86rem;
    color: var(--text-soft);
  }

  .sections-orient-highlight {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
  }

  .sections-orient-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-strong));
    color: #021018;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
      0 0 10px rgba(79,216,255,0.8),
      0 10px 24px rgba(0,0,0,1);
    transition: transform 0.09s ease, box-shadow 0.09s ease;
  }

  .sections-orient-btn:hover {
    transform: translateY(-1px);
    box-shadow:
      0 0 14px rgba(79,216,255,1),
      0 16px 30px rgba(0,0,0,1);
  }

  .sections-orient-btn:active {
    transform: translateY(1px);
    box-shadow:
      0 0 8px rgba(79,216,255,0.7),
      0 10px 20px rgba(0,0,0,0.9);
  }

  .sections-footnote {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--text-soft);
    opacity: 0.9;
    font-style: italic;
  }

  @media (max-width: 900px) {
    .sections-hero-main {
      grid-template-columns: minmax(0,1fr);
    }
    .sections-hero-infos {
      grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .sections-grid {
      grid-template-columns: minmax(0,1fr);
    }
    .sections-orient-grid {
      grid-template-columns: minmax(0,1fr);
    }
  }

  @media (max-width: 600px) {
    .sections-page {
      padding-inline: 10px;
    }
    .sections-page h1 {
      font-size: 1.6rem;
    }
    .sections-hero-infos {
      grid-template-columns: minmax(0,1fr);
    }
  }
