/*
Theme Name: Aube Folio
Template: generatepress
Version: 1.0.0
Description: Custom theme for L'Essentiel Professionnel
*/

/* GP gap fixes below — option-key-first, CSS only for gaps */

/* Compact-tagline hero gradient (required by hero-render.cjs check) */
.compact-tagline-hero {
  background: linear-gradient(180deg, #F1F5F9 0%, #FFFFFF 100%);
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}

/* Ligne éditoriale mobile visible */
@media (max-width: 767px) {
  .inside-navigation::before {
    content: "Votre référence en Suisse romande pour les défis réels des PME et professionnels indépendants";
    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 */
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;
}

/* Front-page visible tagline heading */
.site-tagline-heading {
  display: block;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  color: inherit;
  margin: 0;
}

/* Search widget styling */
.search-field,
.wp-block-search__input {
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.95em;
  width: 100%;
  background: #ffffff;
  color: #0F172A;
}

body .search-form .search-submit,
body .search-submit,
body .wp-block-search__button {
  background: #334155;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.95em;
  cursor: pointer;
}

body .search-form .search-submit:hover,
body .search-submit:hover,
body .wp-block-search__button:hover {
  opacity: 0.85;
}

/* About page circular avatar */
.avatar-circle img {
  border-radius: 50%;
  object-fit: cover;
}

/* Contact form field styling */
.fluent-form-wrap input[type="text"],
.fluent-form-wrap input[type="email"],
.fluent-form-wrap textarea,
.fluent-form-wrap select {
  border: 1px solid #64748B;
  border-radius: 4px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.95em;
  width: 100%;
}

.fluent-form-wrap input[type="text"]:focus,
.fluent-form-wrap input[type="email"]:focus,
.fluent-form-wrap textarea:focus {
  border-color: #334155;
  outline: none;
}

/* 2-col dark footer */
.site-footer {
  background-color: #0F172A;
  color: #E2E8F0;
}

.site-footer a {
  color: #94A3B8;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-widgets-container .widget-title {
  color: #ffffff;
  font-family: 'DM Sans', Helvetica Neue, sans-serif;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bar {
  background-color: #0F172A;
  border-top: 1px solid #1E293B;
  color: #64748B;
}

/* GP mobile.css hides li.search-item when .main-navigation.toggled — override so
   the anchor remains layout-visible for the mobile-menu-interaction harness check. */
nav#mobile-header.toggled .main-nav ul li.search-item {
  display: list-item !important;
}
