/* =========================
   HEADER
   ========================= */
.page1 .lunira-header__nav {
  margin-top: 1rem;
}

/* =========================
   ABOUT BUTTON
   ========================= */

.page1 .lunira-about-button {
  position: fixed;
  top: 18px;
  right: 18px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);

  color: #fdfcf9;

  backdrop-filter: blur(14px);

  box-shadow: 0 12px 28px rgba(0,0,0,.22);

  cursor: pointer;

  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.page1 .lunira-about-button:hover,
.page1 .lunira-about-button:focus-visible {
  background: rgba(255,255,255,.22);
  color: #ffffff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.page1 .lunira-about-button__icon {
  width: 24px;
  height: 24px;
}

/* =========================
   LANGUAGE SELECTOR
   ========================= */

.page1 .lunira-language-selector {
  position: relative;

  width: min(92vw, 280px);

  margin: 0 auto;

  direction: ltr;
}

.page1 .lunira-language-selector__trigger {
  position: relative;

  width: 100%;

  display: flex;
  align-items: center;
  gap: .75rem;

  padding: .9rem 3rem .9rem 1rem;

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.35);

  background: rgba(253,252,249,.94);
  color: #12252d;

  font-size: 1rem;

  box-shadow: 0 14px 34px rgba(0,0,0,.22);

  cursor: pointer;

  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.page1 .lunira-language-selector__trigger:hover,
.page1 .lunira-language-selector__trigger:focus-visible {
  background: #ffffff;
  color: #12252d;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.page1 .lunira-language-selector__trigger img {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  transition: transform .18s ease;
}

.page1 .lunira-language-selector__trigger:hover img {
  transform: scale(1.06);
}

.page1 .lunira-language-selector__trigger::after {
  content: "";

  position: absolute;

  right: 1rem;
  top: 50%;

  width: .65rem;
  height: .65rem;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: translateY(-65%) rotate(45deg);

  transition: transform .2s ease;
}

.page1 .lunira-language-selector.open .lunira-language-selector__trigger::after {
  transform: translateY(-35%) rotate(225deg);
}

/* =========================
   SEARCH
   ========================= */

.page1 .lunira-language-selector__search {
  margin-top: .7rem;
}

.page1 .lunira-language-selector__input {
  width: 100%;

  padding: .8rem 1rem;

  border-radius: 14px;

  border: 1px solid rgba(0,95,115,.25);

  font-size: 1rem;
}

/* =========================
   DROPDOWN
   ========================= */

.page1 .lunira-language-selector__list {
  display: none;

  position: absolute;

  width: 100%;

  margin-top: .5rem;

  max-height: 60vh;

  overflow-y: auto;

  border-radius: 20px;

  background: rgba(253,252,249,.97);

  box-shadow: 0 22px 50px rgba(0,0,0,.28);

  z-index: 1000;
}

.page1 .lunira-language-selector.open .lunira-language-selector__list {
  display: block;
}

.page1 .lunira-language-selector__list a {
  display: flex;
  align-items: center;
  gap: .75rem;

  padding: .85rem 1rem;

  color: #12252d;

  text-decoration: none;

  cursor: pointer;

  transition:
    background .18s ease,
    color .18s ease,
    transform .18s ease;
}

.page1 .lunira-language-selector__list a:hover,
.page1 .lunira-language-selector__list a:focus-visible,
.page1 .lunira-language-selector__list a[aria-selected="true"] {
  background: #0b3d4a;
  color: #ffffff;
}

.page1 .lunira-language-selector__list a:hover {
  transform: translateX(3px);
}

.page1 .lunira-language-selector__list a img {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  transition: transform .18s ease;
}

.page1 .lunira-language-selector__list a:hover img {
  transform: scale(1.06);
}

.page1 .lunira-language-selector__list::-webkit-scrollbar {
  width: 10px;
}

.page1 .lunira-language-selector__list::-webkit-scrollbar-thumb {
  background: rgba(11,61,74,.35);
  border-radius: 20px;
}

.page1 .lunira-language-selector__list::-webkit-scrollbar-track {
  background: transparent;
}

/* =========================
   HERO
   ========================= */

.page1 .lunira-hero {
  max-width: 920px;

  margin: 0 auto;

  padding:
    4rem
    1.25rem
    calc(180px + env(safe-area-inset-bottom, 0px));

  text-align: center;
}

.page1 .lunira-hero__content {
  position: relative;

  padding: clamp(2rem, 6vw, 4rem);

  border-radius: 34px;

  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.08));

  border: 1px solid rgba(255,255,255,.25);

  backdrop-filter: blur(22px);

  box-shadow:
    0 30px 80px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.22);

  transition:
    box-shadow .25s ease;

  text-align: center;
}

.page1 .lunira-hero__content:hover {
  transform: none;
}

/* =========================
   LOGO
   ========================= */

.page1 .lunira-hero__kicker {
  margin: 1rem 0 0;

  color: #94d2bd;

  letter-spacing: .12em;

  font-weight: 800;

  text-transform: uppercase;
}

.page1 .lunira-hero__tagline {
  margin: .45rem 0 1.2rem;

  color: rgba(255,255,255,.78);

  font-size: clamp(.95rem, 2vw, 1.1rem);
  font-weight: 600;

  letter-spacing: .02em;
}

/* =========================
   TITLE
   ========================= */

.page1 .lunira-hero__title {
  margin: .5rem 0 0;

  font-size: clamp(2.5rem, 8vw, 5rem);

  line-height: .98;

  letter-spacing: -.04em;

  color: #ffffff;
}

.page1 .lunira-hero__subtitle {
  max-width: 620px;

  margin: 1.4rem auto 0;

  font-size: clamp(1.05rem, 2.4vw, 1.35rem);

  line-height: 1.7;

  color: rgba(255,255,255,.86);
}

/* =========================
   BUTTONS
   ========================= */

.page1 .lunira-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;

  flex-wrap: wrap;

  margin-top: 2.2rem;
}

.page1 .lunira-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: .9rem 1.5rem;

  border-radius: 18px;

  font-weight: 800;

  text-decoration: none;

  cursor: pointer;

  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.page1 .lunira-hero__button-primary {
  background:
    linear-gradient(135deg, #94d2bd 0%, #4caaa3 100%);

  color: #08222b;

  box-shadow: 0 16px 36px rgba(76,170,163,.26);
}

.page1 .lunira-hero__button-secondary {
  background: rgba(255,255,255,.08);

  border: 1px solid rgba(255,255,255,.35);

  color: #fdfcf9;
}

.page1 .lunira-hero__button:hover,
.page1 .lunira-hero__button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

/* =========================
   HERO BRAND
   ========================= */

.page1 .lunira-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;

  margin: 0 auto 1.25rem;

  color: #94d2bd;

  text-shadow: 0 0 18px rgba(148,210,189,.35);
}

.page1 .lunira-brand__moon {
  font-size: 3rem;
  line-height: 1;
}

.page1 .lunira-brand__star {
  font-size: 1.25rem;
  line-height: 1;
  transform: translateY(-.45rem);
}

/* =========================
   HERO KICKER
   ========================= */

.page1 .lunira-hero__kicker {
  margin: .5rem 0 0;

  color: #94d2bd;

  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
}

/* =========================
   HERO BUTTONS
   ========================= */

.page1 .lunira-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  flex-wrap: wrap;

  margin-top: 2.2rem;
}

.page1 .lunira-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: .9rem 1.5rem;

  border-radius: 18px;

  font-weight: 800;

  text-decoration: none;

  cursor: pointer;

  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.page1 .lunira-hero__button--primary {
  background: linear-gradient(135deg, #94d2bd 0%, #4caaa3 100%);
  color: #08222b;
  box-shadow: 0 16px 36px rgba(76,170,163,.26);
}

.page1 .lunira-hero__button--secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.35);
  color: #fdfcf9;
}

.page1 .lunira-hero__button:hover,
.page1 .lunira-hero__button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

/* =========================================================
   VARIANTE — SHOWCASE / VITRINE
   Page :
   - vitrine.php
   ========================================================= */

.lunira-showcase {
  max-width: 980px;
  margin: 0 auto;

  padding-top: 2rem;
}

.lunira-showcase__header {
  padding-top: 1.5rem;
}

.lunira-showcase__title {
  margin: 0 auto 1.5rem;

  color: #ffffff;

  font-size: clamp(2.4rem, 7vw, 4.6rem);
  text-align: center;
}

.lunira-showcase__title img {
  display: none;
}

/* Card principale */

.lunira-showcase__card {
  width: min(94vw, 920px);

  text-align: center;
}

.lunira-showcase__card:hover {
  transform: none;
}

.lunira-showcase__card .lunira-brand {
  margin-bottom: 1rem;

  color: #94d2bd;
  text-shadow: 0 0 18px rgba(148,210,189,.35);
}

.lunira-showcase__card .lunira-brand__moon {
  font-size: 2.8rem;
  line-height: 1;
}

.lunira-showcase__card .lunira-brand__star {
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-.45rem);
}

.lunira-showcase__content {
  width: 100%;
}

/* Hero text */

.hero-slogan.lunira-showcase__slogan {
  margin: 0 auto .5rem;

  color: #ffffff;

  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.hero-tagline.lunira-showcase__tagline {
  max-width: 640px;

  margin: 0 auto 2rem;

  color: rgba(255,255,255,.86);

    font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 600;
  line-height: 1.7;
}

/* Sections */

.lunira-showcase__section {
  max-width: 760px;

  margin: 1.25rem auto;
  padding: 1.5rem;

  border-radius: 28px;

  background: rgba(253,252,249,.14);

  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 10px 30px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.04);

  backdrop-filter: blur(6px);
}

.lunira-showcase__section-title {
  margin-bottom: 1rem;

  color: #ffffff;

  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.lunira-showcase__section2 {
  max-width: 760px;

    margin: .9rem auto;
  padding: 1rem;

  border-radius: 28px;

  background: rgba(253,252,249,.14);

  border: 1px solid rgba(255,255,255,.10);

  box-shadow:
    0 10px 30px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.04);

  backdrop-filter: blur(6px);
}

.lunira-showcase__section2-title {
  margin-bottom: 1rem;

  color: #ffffff;

  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.lunira-showcase__text {
  max-width: 660px;

  margin: 0 auto 1rem;

  color: rgba(255,255,255,.88);

    font-size: 1rem;
    line-height: 1.75;
}

.lunira-showcase__text2 {
  max-width: 660px;

  margin: 0 auto 1rem;

  color: rgba(255,255,255,.88);

  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
}

.try-note.lunira-showcase__note {
  max-width: 660px;

  margin: .9rem auto 0;

  color: rgba(255,255,255,.76);

  font-size: .96rem;
  line-height: 1.65;
}

/* CTA */

.cta-container.lunira-showcase__actions {
  display: flex;
  justify-content: center;

  margin-top: 1.4rem;
}

.cta-button.lunira-showcase__button {
  min-height: 56px;

  padding: .9rem 1.4rem;

  border-radius: 18px;

  color: #08222b;

  text-decoration: none;
}

/* Listes */

.lunira-showcase__section ul {
  max-width: 620px;

  margin: 1.25rem auto 0;
  padding: 1.25rem 1.5rem;

  border-radius: 22px;

  background: rgba(148,210,189,.16);
  border: 1px solid rgba(255,255,255,.10);

  text-align: left;
}

.lunira-showcase__section li {
  color: rgba(255,255,255,.90);

  line-height: 1.7;
  margin-bottom: .7rem;
}

.lunira-showcase__section li:last-child {
  margin-bottom: 0;
}

/* Screenshots */

.screenshots.lunira-showcase__screenshots {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;

  max-width: 860px;

  margin: 2rem auto;
  padding: 1.5rem;

  border-radius: 28px;

  background: rgba(253,252,249,.10);

  border: 1px solid rgba(255,255,255,.08);
}

.screenshot.lunira-showcase__media {
  max-width: 220px;

  border-radius: 18px;

  box-shadow:
    0 18px 42px rgba(0,0,0,.24);

  cursor: zoom-in;

  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.screenshot.lunira-showcase__media:hover,
.screenshot.lunira-showcase__media:focus-visible {
  transform: translateY(-4px);

  box-shadow:
    0 24px 54px rgba(0,0,0,.30);
}

/* Lightbox */

#lightbox {
  position: fixed;
  inset: 0;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.86);

  z-index: 3000;
}

#lightbox img {
  max-width: 92vw;
  max-height: 92vh;

  border-radius: 18px;
}

/* Vision */

.lunira-showcase__section--vision {
  margin-top: 2rem;

  background: rgba(148,210,189,.18);
}

.vision-text.lunira-showcase__vision {
  max-width: 680px;

  margin: 0 auto;

  color: #ffffff;

  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 1.7;
}

/* Email */

.lunira-showcase__section a[href^="mailto:"] {
  color: #ffffff;

  font-weight: 800;
  text-decoration: none;
}

.lunira-showcase__section a[href^="mailto:"]:hover,
.lunira-showcase__section a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
}

/* Footer */

.lunira-showcase-page .lunira-footer {
  color: #12252d;
}

/* =========================================================
   DEMO HERO
   choix_lv1.php / choix_lv2.php
   ========================================================= */

.lunira-demo-hero-page .lunira-hero-main {
  min-height: calc(100dvh - 220px);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bloc autour du lien */
.demo-full-app.lunira-demo-hero__card {
  width: min(92vw, 520px);

  padding: 1.5rem;
  margin: 1.5rem auto 2rem;
  
  border-radius: 28px;

  background: rgba(255,255,255,.14);

  border: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(18px);

  box-shadow:
    0 22px 54px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.14);

  text-align: center;
}

/* Lien vers application complète */
.demo-app-link.lunira-demo-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;

  padding: .95rem 1.4rem;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      #94d2bd 0%,
      #4caaa3 100%
    );

  color: #08222b;

  font-size: 1.05rem;
  font-weight: 800;

  text-align: center;
  text-decoration: none;

  box-shadow:
    0 16px 36px rgba(76,170,163,.26);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease;
}

.demo-app-link.lunira-demo-hero__button:hover,
.demo-app-link.lunira-demo-hero__button:focus-visible {
  transform: translateY(-3px);

  box-shadow:
    0 18px 42px rgba(0,0,0,.28);
}

/* Texte central choix LV2 */
.lunira-demo-hero__main {
  text-align: center;
}

.lunira-demo-hero__title {
  max-width: 760px;

  margin: 0 auto 1rem;

  color: #ffffff;

  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
}

.lunira-demo-hero__intro {
  max-width: 620px;

  margin: 0 auto 1.75rem;

  color: rgba(255,255,255,.86);

  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
}

/* Retour demo hero */
.valider.lunira-demo-hero__back {
  display: flex;
  justify-content: center;

  margin-top: 1.5rem;
}

.valider.lunira-demo-hero__back a {
  width: 46px;
  height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(253,252,249,.94);

  box-shadow: 0 14px 34px rgba(0,0,0,.22);

  transition:
    background .22s ease,
    transform .22s ease,
    box-shadow .22s ease;
}

.valider.lunira-demo-hero__back a:hover,
.valider.lunira-demo-hero__back a:focus-visible {
  background: #ffffff;

  transform: translateY(-2px) scale(1.04);

  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

.valider.lunira-demo-hero__back img {
  width: 40px;
  height: 40px;

  padding: .35rem;

  background: transparent;
  box-shadow: none;
}

.lunira-demo-hero__card {
  width: min(92vw, 680px);

  padding: clamp(1.5rem, 4vw, 2.5rem);

  border-radius: 30px;

  background: rgba(255,255,255,.14);

  border: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(18px);

  box-shadow:
    0 22px 54px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.14);

  text-align: center;
}



@media (max-width: 640px) {
  .demo-full-app.lunira-demo-hero__card {
    width: min(94vw, 520px);
    padding: 1.25rem;
  }

  .demo-app-link.lunira-demo-hero__button {
    width: 100%;
  }
}

/* Responsive */

@media (max-width: 640px) {
  .lunira-showcase {
    padding-top: 1rem;
  }

  .lunira-showcase__section,
  .screenshots.lunira-showcase__screenshots {
    padding: 1.2rem;
  }

  .screenshot.lunira-showcase__media {
    max-width: min(82vw, 240px);
  }

}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 640px) {
  .page1 .lunira-hero {
    padding-top: 3rem;
  }

  .page1 .lunira-hero__actions {
    flex-direction: column;
  }

  .page1 .lunira-hero__button {
    width: 100%;
  }

  .page1 .lunira-hero__content {
    border-radius: 26px;
  }
  
  .page1 .lunira-about-button {
    top: 14px;
    right: 14px;

    width: 40px;
    height: 40px;

    z-index: 1200;
  }

  .page1 .lunira-language-selector {
    margin-top: 3.5rem;
  }
}

@media (max-width: 376px) {
  .page1 .lunira-hero__title {
    font-size: 2.2rem;
  }

  .page1 .lunira-hero__subtitle {
    font-size: 1rem;
  }
}

@supports (-webkit-touch-callout: none) {
  input[type="search"].lunira-language-selector__input {
    font-size: 16px;
  }
}