:root {
  --accent: #186069;
  --bg: #000;
  --text: #ababab;
  --text-muted: #848484;
  --text-on-accent: #000;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

@media (max-width: 700px) {
  .container {
    padding: 15px;
  }
}

/* NAVIGATION */
nav {
  background-color: #111;
  border-bottom: 1px solid #333;
  position: relative;
}

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

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link strong {
  font-size: 1.1rem;
}

@media (max-width: 700px) {
  .nav-container {
    padding: 15px;
  }
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-weight: bold;
}

.nav-link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--accent);
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  line-height: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nav-dropdown-toggle:focus {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.nav-dropdown-toggle:hover {
  text-decoration: underline;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 4px;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  z-index: 5;
}

.nav-dropdown-menu a {
  font-weight: normal;
  padding: 8px 16px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background-color: #1f1f1f;
}

.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

/* LANGUAGE SWITCHER */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 20px;
  border-left: 1px solid #333;
  padding-left: 20px;
}

.lang-link {
  padding: 4px 8px;
  font-size: 0.85rem;
  font-weight: normal !important;
  border: 1px solid #333;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.lang-link:hover {
  background-color: #333;
  text-decoration: none;
}

.lang-link.active {
  background-color: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  color: var(--accent);
  border: none;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 1px solid #333;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .nav-dropdown-menu {
    position: static;
    border: none;
    border-top: 1px solid #333;
    border-radius: 0;
    margin-top: 10px;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-dropdown-menu a {
    padding: 12px 0;
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #333;
    padding-top: 15px;
    margin-top: 15px;
    justify-content: center;
  }

  .menu-toggle {
    display: block;
  }
}

/* HEADER */
header {
  text-align: center;
  padding: 0px 20px 20px;
  width: 100%;
}

header h1,
.brand {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--accent);
  word-wrap: break-word;
}

header h2,
.claim {
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--text-muted);
  margin: 0;
  word-wrap: break-word;
}

header p,
.tagline {
  font-style: italic;
  margin-top: 10px;
  color: var(--text);
}

@media (max-width: 700px) {
  header {
    padding: 0px 10px 20px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header h2 {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* SECTIONS */
section {
  margin: 60px 0;
  width: 100%;
}

section h2,
article h2 {
  font-size: 1.6rem;
  margin: 40px 0 20px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: var(--text);
}

.section-heading,

section h3 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: var(--text);
}

article h3 {
  position: relative;
  margin: 30px 0 15px;
  padding-left: 24px;
  font-size: 1.4rem;
  color: var(--text);
  border-left: none;
}
article h3::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

section p,
article p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  text-align: justify;
}

article h4 {
  font-size: 1.6rem;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  margin-top: 3rem;
  color: var(--text);
}

article h5 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 1.5rem;
}

article h6 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

article strong {
  color: var(--text);
}

article em {
  font-style: italic;
}

article ul,
article ol {
  margin: 1rem 0;
  padding-left: 1.6rem;
}

article ul li,
article ol li {
  margin-bottom: 0.6rem;
}

article ul li::marker {
  color: var(--accent);
}

article a {
  color: var(--accent);
  text-decoration: underline;
}

article blockquote {
  border-left: 3px solid var(--accent);
  margin: 0;
  padding-left: 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.center {
  display: block;
  text-align: center;
}

article hr {
  border: none;
  border-top: 1px solid #333;
  margin: 2.5rem 0;
}

article table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

article table th,
article table td {
  border: 1px solid #333;
  padding: 0.75rem;
  text-align: left;
}

article table th {
  background: rgba(255, 255, 255, 0.05);
}

article .callout {
  border: 1px solid #333;
  background-color: #0b0b0b;
  padding: 20px;
  border-radius: 6px;
}

.savoir-faire {
  padding-left: 30px;
  width: 100%;
  max-width: calc(100% - 30px);
}

.savoir-faire-item {
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
}

.savoir-faire-item h3 {
  position: relative;
  margin-bottom: 8px;
  padding-left: 24px;
  font-size: 1.4rem;
  color: var(--text);
  border-left: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.savoir-faire-item h3::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.savoir-faire-item p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
  padding-right: 10px;
  text-align: justify;
}

@media (max-width: 700px) {
  section {
    margin: 30px 0;
  }

  section h2,
  article h2 {
    font-size: 1.3rem;
  }

  section h3,
  article h3 {
    font-size: 1.4rem;
  }

  article h4 {
    font-size: 1.2rem;
    margin-top: 2.5rem;
  }

  article h5 {
    font-size: 1.1rem;
  }

  .savoir-faire {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .savoir-faire-item {
    margin-bottom: 25px;
    padding-left: 0;
    padding-right: 0;
  }

  .savoir-faire-item h3 {
    font-size: 1.1rem;
    padding-left: 20px;
    padding-right: 0;
  }

  .savoir-faire-item p {
    padding-right: 0;
    margin-right: 0;
  }
}

.skills ul {
  list-style: none;
  padding-left: 0;
}

.skills li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 24px;
}

.skills li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.skills li span {
  font-weight: bold;
  color: var(--text);
}

/* CTA */
.cta {
  background-color: #111;
  padding: 40px 20px;
  text-align: center;
  border: 1px solid #333;
  margin: 60px 0;
}

.cta a.button {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background-color: var(--accent);
  color: var(--text-on-accent);
  font-weight: bold;
  border-radius: 5px;
}


/* FOOTER */
footer {
  border-top: 1px solid #333;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  width: 100%;
}

footer p {
  margin: 10px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}


@media (max-width: 700px) {
  footer {
    padding: 25px 15px;
    font-size: 0.8rem;
  }

  footer p {
    line-height: 1.8;
  }

  footer a {
    display: inline-block;
    word-break: break-word;
  }
}