/* =======================
   BASE & RESET
======================= */
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #2c3e50;
}

h1 a,
h2 a,
h3 a,
h4 a {
  color: #FFA07A;
}

p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #555;
}

.logo-small-img {
  max-width: 100px;
  margin-left: 2rem;
}

.ds-none {
  display: block;
}

.dl-none {
  display: none;
}

@media (max-width: 991.98px) {
  .ds-none {
    display: none;
  }

  .dl-none {
    display: block;
  }
}

/* Boutons */
button,
.btn,
.btn-connexion,
.btn-contact {
  background-color: #FFA07A;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

button:hover,
.btn:hover,
.btn-connexion:hover,
.btn-contact:hover {
  background-color: #e59b72;
  border-radius: 30px;
}

/* =======================
   HEADER & NAV
======================= */
header {
  background-color: #ffffff;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: 'Ganache', 'Poppins', Arial, sans-serif;
  font-size: 2rem;
  font-weight: bold;
}

.logo a {
  text-decoration: none;
}

.logo span {
  color: #FFA07A;
}

.logo .bang {
  color: #7F7F7F;
}

.nav-link {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(26, 53, 91, 0.7);
  transition: color 0.3s ease;
}

.nav-link.active,
.nav-link:hover {
  color: #FFA07A !important;
  font-weight: 600;
}

.navbar-nav .nav-item:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  color: rgba(26, 53, 91, 0.7);
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item:not(:last-child)::after {
    content: none;
  }
}

/* =======================
   HERO
======================= */
.hero {
  background: linear-gradient(rgba(26, 53, 91, 0.7), rgba(26, 53, 91, 0.7)),
    url('img/sergey-zolkin-_UeY8aTI6d0-unsplash') center/cover no-repeat;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 90vh;
    padding-bottom: 5rem;
  }
}

/* =======================
   SECTIONS GÉNÉRALES
======================= */
.section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
}

/* =======================
   SERVICES (Cartes)
======================= */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f9f9f9;
}

.service-content {
  padding: 1.5rem;
}

.service h3 {
  color: #3498db;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service p {
  color: #555;
}

/* =======================
   SERVICES (Détails)
======================= */
.service-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.service-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.service-content {
  flex: 1;
  text-align: left;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-content h3 {
  color: #2c3e50;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 8px;
}

.service-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #FFA07A;
}

.service-description {
  color: #232727;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: "•";
  color: #3498db;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.service-pricing {
  background-color: transparent;
  padding: 1.5rem 0;
  border-top: 1px solid #eee;
  margin-top: 1.5rem;
}

.service-pricing h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.service-pricing ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.service-pricing li {
  padding: 0.5rem 0;
  color: #555;
  position: relative;
  padding-left: 1.5rem;
}

.service-pricing li:before {
  content: "•";
  color: #3498db;
  position: absolute;
  left: 0;
}

.service-pricing strong {
  color: #2c3e50;
  font-weight: 600;
}

.tarifs {
  background: rgba(255, 160, 122, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.tarifs ul {
  list-style: none;
  padding: 0;
}

.tarifs li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.tarifs strong {
  color: #FFA07A;
}

/* Alternance de fond pour les sections paires */
.service-section:nth-child(even) {
  background-color: #f9f9f9;
}

/* =======================
   À PROPOS
======================= */
.about-section {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
}

.about {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* =======================
   CONTACT
======================= */
.contact-form {
  max-width: 700px;
  margin: 2rem auto 0;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

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

.btn-submit {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 1rem auto 0;
  border-radius: 30px;
}

/* =======================
   FOOTER
======================= */
footer {
  background: #f1f1f1;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
  margin-top: auto;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 991.98px) {
  .service-container {
    flex-direction: column;
    text-align: center;
  }

  .service-features li {
    justify-content: center;
  }

  .service-content h3::after {
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .services {
    grid-template-columns: 1fr;
  }
}

/* =======================
   ANIMATIONS
======================= */
.service-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-section:nth-child(1) {
  animation-delay: 0.2s;
}

.service-section:nth-child(2) {
  animation-delay: 0.4s;
}

.service-section:nth-child(3) {
  animation-delay: 0.6s;
}

.service-section:nth-child(4) {
  animation-delay: 0.8s;
}

.service-section:nth-child(5) {
  animation-delay: 1s;
}

/* =======================
   FONT CUSTOM
======================= */
@font-face {
  font-family: 'Ganache';
  src: url('fonts/Ganache-Regular.ttf') format('truetype');
}

/* login */
.auth-container {
  width: 350px;
  max-width: 90%;
  margin: 50px auto;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}