/* Styles spécifiques aux pages filiales */

.page-body {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
}

/* Fond coloré permanent selon la filiale */
.page-body .bg-overlay {
  opacity: 1 !important;
  z-index: -2;
}

.page-main {
  padding-top: 56px;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.page-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.page-logo {
  height: 220px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px color-mix(in srgb, var(--accent) 55%, transparent));
  margin-bottom: 1.5rem;
}

.page-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.page-tags span {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: color-mix(in srgb, var(--accent) 90%, white);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.page-content {
  margin: 2rem 0 3rem;
}

.page-content h2 {
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  margin-top: 1.8rem;
}

.page-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.services {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.services li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
}

/* Contact */
.contact-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  margin-top: 2rem;
}

.contact-section h2 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 520px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

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

.contact-form button {
  background: linear-gradient(135deg, #f0c040, #d4a017);
  color: #1a1200;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 192, 64, 0.35);
}

.footer-mini {
  text-align: center;
  padding: 1.5rem;
  color: #4a5568;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .page-logo {
    height: 160px;
  }
  
  .page-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
