/* Couleurs sombres apaisantes */
:root {
  --bg: #0f0f0f;
  --bgbtn: #3b1c1e;
  --text: #d4cfc9;
  --subtitle: #6B4A4C;
  --accent: #5a2326;
  --shadow: #26c6da14;
  --header-bg: #1a1a1a;
  --footer-bg: #121212;
  --hover: #26c6da;
  --nav: #8f8380;
  --font: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
}

html, body {
  height: 100%;
  margin: 0;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hover);
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--header-bg);
  padding: 1rem 2rem;
  border-bottom: 1px solid #ffffff0d;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 100px;
  width: auto;
}

.logo-DMC-fixed {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 10px;
  height: 50px;
}

.logo-DGH-fixed {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 10px;
  height: 75px;
}

.main-title {
  font-family: 'audiowide', sans-serif;
  font-size: 5rem;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
  max-width: 80%;
  margin: 0 auto;
  text-shadow: 0 0 10px var(--shadow);
}

.title {
  font-family: 'audiowide', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
  max-width: 80%;
  margin: 30px auto;
  text-shadow: 0 0 10px var(--shadow);
}

.subtitle {
    font-family: 'audiowide', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    text-align: center;
}

/* Navigation */
.nav {
  display: flex;
  gap: 2rem;
  margin-top: 20px;
}

.nav a {
  color: var(--nav);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--hover);
}

.nav a.nav-active {
    text-decoration: underline;
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
} 

.hero-video {
    max-width: 720px;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #333;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.text {
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.spaced p {
  margin-bottom: 1.5rem;
}

.text.spaced:last-of-type {
    margin-bottom: 30px;
}

.intro-box {
  border: 1px solid var(--accent);
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  margin-top: -5px;
  box-shadow: 0 0 10px var(--shadow);
}

.portfolio-subtitle {
    font-size: 1.6rem;
    color: var(--subtitle);
}

.tarifs-subtitle {
    font-size: 1.6rem;
    color: var(--subtitle);
}

.project-media {
    margin: 15px 0;
    text-align: center;
}

.project-media img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 7px 7px;
    margin-top: 5px;
    min-width: 50px;
    background-color: var(--bgbtn);
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn img {
    vertical-align: middle;
    max-height: 30px;
}

.btn:hover {
    opacity: 0.5;
    color: var(--text);
    transform: translate(1px, 1px);
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.25;
    cursor: default;
}

main {
  flex: 1;
}