:root {
  --bleu-nuit: #1a2642;
  --bleu-nuit-light: #2a3652;
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --bg-light: #f8f9fa;
  --border-color: #dee2e6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: #ffffff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--bleu-nuit);
  text-decoration: none;
}

main {
  margin-top: 70px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--bleu-nuit);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--bleu-nuit);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

section {
  padding: 4rem 0;
}

.section-divider {
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
}

.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 38, 66, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.content-with-image {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.content-with-image img {
  max-width: 45%;
  height: auto;
  border-radius: 8px;
}

.content-with-image.img-right {
  flex-direction: row;
}

.content-with-image.img-left {
  flex-direction: row-reverse;
}

.note-box {
  background: var(--bg-light);
  border-left: 4px solid var(--bleu-nuit);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.note-box h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.glossary-term {
  margin-bottom: 2rem;
}

.glossary-term h3 {
  color: var(--bleu-nuit);
  margin-bottom: 0.5rem;
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  color: var(--bleu-nuit);
  margin-bottom: 0.75rem;
}

.btn-soft {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--bleu-nuit);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-soft:hover {
  background: var(--bleu-nuit-light);
  color: #ffffff;
  text-decoration: none;
}

.contact-form {
  max-width: 600px;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

footer {
  background: var(--bleu-nuit);
  color: #ffffff;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.images-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 0 0.75rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .content-with-image {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .content-with-image img {
    max-width: 100%;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 1rem;
  }
}
