:root {
  --bg-main: #f6f8fb;
  --text-main: #1f2933;
  --text-soft: #4b5563;
  --accent: #3b6ea5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
  line-height: 1.6;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(246,248,251,0.9);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu a {
   text-decoration: none;
  color: var(--text-soft);
  font-size: 1.1rem;
  font-weight: 500;
}

.menu a.active,
.menu a:hover {
  color: var(--accent);
}

/* HERO */
.hero { 
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 30px;
}


#lines-bg {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 1rem;
}


.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  font-weight: normal;
  color: var(--text-soft);
}

.hero-subtitle {
  margin-bottom: 2rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-width: 220px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.3rem;
}

.btn.secondary {
  background: var(--accent);
  color: var(--white);
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
}
.content {
  max-width: 800px;
  margin: 120px auto 80px;
  padding: 0 1rem;
}
.site-footer {
  text-align: center;
  font-weight: 600;
}

.content h1 {
  text-align: center;
  margin-bottom: 2rem;
}
.content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #2b2f33;
  text-align: justify;
  hyphens: auto;
}

.content.contact p {
  text-align: center;
}

.contact-email {
  text-align: center;
}

.contact-email a {
  display: inline-block;
}
.content {
  animation: appear 0.6s ease-out both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin: 1rem auto 2rem;
  opacity: 0.8;
}

.content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.home .hero-content {
  animation: heroAppear 0.8s ease-out both;
}

@keyframes heroAppear {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home .hero {
  padding-top: 70px;
}
body:not(.home) .content {
  margin-top: 80px;
}
.partners {
  background: var(--bg-main);
  padding: 1rem 1rem 4rem;
  text-align: center;
}

.partners h2 {
  margin-bottom: 2rem;
}

.partners-carousel {
  overflow: hidden;
  max-width: 1000px;
  margin: auto;
}

.partners-track {
  display: flex;
  gap: 3rem;
  animation: scrollPartners 25s linear infinite;
  width: max-content;
}

.partners-track img {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  min-width: 120px; /* ou 140px selon ton œil */
}

@keyframes scrollPartners {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial {
  margin: 2.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2b2f33;
}

.testimonial-text em {
  font-style: italic;
  opacity: 0.95;
}

.testimonial-author {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}


.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-infos {
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-weight: 600;
}
.footer-links a {
  color: var(--text-soft);
  font-size: 0.85rem;
  text-decoration: none;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}
