@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  flex-shrink: 0;
}

a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #000;
}

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

/* Header */
header {
  background: rgba(0,0,0,0.85);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

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

.logo {
    display: block;
}

.logo img {
  height: 85px;
  width: auto;
}

nav.main_menu {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  overflow: visible;
  margin-left: 60px;
}

nav.main_menu > ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

nav.main_menu > ul > li {
  position: relative;
  white-space: nowrap;
}

nav.main_menu > ul > li > a {
  display: block;
  padding: 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 80px;
  transition: color 0.3s;
  white-space: nowrap;
}

nav.main_menu > ul > li > a:hover,
nav.main_menu > ul > li.active > a {
  color: #e8c87a;
}

nav.main_menu > ul > li.menu-analyse > a,
nav.main_menu > ul > li.menu-entreprises > a {
  color: #e8c87a;
}

/* Dropdown */
nav.main_menu > ul > li > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a2a2a;
  min-width: 300px;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-radius: 0 0 3px 3px;
}

nav.main_menu > ul > li:hover > .dropdown {
  display: block;
}

nav.main_menu > ul > li > .dropdown a {
  display: block;
  padding: 10px 20px;
  color: #ccc;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav.main_menu > ul > li > .dropdown a:last-child {
  border-bottom: none;
}

nav.main_menu > ul > li > .dropdown a:hover {
  color: #e8c87a;
  background: rgba(255,255,255,0.05);
}

/* Mobile menu */
.selectnav_button {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  flex-shrink: 0;
}

nav.selectnav {
  display: none;
}

/* Page Title Banner */
.page_banner {
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
  margin-top: 80px;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content_section {
  padding: 60px 0;
}

.content_section.white-bg {
  background: #fff;
}

.content_section.light-bg {
  background: #f9f9f9;
}

/* Two columns */
.two_columns {
  display: flex;
  gap: 40px;
}

.two_columns .column {
  flex: 1;
}

/* Three columns */
.three_columns {
  display: flex;
  gap: 30px;
}

.three_columns .column {
  flex: 1;
}

/* Image with text box */
.image_text_box {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.image_text_box img {
  width: 100%;
  margin-bottom: 10px;
}

.image_text_box h4 {
  font-size: 16px;
  color: #333;
}

.image_text_box h4 a {
  color: #333;
}

.image_text_box h4 a:hover {
  color: #e8c87a;
}

/* Dropcap */
.dropcap {
  display: inline-block;
  float: left;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: #888;
  margin-right: 10px;
  margin-top: 4px;
  border-radius: 2px;
}

/* Separator */
.separator {
  height: 2px;
  background: #eee;
  margin: 30px 0;
}

/* Content Typography */
.content_inner h1 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content_inner h2 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.content_inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.content_inner h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.content_inner p {
  margin-bottom: 15px;
  text-align: justify;
}

.content_inner ul {
  margin: 15px 0;
  padding-left: 25px;
}

.content_inner ul li {
  margin-bottom: 8px;
}

.content_inner strong {
  font-weight: 700;
  color: #333;
}

.content_inner a {
  color: #e8c87a;
}

.content_inner a:hover {
  color: #333;
}

/* Footer */
footer {
  background: #222;
  color: #999;
  padding: 40px 0 30px;
  margin-top: auto;
}

.footer_bottom {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

.footer_bottom a {
  color: #e8c87a;
}

.footer_bottom a:hover {
  color: #fff;
}

/* Contact Section */
.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
}

a.mailto-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #e8c87a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.3s;
  margin: 10px 0;
}

a.mailto-btn:hover {
  background: #d4b468;
  color: #fff;
}

/* Responsive */
@media (max-width: 999px) {
  nav.main_menu {
    display: none;
  }

  .selectnav_button {
    display: block;
  }

  nav.selectnav.active {
    display: block;
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 1001;
  }

  nav.selectnav > ul {
    list-style: none;
    padding: 10px 20px;
  }

  nav.selectnav > ul > li > a {
    display: block;
    padding: 12px 0;
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  nav.selectnav > ul > li > a:hover {
    color: #e8c87a;
  }

  nav.selectnav > ul > li.menu-analyse > a,
  nav.selectnav > ul > li.menu-entreprises > a {
    color: #e8c87a;
  }

  nav.selectnav > ul > li > .dropdown {
    position: static;
    background: transparent;
    min-width: auto;
    box-shadow: none;
    border-radius: 0;
    display: block !important;
  }

  nav.selectnav > ul > li > .dropdown a {
    padding-left: 20px;
    border-bottom: none;
  }

  .two_columns {
    flex-direction: column;
    gap: 20px;
  }

  .page_banner {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .header_inner {
    height: 60px;
  }

  .logo img {
    height: 40px;
  }

  nav.main_menu > ul > li > a {
    line-height: 60px;
    font-size: 11px;
    padding: 0 6px;
  }

  nav.selectnav {
    top: 60px;
  }

  .page_banner {
    height: 250px;
    margin-top: 60px;
  }

  .content_inner h1 {
    font-size: 22px;
  }

  .content_inner h2 {
    font-size: 18px;
  }
}
