:root {
  --primary: #0f172a;       /* Bleu nuit très pro */
  --accent: #f59e0b;        /* Jaune élec / sécurité */
  --urgent: #dc2626;        /* Rouge urgence */
  --bg-light: #f8fafc;
  --text: #334155;
  --text-dark: #0f172a;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #ffffff;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #f1f5f9; /* <-- Un gris-bleu très léger et moderne */
  border-bottom: 1px solid #cbd5e1; /* Une bordure un poil plus foncée pour bien délimiter */
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
}

.nav-container {
  display: flex;
  justify-content: center; /* Centre le contenu horizontalement */
  align-items: center;
  width: 100%;
}

/* --- Conteneur du Logo --- */
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 100%; /* Prend toute la largeur pour forcer le centrage de l'image */
}

/* --- Le Logo SVG --- */
.brand-logo {
  height: 80px;          /* BEAUCOUP PLUS HAUT (Tu peux monter à 90px ou 100px si besoin) */
  width: auto;           /* Garde les proportions intactes */
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;        /* Sécurité supplémentaire pour un centrage parfait */
  transition: height 0.2s ease;
}

/* --- Ajustement Tablette (écrans < 768px) --- */
@media (max-width: 768px) {
  .brand-logo {
    height: 65px;        /* Reste bien visible sur tablette */
  }
}

/* --- Ajustement Smartphone (écrans < 480px) --- */
@media (max-width: 480px) {
  .brand-logo {
    height: 50px;        /* Adapté pour ne pas manger tout l'écran du téléphone */
  }
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-text span {
  color: var(--accent);
}
.badge {
  font-size: 0.75rem;
  background: var(--bg-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #64748b;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.9; }

.btn-primary {
  background-color: var(--accent);
  color: #000000;
}
.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid var(--border);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 60px 0 40px;
  text-align: center;
}
.tagline {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 30px;
  color: #64748b;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.trust-pills {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

/* Prestations (Cards) */
.services {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--text-dark);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.04);
}
.card-pro {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
.pro-tag { color: #2563eb; }
.card h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.card p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 20px;
}
.features-list {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}
.features-list li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
}
.features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}
.card-btn {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 12px;
  text-align: center;
  border-radius: 6px;
}

/* Zone d'intervention */
.coverage {
  background-color: var(--bg-light);
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.coverage h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.coverage-lead {
  margin-bottom: 30px;
}
.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}
.zone-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}
.zone-box h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
}
.zone-box p {
  font-size: 0.95rem;
  color: #64748b;
}

/* Contact & Form */
.contact-section {
  padding: 60px 0;
}
.contact-container {
  max-width: 650px;
}
.contact-container h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-container > p {
  text-align: center;
  color: #64748b;
  margin-bottom: 30px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.client-type {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.radio-label {
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}
.form-group input, .form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: 2px solid var(--accent);
}

/* Cache le pot de miel anti-spam */
.honeypot-field {
  display: none !important;
  opacity: 0;
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.btn-submit {
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: #94a3b8;
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer strong { color: #ffffff; }
.copyright { margin-top: 10px; color: #64748b; }