/* Le Circuit des Peintres — styles globaux (fidèles au prototype).
   La mise en page fine reste portée par les styles inline du HTML,
   comme dans le prototype ; ce fichier porte la base, les animations,
   les états hover/focus et la bascule responsive à 860 px. */

html { scroll-behavior: smooth; }
body { margin: 0; background: #FAF7EF; color: #262A33; font-family: 'Work Sans', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #CE3B2C; text-decoration: none; }
a:hover { color: #A82A1D; }
input, select, textarea, button { font-family: 'Work Sans', sans-serif; }
input:focus, select:focus, textarea:focus { outline: 2px solid #CE3B2C; outline-offset: 1px; }
button:focus-visible, a:focus-visible { outline: 2px solid #CE3B2C; outline-offset: 2px; }
[hidden] { display: none !important; }

@keyframes dashWalk { to { stroke-dashoffset: -15.1px; } }
@keyframes pulseX { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.3); opacity: 0.15; } }
@keyframes sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.16) translate(-2.5%, -2.5%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- États hover (équivalents des style-hover du prototype) ---- */
.h-nav { color: #494B52; }
.h-nav:hover { color: #CE3B2C; }
.h-nav-mobile { color: #262A33; }
.h-nav-mobile:hover { color: #CE3B2C; }
.btn-rouge { background: #CE3B2C; color: #FAF7EF; }
.btn-rouge:hover { background: #A82A1D; color: #FAF7EF; }
.btn-hero-ligne { border: 1px solid rgba(250,247,239,0.55); color: #FAF7EF; }
.btn-hero-ligne:hover { border-color: #FAF7EF; color: #FAF7EF; }
.h-bord-rouge:hover { border-color: #CE3B2C !important; }
.h-rond:hover { border-color: #CE3B2C !important; color: #CE3B2C !important; }
.h-retour { color: #7B7A70; }
.h-retour:hover { color: #CE3B2C; }
.h-blanc { color: #B9C3D6; }
.h-blanc:hover { color: #FAF7EF; }
.btn-tarif-ocre { background: #E3A52F; color: #262A33; }
.btn-tarif-ocre:hover { background: #d29a26; color: #262A33; }

/* ---- Navigation responsive (bascule à 860 px) ---- */
.nav-desktop { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px); font-size: 14px; font-weight: 500; }
.tag-montmartre { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7B7A70; font-weight: 600; align-self: center; }
.btn-burger { display: none; }
@media (max-width: 859.98px) {
  .nav-desktop, .tag-montmartre { display: none; }
  .btn-burger { border: 1px solid #B2A88E; background: none; border-radius: 2px; width: 44px; height: 44px; flex: 0 0 44px;
    cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
}
@media (min-width: 860px) { .menu-mobile { display: none !important; } }
.barre { width: 20px; height: 2px; background: #262A33; display: block; transition: transform 0.2s, opacity 0.2s; }
.menu-ouvert .barre-1 { transform: translateY(7px) rotate(45deg); }
.menu-ouvert .barre-2 { opacity: 0; }
.menu-ouvert .barre-3 { transform: translateY(-7px) rotate(-45deg); }
.menu-mobile { display: flex; flex-direction: column; background: #FAF7EF; border-top: 1px solid #DCD4C2; padding: 8px 0 14px; }
.menu-mobile a { color: #262A33; font-size: 16px; font-weight: 500; padding: 14px clamp(18px, 4vw, 32px); }
.menu-mobile a:hover { color: #CE3B2C; }
.menu-mobile a.menu-cta { background: #CE3B2C; color: #FAF7EF; text-align: center; margin: 10px clamp(18px, 4vw, 32px) 0;
  padding: 14px; border-radius: 2px; font-weight: 600; font-size: 16px; }
.menu-mobile a.menu-cta:hover { background: #A82A1D; color: #FAF7EF; }

/* ---- Réservation : éléments rendus par JS ---- */
.cal-cellule { aspect-ratio: 1; border-radius: 2px; font-size: 13.5px; font-weight: 500; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px; padding: 0; min-height: 44px; }
.cal-point { width: 5px; height: 5px; border-radius: 50%; background: #CE3B2C; display: block; }
.creneau-btn { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 2px; text-align: left; width: 100%; box-sizing: border-box; }
.creneau-btn:not(:disabled):hover { border-color: #CE3B2C !important; }
