/*
Theme Name: Villenoir Child - Best Branding
Description: Thème enfant de Villenoir pour Best Branding : lisibilité, mobile, accessibilité, image premium.
Template: villenoir
Version: 1.1.0
Text Domain: villenoir-child
*/

/* Accessibilité : focus visible (le thème parent le supprime) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--links-elements-color) !important;
  outline-offset: 3px;
}

/* Contraste du pied de page (gris #414141 sur noir = illisible) */
footer.site-footer,
footer.site-footer .footer-extras,
footer.site-footer .footer-extras .gg-footer-menu .navbar-nav > li > a,
footer.site-footer .footer-extras .footer-social ul li a { color: #a6a6a6; }
footer.site-footer .footer-extras .gg-footer-menu .navbar-nav > li > a:hover,
footer.site-footer .footer-extras .footer-social ul li a:hover { color: var(--links-elements-color); }

/* Typographie premium */
h1, h2, h3 { line-height: 1.2; letter-spacing: 0.01em; }
header.site-header .page-meta h1 { letter-spacing: 0.08em; }
.button, .btn, input[type="submit"] { letter-spacing: 0.2em; }

/* Boutique désactivée : masquer le panier (supprimer si la boutique revient) */
#quick_cart { display: none !important; }

/* Mobile : espacements et titres adaptés */
@media (max-width: 767px) {
  .wpb_row:not(.vc_inner), .vc_row.wpb_row:not(.vc_inner) { padding: 70px 0; }
  #content { padding: 80px 0; }
  header.site-header .page-meta .page-meta-wrapper { padding: 70px 0; }
  header.site-header .page-meta h1, article.page h2.entry-title, article.post h2.entry-title,
  article.post h1.entry-title, footer.site-footer .footer-message h2 { font-size: 32px; }
  footer.site-footer { padding: 60px 0; }
  footer.site-footer .footer-extras { margin-top: 80px; }
  .gg-contact-template .contact-form-wrapper { margin-bottom: 80px; }
  .wpb-js-composer .vc_general.vc_cta3 { padding: 40px 24px; }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
