/* rapport.css — styles spécifiques au rapport de vol */

/* ── Layout ── */
main { padding-top: 80px; } /* compense la nav fixed */

.rp-hero {
  padding: 5rem 5vw 4rem;
  border-bottom: 1px solid var(--border);
}

.rp-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.rp-mission-label {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.rp-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #f0f0f5;
  margin-bottom: 0.75rem;
}

.rp-sub {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stats bar */
.rp-stats-bar {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
}

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

.rp-stat-val {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  display: inline;
}

.rp-stat-unit {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: #555;
  margin-left: 2px;
  display: inline;
}

.rp-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #444;
  margin-top: 5px;
}

.rp-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Sections ── */
.rp-section {
  padding: 4rem 5vw;
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}

.rp-section:last-child { border-bottom: none; }

.rp-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0f0f5;
  margin-bottom: 2rem;
}

/* ── Cards ── */
.rp-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto 1.25rem;
}

.rp-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.rp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.rp-card-title {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

.rp-card-badge {
  font-family: var(--font-title);
  font-size: 0.68rem;
  color: var(--blue);
}

.rp-card-body { padding: 1rem; }

/* ── Charts ── */
.rp-chart-wrap          { position: relative; height: 220px; }
.rp-chart-wrap.tall     { height: 280px; }

/* ── Map ── */
.rp-map-wrap {
  position: relative;
  height: 260px;
  background: #080a14;
  border-radius: 2px;
  overflow: hidden;
}

#map-leaflet { width: 100%; height: 100%; }
#map-leaflet .leaflet-control-attribution { font-size: 0.6rem; opacity: 0.5; }

/* ── Gallery ── */
.rp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.rp-photo {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.rp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.rp-photo img:hover { transform: scale(1.03); }

.rp-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #2a2a35;
  border: 1px dashed #1e1e28;
  background: rgba(255,255,255,0.01);
  cursor: default;
}

.rp-photo-placeholder svg { color: #2a2a35; }

.rp-photo-placeholder span {
  font-family: var(--font-title);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #252530;
}

/* ── Drive section ── */
.rp-drive-section { text-align: center; }
.rp-drive-section .rp-section-title { margin-bottom: 1rem; }

.rp-drive-desc {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.rp-drive-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.rp-drive-btn:hover { opacity: 0.82; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .rp-charts-grid  { grid-template-columns: 1fr; }
  .rp-gallery      { grid-template-columns: repeat(2, 1fr); }
  .rp-section      { padding: 3rem 5vw; }
  .rp-hero         { padding: 3.5rem 5vw 3rem; }
}

@media (max-width: 700px) {
  main             { padding-top: 72px; }
  .rp-hero         { padding: 2.5rem 4vw 2rem; }
  .rp-section      { padding: 2.5rem 4vw; }
  .rp-title        { font-size: 2rem; }
  .rp-sub          { font-size: 0.8rem; }
  .rp-section-title { font-size: 1.3rem; margin-bottom: 1.25rem; }
  .rp-stats-bar    { gap: 1rem 1.5rem; padding: 1.25rem; }
  .rp-stat-val     { font-size: 1.3rem; }
  .rp-stat-lbl     { font-size: 0.6rem; }
  .rp-sep          { display: none; }
  .rp-chart-wrap   { height: 170px; }
  .rp-chart-wrap.tall { height: 210px; }
  .rp-map-wrap     { height: 200px; }
  .rp-card-body    { padding: 0.75rem; }
  .rp-gallery      { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .rp-drive-btn    { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .rp-title        { font-size: 1.7rem; }
  .rp-gallery      { grid-template-columns: 1fr; }
  .rp-stat-val     { font-size: 1.15rem; }
}
