/* Simple responsive CSS for the landing page */
/* =========================================
  RESET + BASE
========================================= */
* {
  box-sizing: border-box;
}
:root {
  --maxw: 1100px;
  --accent: #6366f1;
  --accent2: #22d3ee;
  --bg: #0f172a;
  --vbg: #020e21c6;
  --card: #111827;
  --surface: #1f2937;
  --text: #f9fafb;
  --muted: #6b7280;
  --hover-text: #1e40af;
  --border: 1px solid rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --gap: 18px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 72px;
  --r1: 12px;
  --r2: 16px;
  --r3: 20px;
  --r4: 24px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color-scheme: light;
}
body {
  margin: 0;
  color: #0f172a;
  line-height: 1.45;
  font-size: 16px;
  background:
    radial-gradient(
      900px 500px at 20% 10%,
      rgba(99, 102, 241, 0.18),
      transparent 55%
    ),
    radial-gradient(
      700px 450px at 80% 20%,
      rgba(34, 211, 238, 0.12),
      transparent 60%
    ),
    var(--bg);
}
a {
  color: inherit;
}
h4 {
  font-size: 18px;
  margin: 0;
  color: var(--text);
}
p {
  color: var(--muted);
  margin: 0;
}
/* Container = mobile-first */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px;
}
/* =========================================
  HEADER + NAV (MOBILE FIRST + BURGER details)
========================================= */
.header {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* Brand */
.brand {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
}
/* Desktop nav hidden by default (mobile-first) */
.nav--desktop {
  display: none;
}
/* Burger visible by default */
.nav--mobile {
  display: block;
  position: relative;
}
/* Burger button */
.burger {
  position: relative;
}
.burger > summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r3);
  background: rgba(255, 255, 255, 0.06);
  border: var(--border);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.burger > summary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateY(-1px);
}
.burger > summary::-webkit-details-marker {
  display: none;
}
/* Icon burger */
.lines {
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  display: block;
}
.lines::before,
.lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.lines::before {
  top: -7px;
}
.lines::after {
  top: 7px;
}
/* Panel menu */
.panel {
  position: absolute;
  right: 0;
  top: 56px;
  min-width: 240px;
  padding: 12px;
  border-radius: var(--r3);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.burger:not([open]) .panel {
  display: none;
}
/* Animation X */
.burger[open] .lines {
  background: transparent;
}
.burger[open] .lines::before {
  top: 0;
  transform: rotate(45deg);
}
.burger[open] .lines::after {
  top: 0;
  transform: rotate(-45deg);
}
/* Link styles (shared desktop/mobile) */
.navLink {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: var(--r3);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}
.navLink:hover {
  transform: translateY(-1px) scale(1.05);
  color: var(--accent);
  background: rgba(228, 162, 222, 0.295);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
}
/* CTA (shared) */
.cta {
  padding: 10px 12px;
  color: #0b1220;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: var(--r4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  transition: transform 0.2s ease-in-out;
}
.cta:hover {
  transform: translateY(-1px) scale(1.05);
  color: var(--accent);
  background: rgba(228, 162, 222, 0.295);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
}
/* =========================================
  HERO (MOBILE FIRST)
========================================= */
.hero {
  padding: 32px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}
.hero h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--text);
}
.lead {
  color: var(--muted);
  margin: 0 0 18px;
}
/* CTA buttons */
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-ctas .btn {
  margin-right: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: var(--r2);
  padding: 14px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    opacity 0.15s ease;
}
.btn.primary {
  margin-top: 10px;
  color: #0b1220;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 45px rgba(99, 102, 241, 0.25),
    0 0 0 6px rgba(34, 211, 238, 0.1);
}
.btn.ghost {
  width: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent);
}
.btn.ghost:hover {
  transform: translateY(-1px) scale(1.05);
  color: var(--accent);
  background: rgba(228, 162, 222, 0.295);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
}
.btn.small {
  padding: 8px 12px;
}
.btn.large {
  padding: 14px 20px;
  font-size: 18px;
}
.features {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  color: var(--muted);
}
.features li {
  margin-bottom: 6px;
}
.mockup-card {
  background: linear-gradient(135deg, #eef2ff, #ffffff);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
/* =========================================
  SECTIONS + CARDS (MOBILE FIRST)
========================================= */
.section {
  padding: 32px 0;
}
.section h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--text);
}
.section-sub {
  color: var(--muted);
  margin: 0 0 22px;
}
.services {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}
/* Cards -> mobile: stack */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
}
.card {
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(38, 75, 209, 0.04);
  background: transparent;
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.card-color {
  background: var(--vbg);
  border-radius: var(--radius);
}
.cards .card h4 {
  color: var(--text);
  margin-top: 0;
}
.cards .card p {
  color: var(--muted);
}
/* =========================================
  OFFERS (MOBILE FIRST)
========================================= */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.offer-card {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(12, 16, 30, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.offer-card:hover {
  transform: translateY(-1px) scale(1.05);
  color: var(--accent);
  background: rgba(228, 162, 222, 0.295);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
}
.offre-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  color: var(--muted);
}
.offer-card .price {
  font-size: 22px;
  font-weight: 800;
  margin: 12px 0;
  color: var(--accent);
}
.offer-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #111827;
  color: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
}
.offer-card.popular {
  transform: scale(1.02);
  border: 1px solid rgba(37, 99, 235, 0.06);
}
.btn.small {
  color: #0b1220;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
}
.btn.small:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 45px rgba(99, 102, 241, 0.25),
    0 0 0 6px rgba(34, 211, 238, 0.1);
}

/* =========================================
  PORTFOLIO (MOBILE FIRST)
========================================= */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
}
.thumb {
  background: var(--vbg);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.thumb-description {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.thumb-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
}
.thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.4s ease;
}
.thumb figcaption {
  font-size: 14px;
  font-weight: 500;
}
.thumb:hover {
  transform: translateY(-1px) scale(1.05);
  color: var(--accent);
  background: rgba(228, 162, 222, 0.295);
  box-shadow: 0 14px 35px rgba(99, 102, 241, 0.22);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(34, 211, 238, 0.25);
}
.thumb:hover img {
  transform: scale(1.04);
}
/* =========================================
  CTA BAND (MOBILE FIRST)
========================================= */
.cta-band {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  /* border-radius: 12px; */
  margin: 24px 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
/* =========================================
  CONTACT (MOBILE FIRST)
========================================= */
.contact {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}
.form {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(12, 16, 30, 0.04);
}
.form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #e6eef8;
  background: #fff;
}
.contact-info .info-block {
  background: var(--card);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.contact-offres {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text);
}
.contact-liste {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}
/* =========================================
  FOOTER
========================================= */
.footer {
  padding: 18px 0;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer p {
  margin: 0;
  font-size: 14px;
}
/* =========================================
  BREAKPOINTS (MIN-WIDTH) = MOBILE FIRST
========================================= */
/* >= 600px : un peu plus d'air, portfolio 2 colonnes */
@media (min-width: 600px) {
  .container {
    padding: 20px;
  }
  .hero {
    padding: 44px 0;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero-ctas {
    flex-direction: row;
  }
  .btn.primary {
    width: 50%;
  }
  .btn.small {
    width: 50%;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-inner {
    align-items: center;
  }
}
/* >= 881px : desktop layout (nav horizontal, hero 2 colonnes, grids) */
@media (min-width: 881px) {
  body {
    max-width: 1100px;
    margin: 0 auto;
  }
  .container {
    padding: 28px;
  }
  /* Nav desktop visible, burger caché */
  .nav--desktop {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .nav--desktop a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
  }
  .nav--desktop .cta {
    color: #0b1220;
  }
  .nav--mobile {
    display: none;
  }

  /* Hero: 2 colonnes */
  .hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 34px;
  }
  .hero h2 {
    font-size: 28px;
  }
  /* Cards: 2-3 colonnes selon place */
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  /* Offers: 3 colonnes */
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  /* Contact: 2 colonnes */
  .contact-grid {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }
  /* CTA band row */
  .cta-inner {
    flex-direction: row;
    align-items: center;
  }
  /* Portfolio: retour flex-wrap proche de ton original, si tu préfères */
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* >= 1100px : optionnel (micro-ajustements) */
@media (min-width: 1100px) {
  .hero {
    padding: 56px 0;
  }
  .section {
    padding: 44px 0;
  }
}
