/*
                                @@    @@  @@@@@@@@  @@   @@   @@@@@   @@@   @@      @@    @@  @@@@@@@@  @@@@@@@   @@@@@@@@  @@@   @@  @@@@@@@@                                
                                @@@  @@@  @@    @@  @@   @@  @@   @@  @@@@  @@      @@@  @@@  @@    @@  @@    @@  @@        @@@@  @@  @@    @@                                
                                @@ @@ @@  @@    @@  @@@@@@@  @@@@@@@  @@ @@ @@      @@ @@ @@  @@    @@  @@@@@@@   @@@@@@@@  @@ @@ @@  @@    @@                                
                                @@    @@  @@    @@  @@   @@  @@   @@  @@  @@@@      @@    @@  @@    @@  @@   @@   @@        @@  @@@@  @@    @@                                
                                @@    @@  @@@@@@@@  @@   @@  @@   @@  @@   @@@      @@    @@  @@@@@@@@  @@    @@  @@@@@@@@  @@   @@@  @@@@@@@@                                
www.mohanmoreno.ch
*/
/* Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Kode+Mono:wght@400..700&display=swap');
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: #111; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.center { text-align: center; }

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #c9c9c9;
  --surface: #101010;
  --border: #222;
  --primary: #ffffff;
  --radius: 14px;
  --container: 1100px;
  --gap: 24px;
}

.container { max-width: var(--container); margin-inline: auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-block; font-weight: 800; border-radius: 999px; padding: 12px 20px; border: 1px solid transparent; }
.btn--primary { background: var(--primary); color: #000; }
.btn-switch { border-color: #fff; }
.btn--ghost { background: transparent; border-color: #444; color: #fff; }
.btn--lg { padding: 14px 22px; }
.btn--xl { padding: 18px 26px; font-size: 1.125rem; }

/* Header */
.site-header { position: relative; top: 0; background: #000; border-bottom: 1px solid #0c0c0c; z-index: 50; margin: auto; padding: 1em; }
.header__row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 14px 0; color: #fff; }
.header__brand { font-weight: 900; letter-spacing: .3px; }
.header__nav { display: none; gap: 16px; align-items: center; }
.header__nav a { padding: 8px 10px; color: #fff; }
.header__menu { margin-left: auto; background: transparent; border: 1px solid #222; color: #fff; border-radius: 8px; padding: 8px 10px; }

@media (min-width: 400px) {
  .header__nav { display: inline-flex; }
}

@media (max-width: 760px) {
  .lien { display: none; }
}

/* Sections avec fond image */
.hero--bg-fixed, .features--bg-fixed, .cta--bg-fixed {
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
  color: #fff;
}

.hero--bg-fixed { background-image: url('desktop-hero.jpeg'); }
.cta--bg-fixed { background-image: url('desktop-closing.jpeg'); }

.hero__inner, .features > .container, .cta__inner {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero { min-height: 100vh; display: grid; place-items: center; }
.hero__inner { position: relative; text-align: center; padding: 96px 0; }
.hero__title { font-size: clamp(2.4rem, 2rem + 2vw, 4rem); margin: 0 0 12px 0; }

/* Features */
.features { position: relative; background-color: #fff; padding: 64px 0; }
.section-title { color: #000; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: 12px; }
.section-title-white { color: #ffffff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: 12px; }
.section-title-dark { color: #000000; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); margin-bottom: 12px; }
.features__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  margin-top: 24px;
}
.feature-card { background: rgba(255, 255, 255); border: 1px solid #2b2b2b; border-radius: var(--radius); padding: 22px; color: #000; }
.feature-card h3 { margin-top: 10px; }

@media (min-width: 720px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); }
}

/* FAQ */
.faq { padding: 64px 0; background: #fff; color: #171717; }
.faq__list { display: grid; gap: 12px; grid-template-columns: 1fr; max-width: 800px; margin: 0 auto; }
.faq__item { border-radius: var(--radius); background: #e5e5e5; }
.faq__item > summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; }
.faq__content { padding: 16px 18px; color: #171717; }

/* Gratuit */
.gratuit {
  position: relative;
  background-color: #000000;
  padding-top: 5px;
  text-align: center;
  height: 400px;
  background-image: url("desktop_benefit.png");
  background-repeat: no-repeat;
  background-color: rgb(47, 47, 47);
  background-position-x: center;
  background-position-y: bottom;
}

/* CTA */
.cta { position: relative; padding: 96px 0; text-align: center; }
.cta__inner { position: relative; }
.cta__title { color: #fff; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); margin: 0 0 16px 0; }

/* Footer */
.site-footer { background: #000; color: #bfbfbf; padding: 56px 0; }
.footer__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer__brand { font-weight: 900; color: #fff; }
.footer__cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
.footer__col h4 { color: #fff; margin: 0 0 8px 0; }
.footer__col ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.footer__col a { color: #bfbfbf; }

@media (min-width: 800px) {
  .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Ikeda Mode */
body.ikeda-mode {
  background: #000;
  color: #fff;
  font-family: "Kode Mono", monospace;
  letter-spacing: 0.5px;
  background-image: url('datamatrix_2.gif');
}

body.ikeda-mode *::selection {
  color: #fff;
  background-color: #000;
}

body.ikeda-mode .site-header {
  background: #fff;
  border-bottom: 3px solid #000;
  color: #000;
  z-index: 3;
  background-image: url('a0571437292_10.jpg');
  background-position: center;
  background-repeat: no-repeat;
  padding: 1em;
}

body.ikeda-mode .header__brand {
  color: #000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.5em;
  letter-spacing: 3px;
  z-index: 2;
  text-shadow: 2px 2px 4px #fff;
}

body.ikeda-mode .header__nav a {
  color: #000;
  font-weight: 700;
  border: 2px solid #000;
  padding: 6px 12px;
  transition: 250ms;
}

body.ikeda-mode .header__nav a:hover {
  color: #fff !important;
  background-color: #000;
  transition: 250ms;
}

body.ikeda-mode .btn-switch {
  color: #000;
  background: #fff;
  border: 2px solid #000;
}

body.ikeda-mode .hero {
  color: #000;
  min-height: 80vh;
  z-index: 1;
  background-image: url('datamatrix_1.gif');
}

body.ikeda-mode .hero__overlay {
  display: none;
}

body.ikeda-mode .hero__title {
  color: #fff !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  font-size: clamp(2rem, 2rem + 2vw, 3.5rem);
  z-index: 4;
}

body.ikeda-mode .hero__cta {
  background: #000;
  color: #fff;
  border: 3px solid #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  z-index: 4;
}

body.ikeda-mode .hero__cta:hover {
  background: #fff;
  color: #000;
}

body.ikeda-mode .features {
  background: #000;
  color: #fff;
  z-index: 1;
  background-image: url('datamatrix_1.gif');
}

body.ikeda-mode .section-title {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 900;
  z-index: 2;
  animation: blink linear 2s infinite;
}

body.ikeda-mode .feature-card {
  background: #fff;
  border: 3px solid #000;
  color: #000;
  transition: all 0.2s;
  z-index: 2;
}

body.ikeda-mode .feature-card:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

body.ikeda-mode .feature-card h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 900;
}

body.ikeda-mode .feature-card p {
  font-family: "Kode Mono", monospace;
  font-size: 0.9rem;
}

body.ikeda-mode .gratuit {
  background-color: #000;
  background-image: none;
  border-top: 5px solid #fff;
  border-bottom: 5px solid #fff;
  height: auto;
  padding: 80px 0;
  z-index: 2;
  color: #fff;
}

body.ikeda-mode .gratuit p {
  text-align: left;
}

body.ikeda-mode .gratuit p::selection {
  background-color: #fff;
  color: #000;
}

body.ikeda-mode .section-title-white {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
  z-index: 2;
  animation: blink linear 2s infinite;
}

body.ikeda-mode .section-title-white::selection {
  color: #000;
  background-color: #fff;
}

body.ikeda-mode span {
  animation: blink linear infinite 2.2s;
}

body.ikeda-mode span:nth-of-type(2) { animation: blink linear infinite 3.7s; }
body.ikeda-mode span:nth-of-type(3) { animation: blink linear infinite 4.6s; }
body.ikeda-mode span:nth-of-type(4) { animation: blink linear infinite 1.9s; }
body.ikeda-mode span:nth-of-type(5) { animation: blink linear infinite 2.4s; }
body.ikeda-mode span:nth-of-type(6) { animation: blink linear infinite 3s; }
body.ikeda-mode span:nth-of-type(7) { animation: blink linear infinite 2s; }
body.ikeda-mode span:nth-of-type(8) { animation: blink linear infinite 4.5s; }

body.ikeda-mode .faq {
  background: #000;
  color: #fff;
  z-index: 2;
}

body.ikeda-mode .section-title-dark {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: blink linear 2s infinite;

}

@keyframes blink {
  0% { color: #000; }
  1% { color: #fff; }
  10% { color: #000; }
  11% { color: #fff; }
  20% { color: #000; }
  21% { color: #fff; }
  30% { color: #000; }
  31% { color: #fff; }
  40% { color: #000; }
  41% { color: #fff; }
  50% { color: #fff; }
  90% { color: #fff; }
}

body.ikeda-mode .faq__item {
  background: #fff;
  border: 3px solid #000;
  color: #000;
}

body.ikeda-mode .faq__item[open] {
  background: #000;
  color: #fff;
  border-color: #fff;
}

body.ikeda-mode .faq__item > summary {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

body.ikeda-mode .faq__content {
  color: inherit;
  font-family: "Kode Mono", monospace;
}

body.ikeda-mode .cta {
  background: #fff !important;
  background-image: none !important;
  color: #000;
  border-top: 5px solid #000;
  z-index: 2;
}

body.ikeda-mode .cta__title {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 900;
  z-index: 2;
}

body.ikeda-mode .cta .btn--primary {
  background: #000;
  color: #fff;
  border: 3px solid #000;
  text-transform: uppercase;
  letter-spacing: 2px;
}

body.ikeda-mode .cta .btn--primary:hover {
  background: #fff;
  color: #000;
}

body.ikeda-mode .site-footer {
  background: #000;
  color: #fff;
  border-top: 5px solid #000;
  z-index: 4;
}

body.ikeda-mode .footer__brand {
  color: #000;
  text-transform: uppercase;
  letter-spacing: 3px;
}

body.ikeda-mode .footer__col h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 900;
}

body.ikeda-mode .footer__col a {
  color: #fff;
  font-weight: 700;
}

body.ikeda-mode .footer__col a:hover {
  text-decoration: underline;
}

@media (max-width: 760px) {
  body.ikeda-mode .lien {
    display: none;
  }
  body.ikeda-mode .hero--bg-fixed {
    height: 88vh;
  }
}

.hero--bg-fixed {
  height: 88vh;
}

/* Particles */
.ikeda-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: none;
}

body.ikeda-mode .ikeda-particles {
  display: block;
}

.ikeda-particle {
  position: absolute;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  opacity: 0.8;
  animation: float-particle linear infinite;
}

body.ikeda-mode .ikeda-particle::selection {
  color: #fff;
  background-color: rgba(255, 255, 255, 0);
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
}

.ikeda-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0,0,0,0.03) 19px, rgba(0,0,0,0.03) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(0,0,0,0.03) 19px, rgba(0,0,0,0.03) 20px);
}

body.ikeda-mode .ikeda-grid {
  display: block;
}

@keyframes ikeda-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

body.ikeda-mode .pulse-element {
  animation: ikeda-pulse 0.2s ease-in-out infinite;
}

/* Modal */
.ikeda-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.ikeda-modal.is-visible {
  display: flex;
}

.ikeda-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}

.ikeda-modal__dialog {
  position: relative;
  background: #fff;
  color: #000;
  padding: 32px;
  border: 5px solid #000;
  width: 90%;
  z-index: 1;
  text-align: center;
  height: fit-content;
}

body.ikeda-mode .ikeda-modal__dialog {
  background: #fff;
  color: #000;
  border-color: #000;
}

body.ikeda-mode .ikeda-modal__dialog p {
  font-size: 1.5rem;
}

.ikeda-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: inherit;
  cursor: pointer;
}

body.ikeda-mode .gratuit img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
}