/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background-color: #f3f3f3;
  color: #262626;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.centered-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* Header */
.header {
  background-color: #f3f3f3;
  padding: 0.7rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo a {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #262626;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #262626;
}

.nav-link.active {
  color: #262626;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #262626;
}

.btn-connexion {
  background-color: #262626;
  color: white;
  padding: 0.6rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-connexion:hover {
  background-color: #dbc3a3;
}

.btn-connexion.active {
  background-color: #dbc3a3;
}

/* Hero Section */
.hero {
  margin-bottom: 4rem;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-radius: 15px;
  margin: 0 20px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

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

.hero-content p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Content Section */
.content-section {
  padding: 3rem 0;
  margin-bottom: 4rem;
}

.content-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.content-image {
  flex: 1;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

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

.content-text p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #262626;
}

/* Services Section */
.services-section {
  padding: 3rem 0;
  margin-bottom: 4rem;
}

.services-text {
  text-align: left;
}

.services-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #262626;
}

.services-list {
  margin: 2rem 0;
  padding-left: 2rem;
}

.services-list li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  list-style-type: disc;
  color: #262626;
}

/* Section Gestion */
.gestion-section {
  padding: 3rem 0;
  margin-bottom: 4rem;
}

.gestion-content {
  text-align: left;
}

.gestion-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #262626;
}

.gestion-content h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #262626;
  font-weight: 400;
}

.gestion-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #262626;
}

/* Section CTA */
.cta-section {
  padding: 3rem 0;
  margin-bottom: 4rem;
  text-align: left;
}

.cta-content {
  text-align: left;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #262626;
}

/* Pages intérieures */
.page-content {
  padding: 2rem 0;
}

.page-title {
  text-align: left;
  margin-bottom: 3rem;
}

.page-title h1 {
  font-size: 2.5rem;
  color: #262626;
  margin-bottom: 1rem;
}

.services-title {
  padding-bottom: 2rem;
}

.content-section h2 {
  font-size: 1.8rem;
  color: #262626;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.content-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #262626;
}

.advantages-list {
  margin: 2rem 0;
  padding-left: 0;
  list-style: none;
}

.advantages-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  padding-left: 1.5rem;
  position: relative;
  color: #262626;
}

.advantages-list li:before {
  content: "•";
  color: #262626;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Page Services */
.services-description {
  text-align: left;
}

.services-description h2 {
  font-size: 1.8rem;
  color: #262626;
  margin: 2rem 0 1rem 0;
}

.services-description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #262626;
}

.service-cta {
  margin-top: 4rem;
  padding: 3rem;
  border-radius: 15px;
}

.service-cta-left {
  text-align: left;
}

.service-cta h2 {
  font-size: 2rem;
  color: #262626;
  margin-bottom: 1rem;
}

.service-cta p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #262626;
}

/* Page Contact */
.contact-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-container h1 {
  font-size: 2.5rem;
  color: #262626;
  margin-bottom: 3rem;
}

.contact-form {
  text-align: left;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #f3f3f3;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #dbc3a3;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #262626;
}

.login-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit {
  background-color: #dbc3a3;
  color: white;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #c9b088;
}

.btn-primary {
  display: inline-block;
  background-color: #dbc3a3;
  color: white;
  padding: 0.6rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #c9b088;
}

/* Footer */
.footer {
  background-color: #f3f3f3;
  color: #262626;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}

.footer-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-connect {
  text-align: center;
  margin-bottom: 2rem;
}

.btn-connect {
  background-color: #dbc3a3;
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-connect:hover {
  background-color: #c9b088;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  color: #262626;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #dbc3a3;
}

.footer-copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #262626;
}

/* Responsive */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .content-flex {
    flex-direction: column;
    text-align: left;
  }

  .gestion-content h2 {
    font-size: 2rem;
  }

  .gestion-content h3 {
    font-size: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 1.5rem;
  }
}
