:root {
  --primary: #7EC9B1;
  /* vert menthe */
  --secondary: #4A7C8C;
  /* bleu doux */
  --accent: #F28C7B;
  /* corail */
  --bg-main: #FAFAF7;
  /* blanc chaud */
  --text-main: #1F2933;
  --hero-bg: #daf8ed;
}

.navbar {
  background-color: var(--bg-main);
}

.nav-link {
  color: var(--secondary);
  font-weight: 500;
  margin: 0 0.5rem;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-cta {
  background-color: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
}

.btn-cta:hover {
  background-color: #e56f5f !important;
  color: #fff;
}

.hero {
  position: relative;
  background-color: var(--hero-bg) !important;
  padding-top: 5rem;
  padding-bottom: 7rem;
  /* important pour laisser place à la vague */
}

.hero-title {
  /* font-size: 2.6rem; */
  font-weight: 600;
  color: var(--secondary);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-text {
  font-size: 1.1rem;
  color: #4B5563;
  max-width: 520px;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

@media (max-width: 991px) {
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img {
    margin-top: 2rem;
  }
}

.fade-image {
  -webkit-mask-image: radial-gradient(circle,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0) 100%);
}

/* footer */
.footer {
  background-color: #F7F4EF;
  /* beige chaud doux */
  color: var(--secondary);
}

.footer-brand {
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.95rem;
  color: #4B5563;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #4B5563;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social a {
  font-size: 1.4rem;
  margin-right: 0.5rem;
  text-decoration: none;
}

.footer-divider {
  margin: 2rem 0 1.5rem;
  border-color: #E5E7EB;
}

.footer-copy {
  font-size: 0.85rem;
  color: #6B7280;
}

.footer-legal a {
  font-size: 0.85rem;
  color: #6B7280;
  margin-left: 1rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Contact */
.contact {
  background-color: #FAFAF7;
  /* blanc chaud */
}

.section-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-text {
  color: #4B5563;
  font-size: 1rem;
}

.contact-form .form-control {
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 1px solid #E5E7EB;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.15rem rgba(122, 193, 168, 0.25);
}

.contact-info {
  color: #4B5563;
  font-size: 0.95rem;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  padding: 2.5rem;
  border-radius: 20px;
  width: 100%;
  /* max-width: 400px; */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.login-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Texte plus grand sur mobile */
@media (max-width: 767px) {
  body {
    font-size: 1.1rem;
    /* taille générale plus lisible */
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  h4, h5, h6 {
    font-size: 1.2rem;
  }

  table {
    font-size: 0.95rem;
    /* pour les tableaux */
  }

  .btn {
    font-size: 1rem;
    /* boutons plus lisibles */
    padding: 0.5rem 0.75rem;
  }

  .form-control {
    font-size: 1rem;
  }
}