/*
Theme Name: O Estudio Arte e Movimento
Theme URI: https://oestudioartemovimento.com
Author: O Estudio
Author URI: https://oestudioartemovimento.com
Description: Tema personalizado - v4.0
Version: 4.0
Requires at least: 5.0
Tested up to: 6.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oestudio
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --pink:       #DE1B59;
    --pink-dark:  #B5144A;
    --pink-light: rgba(222,27,89,0.08);
    --navy:       #454D50;
    --navy-light: #6B7880;
    --grey-wave:  #AEBAC0;
    --bg:         #F8F7F5;
    --bg2:        #FFFFFF;
    --bg3:        #F0EEE9;
    --border:     rgba(69,77,80,0.1);
    --border-pink:rgba(222,27,89,0.2);
    --muted:      rgba(69,77,80,0.6);
    --dim:        rgba(69,77,80,0.35);
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--navy); overflow-x: hidden; cursor: none; }
  .modal-overlay, .modal-overlay * { cursor: auto !important; }
  .modal-tab, .modal-close, a, button { cursor: pointer !important; }

  /* CURSOR */
  .cursor { width: 9px; height: 9px; background: var(--pink); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
  .cursor-ring { width: 32px; height: 32px; border: 1.5px solid rgba(222,27,89,0.4); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: left 0.3s cubic-bezier(.23,1,.32,1), top 0.3s cubic-bezier(.23,1,.32,1); }

  /* NAV */
  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 4rem; transition: background 0.4s, padding 0.4s, box-shadow 0.4s; }
  nav.scrolled { background: rgba(248,247,245,0.96); backdrop-filter: blur(16px); padding: 1rem 4rem; box-shadow: 0 1px 0 var(--border); }
  .nav-logo { text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
  .nav-logo-icon { display: flex; align-items: center; gap: 3px; }
  .wave-l { display: flex; flex-direction: column; gap: 2px; }
  .wave-l span { display: block; width: 2px; border-radius: 2px; background: var(--grey-wave); }
  .wave-r { display: flex; flex-direction: column; gap: 2px; }
  .wave-r span { display: block; width: 2px; border-radius: 2px; background: var(--pink); }
  .nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
  .nav-logo-main { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
  .nav-logo-sub { font-size: 0.52rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey-wave); font-weight: 400; margin-top: 1px; }
  .nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
  .nav-links a { color: var(--navy); text-decoration: none; font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.55; transition: opacity 0.2s, color 0.2s; font-weight: 500; }
  .nav-links a:hover { opacity: 1; color: var(--pink) !important; }
  .nav-cta { opacity: 1 !important; background: var(--pink) !important; color: #fff !important; padding: 0.55rem 1.4rem; border-radius: 3px; transition: background 0.2s !important; }
  .nav-cta:hover { background: var(--pink-dark) !important; }

  /* HERO */
  #hero { min-height: 100vh; position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: 7rem 4rem 5rem; overflow: hidden; background: var(--bg2); }
  .hero-bg-shape { position: absolute; top: -10%; right: -5%; width: 55vw; height: 110vh; background: var(--bg); border-radius: 40% 0 0 40%; z-index: 0; }
  .hero-dot-grid { position: absolute; bottom: 4rem; left: 4rem; width: 140px; height: 140px; background-image: radial-gradient(circle, rgba(222,27,89,0.2) 1.5px, transparent 1.5px); background-size: 14px 14px; z-index: 0; }
  .hero-circle-deco { position: absolute; top: 20%; right: 48%; width: 180px; height: 180px; border: 1.5px solid rgba(222,27,89,0.12); border-radius: 50%; z-index: 0; }
  .hero-content { position: relative; z-index: 2; }
  .hero-eyebrow { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 2rem; opacity: 0; animation: fadeUp 0.8s ease 0.2s both; }
  .hero-eyebrow-line { width: 32px; height: 2px; background: var(--pink); border-radius: 2px; }
  .hero-eyebrow span { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--pink); font-weight: 600; }
  .hero-title { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 1; color: var(--navy); margin-bottom: 1.6rem; opacity: 0; animation: fadeUp 0.8s ease 0.35s both; }
  .hero-title em { font-style: italic; color: var(--pink); }
  .hero-sub { font-size: 1rem; color: var(--muted); max-width: 420px; line-height: 1.75; font-weight: 300; margin-bottom: 2.8rem; opacity: 0; animation: fadeUp 0.8s ease 0.5s both; }
  .hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 0.65s both; }
  .btn-primary { background: var(--pink); color: #fff; padding: 0.95rem 2.2rem; text-decoration: none; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; border-radius: 3px; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 4px 20px rgba(222,27,89,0.25); }
  .btn-primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(222,27,89,0.35); }
  .btn-secondary { color: var(--navy); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; opacity: 0.6; transition: opacity 0.2s; border-bottom: 1.5px solid rgba(69,77,80,0.2); padding-bottom: 2px; }
  .btn-secondary:hover { opacity: 1; }
  .hero-visual { position: relative; z-index: 2; opacity: 0; animation: fadeUp 0.9s ease 0.5s both; }
  .hero-stats-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; box-shadow: 0 20px 60px rgba(69,77,80,0.08); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stat-n { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--pink); line-height: 1; margin-bottom: 0.3rem; }
  .stat-l { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
  .hero-cta-card { background: var(--pink); border-radius: 10px; padding: 0; margin-top: 1.2rem; color: #fff; min-height: 70px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .hcc-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
  .hcc-sub { font-size: 0.8rem; opacity: 0.8; margin-bottom: 1.2rem; line-height: 1.5; }
  .hcc-btn { background: #fff; color: var(--pink); padding: 0.7rem 1.5rem; border-radius: 4px; text-decoration: none; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: inline-block; transition: opacity 0.2s; }
  .hcc-btn:hover { opacity: 0.9; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  /* Fallback: se animações estiverem desativadas (prefers-reduced-motion ou plugin), conteúdo fica visível */
  @media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-visual {
      opacity: 1 !important; animation: none !important; transform: none !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  }

  /* TICKER */
  .ticker-wrap { background: var(--navy); padding: 0.82rem 0; overflow: hidden; white-space: nowrap; }
  .ticker { display: inline-flex; animation: tickerRun 30s linear infinite; }
  .ticker-item { display: inline-flex; align-items: center; gap: 1.8rem; padding-right: 1.8rem; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.75); text-transform: uppercase; }
  .ticker-dot { width: 4px; height: 4px; background: var(--pink); border-radius: 50%; flex-shrink: 0; }
  @keyframes tickerRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* SECTIONS */
  section { padding: 7rem 4rem; }
  .s-label { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
  .s-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--pink); border-radius: 2px; }
  .s-label span { font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--pink); font-weight: 600; }
  .s-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--navy); margin-bottom: 1.2rem; }

  /* MODALIDADES */
  #modalidades { background: var(--bg); }
  .mod-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
  .mod-top-text { max-width: 500px; }
  .mod-top-text p { font-size: 0.92rem; color: var(--muted); line-height: 1.8; font-weight: 300; margin-top: 0.5rem; }
  .mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
  .mod-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 2.4rem 2rem; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; position: relative; overflow: hidden; }
  .mod-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
  .mod-card:hover { box-shadow: 0 12px 40px rgba(69,77,80,0.1); transform: translateY(-4px); border-color: rgba(222,27,89,0.15); }
  .mod-card:hover::before { transform: scaleX(1); }
  .mod-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: rgba(222,27,89,0.12); line-height: 1; margin-bottom: 1rem; }
  .mod-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
  .mod-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
  .mod-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.7; font-weight: 300; }
  .mod-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.3rem; }
  .tag { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); background: var(--pink-light); padding: 0.25rem 0.65rem; border-radius: 20px; font-weight: 600; }

  /* SOBRE */
  #sobre { background: var(--bg2); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .sobre-visual { position: relative; }
  .sobre-box { aspect-ratio: 4/5; background: var(--bg3); border-radius: 12px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
  .sobre-box-text { font-family: 'Bebas Neue', sans-serif; font-size: 5rem; color: rgba(222,27,89,0.07); text-align: center; line-height: 0.9; user-select: none; }
  .sobre-box-deco { position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--grey-wave), var(--pink)); }
  .sobre-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; width: 110px; height: 110px; background: var(--pink); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 8px 30px rgba(222,27,89,0.3); }
  .sobre-badge-n { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: #fff; line-height: 1; }
  .sobre-badge-t { font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); padding: 0 0.4rem; }
  .sobre-accent { position: absolute; top: 1.5rem; left: -1.5rem; width: 56px; height: 56px; border: 2px solid var(--grey-wave); border-radius: 50%; opacity: 0.4; }
  .sobre-p { font-size: 0.9rem; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 1.1rem; }
  .sobre-p strong { color: var(--pink); font-weight: 600; }
  .sobre-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 2rem 0; }
  .feat { display: flex; align-items: flex-start; gap: 0.65rem; }
  .feat-dot { width: 6px; height: 6px; background: var(--pink); border-radius: 50%; margin-top: 0.42rem; flex-shrink: 0; }
  .feat-t { font-size: 0.8rem; color: var(--navy); font-weight: 500; }

  /* REVIEWS */
  #reviews { background: var(--bg); text-align: center; }
  .rev-header { max-width: 520px; margin: 0 auto 4rem; }
  .rating-row { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.5rem; }
  .rating-n { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: var(--pink); line-height: 1; }
  .rating-info { text-align: left; }
  .stars { font-size: 1.1rem; }
  .rating-count { font-size: 0.7rem; color: var(--muted); margin-top: 0.2rem; }
  .rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; text-align: left; }
  .rev-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; transition: box-shadow 0.3s, border-color 0.3s; }
  .rev-card:hover { box-shadow: 0 8px 30px rgba(69,77,80,0.08); border-color: rgba(222,27,89,0.2); }
  .rev-q { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--pink); line-height: 0.5; margin-bottom: 1rem; opacity: 0.4; }
  .rev-text { font-size: 0.83rem; color: var(--muted); line-height: 1.75; font-weight: 300; margin-bottom: 1.4rem; }
  .rev-author { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
  .rev-stars { color: var(--pink); font-size: 0.7rem; margin-top: 0.25rem; }

  /* HORÁRIO SECTION */
  #horario { background: var(--bg2); }
  .hor-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 3.5rem; margin-top: 3rem; }
  .hor-info { background: var(--pink-light); border: 1px solid var(--border-pink); border-radius: 10px; padding: 2.5rem; }
  .hor-info-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; font-weight: 700; }
  .hor-info-text { font-size: 0.82rem; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 1.6rem; }
  .hor-highlight { background: var(--pink); border-radius: 6px; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem; }
  .hor-day { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; color: #fff; letter-spacing: 0.08em; }
  .hor-time { font-size: 0.8rem; color: rgba(255,255,255,0.85); }
  .hor-note { font-size: 0.75rem; color: var(--muted); line-height: 1.7; }
  .dias { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
  .dia { display: grid; grid-template-columns: 140px 1fr; background: var(--bg2); padding: 1rem 1.4rem; gap: 1rem; align-items: center; border-bottom: 1px solid var(--border); transition: background 0.2s; }
  .dia:last-child { border-bottom: none; }
  .dia:hover { background: var(--bg3); }
  .dia-nome { font-size: 0.73rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); }
  .chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .chip { font-size: 0.62rem; background: var(--pink-light); border: 1px solid var(--border-pink); color: var(--pink); padding: 0.22rem 0.6rem; border-radius: 20px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
  .chip-arte { background: var(--pink-light) !important; color: var(--pink) !important; border-color: rgba(222,27,89,0.2) !important; }
  .chip-mov  { background: rgba(69,77,80,0.08) !important; color: var(--navy) !important; border-color: rgba(69,77,80,0.2) !important; }
  .fechado { font-size: 0.73rem; color: var(--dim); font-style: italic; }
  .hor-bottom { display: flex; gap: 1rem; margin-top: 1.2rem; align-items: center; }
  .btn-modal { background: none; border: 1.5px solid var(--pink); color: var(--pink); padding: 0.8rem 1.6rem; border-radius: 3px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; font-family: 'DM Sans', sans-serif; }
  .btn-modal:hover { background: var(--pink); color: #fff; }

  
  /* INSCRIÇÕES */
  #inscricoes { background: var(--navy); padding: 7rem 4rem; text-align: center; position: relative; overflow: hidden; }
  #inscricoes::before { content: 'INSCREVE\2011TE'; position: absolute; font-family: 'Bebas Neue', sans-serif; font-size: clamp(6rem, 14vw, 14rem); color: rgba(255,255,255,0.04); white-space: nowrap; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
  .ins-accent { width: 40px; height: 3px; background: var(--pink); border-radius: 2px; margin: 0 auto 2rem; }
  .ins-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 900; color: #fff; margin-bottom: 0.9rem; position: relative; }
  .ins-sub { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 2.8rem; font-weight: 300; position: relative; line-height: 1.7; }
  .btn-ins { background: var(--pink); color: #fff; padding: 1.05rem 2.8rem; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; position: relative; border-radius: 4px; transition: background 0.2s, transform 0.2s; box-shadow: 0 4px 20px rgba(222,27,89,0.4); }
  .btn-ins:hover { background: var(--pink-dark); transform: translateY(-2px); }

  /* FOOTER */
  footer { background: #2A3035; padding: 4rem 4rem 2rem; }
  .ft-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
  .ft-brand-n { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.04em; color: #fff; display: block; margin-bottom: 0.25rem; }
  .ft-brand-s { font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey-wave); display: block; margin-bottom: 1.4rem; }
  .ft-brand-p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.8; font-weight: 300; max-width: 260px; }
  .ft-social { display: flex; gap: 0.6rem; margin-top: 1.8rem; }
  .ft-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
  .ft-social a:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
  .ft-col-t { font-size: 0.63rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--pink); margin-bottom: 1.4rem; font-weight: 600; }
  .ft-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
  .ft-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
  .ft-links a:hover { color: #fff; }
  .ft-bot { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.8rem; display: flex; align-items: center; justify-content: space-between; }
  .ft-bot-t { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
  .ft-bot-l { display: flex; gap: 1.5rem; }
  .ft-bot-l a { font-size: 0.7rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
  .ft-bot-l a:hover { color: rgba(255,255,255,0.7); }

  /* STICKY WA */
  
  .sticky-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
  @keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  


/* ═══════════════════════════════════════════════════════════════════
   HAMBURGER + MOBILE MENU DRAWER
   ═══════════════════════════════════════════════════════════════════ */

/* Hamburger — oculto em desktop por default */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 9999;
  position: relative;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay escuro */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 8000;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Drawer lateral */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -110%;
  width: min(300px, 88vw);
  height: 100dvh;
  height: 100vh;
  background: #fff;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -6px 0 40px rgba(0,0,0,0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.mobile-menu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  padding: 4px 10px;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover { background: #f0f0f0; color: var(--navy); }

.mobile-nav-links {
  list-style: none;
  padding: 0.5rem 0;
  flex: 1;
  margin: 0;
}
.mobile-nav-links li { margin: 0; }
.mobile-nav-links li + li { border-top: 1px solid #f0f0f0; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.4rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--pink); background: rgba(222,27,89,0.04); }

.mobile-nav-cta {
  display: block;
  margin: 1.2rem 1.4rem 0.4rem;
  padding: 1rem 1.4rem;
  background: var(--pink);
  color: #fff !important;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.2s;
}
.mobile-nav-cta:hover { background: #c01550; }

.mobile-menu-footer {
  padding: 1.2rem 1.4rem;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.mobile-social {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}
.mobile-social a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.mobile-social a:hover { color: var(--pink); }

@media (max-width: 1024px) {
    nav, nav.scrolled { padding: 1.2rem 2rem; }
    section { padding: 5rem 2rem; }
    #hero { grid-template-columns: 1fr; padding: 7rem 2rem 4rem; }
    .hero-bg-shape { display: none; }
    .hero-stats-card { grid-template-columns: repeat(4,1fr); }
    .mod-grid, .prec-grid { grid-template-columns: 1fr 1fr; }
    #sobre { grid-template-columns: 1fr; gap: 3rem; }
    #contacto { grid-template-columns: 1fr; gap: 3rem; }
    .ft-top { grid-template-columns: 1fr 1fr; }
    .hor-layout { grid-template-columns: 1fr; }
    .rev-grid { grid-template-columns: 1fr; }
    .prec-footer { flex-direction: column; text-align: center; }
  }
  
/* ─── TABLET (max-width: 768px) ──────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 1rem 2rem; }
  nav.scrolled { padding: 0.8rem 2rem; }
  .nav-links { display: none; }
  .hamburger,
  #hamburger,
  nav .hamburger { display: flex !important; flex-direction: column; gap: 5px; }

  #hero { grid-template-columns: 1fr; padding: 6rem 2rem 3rem; gap: 2rem; }
  .hero-card-right { display: none; }
  .hero-title { font-size: clamp(2.4rem, 8vw, 3.8rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-btns { flex-wrap: wrap; gap: 0.8rem; }

  .sobre-layout { grid-template-columns: 1fr; gap: 2rem; }
  .sobre-badge { display: none; }

  .mod-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .mod-img-grid { grid-template-columns: 1fr 1fr 1fr; }

  .prof-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .prof-photo { height: 180px !important; }

  .prec-packs-grid { grid-template-columns: 1fr; }
  .prec-info-grid { grid-template-columns: 1fr 1fr; }

  .ft-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .fund-photo { max-height: 380px; }
  .fund-cols { grid-template-columns: 1fr; }

  .stm-stats { grid-template-columns: 1fr 1fr; }
  .stm-hist-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    /* Nav */
    .nav-links { display: none !important; }
    nav .hamburger,
    #hamburger { display: flex !important; flex-direction: column; align-items: center; justify-content: center; }
    nav { padding: 1rem 1.5rem; background: rgba(248,247,245,0.98); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--border); }

    /* Hero */
    #hero { padding: 5rem 1.5rem 3rem; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .hero-stats-card { grid-template-columns: 1fr 1fr; padding: 1.2rem; }
    .hero-card-right { display: none; }

    /* Sections padding */
    section { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .s-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }

    /* Sobre */
    .sobre-layout { grid-template-columns: 1fr; }
    .sobre-badge { display: none; }
    .sobre-visual { aspect-ratio: 16/9; max-height: 280px; }

    /* Modalidades */
    .mod-grid, .prec-grid { grid-template-columns: 1fr; }

    /* Horário */
    .hor-layout { grid-template-columns: 1fr; }
    .hor-full-row { grid-template-columns: 90px 1fr; }

    /* Preçário */
    .prec-tabs { flex-wrap: wrap; gap: 0.4rem; }
    .prec-tab { font-size: 0.7rem; padding: 0.5rem 0.8rem; }
    .prec-sub-tabs { flex-wrap: wrap; gap: 0.3rem; }
    .prec-sub-tab { font-size: 0.65rem; padding: 0.4rem 0.6rem; }
    .prec-mod-grid { grid-template-columns: 1fr; }
    .prec-avulso-box { margin-top: 1.5rem; }
    .prec-packs-grid { grid-template-columns: 1fr; }
    .prec-info-grid { grid-template-columns: 1fr; }
    .prec-base-extras { grid-template-columns: 1fr; }

    /* Inscrições */
    #inscricoes { padding: 4rem 1.5rem; }

    /* Contacto */
    #contacto { padding: 3rem 1.5rem !important; }
    #contacto > div { grid-template-columns: 1fr !important; }

    /* Modal horário */
    .modal-body { padding: 1rem; }
    .modal-header { padding: 1rem 1rem 0.8rem; }
    .hor-sala-heads { font-size: 0.55rem; }
    .hor-hora { font-size: 0.7rem; min-width: 40px; }
    .ha { font-size: 0.6rem; padding: 0.2rem 0.4rem; }

    /* Footer */
    .ft-top { grid-template-columns: 1fr; gap: 2rem; }
    .ft-social { justify-content: center; }

    /* Social float */
    .social-float { bottom: 1rem; right: 0.8rem; gap: 0.4rem; }
    .social-float a { width: 38px; height: 38px; }
    .social-float svg { width: 18px; height: 18px; }
  
    /* Mod-img-grid mobile */
    .mod-img-grid { grid-template-columns: 1fr 1fr !important; gap: 0.8rem; }
    .mod-img-card { aspect-ratio: 1/1; }

    /* Professores */
    .prof-grid { grid-template-columns: 1fr !important; }
    .prof-card { flex-direction: column; }
    .prof-photo { width: 100% !important; height: 200px !important; border-radius: 10px 10px 0 0 !important; }

    /* StArtMov */
    .stm-stats { grid-template-columns: 1fr 1fr; }

    /* Fundadora */
    .fund-cols { grid-template-columns: 1fr !important; }

    /* Terapias cards */
    .mod-img-grid .mod-img-card:last-child { grid-column: 1 / -1; }

    /* Sticky WA lower on mobile */
    .sticky-wa { bottom: 5rem; right: 1rem; font-size: 1.6rem; }
    /* Override inline styles on mobile */
    [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr auto"] { grid-template-columns: 1fr !important; }

    /* Hero */
    #hero { grid-template-columns: 1fr !important; }

    /* Sobre video */
    .sobre-visual { max-width: 100%; }

    /* Modalities image grid */
    .mod-img-grid { grid-template-columns: 1fr 1fr !important; }

    /* Ensure nav always visible */
    nav { z-index: 150; }

  }

  /* PACKS */
  .prec-packs-intro { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; font-weight: 300; line-height: 1.7; }
  .prec-packs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
  .pack-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; }
  .pack-card:hover { box-shadow: 0 8px 30px rgba(69,77,80,0.1); transform: translateY(-3px); border-color: rgba(222,27,89,0.2); }
  .pack-card-featured { border-color: var(--pink); box-shadow: 0 4px 20px rgba(222,27,89,0.12); }
  .pack-price { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: var(--pink); line-height: 1; margin-bottom: 0.8rem; }
  .pack-price span { font-size: 1rem; color: var(--muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }
  .pack-main { font-size: 0.88rem; color: var(--navy); font-weight: 600; margin-bottom: 0.5rem; line-height: 1.4; }
  .pack-alt { font-size: 0.75rem; color: var(--muted); font-style: italic; line-height: 1.5; }
  .prec-packs-note { margin-top: 1.8rem; font-size: 0.8rem; color: var(--muted); line-height: 1.7; background: var(--bg3); padding: 1.2rem 1.5rem; border-radius: 8px; }

  /* INFO CARDS */
  .prec-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
  .prec-info-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; text-align: center; transition: border-color 0.3s, box-shadow 0.3s; }
  .prec-info-card:hover { border-color: var(--border-pink); box-shadow: 0 6px 20px rgba(69,77,80,0.08); }
  .prec-info-icon { font-size: 2rem; margin-bottom: 0.8rem; }
  .prec-info-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 0.5rem; }
  .prec-info-value { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; color: var(--pink); line-height: 1; margin-bottom: 0.6rem; }
  .prec-info-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

  /* responsive preçário */
  @media (max-width: 1024px) {
    .prec-single-grid { grid-template-columns: 1fr; }
    .prec-base-banner { grid-template-columns: 1fr; text-align: center; }
    .prec-base-divider { display: none; }
    .prec-base-extras { justify-items: center; }
    .prec-packs-grid { grid-template-columns: 1fr 1fr; }
    .prec-info-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .prec-packs-grid { grid-template-columns: 1fr; }
    .prec-info-grid { grid-template-columns: 1fr; }
    .prec-base-extras { grid-template-columns: 1fr; }
  }


  /* ══════════════════════════════════════
     PREÇÁRIO — completo
  ══════════════════════════════════════ */
  #precario { background: var(--bg); }
  .prec-intro { max-width: 640px; margin-bottom: 2.5rem; }
  .prec-intro p { font-size: 0.9rem; color: var(--muted); line-height: 1.8; font-weight: 300; margin-top: 0.6rem; }
  .prec-intro strong { color: var(--navy); font-weight: 600; }

  /* tabs principais Arte / Movimento */
  .prec-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; background: var(--bg3); border-radius: 10px; padding: 0.4rem; width: fit-content; }
  .prec-tab { padding: 0.7rem 2rem; border: none; background: none; border-radius: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; font-family: 'DM Sans', sans-serif; }
  .prec-tab.active { background: var(--bg2); color: var(--pink); box-shadow: 0 2px 12px rgba(69,77,80,0.1); }
  .prec-panel { display: none; }
  .prec-panel.active { display: block; }

  /* sub-tabs */
  .prec-sub-tabs { display: flex; gap: 0.4rem; margin-bottom: 2rem; flex-wrap: wrap; }
  .prec-sub-tab { padding: 0.5rem 1.2rem; border: 1.5px solid var(--border); background: var(--bg2); border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
  .prec-sub-tab.active { border-color: var(--pink); color: var(--pink); background: var(--pink-light); }
  .prec-sub-panel { display: none; }
  .prec-sub-panel.active { display: block; }

  /* grelha de modalidades */
  .prec-mod-grid { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; align-items: start; }
  .prec-mod-col { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
  .prec-mod-header { background: var(--navy); color: rgba(255,255,255,0.7); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; padding: 0.9rem 1.4rem; display: flex; justify-content: space-between; }
  .prec-mod-header::after { content: 'Mensalidade'; }
  .prec-mod-row { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.4rem; border-bottom: 1px solid rgba(69,77,80,0.06); font-size: 0.88rem; color: var(--navy); transition: background 0.15s; }
  .prec-mod-row:last-child { border-bottom: none; }
  .prec-mod-row:hover { background: var(--bg3); }
  .prec-mod-highlight { background: rgba(222,27,89,0.03); }
  .prec-mod-pt { background: rgba(69,77,80,0.04); }
  .prec-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; line-height: 1; color: var(--navy); }
  .prec-val-pink { color: var(--pink); }
  .prec-range { font-size: 1rem; color: var(--navy-light); }

  /* caixa avulso/info lateral */
  .prec-avulso-box { background: var(--bg2); border: 1px solid var(--border-pink); border-radius: 12px; padding: 2rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; position: sticky; top: 5rem; }
  .prec-avulso-icon { font-size: 2.5rem; }
  .prec-avulso-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pink); font-weight: 700; }
  .prec-avulso-val { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: var(--pink); line-height: 1; }
  .prec-avulso-note { font-size: 0.76rem; color: var(--muted); line-height: 1.6; }

  /* packs */
  .prec-packs-intro { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; font-weight: 300; line-height: 1.7; }
  .prec-packs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
  .pack-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; }
  .pack-card:hover { box-shadow: 0 8px 30px rgba(69,77,80,0.1); transform: translateY(-3px); border-color: rgba(222,27,89,0.2); }
  .pack-card-featured { border-color: var(--pink); box-shadow: 0 4px 20px rgba(222,27,89,0.1); }
  .pack-price { font-family: 'Bebas Neue', sans-serif; font-size: 2.8rem; color: var(--pink); line-height: 1; margin-bottom: 0.7rem; }
  .pack-price span { font-size: 1rem; color: var(--muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }
  .pack-main { font-size: 0.88rem; color: var(--navy); font-weight: 600; margin-bottom: 0.4rem; line-height: 1.4; }
  .pack-alt { font-size: 0.75rem; color: var(--muted); font-style: italic; line-height: 1.5; }

  /* tabela cartões */
  .cartoes-table-wrap { overflow-x: auto; margin-bottom: 1.8rem; border-radius: 10px; border: 1px solid var(--border); }
  .cartoes-table { width: 100%; border-collapse: collapse; background: var(--bg2); font-size: 0.88rem; }
  .cartoes-table thead { background: var(--navy); color: #fff; }
  .cartoes-table th { padding: 1rem 1.4rem; text-align: left; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
  .cartoes-table th span { display: block; font-size: 0.62rem; opacity: 0.6; font-weight: 400; letter-spacing: 0.08em; margin-top: 0.2rem; }
  .cartoes-table td { padding: 0.9rem 1.4rem; border-bottom: 1px solid rgba(69,77,80,0.06); color: var(--navy); }
  .cartoes-table td:first-child { font-weight: 500; }
  .cartoes-table td:not(:first-child) { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; color: var(--pink); }
  .cartoes-table tbody tr:last-child td { border-bottom: none; }
  .cartoes-table tbody tr:hover td { background: var(--bg3); }
  .cartoes-pt td:not(:first-child) { color: var(--navy) !important; }
  .cartoes-livre td { background: rgba(222,27,89,0.03); }
  .cartoes-livre td span { color: var(--pink); font-size: 1rem; }

  .cartoes-notes { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
  .cartoes-note-item { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
  .cartoes-note-item strong { color: var(--navy); }

  .grupo-reduzido-box { background: rgba(69,77,80,0.05); border: 1px solid var(--border); border-left: 3px solid var(--navy); border-radius: 8px; padding: 1.4rem 1.6rem; }
  .gr-title { font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
  .gr-text { font-size: 0.82rem; color: var(--muted); line-height: 1.75; }
  .gr-text strong { color: var(--navy); }

  /* info cards */
  .prec-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
  .prec-info-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.8rem; text-align: center; transition: border-color 0.3s, box-shadow 0.3s; }
  .prec-info-card:hover { border-color: var(--border-pink); box-shadow: 0 6px 20px rgba(69,77,80,0.08); }
  .prec-info-icon { font-size: 2rem; margin-bottom: 0.8rem; }
  .prec-info-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 0.4rem; }
  .prec-info-value { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--pink); line-height: 1; margin-bottom: 0.5rem; }
  .prec-info-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; font-weight: 300; }

  /* footer */
  .prec-footer { margin-top: 3rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .prec-footer-text { font-size: 0.9rem; color: var(--navy); font-weight: 500; }
  .prec-footer-text span { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 300; margin-top: 0.25rem; }

  /* responsive */
  @media (max-width: 1024px) {
    .prec-mod-grid { grid-template-columns: 1fr; }
    .prec-avulso-box { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .prec-packs-grid { grid-template-columns: 1fr 1fr; }
    .prec-info-grid { grid-template-columns: 1fr 1fr; }
    .prec-footer { flex-direction: column; text-align: center; }
  }
  @media (max-width: 640px) {
    .prec-tabs { width: 100%; }
    .prec-packs-grid { grid-template-columns: 1fr; }
    .prec-info-grid { grid-template-columns: 1fr; }
  }


  
  /* chips de aula */
  .ha { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 6px; line-height: 1.3; }
  .ha em { font-style: normal; font-size: 0.6rem; font-weight: 700; opacity: 0.75; letter-spacing: 0.05em; background: rgba(0,0,0,0.12); padding: 0.1rem 0.35rem; border-radius: 3px; }
  .ha.arte { background: rgba(222,27,89,0.1) !important; color: var(--pink) !important; border: 1px solid rgba(222,27,89,0.2) !important; }
  .ha.mov { background: rgba(69,77,80,0.08); color: var(--navy); border: 1px solid rgba(69,77,80,0.15); }
  .ha.ext { background: rgba(174,186,192,0.2); color: #5a6e77; border: 1px solid rgba(174,186,192,0.4); }
  .ha.family-time { background: #fff3cd; color: #856404; border: 1px solid #ffc10750; }
  .ha.workshop { background: #e8d5f5; color: #6f3fa0; border: 1px solid #c9a9e0; }

  .modal-wa { margin-top: 1.8rem; background: var(--pink-light); border: 1px solid var(--border-pink); border-radius: 10px; padding: 1.4rem 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .modal-wa-text { font-size: 0.85rem; color: var(--navy); font-weight: 500; line-height: 1.5; }
  .modal-wa-text span { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 300; margin-top: 0.2rem; }


  /* ══ MODAL HORÁRIO — 3 salas ══ */
  .modal-overlay { position:fixed; inset:0; z-index:9999; background:rgba(69,77,80,0.65); align-items:center; justify-content:center; padding:1.5rem; box-sizing:border-box; }
  .modal { background:var(--bg2); border-radius:16px; width:100%; max-width:960px; max-height:92vh; overflow-y:auto; box-shadow:0 32px 80px rgba(69,77,80,0.25); }
  .modal-header { position:sticky; top:0; z-index:10; background:var(--bg2); display:flex; align-items:center; justify-content:space-between; padding:1.6rem 2rem 1.2rem; border-bottom:1px solid var(--border); }
  .modal-title { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:800; color:var(--navy); }
  .modal-subtitle { font-size:0.75rem; color:var(--muted); margin-top:0.2rem; }
  .modal-close { width:34px; height:34px; border-radius:50%; background:var(--bg3); border:none; cursor:pointer; font-size:1rem; color:var(--navy); transition:background 0.2s; flex-shrink:0; }
  .modal-close:hover { background:rgba(222,27,89,0.12); color:var(--pink); }
  .modal-body { padding:1.8rem 2rem 2rem; }

  /* Legenda salas */
  .hor-legenda { display:flex; flex-wrap:wrap; align-items:center; gap:0.6rem 1.2rem; margin-bottom:1.4rem; padding:1rem 1.2rem; background:var(--bg3); border-radius:8px; }
  .hor-leg-sala { font-size:0.75rem; font-weight:700; padding:0.3rem 0.8rem; border-radius:6px; }
  .sala-arte { background:rgba(222,27,89,0.12); color:var(--pink); border:1px solid rgba(222,27,89,0.25); }
  .sala-mov  { background:rgba(69,77,80,0.1); color:var(--navy); border:1px solid rgba(69,77,80,0.2); }
  .sala-am   { background:rgba(174,186,192,0.25); color:#4a6470; border:1px solid rgba(174,186,192,0.4); }
  .hor-leg-sep { width:1px; height:22px; background:var(--border); flex-shrink:0; }
  .hor-leg-nivel-wrap { font-size:0.72rem; color:var(--muted); display:flex; flex-wrap:wrap; align-items:center; gap:0.3rem; }
  .hor-leg-nivel { background:var(--navy); color:#fff; font-size:0.6rem; font-weight:700; padding:0.12rem 0.45rem; border-radius:3px; }

  /* Tabs dias */
  .modal-tabs { display:flex; gap:0.4rem; margin-bottom:0; flex-wrap:wrap; }
  .modal-tab { padding:0.55rem 1.1rem; border:2px solid var(--border); background:var(--bg2); border-radius:8px 8px 0 0; font-size:0.75rem; font-weight:700; letter-spacing:0.05em; color:var(--muted); cursor:pointer; transition:all 0.2s; font-family:'DM Sans',sans-serif; }
  .modal-tab:hover { border-color:var(--pink); color:var(--pink); }
  .modal-tab.active { border-color:var(--pink); border-bottom-color:var(--bg2); background:var(--bg2); color:var(--pink); position:relative; z-index:1; }

  /* Cabeçalho das 3 salas */
  .hor-sala-heads { display:grid; grid-template-columns:70px 1fr 1fr 1fr; gap:0.5rem; background:var(--navy); padding:0.7rem 1rem; margin-bottom:0; }
  .hor-hora-head { }
  .hor-sala-head { font-size:0.65rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; text-align:center; padding:0.3rem 0.5rem; border-radius:4px; background:rgba(255,255,255,0.1); color:rgba(255,255,255,0.75); }
  .sala-arte-head { }
  .sala-mov-head  { }
  .sala-am-head   { }

  /* Grelha de aulas */
  .hor-rows { border:1px solid var(--border); border-top:none; border-radius:0 0 10px 10px; overflow:hidden; margin-bottom:1.5rem; }
  .hor-row { display:grid; grid-template-columns:70px 1fr 1fr 1fr; gap:0.5rem; padding:0.7rem 1rem; border-bottom:1px solid rgba(69,77,80,0.06); background:var(--bg2); transition:background 0.15s; align-items:center; }
  .hor-row:last-child { border-bottom:none; }
  .hor-row:hover { background:#fafafa; }
  .hor-hora { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; color:var(--navy); letter-spacing:0.04em; }
  .hor-sala { display:flex; flex-direction:column; gap:0.3rem; min-height:28px; justify-content:center; }

  /* chips — cor por tipo de modalidade, não por sala */
  .ha { display:inline-flex; align-items:center; gap:0.3rem; font-size:0.73rem; font-weight:600; padding:0.28rem 0.65rem; border-radius:5px; line-height:1.3; width:fit-content; }
  .ha em { font-style:normal; font-size:0.58rem; font-weight:700; background:rgba(0,0,0,0.12); padding:0.08rem 0.3rem; border-radius:3px; }
  .ha.arte    { background:rgba(222,27,89,0.12) !important; color:var(--pink) !important; border:1px solid rgba(222,27,89,0.25) !important; }
  .ha.mov     { background:rgba(69,77,80,0.1); color:var(--navy); border:1px solid rgba(69,77,80,0.2); font-weight:700; }
  .ha.am { background:rgba(174,186,192,0.18); color:#4a6470; border:1px solid rgba(174,186,192,0.35); }
  .ha.family  { background:rgba(222,27,89,0.08); color:var(--pink); border:1px solid rgba(222,27,89,0.2); }
  .ha.workshop{ background:rgba(222,27,89,0.08); color:var(--pink); border:1px solid rgba(222,27,89,0.2); }

  .modal-wa { margin-top:1.5rem; background:var(--pink-light); border:1px solid var(--border-pink); border-radius:10px; padding:1.3rem 1.6rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
  .modal-wa-text { font-size:0.85rem; color:var(--navy); font-weight:500; line-height:1.5; }
  .modal-wa-text span { display:block; font-size:0.75rem; color:var(--muted); font-weight:300; margin-top:0.15rem; }

  /* Nav logo imagem */
  .nav-logo img { height:44px; width:auto; transition:opacity 0.2s; }
  .nav-logo img:hover { opacity:0.85; }

  @media (max-width:700px) {
    .hor-sala-heads, .hor-row { grid-template-columns:55px 1fr 1fr 1fr; }
    .modal-body { padding:1.2rem; }
    .modal-header { padding:1.2rem; }
    .hor-hora { font-size:0.9rem; }
    .ha { font-size:0.65rem; padding:0.22rem 0.5rem; }
  }


  /* Cursor: mostrar rato dentro do modal e nos botões */
  .modal-overlay { cursor: default !important; }
  .modal-overlay * { cursor: default !important; }
  .modal-tab { cursor: pointer !important; }
  .modal-close { cursor: pointer !important; }
  .btn-modal { cursor: pointer !important; }
  a, button, [onclick] { cursor: pointer !important; }

  /* Barra social flutuante */
  .social-float { position:fixed; bottom:2rem; right:1.5rem; display:flex; flex-direction:column; gap:0.6rem; z-index:9000; }
  .social-float a { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform 0.2s, box-shadow 0.2s; box-shadow:0 2px 12px rgba(0,0,0,0.15); cursor:pointer !important; }
  .social-float a:hover { transform:scale(1.12); box-shadow:0 4px 20px rgba(0,0,0,0.2); }
  .social-float .sf-wa { background:#25D366; }
  .social-float .sf-ig { background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
  .social-float .sf-fb { background:#1877F2; }
  .social-float svg { width:22px; height:22px; fill:#fff; }

  /* Anchor scroll offset for fixed nav */
  #terapias { scroll-margin-top: 80px; }
