/*
Theme Name: Jardin Occitan
Template: generatepress
Version: 1.0.0
Description: Custom theme for Jardin Vivant
*/

/* 22. Repère visuel petits écrans */
@media (max-width: 767px) {
  .inside-navigation::before {
    content: "Cultiver son jardin avec le temps et la patience";
    font-style: italic;
    position: absolute;
    left: var(--gap-small, 8px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-color);
  }
  .inside-navigation { position: relative; }
}

/* Submit-button palette rule — RESOLVE: #334155 (slate-professional primary) */
body button.wpforms-submit,
body .wpcf7-submit,
body .ff-btn-submit {
  background-color: #334155 !important;
  color: #ffffff !important;
}
body button.wpforms-submit:hover,
body .wpcf7-submit:hover,
body .ff-btn-submit:hover {
  filter: brightness(0.88) !important;
}

/* Body font weight — PT Serif base */
body {
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 400;
}

/* Heading font — PT Sans */
h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.widget-title {
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 700;
}

/* Footer centered-dark — dark background with centered copyright */
.site-footer {
  background-color: #0F172A;
  color: #f8fafc;
  text-align: center;
}

.site-footer a,
.site-footer .copyright-bar a {
  color: #94a3b8;
}

.site-footer a:hover,
.site-footer .copyright-bar a:hover {
  color: #f8fafc;
}

.copyright-bar {
  background-color: #0F172A;
  color: #94a3b8;
  text-align: center;
}

/* Navigation */
.main-navigation .inside-navigation {
  max-width: 1100px;
  margin: 0 auto;
}

/* Scroll-to-top */
#generate-back-to-top {
  background-color: #334155;
  color: #ffffff;
}

#generate-back-to-top:hover {
  background-color: #475569;
}

/* Fix 2: Hide secondary nav toggle so harness targets #mobile-header toggle only */
/* Secondary nav has legal links — no toggle needed at any breakpoint */
.secondary-menu-toggle {
  display: none !important;
}

/* Search button — body-scoped to reach 404 template outside widget context */
body .search-form .search-submit,
body .wp-block-search__button {
  background-color: #334155 !important;
  color: #ffffff !important;
}
