:root {
  --bg-dark: #050608;
  --bg-deep: #111111;
  --text-main: #ffffff;
  --text-muted: #cccccc;
  --accent: #c28a3a;       
  --accent-soft: #e5cfa0;  
  --nav-bg: rgba(5, 6, 8, 0.95);
  --glass: rgba(255, 255, 255, 0.05);
  
  /* NOUVELLES COULEURS POUR TES SECTIONS SERVICES */
  --charcoal: #242526;     /* Gris Charcoal pro */
  --pale-grey: #f0f0f0;    /* Gris très pâle pour le texte */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
#agoraproteam-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0; padding: 0;
}

.nav-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

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

/* --- STYLE DU MENU BURGER --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: var(--accent-soft);
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
  }
  .nav-links.open { display: flex; }
  .nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg); }
}

/* --- SECTIONS & PARALLAX --- */
.parallax-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* --- TYPOGRAPHIE --- */
.section-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--accent-soft);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 30px;
}

/* Style des pastilles de villes (pour qu'elles ne soient pas invisibles) */
#region-list-qc li, #region-list-on li {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--pale-grey) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
  margin: 4px;
}
/* --- SECTION CONTACT --- */
#contact {
  background-color: #ffffff !important;
  color: #4a4a4a !important;
}

.contact-form input, 
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333333;
}

/* --- FOOTER --- */
footer {
  background: var(--bg-deep);
  padding: 40px 20px;
  text-align: center;
  color: #666;
}

/* --- AJUSTEMENT SECTION SERVICES (CORRECTIF IMAGE COUPÉE) --- */
#services {
  overflow: visible !important; 
  position: relative;
  z-index: 10;
  background-color: #f9f9f9; 
}

.services-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
}

/* --- AJUSTEMENT LOGO ACCUEIL --- */
.hero-logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 40px;
}

/* --- PARALLAX OVERLAY --- */
.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.overlay-dark   { background: rgba(0, 0, 0, 0.60) !important; }
.overlay-medium { background: rgba(0, 0, 0, 0.38) !important; }
.overlay-light  { background: rgba(255, 255, 255, 0.55) !important; }

/* --- SECTION CONTACT (formulaire sur fond clair) --- */
#contact {
  background-color: #f9f9f9;
}
#contact .section-title  { color: #c28a3a; }
#contact p, #contact label { color: #555; }

/* --- CONTACT BLOCK (section coordonnées) --- */
.contact-block {
  text-align: left;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border-left: 4px solid var(--accent);
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.contact-block h3 { color: var(--accent-soft); margin-top: 0; }

/* --- MISE À JOUR ACCORDÉON CHARCOAL --- */

/* 1. On applique le fond Charcoal à l'accordéon */
.metiers-accordion {
  background-color: var(--charcoal) !important;
  color: var(--pale-grey) !important; /* Force le texte général en gris clair */
}

/* 2. On s'assure que TOUT le texte (p, li, span) est visible sur le fond sombre */
.metiers-accordion p, 
.metiers-accordion li, 
.metiers-accordion span {
  color: var(--pale-grey) !important;
}

/* 3. Optionnel : On ajuste la bordure pour qu'elle soit subtile sur le Charcoal */
.metiers-accordion {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
