/* ============================================
   FB Nuisibles Paris - Style Global Complet
   Thème Sombre & Rouge - Professionnel
   ============================================ */

:root {
  --bg-dark: #0b0b0f;
  --bg-card: #141418;
  --primary-red: #e63946;
  --accent-green: #25d366;
  --text-white: #ffffff;
  --text-gray: #a8a8b3;
  --border-subtle: #2a2a30;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER & NAVIGATION */
header {
  background: rgba(11, 11, 15, 0.98);
  backdrop-filter: blur(12px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--primary-red);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15);
}

.logo {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-red);
  text-decoration: none;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav a {
  color: var(--text-gray);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a:hover,
nav a.active {
  color: var(--text-white);
  background: var(--primary-red);
  transform: translateY(-2px);
}

/* MAIN CONTENT */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #fff, var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  color: var(--text-white);
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 3px solid var(--primary-red);
  font-weight: 700;
}

h3 {
  color: var(--primary-red);
  margin-bottom: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
}

p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* CTA WRAPPER & BUTTON */
.cta-wrapper {
  text-align: center;
  margin: 2rem 0;
  padding: 0 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary-red);
  color: white;
  padding: 1.1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
  border: 2px solid var(--primary-red);
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.6);
  background: #ff4d5a;
  border-color: #ff4d5a;
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.trust-badges span {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.5rem 1.1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.trust-badges span:hover {
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.2);
}

.service-card h3 {
  margin-top: 0;
}

article {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

article:hover {
  transform: translateY(-3px);
  border-color: var(--primary-red);
}

/* RELATED SERVICES */
.related-services {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: center;
}

.related-services h2 {
  border-bottom: none;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.related-services .services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
}

.related-services .service-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  color: var(--text-gray);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.related-services .service-card:hover {
  color: var(--text-white);
  border-color: var(--primary-red);
  background: rgba(230, 57, 70, 0.1);
  transform: translateY(-3px);
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-gray);
}

th {
  background: rgba(230, 57, 70, 0.2);
  color: var(--text-white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

tr:hover {
  background: rgba(230, 57, 70, 0.05);
}

/* LISTS */
ul, ol {
  margin: 1.2rem 0 1.2rem 1.8rem;
  color: var(--text-gray);
}

ul li, ol li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

ul li::marker {
  color: var(--primary-red);
}

/* ALERT BOX */
.alert {
  background: rgba(230, 57, 70, 0.15);
  border-left: 5px solid var(--primary-red);
  padding: 1.2rem;
  margin: 2rem 0;
  border-radius: 8px;
  color: var(--text-white);
  font-weight: 500;
}

/* DISCLAIMER */
.disclaimer {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-style: italic;
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* FOOTER */
footer {
  background: #08080a;
  border-top: 2px solid var(--border-subtle);
  color: var(--text-gray);
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}

footer a {
  color: var(--primary-red);
  text-decoration: none;
  margin: 0 0.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

footer a:hover {
  text-decoration: underline;
  color: #ff4d5a;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .logo {
    font-size: 1.3rem;
  }
  
  nav {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }
  
  nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    width: 90%;
    text-align: center;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.05rem;
  }
  
  .btn-primary {
    font-size: 1.05rem;
    padding: 1rem 1.8rem;
    width: 100%;
    max-width: 350px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badges span {
    width: 90%;
    text-align: center;
  }
  
  table {
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 0.7rem;
  }
  
  .related-services {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 1.5rem 0.8rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  .btn-primary {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
  
  .service-card, article {
    padding: 1.2rem;
  }
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main > section, main > h1, main > p {
  animation: fadeIn 0.6s ease-out;
}

/* SCROLLBAR PERSONNALISÉE */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff4d5a;
}