/* NeoLoto V0 — palette premium logo */

:root {
  --royal: #061B8F;
  --night: #06122E;
  --blue-accent: #2EA8FF;
  --orange: #F59E0B;
  --orange-dark: #d97706;
  --white: #FFFFFF;
  --muted: #EEF3FA;
  --text: #06122E;
  --text-secondary: #4a6088;
  --border: rgba(46, 168, 255, 0.18);
  --shadow: 0 8px 32px rgba(6, 18, 46, 0.12);
  --shadow-glow: 0 8px 40px rgba(245, 158, 11, 0.22);
  --radius: 14px;
  --max-width: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--royal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal);
  text-decoration: none;
}

a:hover {
  color: var(--orange-dark);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--night) 0%, var(--royal) 100%);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 4px 20px rgba(6, 18, 46, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-btn span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.site-nav a:hover {
  color: var(--white);
  background: rgba(46, 168, 255, 0.15);
}

.site-nav a.active:not(.nav-cta) {
  color: var(--white);
  background: rgba(46, 168, 255, 0.22);
  box-shadow: inset 0 -2px 0 var(--blue-accent);
}

.site-nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--orange);
  color: var(--night) !important;
  font-weight: 700;
  box-shadow: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta.active {
  background: var(--orange-dark);
  color: var(--white) !important;
}

.site-header--nav-only {
  border-bottom: none;
  box-shadow: none;
  background: transparent;
}

.header-inner--nav-only {
  justify-content: flex-end;
  max-width: none;
  width: 100%;
  padding-right: 32px;
}

.site-nav--right {
  margin-left: auto;
}

/* ── Page Interactive ── */

.page-interactive {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(46, 168, 255, 0.2) 0%, transparent 58%),
    linear-gradient(180deg, var(--royal) 0%, #051a75 45%, var(--night) 100%);
}

.page-interactive .interactive-page {
  background: transparent;
}

.interactive-page-body {
  padding: 0.5rem 0 3rem;
  background: transparent;
}

.interactive-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.interactive-brand-row {
  display: flex;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.interactive-brand-logo-wrap {
  position: relative;
  display: inline-block;
  max-width: min(560px, 100%);
}

.interactive-brand-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.28));
}

.interactive-brand-suffix {
  position: absolute;
  top: 18%;
  left: calc(100% + 0.15rem);
  font-family: "Great Vibes", cursive;
  font-size: clamp(3rem, 6.5vw, 4.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(46, 168, 255, 0.35);
  white-space: nowrap;
}

.interactive-tagline {
  margin: 0.15rem auto 0.65rem;
  max-width: 920px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.35;
  color: var(--white);
}

.interactive-subtitle {
  margin: 0 auto 2rem;
  max-width: 780px;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.page-interactive .cta-band--blend {
  background: transparent;
  border-top: none;
}

.page-interactive .features-grid {
  margin-top: 0;
}

.page-interactive .benefits-bar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(46, 168, 255, 0.2);
  padding: 2rem 1.75rem;
  margin-top: 2rem;
}

.page-interactive .benefit-item strong {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--orange);
}

.page-interactive .benefit-item span {
  font-size: 1rem;
  color: var(--white);
}

/* ── Hero (pages internes) ── */

.hero {
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(46, 168, 255, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, var(--royal) 0%, var(--night) 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
}

.hero-compact {
  padding: 2.5rem 0 2.75rem;
}

.hero-inner.single {
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 800;
}

.hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Hero landing (index) ── */

.hero-landing {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
}

.hero-landing .container {
  width: 100%;
}

.hero-logo-block {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-logo-block .hero-logo-img {
  max-width: min(520px, 88vw);
  margin-inline: auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.25));
}

.hero-glow-line {
  width: min(420px, 70vw);
  height: 2px;
  margin: 1.25rem auto 1.5rem;
  background: linear-gradient(90deg, transparent, var(--orange) 20%, var(--white) 50%, var(--orange) 80%, transparent);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
}

.hero-baseline {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.55;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange);
  color: var(--night);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(46, 168, 255, 0.15);
  border-color: var(--blue-accent);
  color: var(--white);
}

.btn-dark {
  background: var(--night);
  color: var(--white);
  border-color: var(--night);
}

.btn-dark:hover {
  background: var(--royal);
  color: var(--white);
}

/* ── Sections ── */

.section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--royal) 0%, #082a9e 50%, var(--royal) 100%);
}

.section-alt {
  background: linear-gradient(180deg, #082a9e 0%, var(--royal) 100%);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--white);
  font-weight: 800;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}

/* ── Branch cards ── */

.branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.branch-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.branch-card.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-glow);
}

.branch-card.disabled {
  background: var(--muted);
  opacity: 0.88;
}

.branch-card.disabled h3,
.branch-card.disabled p {
  color: var(--text-secondary);
}

.branch-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  background: var(--muted);
  color: var(--text-secondary);
}

.branch-badge.live {
  background: rgba(245, 158, 11, 0.18);
  color: #b45309;
}

.branch-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--night);
}

.branch-card p {
  margin: 0;
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.branch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.branch-tags span {
  font-size: 0.78rem;
  padding: 0.22rem 0.55rem;
  background: var(--muted);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* ── Feature grid ── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--royal);
  color: var(--blue-accent);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--night);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.bm-callout {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(46, 168, 255, 0.35);
  border-left: 4px solid var(--blue-accent);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bm-callout strong {
  color: var(--blue-accent);
}

.benefits-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--night);
  border: 1px solid rgba(46, 168, 255, 0.25);
  border-radius: var(--radius);
  color: var(--white);
}

.benefit-item {
  text-align: center;
}

.benefit-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.benefit-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ── Demo cards ── */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.demo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.demo-card-header {
  background: linear-gradient(135deg, var(--royal), var(--night));
  color: var(--white);
  padding: 1.25rem 1.5rem;
}

.demo-card-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.demo-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-card-body p {
  margin: 0;
  color: var(--text-secondary);
  flex: 1;
}

.demo-card.disabled {
  background: var(--muted);
}

.demo-card.disabled .demo-card-header {
  background: #8a9bb5;
}

/* ── Contact ── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: linear-gradient(160deg, var(--night), var(--royal));
  color: var(--white);
  border: 1px solid rgba(46, 168, 255, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-top: 1rem;
}

.contact-info dt:first-child {
  margin-top: 0;
}

.contact-info dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.contact-info a {
  color: var(--white);
}

.contact-info a:hover {
  color: var(--blue-accent);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  color: var(--night);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--night);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid rgba(6, 27, 143, 0.15);
  border-radius: 8px;
  background: var(--muted);
  transition: border-color 0.15s, background 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-accent);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── CTA band ── */

.cta-band {
  background: var(--night);
  border-top: 1px solid rgba(46, 168, 255, 0.2);
  color: var(--white);
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Footer ── */

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.72);
  padding: 2rem 0;
  font-size: 0.9rem;
  border-top: 2px solid var(--orange);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  height: 32px;
  opacity: 0.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-copy {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.82rem;
}

/* ── Utilities ── */

.text-center {
  text-align: center;
}

.soon-label {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  background: rgba(6, 18, 46, 0.06);
  border: 1px dashed rgba(6, 18, 46, 0.15);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: center;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .branches,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle-btn {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--night);
    border-bottom: 2px solid var(--orange);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 320px;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }

  .benefits-bar {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero-landing {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .interactive-brand-row {
    justify-content: center;
  }

  .interactive-brand-logo-wrap {
    max-width: min(420px, 92vw);
  }

  .interactive-brand-suffix {
    position: static;
    display: block;
    margin-top: 0.15rem;
    font-size: clamp(2.6rem, 10vw, 3.4rem);
    text-align: center;
  }

  .header-inner--nav-only {
    padding-right: 1rem;
  }
}
