/* Tibumo Découvertes — hero module. */

.decouvertes-page .hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.decouvertes-page .hero__stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .decouvertes-page .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .decouvertes-page .hero__title {
    font-size: 46px;
  }

  .decouvertes-page .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .decouvertes-page .hero__ctas,
  .decouvertes-page .hero__stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .decouvertes-page .hero__stat-number {
    font-size: 28px;
  }
}

html[data-lang="zh"] .decouvertes-page .hero__title {
  font-family: var(--cjk-font);
  font-weight: 800;
}

.decouvertes-page .hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 92px 24px 56px;
  overflow: hidden;
  min-height: min(910px, 100vh);
  padding-top: 104px;
  background: radial-gradient(circle at 12% 16%, rgba(245,190,50,0.25), transparent 28%),
    linear-gradient(135deg, var(--parchment) 0%, var(--bg-warm) 55%, #E9F2D8 100%);
}

.decouvertes-page .hero__content {
  position: relative;
  margin: 0 auto;
  display: grid;
  align-items: center;
  max-width: 1280px;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 46px;
}

.decouvertes-page .hero__brandline {
  font-family: var(--note-font);
  color: var(--primary-dark);
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

.decouvertes-page .hero__title {
  margin-bottom: 20px;
  font-family: var(--brand-font);
  font-size: 58px;
  line-height: 1.02;
  font-weight: 400;
  max-width: 690px;
  margin-top: 10px;
}

.decouvertes-page .hero__title--accent {
  color: var(--purple);
}

.decouvertes-page .hero__subtitle {
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 590px;
  font-size: 20px;
  color: rgba(26,26,46,0.78);
}

.decouvertes-page .hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.decouvertes-page .hero__stat {
  text-align: left;
  min-width: 140px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.54);
  border: 2px solid rgba(143,78,37,0.12);
  border-radius: 8px;
  box-shadow: 0 8px 0 rgba(143,78,37,0.07);
}

.decouvertes-page .hero__stat-number {
  display: block;
  font-size: 38px;
  line-height: 1;
  font-family: var(--brand-font);
  font-weight: 400;
  color: var(--primary);
}

@media (max-width: 760px) {
  .decouvertes-page .hero__title {
    font-size: 42px;
  }
}

@media (max-width: 480px) {
  .decouvertes-page .hero {
    padding: 72px 16px 28px;
    min-height: auto;
    padding-top: 78px;
  }

  .decouvertes-page .hero__content {
    gap: 12px;
  }

  .decouvertes-page .hero__brandline {
    font-size: 21px;
    margin-bottom: 6px;
  }

  .decouvertes-page .hero__title {
    font-size: 30px;
    line-height: 1.03;
    margin-bottom: 14px;
  }

  .decouvertes-page .hero__subtitle {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .decouvertes-page .hero__ctas {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .decouvertes-page .hero__ctas .btn {
    width: 100%;
    max-width: 280px;
    min-height: 52px;
    padding: 12px 18px;
    font-size: 15px;
  }

  .decouvertes-page .hero__stats {
    gap: 20px;
    display: none;
  }
}

.decouvertes-page .hero--refresh {
  min-height: auto;
  padding: 132px 24px 72px;
  overflow: hidden;
}

.decouvertes-page .hero--refresh .hero__content {
  max-width: 1180px;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.decouvertes-page .hero--refresh .hero__text {
  max-width: 650px;
}

.decouvertes-page .hero--refresh .hero__brandline {
  color: #6d35b6;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decouvertes-page .hero--refresh .hero__title {
  max-width: 720px;
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--brand-font);
  line-height: 0.94;
  letter-spacing: 0;
}

.decouvertes-page .hero--refresh .hero__title--accent {
  color: #EB7624;
}

.decouvertes-page .hero--refresh .hero__subtitle {
  max-width: 620px;
  color: rgba(31, 41, 55, 0.78);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.58;
}

.decouvertes-page .hero--refresh .hero__ctas {
  margin-top: 30px;
}

.decouvertes-page .hero--refresh .hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 30px;
}

.decouvertes-page .hero--refresh .hero__stat {
  min-height: 92px;
  padding: 18px 16px;
  border: 1px solid rgba(32, 43, 56, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(39, 51, 73, 0.08);
}

.decouvertes-page .hero--refresh .hero__stat-number {
  color: #111827;
  font-family: var(--brand-font);
  font-size: 34px;
  letter-spacing: 0;
}

.decouvertes-page .hero--refresh .hero__stat-label {
  color: rgba(31, 41, 55, 0.72);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 960px) {
  .decouvertes-page .hero--refresh {
    padding-top: 112px;
  }

  .decouvertes-page .hero--refresh .hero__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .decouvertes-page .hero--refresh {
    padding: 86px 24px 46px;
  }

  .decouvertes-page .hero--refresh .hero__title {
    margin-top: 14px;
    font-size: 39px;
    line-height: 1.02;
  }

  .decouvertes-page .hero--refresh .hero__subtitle {
    font-size: 16px;
    line-height: 1.55;
  }

  .decouvertes-page .hero--refresh .hero__ctas {
    gap: 10px;
    margin-top: 24px;
  }

  .decouvertes-page .hero--refresh .hero__stats {
    grid-template-columns: 1fr;
  }
}

.decouvertes-page .hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.decouvertes-page .hero__map-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(232,214,190,0.97) 0%, rgba(244,231,213,0.84) 48%, rgba(244,231,213,0.46) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(232,214,190,0.72));
  pointer-events: none;
}

html[data-lang="zh"] .decouvertes-page .hero--refresh .hero__title {
  max-width: 700px;
  font-family: var(--cjk-font);
  font-size: clamp(40px, 5.1vw, 66px);
  line-height: 1.08;
}

html[data-lang="zh"] .decouvertes-page .hero--refresh .hero__title--accent {
  display: inline-block;
  font-size: 0.9em;
  line-height: 1.06;
  text-shadow: 0 3px 0 rgba(255, 201, 64, 0.34);
}

@media (prefers-color-scheme: dark) {
  .decouvertes-page .hero--refresh .hero__bg {
    opacity: 0.24;
    filter: saturate(0.8) brightness(0.72);
  }

  .decouvertes-page .hero--refresh .hero__stat {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  }

  .decouvertes-page .hero--refresh .hero__title {
    color: var(--text);
  }

  .decouvertes-page .hero--refresh .hero__subtitle,
  .decouvertes-page .hero--refresh .hero__stat-label {
    color: var(--text-secondary);
  }

  .decouvertes-page .hero--refresh {
    background: radial-gradient(circle at 18% 12%, rgba(131, 53, 206, 0.18), transparent 30%),
                  linear-gradient(135deg, #1A1A1A 0%, #1A1A1A 62%, #1A1A1A 100%);
  }

  .decouvertes-page .hero--refresh .hero__map-wash {
    background: linear-gradient(90deg, rgba(21, 22, 36, 0.96) 0%, rgba(32, 34, 52, 0.82) 52%, rgba(32, 34, 52, 0.42) 100%);
  }

  .decouvertes-page .hero--refresh .hero__stat {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

:root[data-theme="light"] .decouvertes-page .hero--refresh .hero__title {
  color: var(--ink);
}

:root[data-theme="light"] .decouvertes-page .hero--refresh .hero__subtitle {
  color: rgba(31, 41, 55, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .decouvertes-page .hero--refresh .hero__stat-number {
    color: #F9F6F1;
  }

  :root:not([data-theme="light"]) .decouvertes-page .hero--refresh .hero__stat-label {
    color: #F6E8DA;
  }
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__stat-number {
  color: #F9F6F1;
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__stat-label {
  color: #F6E8DA;
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh {
  background: radial-gradient(circle at 18% 12%, rgba(131, 53, 206, 0.18), transparent 30%),
    linear-gradient(135deg, #1A1A1A 0%, #1A1A1A 62%, #1A1A1A 100%);
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__title {
  color: #F9F6F1;
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__subtitle {
  color: #F6E8DA;
}

.decouvertes-page .hero__title,
.decouvertes-page .hero__title--accent {
  text-shadow: none;
}

@media (max-width: 720px) {
  .decouvertes-page .hero--refresh .hero__map-wash {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.90) 0%, rgba(255, 250, 244, 0.64) 54%, rgba(255, 250, 244, 0.42) 100%);
  }
}

.decouvertes-page .hero--refresh .hero__bg {
  background: url('../img/brand/discovery-hero-ambient-light.webp') center / cover no-repeat;
  opacity: 1;
  filter: none;
}

.decouvertes-page .hero--refresh .hero__map-wash {
  background: linear-gradient(90deg, rgba(249, 246, 241, 0.91) 0%, rgba(249, 246, 241, 0.72) 48%, rgba(249, 246, 241, 0.30) 100%),
    linear-gradient(180deg, rgba(246, 232, 218, 0.18), rgba(246, 232, 218, 0.50));
}

:root[data-theme="light"] .decouvertes-page .hero--refresh {
  background: var(--tibumo-cream);
}

:root[data-theme="light"] .decouvertes-page .hero--refresh .hero__bg {
  filter: none;
  opacity: 1;
  background: url('../img/brand/discovery-hero-field-light.webp') center / cover no-repeat;
  background-position: center;
}

:root[data-theme="light"] .decouvertes-page .hero--refresh .hero__map-wash {
  background: linear-gradient(90deg, rgba(249, 246, 241, 0.93) 0%, rgba(249, 246, 241, 0.78) 48%, rgba(249, 246, 241, 0.38) 100%),
    linear-gradient(180deg, rgba(249, 246, 241, 0.66) 0%, rgba(249, 246, 241, 0.78) 100%);
}

.decouvertes-page .hero--refresh {
  box-shadow: none;
}

:root[data-theme="light"] .decouvertes-page .hero--refresh .hero__stat {
  background: rgba(255, 250, 244, 0.78);
  border-color: rgba(143, 78, 37, 0.13);
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.08);
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__bg {
  opacity: 1;
  filter: none;
  background-image: url('../img/brand/discovery-hero-field-dark.webp');
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__map-wash {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.76) 48%, rgba(26, 26, 26, 0.42) 100%),
    linear-gradient(180deg, rgba(26, 26, 26, 0.58) 0%, rgba(26, 26, 26, 0.74) 100%);
}

:root[data-theme="dark"] .decouvertes-page .hero--refresh .hero__stat {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .decouvertes-page .hero--refresh .hero__bg {
    opacity: 1;
    filter: none;
    background-image: url('../img/brand/discovery-hero-field-dark.webp');
  }

  :root:not([data-theme="light"]) .decouvertes-page .hero--refresh .hero__map-wash {
    background: linear-gradient(90deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.76) 48%, rgba(26, 26, 26, 0.42) 100%),
                  linear-gradient(180deg, rgba(26, 26, 26, 0.58) 0%, rgba(26, 26, 26, 0.74) 100%);
  }

  :root:not([data-theme="light"]) .decouvertes-page .hero--refresh .hero__stat {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  }
}

.decouvertes-page .hero--refresh .hero__title,
.decouvertes-page .hero--refresh .hero__title--accent {
  text-shadow: none;
  font-size: 48px;
}

@media (max-width: 760px) {
  .decouvertes-page .hero--refresh .hero__title,
  .decouvertes-page .hero--refresh .hero__title--accent {
    font-size: 48px;
  }
}
