/* ========== BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', "Plus Jakarta Sans", "Noto Sans", sans-serif;
  background-color: #fafafa;
  color: #121714;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  flex-shrink: 0;
}

.brand-name {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin: 0;
  line-height: 1;
}

.brand-location {
  font-size: 13px;
  color: #d97706;
  font-weight: 500;
  margin: 4px 0 0 0;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-item:hover {
  color: #d97706;
}

.nav-item.active {
  color: #d97706;
  font-weight: 600;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d97706;
}

.mobile-btn {
  font-size: 28px;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  display: none;
}

/* ========== MAIN CONTENT ========== */
.main-content {
  padding: 60px 24px;
  flex: 1;
}

.content-container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.intro-text {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== GRILLE CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: start;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #d97706;
  border-radius: 2px;
}

/* Cartes d'information */
.info-card {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: #fff7ed;
  color: #d97706;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1f2937;
}

.info-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
}

.info-card a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}

.info-card a:hover {
  color: #d97706;
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  background-color: #f3f4f6;
  color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #d97706;
  color: white;
  transform: translateY(-3px);
}

/* ========== IMAGE À DROITE ========== */
.contact-image {
  position: sticky;
  top: 100px; /* reste visible en scrollant */
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  background: #f3f4f6;
}

.side-image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-wrapper:hover .side-image {
  transform: scale(1.04);
}

/* Texte superposé en bas de l’image */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  padding: 30px 20px 22px;
  color: white;
  text-align: center;
}

.image-overlay p {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ========== FORMULAIRE (si tu l’ajoutes plus tard) ========== */
.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1f2937;
  background-color: #f9fafb;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d97706;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: #d97706;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #b45309;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}

/* ====================== FOOTER ====================== */
.main-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 70px 0 30px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4,
.footer-col h5 {
  color: white;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.footer-brand {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.5;
}

.footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fbbf24;
}

.social-icons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icon {
  color: #9ca3af;
  font-size: 24px;
  transition: all 0.3s;
}

.social-icon:hover {
  color: #fbbf24;
  transform: translateY(-3px);
}

.footer-contact {
  font-size: 15px;
  color: #fbbf24;
}

a {
  color: #fbbf24;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  font-size: 14px;
  color: #6b7280;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-image {
    position: static;
    order: -1; /* image en haut sur mobile/tablette */
  }

  .side-image {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-btn {
    display: block;
  }

  .header-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    gap: 8px;
    z-index: 1000;
  }

  .header-nav.active .nav-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .page-title {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 40px 16px;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .side-image {
    height: 280px;
  }
}