*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #050816;
  --bg-elevated: #070b1f;
  --bg-card: #0b1024;
  --border-subtle: rgba(255,255,255,0.06);
  --accent: #22e6c2;
  --accent-soft: rgba(34,230,194,0.15);
  --text: #f5f7ff;
  --muted: #9ba4c4;
  --danger: #ff5070;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #081737 0, #050816 40%, #020414 100%);
  color: var(--text);
  min-height: 100vh;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,8,22,0.96), rgba(5,8,22,0.8), transparent);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, #4cf8ff, #22e6c2 45%, #117a9d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 0 0 2px rgba(23, 232, 223, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

.logo-text small {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Nav */
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.9rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.badge-link {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(137, 222, 255, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22e6c2, #4cf8ff);
  color: #020617;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(34,230,194,0.35);
}

.btn-sm {
  padding: 0.4rem 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.btn-full {
  width: 100%;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7ff;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.7;
  z-index: -1;
}

.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle at 0% 0%, rgba(76,248,255,0.75), transparent 60%);
}

.hero-blob-2 {
  width: 420px;
  height: 420px;
  top: -40px;
  right: -60px;
  background: radial-gradient(circle at 100% 0%, rgba(57,141,255,0.65), transparent 60%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: #7dd3fc;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1.6rem, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.accent {
  color: #7dd3fc;
}

.hero-lead {
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-badges span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,255,0.3);
  background: rgba(15,23,42,0.85);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 0.7rem;
  background: radial-gradient(circle at top, rgba(37,99,235,0.55), rgba(2,6,23,0.98));
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - 6px);
  display: block;
}

.hero-card {
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,255,0.4);
  font-size: 0.75rem;
  box-shadow: 0 12px 30px rgba(15,23,42,0.9);
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.hero-card strong {
  display: block;
  margin-top: 0.15rem;
}

/* Sections */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

.why {
  padding: 2.5rem 0 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: radial-gradient(circle at top left, rgba(37,99,235,0.3), rgba(15,23,42,0.98));
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(15,23,42,0.75);
  font-size: 0.9rem;
}

.card h3 {
  margin-top: 0;
}

/* Mini cards */
.mini-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  background: radial-gradient(circle at top, rgba(59,130,246,0.4), rgba(15,23,42,0.96));
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text);
  font-size: 0.86rem;
  gap: 0.6rem;
}

.mini-card img {
  width: 100%;
  border-radius: 14px;
  max-height: 140px;
  object-fit: cover;
}

/* Store */
.store {
  padding: 2.8rem 0 2.5rem;
}

.store-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.store-card {
  background: radial-gradient(circle at top left, rgba(22,163,74,0.25), rgba(15,23,42,0.96));
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.product-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(148,163,255,0.25);
}

.pill {
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
}

.store-coming {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Contact */
.contact {
  padding: 3rem 0 3.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-infos {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.contact-infos li {
  margin-bottom: 0.4rem;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.field label {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,255,0.35);
  background: rgba(15,23,42,0.95);
  padding: 0.55rem 0.7rem;
  color: var(--text);
  font-size: 0.85rem;
}

.field textarea {
  resize: vertical;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15,23,42,0.9);
  padding: 1.5rem 0 2rem;
  background: radial-gradient(circle at bottom, #020617 0, #030814 40%, #020617 100%);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
}

.footer-copy {
  color: var(--muted);
}

/* Page layouts */
.page-header {
  padding: 2.6rem 0 1.8rem;
}

.page-header p {
  max-width: 620px;
  color: var(--muted);
}

.page {
  padding-bottom: 3rem;
}

/* Service blocks */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.6rem;
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(37,99,235,0.26), rgba(15,23,42,0.97));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  align-items: center;
  font-size: 0.92rem;
}

.service-block ul {
  padding-left: 1.1rem;
  margin-top: 0.6rem;
}

.service-media img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-body {
  padding: 0.9rem 1rem 1.1rem;
  font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding-bottom: 3rem;
}

.gallery-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 0.8rem 0.8rem 0.9rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
}

.gallery-item img {
  width: 100%;
  border-radius: 16px;
  height: 165px;
  object-fit: cover;
}

.gallery-item p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .store-inner,
  .contact-grid,
  .service-block {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-3,
  .grid-4,
  .projects-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .main-nav ul {
    position: absolute;
    top: 72px;
    right: 1.5rem;
    background: rgba(15,23,42,0.98);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: 0 20px 45px rgba(0,0,0,0.8);
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .main-nav.open ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
}



/* Pricing */
.pricing {
  padding: 2.8rem 0 3rem;
}

.pricing-grid {
  margin-top: 1.5rem;
}

.pricing-card .price {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.2rem 0 0.6rem;
  color: var(--accent);
}

.pricing-card ul {
  padding-left: 1.1rem;
  margin: 0.2rem 0 0.6rem;
  font-size: 0.86rem;
}

.pricing-card li + li {
  margin-top: 0.2rem;
}

.pricing-card .note {
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-disclaimer {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}


/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.about-block ul {
  padding-left: 1.1rem;
  font-size: 0.86rem;
}

.about-extra {
  margin-bottom: 2.4rem;
}

.about-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.fact {
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.25), rgba(15,23,42,0.98));
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.fact strong {
  display: block;
  font-size: 0.9rem;
}

.about-cert {
  margin-bottom: 3rem;
}

.about-cert-text {
  max-width: 720px;
  color: var(--muted);
}

.about-cert-list {
  padding-left: 1.1rem;
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Boutique */
.boutique-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.4rem;
}

.product-card img {
  width: 100%;
  border-radius: 16px;
  height: 170px;
  object-fit: cover;
}

.product-card .price {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0.3rem 0 0.5rem;
  color: var(--accent);
}

@media (max-width: 900px) {
  .boutique-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Boutique avancée */
.product-thumb-link {
  display: block;
}
.product-excerpt {
  font-size: 0.86rem;
  color: var(--muted);
  min-height: 2.6em;
}
.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  gap: 0.8rem;
}
.product-actions .btn {
  flex-shrink: 0;
}
.link-soft {
  font-size: 0.82rem;
  color: var(--muted);
}
.link-soft:hover {
  color: var(--accent);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  margin-top: 2rem;
}
.product-detail-media img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}
.product-detail-body .price {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.4rem 0 0.8rem;
  color: var(--accent);
}
.product-detail-body ul {
  padding-left: 1.1rem;
  font-size: 0.9rem;
  margin: 0.3rem 0 0.9rem;
}
.product-detail-body .note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Effet flottant sur l'image du hero */
.hero-visual img {
  transition: transform 6s ease-in-out;
  animation: floatHero 18s ease-in-out infinite alternate;
}

@keyframes floatHero {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-6px) scale(1.02); }
  100% { transform: translateY(2px) scale(1.01); }
}

/* Zoom léger sur les images de services / réalisations / galerie */
.card img,
.gallery-grid img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card:hover img,
.gallery-grid a:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}/* Animation des cartes au survol */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  border-color: rgba(56, 189, 248, 0.5);
}
/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}
.hero-visual img.hero-fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-visual img {
  opacity: 1;
  transition: opacity 0.3s ease, transform 6s ease-in-out;
}

