/* Lux Clean - Site statique production */
:root {
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-100: #99f6e4;
  --teal-700: #0f766e;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --white-overlay: rgba(255, 255, 255, 0.65);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.05);
  --font-sans: Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--slate-800);
  -webkit-font-smoothing: antialiased;
}

/* Fond global */
.bg-site {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("assets/luxcleanbg1.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.bg-site-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--white-overlay);
}

.wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.navbar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--teal-700);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--teal-600);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-500);
}

.nav-toggle {
  display: flex;
  padding: 0.5rem;
  border: none;
  background: transparent;
  color: var(--slate-700);
  cursor: pointer;
  border-radius: 0.5rem;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.6);
}

.nav-mobile {
  display: none;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile a,
.nav-mobile .nav-mobile-btn {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  text-decoration: none;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
}

.nav-mobile a:hover,
.nav-mobile .nav-mobile-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

.nav-mobile a.active {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-500);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: auto;
  box-shadow: var(--shadow-soft);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--teal-700);
  text-decoration: none;
}

.footer p,
.footer a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.footer a:hover {
  color: var(--teal-500);
}

.footer h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 0 0 0.75rem 0;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-600);
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Contenu */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-lg {
  padding: 2rem 3rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background: var(--teal-500);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--teal-600);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal-700);
  border: 1px solid var(--teal-100);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

/* Typo */
h1 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--teal-700);
  margin: 0;
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-700);
  margin: 0 0 1rem 0;
}

.page-title {
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--slate-800);
}

.text-lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.6;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-hero {
  padding: 5rem 0;
  text-align: center;
}

.section-hero .card {
  max-width: 56rem;
  margin: 0 auto;
}

.section-hero p {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Grille services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: left;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin: 1rem 0 0.5rem 0;
}

.service-card p {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  line-height: 1.5;
  margin: 0;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-500);
  border-radius: 0.75rem;
  font-size: 1.5rem;
}

/* Formulaires */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-800);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.form-control:focus {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}

textarea.form-control {
  min-height: 5rem;
  resize: vertical;
}

.form-card {
  max-width: 28rem;
  margin: 0 auto;
}

/* Utilitaires */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }

/* Mobile: pas de fixed background */
@media (max-width: 768px) {
  .bg-site {
    background-attachment: scroll;
  }
}

/* Focus accessible */
*:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
