/* ===== AÉROCLUB DE BIGORRE - Feuille de style unique ===== */


/* Polices Google (Montserrat, Open Sans) chargées dans app/layout/header.php */

:root {
  --primary: #0a2a4a;
  --primary-light: #1a4a7a;
  --secondary: #c8102e;
  --secondary-light: #e8304e;
  --accent: #f5a623;
  --dark: #0a0a0a;
  --dark-blue: #061a30;
  --light: #f0f4f8;
  --white: #ffffff;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --radius-sm: 6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: var(--primary-light);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 42, 74, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(200, 16, 46, 0.3);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 26, 48, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 70px;
  width: auto;
  transition: var(--transition);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text span:first-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-text span:last-child {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
}

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

.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: #c8102e;
  transition: var(--transition);
  border-radius: 2px;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav a:hover::after,
.nav a.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Dropdown menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  padding-right: 22px !important;
}

.nav-dropdown > a::before {
  content: '▾';
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(6, 26, 48, 0.98);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 100;
  overflow: hidden;
}

.nav-dropdown-content a {
  display: block;
  padding: 12px 18px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  border-radius: 0 !important;
}

.nav-dropdown-content a:last-child {
  border-bottom: none;
}

.nav-dropdown-content a:hover {
  background: rgba(200, 16, 46, 0.2) !important;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-dropdown:hover > a {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

/* Mobile: dropdown becomes full-width */
@media (max-width: 768px) {
  .nav-dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    min-width: auto;
  }
  .nav-dropdown-content a {
    padding-left: 30px !important;
  }
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== PAGE HERO BANNER ===== */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M50 20 L54 40 L75 48 L75 52 L54 50 L52 65 L60 70 L60 73 L50 71 L40 73 L40 70 L48 65 L46 50 L25 52 L25 48 L46 40 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
  pointer-events: none;
}


.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  z-index: 1;
}

.page-hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.page-hero .subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--light);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-blue) 100%);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-title::after {
  background: var(--accent);
}

.text-center {
  text-align: center;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}

.btn-accent:hover {
  background: #e09600;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ===== GRID ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 20px;
  border-top: 3px solid var(--secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer h3 {
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin-top: 8px;
  border-radius: 1px;
}

.footer p, .footer a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
  font-size: 18px;
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== ACCUEIL - VIDEO BACKGROUND ===== */
.home-header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 42, 74, 0.7) 0%, rgba(6, 26, 48, 0.85) 100%);
  z-index: 1;
}

.home-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.home-content h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.home-content .home-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-content .home-location {
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.home-content .home-location span {
  display: inline-block;
  margin: 0 8px;
}

.home-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== CLUB - TROMBINOSCOPE ===== */
.trombi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.trombi-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.trombi-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.trombi-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--light-gray);
  transition: var(--transition);
}

.trombi-card:hover .trombi-photo {
  border-color: var(--secondary);
}

.trombi-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 4px;
}

.trombi-role {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trombi-category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--secondary);
}

.trombi-category-title:first-of-type {
  margin-top: 0;
}

/* ===== FLOTTE ===== */
.flotte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.flotte-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.flotte-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.flotte-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.flotte-info {
  padding: 24px;
}

.flotte-model {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 4px;
}

.flotte-immat {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.flotte-spec {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FORMATIONS ===== */
.formation-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-light);
  margin-bottom: 30px;
  border-left: 5px solid var(--secondary);
  transition: var(--transition);
}

.formation-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.formation-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.formation-card .formation-subtitle {
  font-size: 13px;
  color: var(--secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.formation-card ul {
  list-style: none;
  padding: 0;
}

.formation-card ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: var(--text);
}

.formation-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* ===== TARIFS ===== */
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  margin-bottom: 40px;
}

.tarif-table thead {
  background: var(--primary);
  color: var(--white);
}

.tarif-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tarif-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
}

.tarif-table tbody tr:hover {
  background: rgba(200, 16, 46, 0.04);
}

.tarif-table .price {
  font-weight: 700;
  color: var(--secondary);
  font-size: 16px;
}

.tarif-table .category-row {
  background: var(--light);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
}

.tarif-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--secondary);
}

/* ===== VOLS DECOUVERTE ===== */
.vol-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: var(--transition);
}

.vol-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.vol-card .vol-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.vol-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.vol-card .vol-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.vol-card .vol-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
}

.vol-card .vol-price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}

/* ===== PHOTOS & PRESSE ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.presse-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.presse-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}

.presse-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
  border-left-color: var(--secondary);
}

.presse-item .presse-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.presse-item .presse-info {
  flex: 1;
}

.presse-item .presse-title {
  font-weight: 600;
  color: var(--primary);
  font-size: 15px;
}

.presse-item .presse-source {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== ESPACE MEMBRES ===== */
.password-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.password-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px 40px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 420px;
  width: 100%;
}

.password-box .lock-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.password-box h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.password-box p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

.password-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.password-input-group input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  letter-spacing: 4px;
  transition: var(--transition);
  outline: none;
}

.password-input-group input:focus {
  border-color: var(--primary);
}

.password-error {
  color: var(--secondary);
  font-size: 13px;
  margin-top: 8px;
}

.membres-content {
  display: block;
}

.membres-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.membres-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 2px solid transparent;
}

.membres-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.membres-btn .btn-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.membres-btn .btn-text {
  text-align: left;
}

.membres-btn .btn-text span:first-child {
  display: block;
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
}

.membres-btn .btn-text span:last-child {
  display: block;
  font-size: 11px;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
  .home-content h1 { font-size: 40px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 26, 48, 0.98);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-top: 2px solid rgba(200, 16, 46, 0.3);
  }
  
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; width: 100%; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  
  .home-content h1 { font-size: 32px; }
  .home-content .home-subtitle { font-size: 14px; letter-spacing: 3px; }
  .page-hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  
  .flotte-grid { grid-template-columns: 1fr; }
  .trombi-grid { grid-template-columns: repeat(2, 1fr); }
  .logo img { height: 40px; }
  .logo-text span:first-child { font-size: 11px; }
  .logo-text span:last-child { font-size: 8px; }
}

@media (max-width: 480px) {
  .trombi-grid { grid-template-columns: 1fr; }
  .home-content h1 { font-size: 26px; letter-spacing: 2px; }
  .home-buttons { flex-direction: column; align-items: center; }
  .password-box { padding: 30px 20px; }
}


/* ==================================================================
   Styles propres à certaines pages (auparavant dans chaque page)
   ================================================================== */

/* ===== ACCUEIL - POPUP & BANDEAU ACTUALITÉS ===== */
/* ===== POPUP MODAL ===== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}
.popup-overlay.open {
    display: flex;
}
.popup-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: popup-fadein 0.3s ease;
}
@keyframes popup-fadein {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #c8102e;
    cursor: pointer;
    z-index: 10;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s;
}
.popup-close:hover {
    transform: scale(1.2);
}
.popup-modal img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}
.popup-body {
    padding: 24px 28px 28px;
}
.popup-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0a2a4a;
    margin-bottom: 10px;
}
.popup-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}
.popup-body .btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: 50px;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}
.popup-body .btn:hover {
    background: #e8304e;
}

.news-ticker {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, var(--secondary), #a00d22);
    color: white;
    font-size: 16px;
    overflow: hidden;
    height: 52px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    margin-top: 85px;
}
.news-ticker-label {
    flex-shrink: 0;
    padding: 0 24px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.2);
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}
.news-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
}
.news-ticker-item {
    display: block;
    white-space: nowrap;
    position: absolute;
    line-height: 52px;
    padding-left: 100%;
    animation: ticker-scroll 35s linear infinite;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ===== FORMATIONS (détail) ===== */
.formation-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 50px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
    text-align: left;
}
.formation-section-title:first-of-type { margin-top: 0; }
.formation-section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}
.formation-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary);
    transition: var(--transition);
}
.formation-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.formation-card .fc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.fc-badge.initiation { background: #e8f5e9; color: #2e7d32; }
.fc-badge.formation { background: #e3f2fd; color: #1565c0; }
.fc-badge.specialisation { background: #fff3e0; color: #e65100; }
.fc-badge.ulm { background: #f3e5f5; color: #7b1fa2; }
.card-initiation { border-left-color: #2e7d32 !important; }
.card-formation { border-left-color: #1565c0 !important; }
.card-specialisation { border-left-color: #e65100 !important; }
.card-ulm { border-left-color: #7b1fa2 !important; }
.section-initiation { border-bottom-color: #2e7d32 !important; }
.section-formation { border-bottom-color: #1565c0 !important; }
.section-specialisation { border-bottom-color: #e65100 !important; }
.section-ulm { border-bottom-color: #7b1fa2 !important; }
.formation-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}
.formation-card .fc-subtitle {
    font-size: 13px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.formation-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 12px;
}
.formation-card ul {
    list-style: none;
    padding: 0;
}
.formation-card ul li {
    padding: 5px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}
.formation-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}
.formation-card .fc-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--light-gray);
    font-size: 13px;
    color: var(--text-light);
}
.formation-card .fc-footer strong { color: var(--primary); }
.passeport-note {
    background: #fff8e1;
    border-left: 4px solid #ffa000;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    color: #5d4037;
    line-height: 1.6;
}
.passeport-note a { color: #e65100; font-weight: 600; }
@media (max-width: 768px) {
    .formation-card { padding: 20px; }
    .formation-section-title { font-size: 20px; }
}

/* ===== LÂCHÉS & BREVETÉS ===== */
.lache-item {
    display: flex;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 24px;
    transition: var(--transition);
}
.lache-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.lache-photo {
    width: 220px;
    min-height: 180px;
    flex-shrink: 0;
    object-fit: cover;
}
.lache-content {
    padding: 24px 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lache-date {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.lache-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.lache-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}
.lache-loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 15px;
}
@media (max-width: 768px) {
    .lache-item {
        flex-direction: column;
    }
    .lache-photo {
        width: 100%;
        height: 200px;
    }
    .lache-content {
        padding: 16px;
    }
}

/* ===== PHOTOS & PRESSE (galerie, visionneuse) ===== */
/* Gallery item - description always visible */
.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    pointer-events: none;
    opacity: 1 !important;
}

/* Admin button */
.admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.admin-btn:hover {
    transform: scale(1.1);
    background: var(--secondary);
}

/* Gallery loading placeholder */
.gallery-loading {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 15px;
}

/* ===== WEBCAM ===== */
.webcam-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.webcam-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}
.webcam-card img {
    width: 100%;
    height: auto;
    display: block;
}
.webcam-card .webcam-info {
    padding: 16px 20px;
}
.webcam-card .webcam-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.webcam-card .webcam-info p {
    font-size: 13px;
    color: var(--text-light);
}
.webcam-refresh {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}
@media (max-width: 768px) {
    .webcam-container { grid-template-columns: 1fr; }
}

/* ===== ESPACE MEMBRES (documents par avion) ===== */
.membres-btn .btn-icon { font-size: 28px; }

.avion-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary);
}

.avion-section-title:first-of-type {
    margin-top: 0;
}

.avion-docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.avion-doc-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 16px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.avion-doc-btn:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.avion-doc-btn .doc-icon {
    font-size: 32px;
}

.avion-doc-btn .doc-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
}

.avion-doc-btn .doc-desc {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
}

.membres-divider {
    margin: 40px 0 20px;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
}

@media (max-width: 992px) {
    .avion-docs.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .avion-docs { grid-template-columns: 1fr !important; }
}

.avion-docs.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .avion-docs.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .avion-docs.cols-4 { grid-template-columns: 1fr; } }
.avion-titre { font-size: 18px; font-weight: 700; color: var(--primary); margin: 30px 0 12px; }
.avion-doc-btn.indisponible { opacity: 0.45; cursor: default; pointer-events: none; }
.membres-deconnexion { text-align: right; margin-bottom: 10px; font-size: 13px; }
.membres-deconnexion button { background: none; border: none; color: var(--text-light); text-decoration: underline; cursor: pointer; font-size: 13px; }


/* ==================================================================
   Compléments ajoutés lors de la refonte
   ================================================================== */

/* Trombinoscope : pastille avec initiales quand la photo n'existe pas encore */
.trombi-photo { display: block; }
.trombi-initiales {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 2px;
}

/* Lâchés sans photo : le texte garde une marge à gauche */
.lache-item.sans-photo .lache-content { padding-left: 24px; }

/* Galerie : image introuvable */
.gallery-item.image-manquante { background: var(--light); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; }

/* Messages vides (aucune photo, aucun article…) */
.contenu-vide { text-align: center; padding: 60px; color: var(--text-light); font-size: 15px; }

/* Texte long (mentions légales) */
.texte-long { max-width: 800px; margin: 0 auto; }
.texte-long h2 { font-size: 20px; margin: 32px 0 10px; }
.texte-long p, .texte-long li { font-size: 15px; line-height: 1.8; margin-bottom: 10px; }
.texte-long ul { padding-left: 20px; }

/* Menu mobile : le sous-menu « Le Club » est toujours visible */
@media (max-width: 768px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-content { display: block; }
}

/* Respect du réglage « réduire les animations » */
@media (prefers-reduced-motion: reduce) {
  .news-ticker-item { animation-duration: 0s; padding-left: 20px; }
  html { scroll-behavior: auto; }
}

/* Tableaux de tarifs : défilement horizontal sur petit écran */
@media (max-width: 768px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ===== FAQ ===== */
.faq { max-width: 860px; }
.faq-sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.faq-sommaire a {
  padding: 8px 18px; border-radius: 50px; background: var(--light); color: var(--primary);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
}
.faq-sommaire a:hover { background: var(--secondary); color: var(--white); }
.faq-rubrique {
  font-size: 22px; color: var(--primary); margin: 40px 0 16px; padding-bottom: 10px;
  border-bottom: 3px solid var(--secondary); scroll-margin-top: 110px;
}
.faq-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-light);
  margin-bottom: 12px; border-left: 4px solid transparent; transition: var(--transition);
}
.faq-item[open] { border-left-color: var(--secondary); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 50px 18px 22px; position: relative;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; color: var(--primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--secondary); transition: var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: var(--secondary); }
.faq-reponse { padding: 0 22px 20px; font-size: 15px; line-height: 1.8; color: var(--text); }
.faq-reponse a { color: var(--secondary); font-weight: 600; text-decoration: underline; }
@media (max-width: 768px) {
  .faq-item summary { font-size: 14px; padding: 16px 44px 16px 16px; }
  .faq-reponse { padding: 0 16px 16px; font-size: 14px; }
}


/* ===== VISIONNEUSE PHOTOS (galerie, lâchés, flotte) ===== */
.agrandissable { cursor: zoom-in; }
.agrandissable:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.visionneuse {
  position: fixed; inset: 0; z-index: 3000; background: rgba(6, 14, 24, 0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px 70px;
  animation: visionneuse-entree 0.2s ease;
}
.visionneuse[hidden] { display: none; }
@keyframes visionneuse-entree { from { opacity: 0; } to { opacity: 1; } }
.visionneuse-contenu {
  display: flex; align-items: stretch; margin: 0; max-width: 1400px; max-height: 100%;
  background: #0b0f14; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.visionneuse-cadre { display: flex; align-items: center; justify-content: center; background: #000; min-width: 0; }
.visionneuse-image {
  display: block; max-width: calc(100vw - 140px - 340px); max-height: calc(100vh - 48px);
  width: auto; height: auto; object-fit: contain; cursor: default;
  min-height: min(360px, 50vh);  /* les petites photos sont affichées à une taille confortable */
}
.visionneuse.sans-texte .visionneuse-image { max-width: calc(100vw - 140px); }
.visionneuse-texte {
  width: 340px; flex-shrink: 0; padding: 32px 28px; background: var(--white); color: var(--text);
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}
.visionneuse-texte[hidden] { display: none; }
.visionneuse-sous-titre { font-size: 12px; font-weight: 600; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.visionneuse-sous-titre:empty, .visionneuse-titre:empty, .visionneuse-description:empty, .visionneuse-compteur:empty { display: none; }
.visionneuse-titre { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.3; }
.visionneuse-description { font-size: 15px; line-height: 1.7; color: var(--text-light); white-space: pre-line; }
.visionneuse-compteur { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--text-light); }
.visionneuse-fermer, .visionneuse-nav {
  position: absolute; background: rgba(255,255,255,0.1); border: none; color: #fff; cursor: pointer;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.visionneuse-fermer:hover, .visionneuse-nav:hover { background: rgba(255,255,255,0.25); }
.visionneuse-fermer { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 22px; }
.visionneuse-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 34px; line-height: 1; padding-bottom: 4px; }
.visionneuse-prec { left: 12px; }
.visionneuse-suiv { right: 12px; }
.visionneuse.seule .visionneuse-nav { display: none; }

/* Tablettes et téléphones : texte sous la photo */
@media (max-width: 900px) {
  .visionneuse { padding: 60px 12px 12px; align-items: flex-start; overflow-y: auto; }
  .visionneuse-contenu { flex-direction: column; width: 100%; max-height: none; }
  .visionneuse-image, .visionneuse.sans-texte .visionneuse-image { max-width: 100%; max-height: 65vh; }
  .visionneuse-texte { width: auto; padding: 20px; }
  .visionneuse-nav { top: auto; bottom: auto; top: 8px; transform: none; width: 44px; height: 44px; font-size: 28px; }
  .visionneuse-prec { left: 12px; }
  .visionneuse-suiv { left: 64px; right: auto; }
}

/* Articles de presse : bouton « Voir les articles plus anciens » */
.presse-plus { margin-top: 12px; }
.presse-plus > summary { list-style: none; text-align: center; padding: 16px 0 8px; }
.presse-plus > summary::-webkit-details-marker { display: none; }
.presse-plus[open] > summary { display: none; }
.membres-deconnexion .via-admin { color: var(--text-light); font-size: 13px; }
