:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --card: #ffffff;
  --text: #111827;
  --text-light: #5b6472;
  --white: #ffffff;
  --primary: #0f6fff;
  --primary-dark: #0c57c7;
  --border: #e5e7eb;
  --section-bg: #f6f8fb;
  --shadow: 0 12px 30px rgba(5, 18, 38, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: white;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.main-nav {
  display: flex;
  gap: 26px;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

.main-nav a:hover {
  color: white;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-1px);
}

.full-width {
  width: 100%;
}

/* HERO */

.hero {
  background:
    radial-gradient(circle at top right, rgba(67,180,255,0.18), transparent 25%),
    linear-gradient(180deg, #07111f 0%, #0a1628 100%);
  color: white;
  padding: 72px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #cfe8ff;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.hero-text {
  margin: 0;
  max-width: 700px;
  color: rgba(255,255,255,0.84);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-highlight {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid #43b4ff;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.feature-box {
  min-width: 155px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
}

.feature-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.feature-label {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.hero-card {
  background: white;
  color: var(--text);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

/* SECTIONS */

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--section-bg);
}

.section-title-wrap {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title-wrap h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.section-title-wrap p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
}

/* PRODUCTS */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: #edf4ff;
  border-radius: 999px;
}

.product-images {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.product-images img {
  width: 50%;
  height: 120px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 8px;
  cursor: zoom-in;
}

.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.product-card p {
  margin: 0 0 12px;
  color: var(--text-light);
  line-height: 1.6;
}

.product-meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.product-price {
  margin-bottom: 18px;
  font-size: 1.15rem;
  font-weight: 800;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-row label {
  margin-bottom: 8px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid #d7dde7;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* FOOTER GLACÉ */

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      rgba(6,15,28,0.96),
      #07111f 45%,
      #102448
    );
  color: white;
  padding: 46px 0;
  border-top: 1px solid rgba(124, 200, 255, 0.18);
}

/* FUMÉE */

.site-footer::before {
  content: "";
  position: absolute;
  inset: -90px -15% auto -15%;
  height: 190px;

  background:
    radial-gradient(circle at 15% 65%, rgba(190,230,255,0.28), transparent 35%),
    radial-gradient(circle at 45% 45%, rgba(120,190,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(220,245,255,0.22), transparent 36%);

  filter: blur(24px);

  opacity: 0.9;

  animation: coldSmoke 9s ease-in-out infinite alternate;

  pointer-events: none;
}

@keyframes coldSmoke {

  from {
    transform: translateX(-25px) translateY(10px) scale(1);
    opacity: 0.65;
  }

  to {
    transform: translateX(30px) translateY(-10px) scale(1.08);
    opacity: 1;
  }
}

/* FOOTER TEXTE */

.footer-inner {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;

  opacity: 0;
  filter: blur(10px);
  transform: translateY(25px);

  transition:
    opacity 1.2s ease,
    filter 1.2s ease,
    transform 1.2s ease;
}

.site-footer.footer-visible .footer-inner {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: white;
}

.footer-inner p {
  margin: 6px 0;
  color: rgba(255,255,255,0.78);
}

.footer-legal a {
  color: #7cc8ff;
  font-weight: 700;
}

.footer-legal a:hover {
  color: white;
}

/* IMAGE POPUP */

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
}

.image-modal img {
  max-width: 90%;
  max-height: 85vh;
  background: white;
  border-radius: 18px;
  padding: 20px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

/* WHATSAPP */

.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: 0.2s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 30px;
  height: 30px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {

  .products-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {

  .main-nav,
  .header-btn {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {

  .hero-actions,
  .hero-features {
    flex-direction: column;
  }

  .feature-box,
  .btn {
    width: 100%;
  }

  .product-images {
    flex-direction: column;
  }

  .product-images img {
    width: 100%;
  }
}
