/* --------------------------------------------------
   AccordExpert - Industrial Modern CSS Theme
   Brand: Professionnel, rassurant, moderne, élégant
   Colors: #234872 (primary), #8BC34A (secondary), #F5F7FA (accent)
   Fonts: Montserrat (display), Open Sans (body)
   Style: Industrial Modern (dark, metallic, urban)
   -------------------------------------------------- */

/* 1. CSS RESET & BASE TYPOGRAPHY */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  background: #181C22;
  color: #F5F7FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #F5F7FA;
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }
h4, h5, h6 { font-size: 1.1rem; }

p, ul, ol {
  margin-top: 0;
  margin-bottom: 1.2em;
}

ul, ol {
  padding-left: 1.2em;
}

strong {
  color: #8BC34A;
  font-weight: 700;
}

a {
  color: #8BC34A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C6FF00;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2. CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(30,34,40,0.98);
  border-radius: 12px;
  box-shadow: 0 4px 24px 0 rgba(20,20,20,0.12);
  border: 1.5px solid #23272F;
}

/* 3. HEADER & NAVIGATION */
header {
  background: linear-gradient(90deg, #23272F 70%, #234872 100%);
  border-bottom: 2px solid #8BC34A;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  min-height: 72px;
}
.logo img {
  height: 44px;
  filter: grayscale(0.2) brightness(1.1) contrast(1.2);
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #F5F7FA;
  letter-spacing: 0.03em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  font-size: 1.05rem;
}
.main-nav a:hover, .main-nav a:focus {
  color: #8BC34A;
  border-bottom: 2px solid #8BC34A;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, #8BC34A 60%, #234872 100%);
  color: #181C22;
  box-shadow: 0 2px 8px 0 rgba(20,20,20,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 20px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.08);
  letter-spacing: 0.04em;
}
.cta.primary {
  background: linear-gradient(90deg, #8BC34A 80%, #234872 100%);
  color: #181C22;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #C6FF00 80%, #234872 100%);
  color: #181C22;
  box-shadow: 0 4px 16px 0 rgba(139,195,74,0.18);
}

/* 4. MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #8BC34A;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #C6FF00;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #23272F 90%, #234872 100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 4px 0 32px 0 rgba(20,20,20,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: none;
  border: none;
  color: #8BC34A;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C6FF00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #F5F7FA;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  padding: 8px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8BC34A;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .cta {
    margin-left: 10px;
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 900px) {
  .cta {
    display: none;
  }
}

/* 5. HERO SECTION */
.hero {
  background: linear-gradient(120deg, #23272F 80%, #234872 100%);
  border-bottom: 2px solid #8BC34A;
  padding: 60px 0 40px 0;
  margin-bottom: 0;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.6rem;
  color: #F5F7FA;
  text-shadow: 0 2px 8px rgba(20,20,20,0.18);
}
.hero p {
  font-size: 1.2rem;
  color: #B0B8C1;
}

/* 6. FLEXBOX LAYOUTS & SPACING */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272F;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.13);
  border: 1.5px solid #234872;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(139,195,74,0.18);
  border-color: #8BC34A;
  transform: translateY(-4px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F7FA;
  color: #23272F;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.10);
  border-left: 5px solid #8BC34A;
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(139,195,74,0.18);
  border-color: #234872;
}
.testimonial-card p {
  color: #23272F;
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}
.testimonial-card span {
  color: #234872;
  font-size: 0.98rem;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid, .service-list, .service-grid, .contract-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.feature, .service, .contract-type {
  background: #23272F;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.13);
  border: 1.5px solid #234872;
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.feature:hover, .service:hover, .contract-type:hover {
  box-shadow: 0 6px 24px 0 rgba(139,195,74,0.18);
  border-color: #8BC34A;
  transform: translateY(-4px) scale(1.01);
}

.feature-list, .resource-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}

/* 7. CARDS, GALLERIES, ETC. */
.team-gallery, .office-gallery, .document-gallery, .template-downloads {
  background: #23272F;
  border-radius: 10px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.10);
  border: 1.5px solid #234872;
}

/* 8. FOOTER */
footer {
  background: #181C22;
  border-top: 2px solid #8BC34A;
  padding: 32px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #8BC34A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #C6FF00;
}
footer p {
  color: #B0B8C1;
  font-size: 0.98rem;
  margin: 0;
}

/* 9. COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #23272F 80%, #234872 100%);
  color: #F5F7FA;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 300;
  box-shadow: 0 -2px 24px 0 rgba(20,20,20,0.18);
  animation: cookieBannerIn 0.5s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  font-size: 1.05rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin: 0;
}
.cookie-btn.accept {
  background: #8BC34A;
  color: #181C22;
}
.cookie-btn.reject {
  background: #23272F;
  color: #8BC34A;
  border: 1.5px solid #8BC34A;
}
.cookie-btn.settings {
  background: #234872;
  color: #F5F7FA;
  border: 1.5px solid #8BC34A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C6FF00;
  color: #181C22;
  box-shadow: 0 2px 8px 0 rgba(139,195,74,0.18);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,28,34,0.85);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #23272F;
  color: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 8px 40px 0 rgba(20,20,20,0.25);
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  border: 2px solid #8BC34A;
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: #8BC34A;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1.05rem;
  color: #F5F7FA;
  font-weight: 600;
}
.cookie-modal .cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #181C22;
  border: 1.5px solid #8BC34A;
  position: relative;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] {
  background: #8BC34A;
  border-color: #8BC34A;
}
.cookie-modal .cookie-toggle .toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #F5F7FA;
  transition: left 0.2s;
}
.cookie-modal .cookie-toggle[aria-checked="true"] .toggle-knob {
  left: 22px;
  background: #234872;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #8BC34A;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: #C6FF00;
}

/* 10. RESPONSIVE DESIGN */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .main-nav, .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .content-grid, .feature-grid, .service-list, .service-grid, .contract-types-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 0;
  }
}

/* 11. MICRO-INTERACTIONS & TRANSITIONS */
button, .cta, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
button:active, .cta:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* 12. UTILITY CLASSES */
.hide {
  display: none !important;
}
.flex {
  display: flex !important;
}
.flex-col {
  flex-direction: column !important;
}
.flex-row {
  flex-direction: row !important;
}
.align-center {
  align-items: center !important;
}
.justify-center {
  justify-content: center !important;
}
.gap-20 {
  gap: 20px !important;
}

/* 13. INDUSTRIAL MODERN DECORATIVE ACCENTS */
.section, .card, .feature, .service, .contract-type, .team-gallery, .office-gallery, .document-gallery, .template-downloads {
  border: 1.5px solid #23272F;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.13), 0 1.5px 0 0 #8BC34A inset;
}

/* 14. FORM ELEMENTS (if any) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1.5px solid #234872;
  background: #23272F;
  color: #F5F7FA;
  margin-bottom: 18px;
  width: 100%;
  box-shadow: 0 1px 4px 0 rgba(20,20,20,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #8BC34A;
  outline: none;
  box-shadow: 0 2px 8px 0 rgba(139,195,74,0.13);
}

/* 15. Z-INDEX LAYERS */
header { z-index: 100; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 300; }
.cookie-modal-overlay { z-index: 400; }

/* 16. ACCESSIBILITY */
:focus {
  outline: 2px solid #8BC34A;
  outline-offset: 2px;
}

/* 17. MISCELLANEOUS */
::-webkit-scrollbar {
  width: 10px;
  background: #23272F;
}
::-webkit-scrollbar-thumb {
  background: #234872;
  border-radius: 6px;
}

/* 18. SLIDER (testimonials) */
.testimonial-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* 19. CONTACT INFO */
.contact-info {
  background: #23272F;
  border-radius: 10px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.10);
  border: 1.5px solid #234872;
  color: #F5F7FA;
}
.contact-info a {
  color: #8BC34A;
  font-weight: 600;
}

/* 20. MAP & HOURS */
.map, .hours {
  background: #23272F;
  border-radius: 10px;
  padding: 14px 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(20,20,20,0.10);
  border: 1.5px solid #234872;
  color: #F5F7FA;
}

/* 21. SPECIAL CLASSES FOR INDUSTRIAL FEEL */
.section, .feature, .service, .contract-type, .card, .testimonial-card {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* 22. HIDE SCROLL WHEN MOBILE MENU/COOKIE MODAL OPEN */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* END OF AccordExpert CSS */
