:root { color-scheme: dark; }
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #16223d 0%, #0b1120 65%);
  color: #e6ecff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nav-brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: #9aa7c7;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #e6ecff;
}
.lang-switch {
  display: flex;
  gap: 0.4rem;
  font-size: 0.8rem;
}
.lang-switch a {
  text-decoration: none;
  border: 1px solid #2a3555;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  color: #9aa7c7;
}
.lang-switch a.active {
  color: #e6ecff;
  background: rgba(124, 92, 255, 0.12);
  border-color: #7c5cff;
}

/* --- Main layout --- */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
main.page {
  align-items: flex-start;
  justify-content: center;
}
.page-content {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.page-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #7dd3fc, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-kicker {
  color: #9aa7c7;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.page-content p {
  color: #c7d2fe;
  line-height: 1.7;
  font-size: 1.02rem;
}
.page-content section {
  margin-top: 2.5rem;
}
.page-content h2 {
  font-size: 1.3rem;
  color: #e6ecff;
  margin-bottom: 0.75rem;
}
.placeholder {
  border: 1px dashed #2a3555;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: #6b7690;
  font-size: 0.9rem;
  font-style: italic;
}

/* --- Hero (homepage) --- */
.hero {
  text-align: center;
  max-width: 640px;
}
.logo-wrap {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.logo-wrap img {
  width: min(85vw, 560px);
}
.tagline {
  font-size: 1.1rem;
  color: #9aa7c7;
  margin: 0 0 2rem;
}
.badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  border: 1px solid #2a3555;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: #c7d2fe;
  background: rgba(124, 92, 255, 0.08);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.badge:hover {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.16);
}

/* --- Contact --- */
.contact-card {
  border: 1px solid #2a3555;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  background: rgba(124, 92, 255, 0.06);
  margin-top: 1.5rem;
}
.contact-card a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
}
.contact-card a:hover {
  text-decoration: underline;
}
.contact-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.5rem 0;
}
.contact-label {
  color: #6b7690;
  font-size: 0.85rem;
  min-width: 90px;
}

/* --- Card grid (services / actualites) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.service-card {
  display: block;
  border: 1px solid #2a3555;
  border-radius: 14px;
  padding: 1.5rem;
  background: rgba(124, 92, 255, 0.05);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.service-card:hover {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.1);
}
.service-card .icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: #e6ecff;
}
.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #9aa7c7;
  line-height: 1.5;
}

/* --- Actualites list --- */
.article-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.article-item {
  border: 1px dashed #2a3555;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #6b7690;
}
.article-item .article-date {
  font-size: 0.8rem;
  color: #4b5573;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-item h3 {
  margin: 0.35rem 0;
  color: #9aa7c7;
  font-size: 1rem;
}

/* --- Footer --- */
footer.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: #4b5573;
}
