:root {
  --hpe-green: #00b388;
  --hpe-green-dark: #009d76;
  --hpe-fiord: #425563;
  --hpe-bg: #f8f9fa;
  --hpe-white: #ffffff;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--hpe-bg);
  color: var(--hpe-white);
  line-height: 1.6;
  position: relative;
  z-index: 0;
  min-height: 100vh;
}

/* Vidéo en arrière-plan globale */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: -2;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
}

/* Overlay sombre sur toute la page */
.site-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 40% noir */
  z-index: -1;
  pointer-events: none;
}

/* Header & Nav */
header {
  background: var(--hpe-fiord);
  color: var(--hpe-white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
opacity: 0.77;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--hpe-green);
  font-weight: bold;
  font-size: 1.7rem;
  letter-spacing: 2px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--hpe-white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--hpe-green);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

.highlight {
  color: var(--hpe-green);
}

.hero-content h2 {
  font-weight: 400;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

/* Boutons */
.btn {
  background: var(--hpe-green);
  color: var(--hpe-white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background: var(--hpe-green-dark);
}

/* Sections générales */
section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  background: transparent;
}

h2 {
  color: var(--hpe-white);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

/* About & Services & Expertise sections */
.about p,
.services p,
.expertise-list li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service {
  background: rgba(255,255,255,0.10);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  text-align: center;
  transition: box-shadow 0.3s;
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

.service:hover {
  box-shadow: 0 8px 20px rgba(0,179,136,0.3);
  background: rgba(255,255,255,0.18);
}

.service h3 {
  color: var(--hpe-green);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.85);
}

/* Domaines d'expertise */
.expertise-list {
  list-style: disc inside;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 0;
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

.expertise-list li {
  margin-bottom: 1rem;
}

/* Formulaire */
form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.10);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  color: var(--hpe-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

form input,
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--hpe-fiord);
  background: rgba(255,255,255,0.85);
  box-shadow: none;
  text-shadow: none;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--hpe-green);
  box-shadow: 0 0 5px var(--hpe-green);
}

button {
  width: 100%;
  background: var(--hpe-green);
  color: var(--hpe-white);
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: var(--hpe-green-dark);
}

/* Footer */
footer {
  background: var(--hpe-fiord);
  color: var(--hpe-white);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.85);
}

/* Pied de page */
.glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-xl) 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    padding: 0 var(--space-md);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    max-width: 300px;
}

.footer-description {
    margin-top: var(--space-sm);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 1rem;
  }
  nav ul {
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav ul li {
    margin: 0 1rem 0.5rem 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}
