* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding: 10px 20px 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

a {
  color: #007bff;
  text-decoration: none;
}

.container {
  max-width: 100%;
  margin: 0;
  padding: 0 20px;
}

.header {
  background-color: #fff;
  padding: 20px 0;
}

.header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.logo-img {
  display: block;
  max-height: 120px;
  margin-right: 10px;
}

.primary-logo .logo-img {
  max-height: 150px;
}

.by-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #888;
  margin: 0 10px;
  align-self: center;
}

.contact {
  display: flex;
  gap: 40px;
  text-align: right;
  font-size: 0.95rem;
}

.main-content {
  background-color: #fff;
  padding: 0 20px 60px 20px;
}

.intro h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

h2 {
  font-size: 14pt;
  margin-bottom: 10px;
}

p {
  margin-bottom: 10px;
  line-height: 1.2;
  font-size: 12pt;
  text-align: justify;
}

.blue {
  color: rgb(255, 128, 64);
}

.highlight {
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 0;
}

.subdued {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.intro-box {
  background-color: #eee;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 16px;
}

.wide-text {
  margin-left: 80px;
  margin-right: 80px;
}

.primary-logo {
  padding-bottom: 10px;
}

/* ---------- BOUTONS ---------- */

.btn-line {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* Applique style aux <a> utilisés comme boutons */
.btn-inline,
.btn-inline:link,
.btn-inline:visited {
  background-color: #333;
  color: #fff;
  padding: 10px 18px;
  border-radius: 5px;
  text-align: center;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-inline:hover {
  background-color: #555;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .header-grid {
    flex-direction: column;
    align-items: center;
  }

  .contact {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .wide-text {
    margin-left: 40px;
    margin-right: 40px;
  }

  .btn-line {
    flex-direction: column;
    align-items: flex-end;
  }

  .btn-inline {
    width: fit-content;
  }
}
