/*
Theme Name: Les Chasseurs Plaisanciers
Theme URI: https://leschasseursplaisanciers.fr
Description: Thème sur mesure one-page transposé de la maquette validée (référence pixel-perfect) — Association de Chasse de Plaisance-du-Touch (31830).
Author: Association de Chasse de Plaisance-du-Touch
Version: 2.0.0
Text Domain: lcp
*/

/* ===== Base (reprise du style custom de la maquette) ===== */
html, body { margin: 0; padding: 0; background: #fcfbfa; }
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
@keyframes lcpPulse { 0%, 100% { fill-opacity: 0.38; } 50% { fill-opacity: 0.62; } }
@keyframes lcpDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes lcpScroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
::selection { background: #cd7f32; color: #fff; }
input::placeholder, textarea::placeholder { color: rgba(120,128,115,0.75); }

/* ===== Conversions style-hover / style-focus de la maquette ===== */
.hv-closebtn:hover { background: rgba(255,255,255,0.3) !important; }
.hv-link:hover { color: #cd7f32 !important; }
.hv-outline:hover { border-color: #cd7f32 !important; color: #cd7f32 !important; }
.hv-bronze:hover { background: #b06a24 !important; }
.hv-bronze-lift:hover { background: #b06a24 !important; transform: translateY(-2px); }
.hv-ghost:hover { background: rgba(252,251,250,0.12) !important; border-color: #fcfbfa !important; }
.hv-chip:hover { border-color: #cd7f32 !important; color: #b06a24 !important; }
.hv-chip.is-active:hover { color: #fcfbfa !important; }
.hv-scale106:hover { border-color: #cd7f32 !important; transform: scale(1.06); }
.hv-scale108:hover { border-color: #cd7f32 !important; transform: scale(1.08); }
.hv-zone:hover { border-color: rgba(205,127,50,0.6) !important; }
.hv-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(28,51,34,0.12); border-color: #ddcfb4 !important; }
.hv-doc:hover { background: #fdfaf3 !important; }
.hv-social:hover { border-color: #cd7f32 !important; background: rgba(205,127,50,0.12); }
.hv-toggle:hover { border-color: #cd7f32 !important; }
.hv-whatsapp:hover { filter: brightness(0.92); }
.fc-bronze:focus { border-color: #cd7f32 !important; }

/* ===== Typo de base ===== */
body { font-family: 'Lora', serif; color: #2b352c; overflow-x: hidden; }

/* ===== Contenu des pages légales ===== */
.lcp-legal { max-width: 760px; margin: 0 auto; padding: 160px 24px 90px; }
.lcp-legal h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(30px, 3.2vw, 42px); color: #1c3322; }
.lcp-legal h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; color: #1c3322; margin-top: 38px; }
.lcp-legal p, .lcp-legal li { font-size: 16px; line-height: 1.75; color: #5d6b60; }
.lcp-legal a { color: #b06a24; }

/* ===== Messages du formulaire de contact ===== */
.lcp-form-msg { font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; padding: 12px 16px; border-radius: 4px; }
.lcp-form-msg.ok { background: rgba(90,155,110,0.18); color: #9fd4b0; border: 1px solid rgba(90,155,110,0.4); }
.lcp-form-msg.err { background: rgba(217,83,79,0.15); color: #f0a9a7; border: 1px solid rgba(217,83,79,0.4); }
.lcp-login-error { background: rgba(217,83,79,0.12); color: #b03a36; border: 1px solid rgba(217,83,79,0.35); border-radius: 4px; padding: 12px 16px; font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 600; }

/* ===== Responsive (la maquette desktop fait foi ; pliage mobile) ===== */
@media (max-width: 960px) {
  .grid-association, .grid-fiche, .grid-carte, .grid-inscriptions, .grid-footer, .grid-membre { grid-template-columns: 1fr !important; }
  .grid-association { gap: 56px !important; }
  .grid-fiche > div:first-child { position: static !important; }
  .lcp-arc-wrap { display: none !important; }       /* l'arc cède la place à la grille sur mobile */
  .lcp-grid-fallback { display: flex !important; }
}
@media (max-width: 640px) {
  section, footer#contact { padding-left: 22px !important; padding-right: 22px !important; }
  .grid-footer-form { grid-template-columns: 1fr !important; }
}

/* ===== Overlays espace membre : l'attribut [hidden] prime sur le display inline ===== */
#lcp-login[hidden], #lcp-membre[hidden] { display: none !important; }

/* ===== Fiche gibier (remplie par app.js) ===== */
.grid-fiche { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
@media (max-width: 760px) {
  .grid-actus { grid-template-columns: 1fr !important; }
}

/* ===== Formulaire de contact (CF7) dans le footer sombre ===== */
.lcp-footer-form .wpcf7 { margin: 0; }
.lcp-footer-form p { margin: 0 0 14px; }
.lcp-footer-form input[type="text"],
.lcp-footer-form input[type="email"],
.lcp-footer-form input[type="tel"],
.lcp-footer-form textarea {
  width: 100%;
  background: rgba(252,251,250,0.06);
  border: 1px solid rgba(252,251,250,0.18);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: 'Lora', serif;
  font-size: 14.5px;
  color: #fcfbfa;
  outline: none;
  transition: border 0.25s;
}
.lcp-footer-form input:focus,
.lcp-footer-form textarea:focus { border-color: #cd7f32; }
.lcp-footer-form textarea { resize: vertical; min-height: 110px; }
.lcp-footer-form .wpcf7-submit {
  width: auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #cd7f32;
  border: none;
  padding: 15px 30px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s;
}
.lcp-footer-form .wpcf7-submit:hover { background: #b06a24; }
.lcp-footer-form .wpcf7-response-output {
  color: rgba(252,251,250,0.85);
  border-color: rgba(252,251,250,0.3) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  border-radius: 4px;
}
