/* ═══════════════════════════════════════════════════════════════
   Espace Nordique du Barioz — style.css
   Design : Alpine Luxury — Cormorant Garamond + Outfit
   Palette : Navy profond · Glace · Pin · Or montagne
═══════════════════════════════════════════════════════════════ */

:root {
  --navy:    #0b1b2a;
  --navy-2:  #152636;
  --ice:     #dff0f7;
  --white:   #ffffff;
  --pine:    #1a4a3a;
  --sky:     #5aafe0;
  --sky-2:   #3d9acf;
  --snow:    #f3f8fc;
  --snow-2:  #e8f2f8;
  --gold:    #c9a84c;
  --gold-2:  #a8873a;
  --text:    #1a2535;
  --muted:   #607080;
  --border:  rgba(255,255,255,0.10);
  --border-light: rgba(11,27,42,0.08);
  --shadow:  0 4px 24px rgba(11,27,42,0.10);
  --shadow-lg: 0 12px 48px rgba(11,27,42,0.16);
  --radius:  16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--snow);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11,27,42,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(90,175,224,0.15);
  border: 1px solid rgba(90,175,224,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--sky);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(90,175,224,0.18);
}

.nav-cta {
  background: var(--sky) !important;
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--sky-2) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(90,175,224,0.4) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ════════════════════════════════════════════
   PAGES
════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ════════════════════════════════════════════
   HERO ACCUEIL
════════════════════════════════════════════ */
.hero {
  height: 100vh;
  min-height: 720px;
  background:
    linear-gradient(to bottom, rgba(11,27,42,0.5) 0%, rgba(11,27,42,0.2) 40%, rgba(11,27,42,0.75) 100%),
    url('PXL_20260124_095901306_MP.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--snow) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: heroIn 1.2s ease forwards;
  padding: 0 1.5rem;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(90,175,224,0.2);
  border: 1px solid rgba(90,175,224,0.45);
  color: var(--sky);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 1.3rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.hero h1 em {
  font-style: italic;
  color: var(--sky);
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3.5rem;
  z-index: 2;
  animation: heroIn 1.4s 0.3s ease both;
}

.hero-stat {
  text-align: center;
  color: var(--white);
}

.hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sky);
}

.hero-stat span {
  font-size: 0.68rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0.5;
  animation: heroIn 1.6s 0.6s ease both;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--white));
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 500;
}

/* ════════════════════════════════════════════
   PAGE HERO (sous-pages)
════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--pine) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90,175,224,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sky);
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════ */
.btn-primary {
  background: var(--sky);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--sky-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,175,224,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.25s;
  backdrop-filter: blur(4px);
  display: inline-block;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
}

.btn-outline-small {
  display: inline-block;
  background: transparent;
  color: var(--sky);
  border: 1.5px solid var(--sky);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-small:hover {
  background: var(--sky);
  color: var(--white);
}

/* ════════════════════════════════════════════
   SECTIONS
════════════════════════════════════════════ */
.section {
  padding: 5rem 2rem;
  max-width: 1360px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
  font-weight: 400;
}

.section-header {
  margin-bottom: 3.5rem;
}

/* ════════════════════════════════════════════
   QUICK INFO BAR
════════════════════════════════════════════ */
.quick-info-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  gap: 0;
  flex-wrap: wrap;
}

.qi-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  flex: 1;
  min-width: 200px;
}

.qi-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.qi-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.qi-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.qi-value a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
}
.qi-value a:hover { text-decoration: underline; }

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

/* ════════════════════════════════════════════
   CARDS GRID
════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(90,175,224,0.25);
}

.card-img-wrap {
  overflow: hidden;
  height: 160px;
}

.card-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
  position: relative;
}

.card:hover .card-img { transform: scale(1.05); }

.card-img--ski   { background: linear-gradient(135deg, #0d2d3f, #1a4a5e); }
.card-img--foyer { background: linear-gradient(135deg, #1a2d4a, #253d5c); }
.card-img--refuge { background: linear-gradient(135deg, #2a1a10, #3a2510); }
.card-img--events { background: linear-gradient(135deg, #1a1a3a, #2a1e4a); }
.card-img--school { background: linear-gradient(135deg, #0d2a1a, #1a3d28); }
.card-img--snow  { background: linear-gradient(135deg, #1a2a3a, #253545); }

.card-img-emoji {
  font-size: 3rem;
  opacity: 0.8;
}

.card-body {
  padding: 1.5rem;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.5rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.card-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════
   TWO-COL
════════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ════════════════════════════════════════════
   FEATURE BOX
════════════════════════════════════════════ */
.feature-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.feature-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

/* ════════════════════════════════════════════
   STYLED LIST
════════════════════════════════════════════ */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.4rem 0 0.4rem 1.25rem;
  border-bottom: 1px solid rgba(11,27,42,0.04);
  position: relative;
  line-height: 1.55;
}

.styled-list li:last-child { border-bottom: none; }

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--sky);
  border-radius: 50%;
  flex-shrink: 0;
}

.piste-list li::before { content: none; }
.piste-list li { padding-left: 0; border-bottom: none; }

/* ════════════════════════════════════════════
   HIGHLIGHT BOX
════════════════════════════════════════════ */
.highlight {
  background: linear-gradient(135deg, rgba(90,175,224,0.08), rgba(90,175,224,0.04));
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}

.highlight h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.highlight p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.highlight a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* ════════════════════════════════════════════
   ALERT BANNER
════════════════════════════════════════════ */
.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.alert-icon { font-size: 1.5rem; flex-shrink: 0; padding-top: 0.1rem; }

.alert-text h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.alert-text p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.alert-text a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
}

/* ════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
  margin: 4rem 0;
}

/* ════════════════════════════════════════════
   WEBCAM BOX
════════════════════════════════════════════ */
.webcam-box {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.webcam-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.05);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.webcam-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.webcam-box img {
  width: 100%;
  display: block;
}

/* ════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.breadcrumb a {
  color: var(--sky);
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ════════════════════════════════════════════
   INFO CARD ROW
════════════════════════════════════════════ */
.info-card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: all 0.25s;
}

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

.info-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.info-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.info-card-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.info-card-value a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ════════════════════════════════════════════
   TARIF TABLES
════════════════════════════════════════════ */
.tarif-block {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.tarif-title {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tarif-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.tarif-table th {
  background: var(--navy-2);
  color: var(--white);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.tarif-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(11,27,42,0.05);
  vertical-align: middle;
  color: var(--text);
}

.tarif-table td small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}

.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table tr:hover td { background: var(--snow); }

.tarif-section-row {
  background: rgba(90,175,224,0.08);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-2);
}

.tarif-note {
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  line-height: 1.6;
  background: var(--snow);
}
.tarif-note a { color: var(--sky); font-weight: 600; text-decoration: none; }

/* ════════════════════════════════════════════
   BADGES & NIVEAUX
════════════════════════════════════════════ */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid;
  margin-right: 0.5rem;
}

.badge-green  { background: #d4edda; color: #1a5e2a; border-color: #b8dacc; }
.badge-blue   { background: #cce5ff; color: #004085; border-color: #b8daff; }
.badge-rouge  { background: #ffebee; color: #c62828; border-color: #ef9a9a; }
.badge-noir   { background: #e2e3e5; color: #2d2d2d; border-color: #c6c8ca; }
.badge-orange { background: #fff3e0; color: #e65100; border-color: #ffcc80; }

/* ════════════════════════════════════════════
   PISTE LEGEND
════════════════════════════════════════════ */
.piste-legend-grid {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.piste-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

/* ════════════════════════════════════════════
   DOWNLOAD CARDS
════════════════════════════════════════════ */
.download-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1.5px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
}

.download-card:hover {
  background: var(--sky);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,175,224,0.35);
}

.download-card--green {
  border-color: var(--pine);
}
.download-card--green:hover {
  background: var(--pine);
  box-shadow: 0 8px 24px rgba(26,74,58,0.35);
}

.download-icon { font-size: 2rem; flex-shrink: 0; }

.download-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.25s;
}

.download-info span {
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.25s;
}

.download-card:hover .download-info strong,
.download-card:hover .download-info span { color: white; }

.download-arrow {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sky);
  flex-shrink: 0;
  transition: color 0.25s;
}

.download-card:hover .download-arrow { color: white; }

/* ════════════════════════════════════════════
   CONCERT LIST
════════════════════════════════════════════ */
.concert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.concert-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.concert-item:last-child { border-bottom: none; }
.concert-item:hover { background: var(--snow); }

.concert-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  min-width: 110px;
}

.concert-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.concert-genre {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* ════════════════════════════════════════════
   EVENTS LIST
════════════════════════════════════════════ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.event-item:last-child { border-bottom: none; }
.event-item:hover { background: var(--snow); }

.event-date-block {
  flex-shrink: 0;
  min-width: 100px;
}

.event-day {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1.4;
}

.event-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.event-info p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   VIDEO EMBED
════════════════════════════════════════════ */
.video-embed {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ════════════════════════════════════════════
   TEACHER BANNER
════════════════════════════════════════════ */
.teacher-banner {
  background: linear-gradient(135deg, var(--navy), var(--pine));
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
}

.teacher-banner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.teacher-banner p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   HISTORY
════════════════════════════════════════════ */
.history-highlight {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.history-icon { font-size: 1.8rem; flex-shrink: 0; }

.history-highlight h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.history-highlight p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--sky), transparent);
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.timeline-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--sky);
  flex-shrink: 0;
  margin-top: 3px;
  border: 3px solid var(--snow);
  box-shadow: 0 0 0 2px var(--sky);
  z-index: 1;
}

.timeline-content {
  flex: 1;
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════
   PRÉSENTATION BLOCK
════════════════════════════════════════════ */
.presentation-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pres-text .section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pres-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

.pres-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.pres-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy), var(--pine));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  text-align: center;
}

/* ════════════════════════════════════════════
   IMAGE PLACEHOLDER
════════════════════════════════════════════ */
.img-placeholder {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--snow-2), var(--snow));
  border: 2px dashed rgba(90,175,224,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 2rem;
}

.img-placeholder span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  font-style: italic;
}

/* ════════════════════════════════════════════
   ENNEIGEMENT — MÉTÉO
════════════════════════════════════════════ */
.meteo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meteo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: all 0.25s;
}

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

.meteo-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.meteo-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.meteo-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}

.forecast-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.forecast-day {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-light);
  flex: 1;
  min-width: 100px;
  box-shadow: var(--shadow);
}

.forecast-day .fday {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.forecast-day .ficon { font-size: 1.5rem; margin: 0.25rem 0; }
.forecast-day .ftemp {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.forecast-day .fsnow {
  font-size: 0.72rem;
  color: var(--sky);
  margin-top: 0.25rem;
}

/* ════════════════════════════════════════════
   ENNEIGEMENT — ZONES & PISTES
════════════════════════════════════════════ */
.damage-banner {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.damage-banner .db-icon { font-size: 1.6rem; }
.damage-banner .db-text { flex: 1; }
.damage-banner .db-text strong { display: block; color: var(--navy); font-size: 0.9rem; }
.damage-banner .db-text span { font-size: 0.82rem; color: var(--muted); }

#sheet-loader {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.loader-dot {
  width: 8px; height: 8px;
  background: var(--sky);
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

.snow-zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.snow-zone-card {
  background: linear-gradient(135deg, var(--navy), var(--pine));
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
}

.snow-zone-card .zone-name {
  font-size: 0.72rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.snow-zone-card .zone-height {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}
.snow-zone-card .zone-cm { font-size: 1rem; opacity: 0.8; }
.snow-zone-card .zone-qual { margin-top: 0.5rem; font-size: 0.8rem; font-weight: 600; }

.zone-trend-up   { color: #4ade80; }
.zone-trend-same { color: #94a3b8; }
.zone-trend-down { color: #f87171; }

.pistes-table-wrap { overflow-x: auto; }
.pistes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pistes-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pistes-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(11,27,42,0.05);
  vertical-align: middle;
}

.pistes-table tr:last-child td { border-bottom: none; }
.pistes-table tr:hover td { background: var(--snow); }

.niveau-dot {
  display: inline-block;
  width: 11px; height: 11px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.dot-vert   { background: #28a745; }
.dot-bleu   { background: #007bff; }
.dot-rouge  { background: #dc3545; }
.dot-noir   { background: #343a40; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.status-ouvert { background: #d4edda; color: #1a5e2a; }
.status-ferme  { background: #f8d7da; color: #721c24; }
.status-reduit { background: #fff3cd; color: #856404; }

.piste-counter-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.piste-counter-item { display: flex; align-items: center; gap: 0.6rem; }

.piste-counter-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.piste-counter-num.open   { color: #28a745; }
.piste-counter-num.closed { color: #dc3545; }
.piste-counter-num.total  { color: var(--sky); }

.piste-counter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.piste-counter-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

.piste-progress {
  flex: 1;
  min-width: 100px;
  height: 6px;
  background: rgba(11,27,42,0.08);
  border-radius: 100px;
  overflow: hidden;
}

.piste-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #4ade80);
  border-radius: 100px;
  transition: width 1.2s ease;
}

.webcam-refresh-btn {
  background: none;
  border: 1.5px solid var(--sky);
  color: var(--sky);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}
.webcam-refresh-btn:hover { background: var(--sky); color: var(--white); }

/* ════════════════════════════════════════════
   MAP
════════════════════════════════════════════ */
.osm-map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
  position: relative;
  border: 1px solid var(--border-light);
}

.osm-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-overlay-link {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: var(--white);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: all 0.2s;
  z-index: 10;
}
.map-overlay-link:hover { background: var(--sky); color: var(--white); }

/* ════════════════════════════════════════════
   PRICE TABLE (Foyer ancien style)
════════════════════════════════════════════ */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.price-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.85rem;
  text-align: left;
  font-size: 0.78rem;
}
.price-table td {
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid rgba(11,27,42,0.06);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--snow); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: var(--navy);
  padding: 4rem 2rem 0;
}

.footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0.75rem 0;
}

.footer-season-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(90,175,224,0.18);
  border: 1px solid rgba(90,175,224,0.3);
  color: var(--sky);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin: 0.5rem 0;
  display: block;
}

.footer-open-hours {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin: 0.75rem 0;
  line-height: 1.7;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact-item a { color: var(--sky); text-decoration: none; font-weight: 500; }
.footer-contact-item a:hover { color: var(--white); }

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ════════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ════════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════════ */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--sky);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(90,175,224,0.45);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  font-family: 'Outfit', sans-serif;
}
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover {
  background: var(--sky-2);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(90,175,224,0.5);
}

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .presentation-block { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; gap: 0.25rem; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(11,27,42,0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 0.7rem 1rem; }
  .burger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 2rem; bottom: 3rem; }
  .section { padding: 3rem 1.5rem; }
  .quick-info-bar { flex-direction: column; gap: 0; }
  .qi-sep { width: 100%; height: 1px; }
  .qi-item { padding: 0.75rem 1.5rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-stats { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-card-row { grid-template-columns: 1fr 1fr; }
  .tarif-table { font-size: 0.75rem; }
  .tarif-table th, .tarif-table td { padding: 0.5rem 0.6rem; }
  .piste-counter-bar { gap: 0.75rem; padding: 1rem; }
  #backToTop { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
  .osm-map-container { height: 260px; }
  .two-col { gap: 2rem; }
}

/* ════════════════════════════════════════════
   CALCULATEUR DE TARIFS
════════════════════════════════════════════ */
.calculator-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.calc-group {
  padding: 1.5rem;
  border-right: 1px solid var(--border-light);
}
.calc-group:last-child { border-right: none; }

.calc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-opt {
  background: var(--snow);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s;
}

.calc-opt:hover { border-color: var(--sky); color: var(--sky); background: rgba(90,175,224,0.06); }

.calc-opt.active {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
  font-weight: 600;
}

.calc-result {
  background: linear-gradient(135deg, var(--navy), var(--pine));
  padding: 2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.calc-result-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  transition: all 0.3s;
}

.calc-result-detail {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.calc-result-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}
.calc-result-note a { color: var(--sky); text-decoration: none; }

/* ════════════════════════════════════════════
   BOUTONS NAVIGATION GPS
════════════════════════════════════════════ */
.nav-buttons-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  flex: 1;
  min-width: 160px;
  border: 1.5px solid;
  transition: all 0.25s;
}

.nav-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.nav-btn--waze   { background: #fff5c0; border-color: #e8c200; color: #6b5800; }
.nav-btn--gmaps  { background: #e8f4fd; border-color: #4285f4; color: #1a3a6e; }
.nav-btn--apple  { background: #f0f0f0; border-color: #8e8e93; color: #1c1c1e; }

.nav-btn-icon { font-size: 1.5rem; flex-shrink: 0; }
.nav-btn-title { font-weight: 700; font-size: 0.88rem; }
.nav-btn-sub   { font-size: 0.72rem; opacity: 0.7; }

/* ════════════════════════════════════════════
   ROUTE STATUS CARD
════════════════════════════════════════════ */
.route-status-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.route-status-card.route-ok      { border-color: rgba(40,167,69,0.35); background: rgba(40,167,69,0.04); }
.route-status-card.route-warn    { border-color: rgba(255,193,7,0.5); background: rgba(255,193,7,0.06); }
.route-status-card.route-danger  { border-color: rgba(220,53,69,0.35); background: rgba(220,53,69,0.04); }

.route-status-icon { font-size: 1.8rem; flex-shrink: 0; }
.route-status-body { flex: 1; }
.route-status-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.route-status-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* ════════════════════════════════════════════
   FOYER LIVE STATUS BANNER
════════════════════════════════════════════ */
.foyer-live-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.foyer-live-status.foyer-open   { border-color: rgba(40,167,69,0.4); background: rgba(40,167,69,0.05); }
.foyer-live-status.foyer-closed { border-color: rgba(220,53,69,0.35); background: rgba(220,53,69,0.04); }

.fls-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(100,100,100,0.15);
  transition: all 0.3s;
}
.fls-dot.open   { background: #28a745; box-shadow: 0 0 0 3px rgba(40,167,69,0.2); animation: pulse 2s infinite; }
.fls-dot.closed { background: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,0.15); }

.fls-text { flex: 1; }

#foyerLiveLabel {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  display: block;
}

.fls-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.fls-right {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
}

/* ════════════════════════════════════════════
   MÉTÉO CONTEXTUELLE (isotherme / qualité neige)
════════════════════════════════════════════ */
.meteo-context-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meteo-context-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 180px;
  border: 1px solid rgba(255,255,255,0.06);
}

.meteo-context-icon { font-size: 1.5rem; flex-shrink: 0; }
.meteo-context-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.meteo-context-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

/* ════════════════════════════════════════════
   GALERIE PHOTOS
════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item--placeholder {
  background: linear-gradient(135deg, var(--navy), var(--pine));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  border: 2px dashed rgba(90,175,224,0.3);
}

.gallery-item--placeholder span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ════════════════════════════════════════════
   RESPONSIVE ADDITIONS
════════════════════════════════════════════ */
@media (max-width: 900px) {
  .calc-row { grid-template-columns: 1fr; }
  .calc-group { border-right: none; border-bottom: 1px solid var(--border-light); }
  .calc-group:last-child { border-bottom: none; }
  .nav-buttons-row { flex-direction: column; }
  .nav-btn { min-width: 100%; }
  .meteo-context-row { flex-direction: column; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .calc-result-amount { font-size: 2.5rem; }
}