/* Style Général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333333;
  line-height: 1.6;
}

/* En-tête */
.header {
  background-color: #2b2e34;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav a {
  color: #cccccc;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
  border-bottom: 2px solid #5a6268;
  padding-bottom: 4px;
}

/* Section Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-content h1 {
  font-size: 2.2rem;
  color: #3f474e;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  font-weight: 700;
  color: #2b2e34;
}

.hero-content p {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Boutons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 160px;
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #3b4248;
  color: #ffffff;
  border: 1px solid #3b4248;
}

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

.btn-secondary {
  background-color: transparent;
  color: #333333;
  border: 1px solid #6c757d;
}

.btn-secondary:hover {
  background-color: #e9ecef;
}

.btn-dark-sm {
  background-color: #3b4248;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  margin-top: auto;
  align-self: flex-start;
}

.btn-dark-sm:hover {
  background-color: #2b2e34;
}

.btn-outline-light {
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
  padding: 0.6rem 1.2rem;
  margin-top: 1.5rem;
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: #3f4a52;
}

/* Image Hero */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

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

/* Intro Services */
.services-intro {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  background-color: #f8f9fa;
}

.services-intro h2 {
  color: #3f474e;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.services-intro p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Grille de Services */
.services-grid-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.card-img {
  width: 100%;
  height: 220px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.1rem;
  color: #3f474e;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

/* Section Témoignage */
.testimonial-section {
  background-color: #e2e7ec;
  text-align: center;
  padding: 3.5rem 2rem;
}

.testimonial-section blockquote {
  font-size: 1.25rem;
  color: #3f474e;
  max-width: 800px;
  margin: 0 auto 1rem;
  font-style: italic;
  line-height: 1.4;
}

.testimonial-section cite {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: normal;
}

/* Section Expert */
.expert-section {
  background-color: #3f4a52;
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

.expert-section h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.expert-section p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* Section FAQ */
.faq-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.faq-section h2 {
  color: #3f474e;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.faq-subtitle {
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  background-color: #eeeeee;
  border-radius: 2px;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: #333333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon-toggle {
  background-color: #5a6268;
  color: #ffffff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.faq-content {
  padding: 0 1rem 1rem 1rem;
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.4;
}

/* Section Contact */
.contact-section {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
  gap: 3rem;
}

.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  font-size: 1.5rem;
  color: #3f474e;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.divider {
  border: none;
  border-top: 1px dashed #cccccc;
  margin: 0.8rem 0;
}

.contact-info address, 
.contact-block p {
  font-style: normal;
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.4;
}

.contact-block h4 {
  font-size: 0.85rem;
  color: #333333;
  margin-bottom: 0.3rem;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 28px;
  height: 28px;
  background-color: #adb5bd;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #6c757d;
}

/* Adaptabilité Mobile */
@media (max-width: 768px) {
  .hero, .contact-section {
    flex-direction: column;
  }
  
  .services-grid, .faq-grid {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
    gap: 1rem;
  }
}