/* Olivair Parachutisme */

html { scroll-behavior: smooth; }

/* Header states */
.header-transparent { background: transparent; }
.header-transparent .header-text { color: #fff; }
.header-transparent .nav-link { color: rgba(255,255,255,0.85); }
.header-transparent .nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }

.header-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-solid .header-text { color: #1f2937; }
.header-solid .nav-link { color: #4b5563; }
.header-solid .nav-link:hover { color: #0891b2; background: rgba(8,145,178,0.06); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.revealed { opacity: 1; transform: translateY(0); }

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

/* Card hover */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Article prose — Tables */
.article-prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}
.article-prose thead tr {
  background: #f9fafb;
}
.article-prose th {
  text-align: left;
  padding: 0.875rem 1rem;
  font-weight: 600;
  color: #374151;
  border-bottom: 2px solid #e5e7eb;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.article-prose td {
  padding: 0.75rem 1rem;
  color: #4b5563;
  border-bottom: 1px solid #f3f4f6;
}
.article-prose tbody tr:last-child td {
  border-bottom: none;
}
.article-prose tbody tr:hover {
  background: #f9fafb;
}

/* Article prose — Blockquotes */
.article-prose blockquote {
  background: #f0fdfa;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-left: 4px solid #0891b2;
  position: relative;
}
.article-prose blockquote p {
  color: #374151 !important;
  font-size: 0.95rem !important;
  margin: 0;
}
.article-prose blockquote strong {
  color: #0891b2;
}

/* Article prose — Lists */
.article-prose ul li,
.article-prose ol li {
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* Print */
@media print {
  header, footer, nav { display: none !important; }
  .prose { max-width: 100%; }
}
