/* Lawol Digital — feuille de style principale */

:root {
  --bg: #060c16;
  --bg-alt: #0a1424;
  --bg-card: #0d1a2c;
  --white: #ffffff;
  --text-muted: #9aa7b8;
  --text-faint: #66717f;
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.15);
  --teal: #2dd6c4;
  --orange: #e8823c;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 6vw, 96px);
  --section-y: clamp(64px, 10vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
}

p {
  margin: 0;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

/* Defensive reset: flex/grid items default to min-width:auto, which can
   stop long text from wrapping and force horizontal overflow on mobile. */
.about__grid > *,
.contact__grid > *,
.feature-grid > *,
.showcase__gallery > *,
.hero__content,
.hero__actions > *,
.fticket__intro,
.value-list li,
.trust-row {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
}

.btn:hover { opacity: 0.8; }

.btn--solid {
  background: var(--green);
  color: #04140b;
  box-shadow: 0 0 24px -6px rgba(34, 197, 94, 0.6);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 12, 22, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav__logo {
  height: 28px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__cta {
  font-size: 0.75rem;
  padding: 11px 22px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 8px;
  cursor: pointer;
}

.nav__toggle svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px var(--gutter) 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line-soft);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--bg);
  color: var(--white);
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: clamp(120px, 18vw, 180px) clamp(64px, 10vw, 100px);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}

.hero__glow--a {
  width: 480px;
  height: 480px;
  background: var(--teal);
  top: -140px;
  left: 8%;
  animation-duration: 26s;
}

.hero__glow--b {
  width: 420px;
  height: 420px;
  background: var(--orange);
  top: 10%;
  right: 6%;
  opacity: 0.35;
  animation-duration: 20s;
  animation-delay: -6s;
}

.hero__glow--c {
  width: 380px;
  height: 380px;
  background: var(--green);
  bottom: -120px;
  left: 38%;
  opacity: 0.3;
  animation-duration: 24s;
  animation-delay: -12s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

.net-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero__title .accent {
  color: var(--green);
  text-shadow: 0 0 30px rgba(34, 197, 94, 0.55);
}

.hero__type {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  min-height: 1.6em;
}

.hero__type .cursor {
  display: inline-block;
  color: var(--green);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__lede {
  max-width: 560px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}

/* ---------- Section shells ---------- */

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__head h2 {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  color: var(--white);
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about__copy p + p {
  margin-top: 18px;
}

.about__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.value-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.value-list li > div {
  min-width: 0;
}

.value-list .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--green);
  margin-top: 2px;
}

.value-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 4px;
  color: var(--white);
}

.value-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Projets ---------- */

.projects__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.projects__tab {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.projects__tab.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #04140b;
}

.projects__panel {
  display: none;
}

.projects__panel.is-active {
  display: block;
}

.fticket__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 700px;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.fticket__name {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--white);
}

.fticket__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--green);
}

.fticket__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: clamp(56px, 8vw, 84px);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  padding: 26px 22px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-card .icon {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.feature-card strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
}

.feature-card span {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}

.showcase {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.showcase__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase__frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(34, 197, 94, 0.25);
  aspect-ratio: 9 / 16;
}

.showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__item strong {
  font-size: 0.92rem;
  color: var(--white);
}

.showcase__item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .showcase__gallery {
    grid-template-columns: minmax(0, 1fr);
    max-width: 320px;
    margin-inline: auto;
    gap: 32px;
  }
}

.showcase__gallery--wide {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.showcase__gallery--wide2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}

@media (max-width: 720px) {
  .showcase__gallery--wide2 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }
}

.showcase__frame--wide {
  aspect-ratio: 16 / 9;
}

.showcase__frame--wide img {
  object-fit: contain;
  background: #050a12;
}

@media (max-width: 860px) {
  .showcase__gallery--wide {
    max-width: 100%;
  }
}

/* ---------- Contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.contact__copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

.contact__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(32px, 5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 30px 70px -40px rgba(34, 197, 94, 0.3);
}

.contact__email {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.05rem, 3.6vw, 1.6rem);
  color: var(--green);
  text-decoration: none;
  overflow-wrap: normal;
  border-bottom: 1px solid rgba(34, 197, 94, 0.4);
  padding-bottom: 8px;
  width: fit-content;
  max-width: 100%;
}

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

@media (max-width: 860px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */

.site-footer {
  background: #030710;
  color: var(--text-faint);
  padding-block: 32px;
  border-top: 1px solid var(--line-soft);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--white);
}

.footer__logo {
  height: 20px;
  width: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; }
  .hero__type .cursor { animation: none; }
}
