/* ============================================================
   URUPÊ TÊNIS CLUBE — Design system
   Cores da logo: vermelho, azul-piscina e navy institucional
   ============================================================ */
:root{
  --red:#E8110F; --red-dark:#c00e0c;
  --blue:#29ABE2; --blue-dark:#1c8dbd;
  --navy:#0A2452; --navy-2:#0d2e66;
  --ink:#12161f; --body:#3d4557; --muted:#6b7382;
  --bg:#ffffff; --surface:#f5f7fb; --line:#e4e8f0;
  --radius:14px; --radius-lg:22px;
  --shadow:0 6px 24px rgba(10,36,82,.08);
  --shadow-lg:0 18px 44px rgba(10,36,82,.16);
  --container:1180px;
  --font-display:'Archivo',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-body:'Hind',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; -webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-body);color:var(--body);background:var(--bg);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--ink);line-height:1.15;margin:0 0 .5em;font-feature-settings:'ss01','ss02';letter-spacing:-.01em}
h1{font-size:clamp(2rem,4vw,3rem)}h2{font-size:clamp(1.5rem,2.6vw,2.15rem)}h3{font-size:1.2rem}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-dark);text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(100% - 2.5rem,var(--container));margin-inline:auto}
.section{padding:clamp(2.5rem,6vw,4.5rem) 0}
.section-alt{background:var(--surface)}
.muted{color:var(--muted)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;background:#fff;padding:.6rem 1rem;z-index:999;border-radius:8px}

/* ============================================================
   HEADER — Alinhamento perfeito desktop + qualquer resolução
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:9000;
  background:rgba(255,255,255,.97);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 16px rgba(10,36,82,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  min-height:82px;
  padding-top:0;
  padding-bottom:0;
}

/* BRAND */
.brand{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.brand img{
  height:52px;
  max-height:52px;
  width:auto;
  max-width:200px;
  object-fit:contain;
  display:block;
}

/* ============================================================
   NAV — Desktop (>900px): hover abre o dropdown
   ============================================================ */
.main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.15rem;
  margin:0 auto;
  flex:1 1 auto;
  flex-wrap:nowrap;
  min-width:0;
}
.main-nav > *{flex-shrink:0}
.main-nav .has-sub{
  position:relative;
  display:inline-block;
  overflow:visible;
}

/* Links diretos + títulos de submenu — mesma altura = alinhamento vertical perfeito */
.main-nav > a,
.main-nav .has-sub > a{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding:.8rem 1rem;
  min-height:48px;
  border-radius:10px;
  color:var(--navy);
  font-family:var(--font-display);
  font-weight:600;
  font-size:.92rem;
  letter-spacing:-.01em;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  position:relative;
  text-decoration:none;
  transition:color .18s,background .18s;
}

/* Sublinhado animado embaixo (vermelho → azul) */
.main-nav > a::after,
.main-nav .has-sub > a::after{
  content:'';
  position:absolute;
  bottom:8px;left:50%;
  width:0;height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--red),var(--blue));
  transition:width .22s ease,left .22s ease;
  /* RESET: não usar como marcador do <details> */
  display:block;
}

/* Hover / active states (desktop + mobile) */
.main-nav > a:hover,
.main-nav .has-sub:hover > a,
.main-nav .has-sub.open > a{
  color:var(--red);
  background:rgba(41,171,226,.08);
  text-decoration:none;
}
.main-nav > a:hover::after,
.main-nav .has-sub:hover > a::after,
.main-nav .has-sub.open > a::after{
  width:calc(100% - 2rem);
  left:1rem;
}

/* Caret */
.main-nav .caret{
  font-size:.68em;
  opacity:.7;
  display:inline-flex;
  transition:transform .22s;
  margin-left:.05rem;
}
.main-nav .has-sub:hover > a .caret,
.main-nav .has-sub.open > a .caret{
  transform:rotate(180deg);
  opacity:1;
}

/* ---- Dropdown desktop ---- */
#nav.main-nav .sub,
.main-nav .sub{
  display:block !important;
  position:absolute !important;
  top:calc(100% + 6px) !important;
  left:0 !important;
  right:auto !important;
  min-width:230px !important;
  width:auto !important;
  max-width:400px !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  box-shadow:0 14px 40px rgba(10,36,82,.18) !important;
  padding:.5rem !important;
  z-index:99990 !important;
  margin:0 !important;
  /* Estados fechado controlados só por opacity/visibility */
  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease,visibility .2s;
}
/* Abrir no hover (desktop) ou via classe .open (mobile accordion) */
/* 🔑 ESPECIFICIDADE MÁXIMA com #nav para não ser sobrescrita */
#nav.main-nav .has-sub:hover > .sub,
#nav.main-nav .has-sub:focus-within > .sub,
#nav.main-nav .has-sub.open > .sub,
.main-nav .has-sub:hover > .sub,
.main-nav .has-sub:focus-within > .sub,
.main-nav .has-sub.open > .sub{
  opacity:1 !important;
  visibility:visible !important;
  transform:translateY(0) !important;
  pointer-events:auto !important;
  display:block !important;
}
/* Pequeno "gap" invisível entre o summary e o dropdown para evitar
   que o mouse saia do has-sub ao percorrer o espaço entre um e outro */
.main-nav .has-sub::after{
  content:"";
  position:absolute;left:0;right:0;
  top:calc(100% - 4px);height:12px;
  display:block;background:transparent;
}
.main-nav .sub a{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:.55rem .85rem;
  border-radius:10px;
  font-weight:500;
  font-family:var(--font-body);
  font-size:.92rem;
  color:var(--ink);
  white-space:normal;
  text-decoration:none;
  transition:background .15s,color .15s;
}
.main-nav .sub a::after{display:none}
.main-nav .sub a:hover{background:var(--surface);color:var(--red)}

/* AÇÕES — direita */
.header-actions{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  flex:0 0 auto;
}
.app-ic{
  display:inline-grid;place-items:center;
  width:42px;height:42px;border-radius:10px;
  background:var(--surface);color:var(--navy);
  border:1px solid var(--line);
  transition:.2s;
}
.app-ic svg{display:block;opacity:.85}
.app-ic:hover{
  text-decoration:none;
  border-color:var(--blue);
  color:var(--red);
  transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(41,171,226,.2);
}
.search-mini{display:none;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:#fff}
.search-mini input{border:0;padding:.45rem .8rem;outline:0;width:130px;font:inherit;font-size:.9rem;background:transparent}
.search-mini button{border:0;background:transparent;cursor:pointer;padding:0 .7rem}

/* Hamburger button */
.nav-toggle{
  display:none;
  border:0;
  background:var(--navy);
  color:#fff;
  border-radius:10px;
  padding:.5rem .75rem;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  height:42px;
  width:42px;
  transition:background .2s;
}
.nav-toggle:hover{background:var(--navy-2)}
.search-mini button svg,.nav-toggle svg,.fab svg{display:block}

/* Desktop adjustments */
@media (min-width:1440px){
  :root{--container:1280px}
  .header-inner{min-height:88px;gap:2rem}
  .brand img{height:56px;max-width:230px}
  .main-nav{gap:.3rem}
  .main-nav > a,.main-nav .has-sub > a{padding:.85rem 1.1rem;font-size:.96rem}
  .app-ic{width:44px;height:44px}
}
@media (max-width:1180px) and (min-width:901px){
  .header-inner{gap:.75rem}
  .main-nav{gap:0}
  .main-nav > a,.main-nav .has-sub > a{padding:.8rem .7rem;font-size:.87rem}
  .brand img{height:46px;max-width:170px}
}

/* ============================================================
   NAV — Mobile (≤900px): drawer deslizante
   🔑 Z-INDEX ESTRATOSFÉRICO para ficar NA FRENTE DE TUDO absoluto
   (header, hero, cookies bar, FABs, lightbox, parallax, etc)
   ============================================================ */
@media (max-width:900px){
  .nav-toggle{display:inline-flex}

  /* Overlay escuro ATRÁS do drawer, mas NA FRENTE de TODO o conteúdo da página */
  .nav-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(10,36,82,.45);
    z-index:2147483644 !important;   /* ← MENOR que drawer (2147483647). 3 números de diferença, garantia TOTAL de ordem. */
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
    pointer-events:none;
    transition:opacity .2s ease;
  }
  .nav-overlay.open{
    display:block;
    opacity:1;
    pointer-events:auto;
  }

  /* Drawer lateral DIREITO — SEMPRE NA FRENTE DE TUDO, inclusive do próprio header */
  .main-nav{
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    width:min(88vw, 320px) !important;
    max-width:100vw !important;
    height:100vh !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    padding:0 !important;
    margin:0 !important;
    background:#fff !important;
    box-shadow:-8px 0 40px rgba(10,36,82,.18) !important;
    z-index:2147483647 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    gap:0 !important;
    transform:translateX(100%) !important;
    transition:transform .3s cubic-bezier(.4,0,.2,1) !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    border-left:1px solid #e4e8f0 !important;
  }
  .main-nav.open{
    transform:translateX(0) !important;
  }

  /* Cabeçalho do drawer */
  .main-nav::before{
    content:'Menu';
    display:block;
    padding:1.4rem 1.2rem 1rem;
    font-family:var(--font-display);
    font-weight:800;
    font-size:1.1rem;
    color:var(--navy);
    border-bottom:1px solid var(--line);
    letter-spacing:-.01em;
    flex-shrink:0;
  }

  /* Itens de link direto no mobile */
  #nav.main-nav > a,
  .main-nav > a{
    display:flex !important;
    align-items:center;
    padding:1rem 1.2rem;
    font-size:1rem;
    font-weight:600;
    color:var(--ink);
    border-bottom:1px solid var(--line);
    min-height:54px;
    border-radius:0 !important;
    width:100%;
    text-decoration:none;
    transition:background .15s,color .15s;
    background:transparent !important;
    box-shadow:none !important;
  }
  .main-nav > a::after{display:none !important}
  .main-nav > a:hover{background:var(--surface);color:var(--red)}

  /* .has-sub no mobile — full width */
  #nav.main-nav .has-sub,
  .main-nav .has-sub{
    display:block;
    width:100%;
    border-bottom:1px solid var(--line);
  }

  /* Título do item com submenu (<a>) */
  #nav.main-nav .has-sub > a,
  .main-nav .has-sub > a{
    display:flex !important;
    align-items:center;
    justify-content:flex-start;
    width:100%;
    padding:1rem 1.2rem !important;
    min-height:54px;
    font-size:1rem;
    font-weight:600;
    color:var(--ink);
    border-radius:0 !important;
    background:transparent !important;
    transition:background .15s,color .15s;
    flex-wrap:nowrap;
    box-shadow:none !important;
  }
  .main-nav .has-sub > a::after{display:none !important}
  .main-nav .has-sub.open > a,
  .main-nav .has-sub > a:hover{
    background:rgba(41,171,226,.06);
    color:var(--navy);
  }

  /* Caret sempre visível à direita no mobile */
  .main-nav .caret{
    display:inline-flex !important;
    margin-left:auto !important;
    font-size:1rem;
    opacity:.6;
    transition:transform .25s;
    flex-shrink:0;
  }
  .main-nav .has-sub.open > a .caret{
    transform:rotate(180deg);
    opacity:1;
  }

  /* Submenu expandido no mobile — accordion
     🔑 IMPORTANTE: prefixar #nav.main-nav para IGUALAR a especificidade
        do bloco base (#nav.main-nav .sub linha 155) que tem !important em
        border / border-radius / box-shadow / padding. Sem isso, mobile perde
        e fica com CAIXA VAZIA (max-height:0 mas moldura 1px borda+sombra). */
  #nav.main-nav .sub,
  .main-nav .sub{
    position:static !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    pointer-events:auto !important;
    display:block !important;
    max-height:600px;
    overflow:hidden;
    box-shadow:none !important;
    border:none !important;
    border-radius:0 !important;
    background:var(--surface) !important;
    padding:.3rem 0 .5rem 1rem !important;
    padding-left:1rem !important;
    padding-right:0 !important;
    min-width:0;
    width:auto;
    transition:none;
    border-left:3px solid var(--blue) !important;
    margin-left:1.2rem !important;
    margin-right:0 !important;
  }
  /* No mobile FECHADO: remover TUDO que forma a "caixa" (senao max-height:0 deixa
     a moldura 1px visível — isso é o que o usuário marcou em VERDE!) */
  #nav.main-nav .has-sub:not(.open) > .sub,
  .main-nav .has-sub:not(.open) > .sub{
    max-height:0 !important;
    padding:0 !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    border:0 !important;
    border-left-width:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:transparent !important;
    margin:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    min-width:0 !important;
    width:auto !important;
  }
  .main-nav .sub a{
    display:flex;
    align-items:center;
    padding:.7rem 1rem !important;
    min-height:44px;
    font-size:.94rem;
    font-weight:500;
    color:var(--body);
    border-radius:8px !important;
    white-space:normal;
    transition:background .15s,color .15s;
    margin-right:1rem;
  }
  .main-nav .sub a::after{display:none}
  .main-nav .sub a:hover{background:#e9f5fb;color:var(--red)}

  /* 🔑 Quando o drawer esta ABERTO (.nav-overlay.open existe no body),
     REBAIXAR o z-index de TODOS os outros elementos fixed para
     garantir que o menu esteja NA FRENTE de TUDO (FAB, cookies, hero, etc) */
  .nav-overlay.open ~ .fab,
  .nav-overlay.open ~ .cookie-bar,
  .nav-overlay.open ~ .lb{
    z-index:10 !important;
  }
  /* Usar a classe .menu-open no body (via JS) — FALLBACK 100% compatível */
  body.menu-open .site-header{ z-index:100 !important; }
  body.menu-open .fab{ z-index:10 !important; }
  body.menu-open .cookie-bar{ z-index:10 !important; }
  body.menu-open .lb{ z-index:10 !important; }
  /* Moderno via :has() — redundante mas extra seguro */
  body:has(.nav-overlay.open) .site-header{ z-index:100 !important; }
  body:has(.main-nav.open) .site-header{ z-index:100 !important; }
}

/* Botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;padding:.75rem 1.35rem;border-radius:999px;font-family:var(--font-display);font-weight:700;font-size:.95rem;border:2px solid transparent;cursor:pointer;transition:.2s;text-decoration:none}
.btn:hover{transform:translateY(-1px);text-decoration:none}
.btn-sm{padding:.5rem 1rem;font-size:.85rem}
.btn-primary{background:var(--red);color:#fff}
.btn-primary:hover{background:var(--red-dark);color:#fff}
.btn-accent{background:var(--blue);color:#fff}
.btn-accent:hover{background:var(--blue-dark);color:#fff}
.btn-ghost{border-color:currentColor;color:var(--navy);background:transparent}
.btn-ghost:hover{background:var(--navy);color:#fff}

/* Hero */
.hero{position:relative;color:#fff;background:linear-gradient(rgba(10,36,82,.72),rgba(10,36,82,.55)),var(--hero-img,url('/assets/images/hero.jpg')) center/cover no-repeat}
.hero-inner{padding:clamp(4rem,11vw,8rem) 0}
.hero h1{color:#fff;max-width:18ch}
.hero .lead{font-size:1.15rem;max-width:60ch;color:#e7edf8}
.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:700;color:var(--blue)}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.4rem}
.hero .btn-ghost{color:#fff;border-color:#fff}
.hero .btn-ghost:hover{background:#fff;color:var(--navy)}

/* Faixa de atividades */
.band{background:var(--navy);color:#fff;padding:clamp(2rem,5vw,3rem) 0}
.band-title{color:#fff;text-align:center}
.activities{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-top:1.5rem}
.activity{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius);padding:1.2rem .8rem;text-align:center;transition:.2s}
.activity:hover{background:rgba(255,255,255,.14);transform:translateY(-3px)}
.activity span{font-size:1.8rem;display:block;margin-bottom:.4rem}
.activity strong{font-family:var(--font-display);font-size:.95rem}

/* Cards e grids */
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.6rem}
.link-more{font-weight:700;color:var(--red)}
.grid{display:grid;gap:1.4rem}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:.25s;display:flex;flex-direction:column}
.card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.card>img,.card video{aspect-ratio:3/2;object-fit:cover;width:100%}
.card-body{padding:1.1rem 1.2rem 1.4rem;display:flex;flex-direction:column;gap:.5rem}
.card-photo{color:inherit}
.card-photo:hover{text-decoration:none}
.badge{align-self:flex-start;background:var(--red);color:#fff;font-size:.75rem;font-weight:700;padding:.25rem .7rem;border-radius:999px}
.badge-soft{background:#e6f4fc;color:var(--blue-dark)}
.empty{background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius);padding:2rem;text-align:center;color:var(--muted)}

/* Página interna */
.page-head{background:var(--navy);color:#fff;padding:clamp(2.5rem,6vw,4rem) 0}
.page-head h1{color:#fff}
.page-head p{color:#d7e2f3;margin:0}
.crumbs-bar{background:var(--surface);border-bottom:1px solid var(--line)}
.crumbs{display:flex;gap:.5rem;flex-wrap:wrap;padding:.7rem 0;font-size:.88rem;color:var(--muted)}

/* Formulários e filtros */
.filters{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:1.8rem}
.filters input,.filters select,.form input,.form textarea,.form select{
  border:1px solid var(--line);border-radius:10px;padding:.7rem .9rem;font:inherit;background:#fff;color:var(--ink);min-width:0}
.filters input{flex:1 1 220px}
.form{display:grid;gap:1rem;max-width:640px}
.form label{display:grid;gap:.35rem;font-weight:600;color:var(--ink);font-size:.92rem}
.form textarea{resize:vertical}
.hp{position:absolute;left:-9999px;opacity:0}
.alert{border-radius:10px;padding:.9rem 1.1rem;margin-bottom:1rem;font-weight:600}
.alert-success{background:#e7f7ec;color:#116634}
.alert-error{background:#fdecec;color:#a01111}
.alert-info{background:#e6f4fc;color:#0d5f85}

/* Artigo */
.article{max-width:840px}
.article-cover{max-width:100%;max-height:420px;margin:1.2rem auto;width:100%;object-fit:cover;border-radius:var(--radius-lg);display:block}
.prose{font-size:1.05rem}
.prose.full{max-width:none}
.prose p{margin:0 0 1.1em}
.prose img{border-radius:var(--radius);margin:1rem 0;max-height:480px;object-fit:cover;width:100%}
.share{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--line)}
.event-banner img{width:100%;max-height:460px;object-fit:cover}
.event-meta{list-style:none;padding:0;display:grid;gap:.4rem;margin:1rem 0 1.6rem}

/* Galeria + lightbox */
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.8rem}
.gallery img{aspect-ratio:4/3;object-fit:cover;border-radius:12px;transition:.25s}
.gallery a:hover img{transform:scale(1.03);box-shadow:var(--shadow-lg)}

/*
 * Lightbox — sempre na FRENTE de TUDO (header, nav sticky, menu mobile, FABs, cookies bar etc).
 * z-index = 2147483647 (máximo de um inteiro 32-bit sinalizado — valor padrão universal
 * usado por lightboxes profissionais para garantir que NENHUM outro elemento sobreponha).
 */
.lb{
  position:fixed;inset:0;
  background:rgba(6,14,30,.94);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  z-index:2147483647 !important;
  padding:clamp(1rem, 4vw, 2.5rem);
  box-sizing:border-box;
  animation:lb-fade-in .18s ease-out both;
}
html.lb-open, html.lb-open body{overflow:hidden !important}
.lb *, .lb *::before, .lb *::after{box-sizing:border-box}
.lb img{
  max-width:92vw;max-height:82vh;border-radius:10px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.6), 0 10px 30px -10px rgba(0,0,0,.35);
  opacity:0;transition:opacity .22s ease-out;
}
.lb img.is-loaded{opacity:1}
.lb p{color:#fff;margin-top:1rem;max-width:min(960px,92vw);text-align:center;line-height:1.5;font-size:.95rem}
.lb button{
  position:absolute;background:rgba(255,255,255,.14);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  color:#fff;border:0;font-size:1.8rem;width:52px;height:52px;border-radius:50%;cursor:pointer;
  transition:background-color .15s ease, transform .12s ease, color .15s ease;
  z-index:2147483647;
}
.lb button:hover{background:rgba(255,255,255,.26);transform:scale(1.05);color:#fff}
.lb button:active{transform:scale(.96)}
.lb .lb-close{top:1.5rem;right:1.5rem}
.lb .lb-prev{left:1.5rem}
.lb .lb-next{right:1.5rem}

@keyframes lb-fade-in{from{opacity:0}to{opacity:1}}

/* Timeline */
.timeline{list-style:none;padding:0;margin:1.5rem 0 0;border-left:3px solid var(--blue);display:grid;gap:1.4rem}
.timeline li{padding-left:1.5rem;position:relative}
.timeline li::before{content:"";position:absolute;left:-10px;top:.45rem;width:17px;height:17px;border-radius:50%;background:var(--red);border:3px solid #fff}
.timeline .year{font-family:var(--font-display);font-weight:800;color:var(--navy);font-size:1.15rem}
.timeline p{margin:.2rem 0 0}

/* Estatuto / mapas / vídeos */
.doc-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.1rem 1.3rem;margin-bottom:1.4rem}
.doc-bar small{display:block}
.doc-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.pdf-viewer{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--surface)}
.map-wrap,.ratio{position:relative;padding-top:56.25%;border-radius:var(--radius);overflow:hidden}
.map-wrap iframe,.ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-wrap{padding-top:42%}

/* Contato */
.contact-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:2.5rem;align-items:start}
.contact-info{background:var(--surface);border-radius:var(--radius-lg);padding:1.6rem}
.result-list{list-style:none;padding:0;display:grid;gap:.6rem;margin:0 0 2rem}
.result-list li{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:.5rem}
.cta-box{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap;background:var(--surface);border-radius:var(--radius-lg);padding:2rem;margin-bottom:3rem}
.cta-actions{display:flex;gap:.7rem;flex-wrap:wrap}
.error-page{text-align:center;padding:5rem 0}

/* Paginação */
.pager{display:flex;gap:.4rem;justify-content:center;margin-top:2.2rem;flex-wrap:wrap}
.pager a{padding:.5rem .9rem;border:1px solid var(--line);border-radius:9px;color:var(--ink);font-weight:600}
.pager a.is-active{background:var(--navy);color:#fff;border-color:var(--navy)}

/* Footer */
.site-footer{background:var(--navy);color:#c9d6ea;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1.1fr;gap:2rem;padding:3.2rem 0}
.site-footer h3{color:#fff;font-size:1rem;text-transform:uppercase;letter-spacing:.06em}
.footer-logo{height:40px;width:auto;background:transparent;margin-bottom:1rem}
.foot-links{list-style:none;padding:0;display:grid;gap:.45rem;font-size:.95rem}
.site-footer a{color:#c9d6ea}
.site-footer a:hover{color:#fff}
.social{display:flex;gap:1rem;margin-top:1rem;font-weight:600}
.newsletter{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}
.newsletter input{flex:1 1 150px;border:0;border-radius:10px;padding:.65rem .9rem;font:inherit}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);font-size:.88rem}
.footer-bottom .container{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem 0}

/* Flutuantes e cookies */
.fab{position:fixed;right:1.1rem;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:1.4rem;border:0;cursor:pointer;box-shadow:var(--shadow-lg);z-index:60}
.fab.top{bottom:1.4rem;background:var(--navy);color:#fff;opacity:0;pointer-events:none;transition:opacity .25s ease, transform .25s ease, box-shadow .2s ease, bottom .2s ease}
.fab.top.show{opacity:1;pointer-events:auto;transform:translateY(0);box-shadow:0 16px 40px rgba(10,36,82,.22)}
.cookie-bar{position:fixed;left:1rem;right:1rem;bottom:1rem;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-lg);border-radius:var(--radius);padding:1rem 1.2rem;display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;z-index:80}
.cookie-bar p{margin:0;font-size:.92rem}

/* Responsivo */
@media (max-width:1024px){
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:600px){
  body{font-size:16px}
  .footer-grid{grid-template-columns:1fr}
  .cta-box{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* (Bloco antigo de submenus foi movido para o topo do arquivo — agora
   usando <details class="has-sub"> nativo com accordion mobile) */

/* Paridade com o layout de referência */
[hidden]{display:none !important}
.cookie-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.btn-ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}
.social a{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.22);color:#c9d6ea}
.social a:hover{color:#fff;border-color:#fff;text-decoration:none}
.foot-contact li{display:flex;gap:.55rem;align-items:flex-start}
.foot-contact svg{flex:0 0 auto;margin-top:.25rem;color:var(--blue)}
.foot-contact .block{display:block}
.search-mini button svg,.nav-toggle svg,.fab svg{display:block}

/* ============================================================
   Paridade total com o layout de referência (Lovable)
   (Estilos do header foram movidos para o bloco HEADER no início
    do arquivo — com alinhamento premium para qualquer resolução)
   ============================================================ */
/* Hero */
.hero{position:relative;isolation:isolate;overflow:hidden;background-image:var(--hero-img);background-size:cover;background-position:center}
.hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,36,82,.85),rgba(10,36,82,.6) 45%,rgba(10,36,82,.2))}
.hero-inner{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:70vh;padding:6rem 0;text-align:left}
.hero-cta-btn{align-self:flex-start;text-transform:uppercase;letter-spacing:.04em}
.hero h1{margin:2rem 0 0;color:#fff;font-size:clamp(2.6rem,6vw,4.5rem);line-height:1.05;max-width:22ch}

/* Faixa navy */
.band{background:var(--navy);color:#e6eefb;padding:5rem 0}
.band-center{text-align:center}
.eyebrow-line{margin:0;color:var(--blue);font-weight:700;font-size:.9rem;text-transform:uppercase;letter-spacing:.2em;text-decoration:underline;text-underline-offset:8px}
.band-title{color:#fff;margin:1.5rem auto 0;max-width:46ch;font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.15}
.activities{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;margin-top:3rem}
.activity{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:1.6rem 1rem;border-radius:14px;background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);color:#fff;font-size:.9rem;transition:.2s}
.activity:hover{background:rgba(255,255,255,.1);text-decoration:none}
.activity .ic{color:var(--blue);transition:transform .2s}
.activity:hover .ic{transform:scale(1.1)}
.video-block{position:relative;margin-top:4rem;aspect-ratio:16/7;border-radius:14px;background-size:cover;background-position:center;overflow:hidden}
.play-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--red);display:grid;place-items:center;box-shadow:var(--shadow-lg);transition:.2s}
.play-btn:hover{transform:translate(-50%,-50%) scale(1.05)}

/* Cabeçalho de seção */
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1.5rem}
.sec-eyebrow{display:flex;align-items:center;gap:.75rem;margin:0;color:var(--blue);font-weight:700;font-size:.92rem}
.sec-eyebrow span{text-decoration:underline;text-underline-offset:8px}
.sec-head h2{margin:1rem 0 0}
.sec-desc{margin:.75rem 0 0;max-width:60ch;color:var(--muted);font-size:.95rem}
.btn-outline{background:transparent;border:1px solid var(--line);color:var(--ink)}
.btn-outline:hover{border-color:var(--red);color:var(--red)}
.mt-10{margin-top:2.5rem}
.section-tight{padding-bottom:clamp(2.5rem,6vw,4.5rem)}
.bordered-y{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}

/* Álbuns */
.album-card{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow);color:inherit}
.album-card:hover{box-shadow:var(--shadow-lg);text-decoration:none}
.album-card img,.album-ph{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.album-ph{background:linear-gradient(135deg,rgba(41,171,226,.3),rgba(232,17,15,.2))}
.album-body{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1.25rem}
.album-cat{display:block;color:var(--muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.album-body strong{display:block;margin-top:.25rem;font-family:var(--font-display);font-size:1rem;line-height:1.3}
.round-arrow{flex:0 0 auto;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--surface);color:var(--red)}

/* Eventos */
.event-row{display:flex;gap:1.25rem;padding:1.5rem;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}
.date-box{flex:0 0 auto;width:64px;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:10px;background:var(--blue);color:var(--navy)}
.date-box strong{font-family:var(--font-display);font-size:1.3rem;line-height:1}
.date-box small{font-size:.62rem;text-transform:uppercase}
.event-row h3{margin:0}
.event-row p{margin:.4rem 0 0;font-size:.93rem;color:var(--muted)}
.meta-line{display:flex;align-items:center;gap:.4rem;font-size:.8rem;margin-top:.75rem !important}
.meta-line .ic{color:var(--red)}

/* Notícias */
.news-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}
.news-cover{position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,rgba(232,17,15,.15),var(--surface) 55%,rgba(41,171,226,.2));background-size:cover;background-position:center}
.news-cover .date-box{position:absolute;right:1.5rem;bottom:0;transform:translateY(50%)}
.news-cover .date-box small{text-transform:lowercase}
.news-body{flex:1;padding:2.5rem 1.5rem 1.5rem}
.news-body h3{margin:0}
.news-body p{margin:.5rem 0 0;font-size:.93rem;color:var(--muted)}
.news-foot{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:1rem;background:var(--blue);color:var(--navy);font-weight:700;font-size:.9rem}
.news-foot:hover{opacity:.9;text-decoration:none;color:var(--navy)}

/* Vídeos */
.video-row{display:flex;align-items:center;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fff;color:inherit}
.video-row:hover{border-color:var(--red);text-decoration:none}
.video-ic{flex:0 0 auto;display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:rgba(232,17,15,.1);color:var(--red)}
.video-row strong{display:block;font-family:var(--font-display)}
.video-row small{display:block;margin-top:.15rem;font-size:.78rem}

@media (max-width:1024px){
  .activities{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:760px){
  .activities{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:1fr}
  .hero-inner{min-height:60vh;padding:4rem 0}
}

/* Paridade final: cookies em card e botão flutuante */
.cookie-bar{right:auto;max-width:430px;display:block;padding:1.25rem}
.cookie-bar[hidden]{display:none!important}
.cookie-bar p{font-size:.9rem;color:var(--muted)}
.cookie-actions{margin-top:1rem}

/* Listagens no padrão do preview */
.page-head{background:#fff;border-bottom:1px solid var(--line);padding:2.5rem 0 1.5rem}
.page-head h1{margin:0;color:var(--ink)}
.page-head p{margin:.6rem 0 0;color:var(--muted)}
.filters-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.search-field{flex:1 1 320px;display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted)}
.search-field input{flex:1;border:0;outline:0;font:inherit;background:transparent}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{padding:.5rem 1rem;border-radius:999px;border:1px solid var(--line);font-size:.85rem;font-weight:600;color:var(--ink);background:#fff}
.chip:hover{text-decoration:none;border-color:var(--red)}
.chip.is-active{background:var(--red);border-color:var(--red);color:#fff}
.post-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:var(--shadow);color:inherit;transition:.2s}
.post-card:hover{text-decoration:none;box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.post-cover{display:block;aspect-ratio:16/10;background:linear-gradient(135deg,rgba(232,17,15,.12),#fff 55%,rgba(41,171,226,.18));background-size:cover;background-position:center;background-repeat:no-repeat;max-height:300px;width:100%}
.post-body{display:block;padding:1.25rem}
.post-meta{display:flex;align-items:center;gap:.75rem;color:var(--muted);font-size:.8rem}
.post-body strong{display:block;margin:.75rem 0 0;font-family:var(--font-display);font-size:1.05rem;line-height:1.3}
.post-sum{display:block;margin-top:.5rem;color:var(--muted);font-size:.9rem}

/* Listagem de notícias (/noticias): layout 1 linha por notícia (miniatura à esquerda) */
.post-list{display:flex;flex-direction:column;gap:1rem}
.post-list .post-card{flex-direction:row;align-items:stretch;height:auto;max-height:160px}
.post-list .post-cover{
  aspect-ratio:4/3;
  max-width:200px;
  min-width:160px;
  max-height:160px;
  width:auto;
  flex:0 0 auto;
  border-right:1px solid var(--line);
  border-radius:0;
}
.post-list .post-body{display:flex;flex-direction:column;justify-content:center;flex:1 1 auto;padding:1rem 1.2rem}
.post-list .post-body strong{margin-top:.45rem;font-size:1.1rem;line-height:1.3}
.post-list .post-sum{margin-top:.5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width: 700px) {
  .post-list .post-card { flex-direction: column; max-height: none; }
  .post-list .post-cover {
    max-width: 100%;
    min-width: 0;
    max-height: 240px;
    width: 100%;
    border-right: 0;
    aspect-ratio: 16/10;
  }
}

.foot-app{margin:1.25rem 0 .5rem;font-weight:700;font-size:.9rem}
.app-links{display:flex;gap:.5rem;flex-wrap:wrap}
.footer-bottom .foot-legal a{margin:0}

/* Cards de atividades (página /atividades) */
.activity-card{overflow:hidden;display:flex;flex-direction:column}
.activity-photo{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.activity-ic{color:var(--red);margin:0 0 .5rem}
.activity-card h2{font-size:1.15rem;margin-bottom:.35rem}


/* ===== Páginas iguais ao preview (v5) ===== */
.page-head{background:#fff;color:inherit;padding:1.5rem 0 2.5rem}
.page-head h1{color:var(--ink);font-size:clamp(2.25rem,4vw,3rem);font-weight:700;margin:0}
.page-head p{color:var(--muted);margin:.75rem 0 0;font-size:1rem;line-height:1.7;max-width:70ch}
.page-body{padding-bottom:clamp(3rem,7vw,5rem)}
.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}
.sec-title{font-size:1.5rem;font-weight:600;margin:0}
.sec-sub{margin:.5rem 0 0;font-size:.875rem;font-weight:500;color:var(--blue)}
.grid-4{display:grid;gap:1rem;grid-template-columns:repeat(4,1fr)}
.grid-2{display:grid;gap:2rem;grid-template-columns:1fr 1fr}
.ph-figure{display:block;overflow:hidden;border-radius:14px;box-shadow:var(--shadow-lg)}
.ph-figure img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .5s}
.ph-figure:hover img{transform:scale(1.05)}
.mini-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:1.25rem}
.mini-label{margin:0;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--blue)}
.mini-name{margin:.5rem 0 0;font-size:.9rem;font-weight:500;color:var(--ink)}
.panel-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:1.5rem}
.panel-title{font-size:1.25rem;font-weight:600;margin:0}
.dot-list{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.5rem;font-size:.9rem;color:var(--muted)}
.dot-list li{display:flex;gap:.5rem;align-items:flex-start}
.dot{width:6px;height:6px;border-radius:50%;margin-top:.55rem;flex:0 0 auto}
.dot-red{background:var(--red)}.dot-blue{background:var(--blue)}
.prose-sm p{font-size:.95rem;line-height:1.8;color:var(--muted);margin:0 0 1.25rem}
.contact-split{display:grid;gap:2.5rem;grid-template-columns:1fr 1.2fr;align-items:start}
.contact-cards{display:grid;gap:1rem}
.info-card{display:flex;gap:.75rem;border:1px solid var(--line);background:#fff;border-radius:14px;padding:1rem}
.info-card svg{color:var(--red);flex:0 0 auto;margin-top:.15rem}
.info-title{margin:0;font-size:.9rem;font-weight:600;color:var(--ink)}
.info-text{margin:.15rem 0 0;font-size:.9rem;color:var(--muted)}
.contact-cards .btn{justify-self:start}
.form-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:1.5rem;box-shadow:var(--shadow)}
.form-grid-2{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
.form-card label{display:block;font-size:.875rem;font-weight:500;color:var(--ink)}
.form-card input,.form-card textarea{width:100%;margin-top:.375rem}
.form-ok{margin-top:1rem;background:rgba(41,171,226,.15);border-radius:10px;padding:.75rem 1rem;font-size:.9rem;color:var(--ink)}
@media (max-width:900px){
  .grid-4{grid-template-columns:1fr 1fr}
  .grid-2,.contact-split,.form-grid-2{grid-template-columns:1fr}
}

/* ============================================================
   PÁGINA /atividades — 100% IGUAL ao preview Lovable
   Extração direta via getComputedStyle + classes Tailwind do preview:
   - cards em CSS columns (md:2 / xl:3)
   - busca/tabs/chips DENTRO de card com border
   - 2 caixas no topo (info azul + stats vermelho)
   - sauna como SECTION SEPARADA fora do cardsStack
   Tokens convertidos de OKLCH:
   primary      = #ef4444 (oklch 57.3% .239 28.5)
   primary/10   = rgba(239,68,68,.1)
   accent       = rgba(56,189,248,.9) → #0ea5e9
   accent/40    = rgba(56,189,248,.4)
   accent/10    = rgba(56,189,248,.1) — fundo caixa info
   accent/20    = rgba(56,189,248,.2) — badge Pago
   accent-fore  = #075985
   card         = #ffffff
   surface      = #f5f7fa
   border       = #e2e8f0
   muted-fore   = #64748b
   fore         = #0f172a
   shadow-soft  = 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.18)
   shadow-lift  = 0 1px 2px rgba(0,0,0,.05), 0 14px 32px -12px rgba(0,0,0,.22)
   ============================================================ */

:root {
  --act-primary: #ef4444;
  --act-primary-bg: rgba(239, 68, 68, .1);
  --act-accent: #0ea5e9;
  --act-accent-bg: rgba(56, 189, 248, .1);
  --act-accent-border: rgba(56, 189, 248, .4);
  --act-accent-soft: rgba(56, 189, 248, .2);
  --act-accent-fore: #075985;
  --act-card: #ffffff;
  --act-surface: #f5f7fa;
  --act-surface-60: rgba(245, 247, 250, .6);
  --act-border: #e2e8f0;
  --act-muted: #64748b;
  --act-fore: #0f172a;
  --act-shadow-soft: 0 1px 2px 0 rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.18);
  --act-shadow-lift: 0 1px 2px 0 rgba(0,0,0,.05), 0 14px 32px -12px rgba(0,0,0,.22);
}

/* ===== Breadcrumbs mini ===== */
nav.crumbs-mini { padding-top: 2rem; padding-bottom: 0; margin-bottom: 0; }
.crumbs-mini ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 400; line-height: 16px;
  color: var(--act-muted);
}
.crumbs-mini a { color: inherit; text-decoration: none; transition: color .18s ease; }
.crumbs-mini a:hover { color: var(--act-fore); }
.crumbs-mini ol > li:last-child { font-weight: 500; color: var(--act-fore); }
.crumbs-mini ol svg {
  width: 14px; height: 14px;
  color: var(--act-muted);
  display: block; overflow: hidden;
}

/* ===== Page head: H1 + 1 parágrafo ===== */
.act-page-wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.act-page-h1 {
  margin: 0; padding: 0;
  font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: -0.72px;
  color: var(--act-fore);
  font-family: var(--font-display);
}
.act-page-para {
  margin: 12px 0 0;
  font-size: 16px; line-height: 26px;
  color: var(--act-muted);
}

/* ===== Main content container (depois do page-head) ===== */
.act-main-wrap {
  padding-bottom: 5rem;
  display: flex; flex-direction: column;
  gap: 2rem; /* space-y-8 = 32px */
}

/* ===== 2 caixas no topo: INFO + STATS (grid 1 col mobile, 2 cols sm+) ===== */
.act-info-stats-grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.act-info-box,
.act-stats-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 10px; /* gap-2.5 = 10px */
  padding: 1rem; /* p-4 = 16px */
  border-radius: 16px; /* rounded-2xl = 16px */
  font-size: 14px; line-height: 26px; /* leading-relaxed ≈ 1.625 */
  box-sizing: border-box; width: 100%;
}
.act-info-box {
  border: 1px solid var(--act-accent-border);
  background: var(--act-accent-bg);
  color: var(--act-fore);
}
.act-info-box svg {
  margin-top: 2px; /* mt-0.5 = 2px */
  width: 18px; height: 18px; /* size-4.5 */
  flex-shrink: 0; display: block;
  color: var(--act-accent);
}
.act-info-box span { min-width: 0; display: block; }
.act-stats-box {
  align-items: center;
  border: 1px solid var(--act-border);
  background: var(--act-card);
  box-shadow: var(--act-shadow-soft);
  color: var(--act-fore);
}
.act-stats-box svg {
  width: 20px; height: 20px; /* size-5 */
  flex-shrink: 0; display: block;
  color: var(--act-primary);
}
.act-stats-box span { min-width: 0; display: block; }
.act-stats-box strong { font-weight: 700; color: var(--act-fore); }

/* ===== Painel de filtros (busca + tabs + chips) DENTRO DE UM CARD ===== */
.act-filters-panel {
  border-radius: 16px; /* rounded-2xl */
  border: 1px solid var(--act-border);
  background: var(--act-card);
  box-shadow: var(--act-shadow-soft);
  padding: 1rem;
}
.act-alpha-nav {
  display: flex; align-items: center; gap: 7px; overflow-x: auto;
  padding: 10px 2px 4px; margin: 0 0 18px; scrollbar-width: thin;
}
.act-alpha-nav > span { color: var(--act-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.act-alpha-link {
  border: 1px solid var(--act-border); border-radius: 999px; background: var(--act-card);
  color: var(--act-fore); padding: 6px 11px; font: inherit; font-size: 12px;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.act-alpha-link:hover, .act-alpha-link:focus { color: var(--act-primary); border-color: var(--act-primary); outline: none; }
.act-alpha-link.is-active { color: #fff; background: var(--act-primary); border-color: var(--act-primary); }
@media (min-width: 760px) {
  .act-filters-panel { position: sticky; top: 68px; z-index: 12; }
}
.act-filters-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

/* ===== Busca (label com SVG + input) ===== */
.act-search-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-radius: 12px; /* rounded-xl */
  background: var(--act-surface);
  padding: 10px 12px; /* py-2.5=10 / px-3=12 */
  width: 100%; box-sizing: border-box;
}
.act-search-label svg {
  width: 16px; height: 16px; /* size-4 */
  flex-shrink: 0; display: block;
  color: var(--act-muted);
  stroke-width: 2;
}
.act-search-label input[type="search"],
.act-search-label input {
  background: transparent; border: 0; outline: none;
  font: inherit; font-size: 14px; line-height: 20px;
  color: var(--act-fore);
  padding: 0; margin: 0; width: 100%; min-width: 0;
  box-shadow: none !important;
}
.act-search-label input::placeholder { color: var(--act-muted); opacity: 1; }

/* ===== Tabs: Por modalidade | Por dia ===== */
.act-tabs {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  gap: 4px; /* gap-1 */
  padding: 4px;
  border-radius: 12px; /* rounded-xl */
  background: var(--act-surface);
  width: 100%;
}
.act-tab {
  flex: 1 1 0;
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 12px; line-height: 16px;
  padding: 8px 12px; /* px-3 py-2 */
  border-radius: 8px; /* rounded-lg = 8px */
  color: var(--act-muted);
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; /* gap-1.5 = 6px */
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.act-tab svg { width: 16px; height: 16px; flex-shrink: 0; display: block; stroke-width: 2; }
.act-tab:hover { color: var(--act-fore); }
.act-tab.is-active {
  background: var(--act-card);
  color: var(--act-primary);
  box-shadow: var(--act-shadow-soft);
}
.act-tab[aria-selected="true"] {
  background: var(--act-card);
  color: var(--act-primary);
  box-shadow: var(--act-shadow-soft);
}
.act-tab:focus { outline: 2px solid var(--act-primary); outline-offset: 2px; }

/* ===== Day chips (filtro por dia) ===== */
.act-day-chips {
  display: none;
  margin-top: 12px; /* mt-3 */
  flex-wrap: wrap; align-items: center;
  gap: 6px; /* gap-1.5 = 6px */
}
body.act-view-day .act-day-chips { display: flex; }
.act-day-chip {
  border-radius: 9999px; /* rounded-full */
  border: 1px solid var(--act-border);
  background: var(--act-surface);
  cursor: pointer;
  font: inherit; font-weight: 600; font-size: 12px; line-height: 16px;
  padding: 6px 12px; /* py-1.5=6 / px-3=12 */
  color: var(--act-muted);
  transition: all .18s ease;
}
.act-day-chip:hover { color: var(--act-fore); }
.act-day-chip.is-active,
.act-day-chip[aria-pressed="true"] {
  background: var(--act-primary);
  border-color: var(--act-primary);
  color: #fff;
}
.act-day-chip:focus { outline: 2px solid var(--act-primary); outline-offset: 2px; }

/* ===== Cards listagem em MÚLTIPLAS COLUNAS (CSS columns) ===== */
.act-cards-stack {
  display: block; /* necessário para CSS columns */
  width: 100%;
  margin: 0;
  column-gap: 24px; /* gap-6 = 24px */
}
.act-cards-stack > * {
  margin-bottom: 24px; /* [&>*]:mb-6 */
  break-inside: avoid;
}

/* ===== Card de atividade (article) ===== */
.act-activity-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--act-card);
  border: 1px solid var(--act-border);
  border-radius: 16px; /* rounded-2xl = 16px */
  box-shadow: var(--act-shadow-soft);
  transition: box-shadow .15s cubic-bezier(.4,0,.2,1), border-color .15s ease;
  width: 100%;
}
.act-activity-card:hover {
  box-shadow: var(--act-shadow-lift);
  border-color: rgba(15, 23, 42, .14);
}
.act-activity-card.is-happening-now {
  border-color: #16a34a; box-shadow: 0 0 0 2px rgba(22,163,74,.12), var(--act-shadow-lift);
}
.act-activity-card.is-happening-now .act-activity-head::after {
  content: 'Acontecendo agora'; grid-column: 2 / -1; justify-self: start;
  border-radius: 999px; padding: 3px 9px; background: #dcfce7; color: #166534;
  font-size: 11px; font-weight: 800;
}
.act-schedule-list li.is-happening-now { background: #f0fdf4; border-radius: 8px; outline: 1px solid #bbf7d0; }
.act-activity-card.is-hidden { display: none !important; }

/* Card head */
.act-activity-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 20px; /* p-5 */
  align-items: flex-start;
  background: var(--act-surface-60);
  border-bottom: 1px solid var(--act-border);
}
.act-count-tag {
  display: inline-block; margin-top: 8px; padding: 2px 9px; border-radius: 999px;
  color: var(--act-muted); background: var(--act-card); border: 1px solid var(--act-border);
  font-size: 11px; font-weight: 700;
}
.act-card-toggle {
  align-self: center; border: 1px solid var(--act-border); border-radius: 999px;
  background: var(--act-card); color: var(--act-primary); cursor: pointer;
  padding: 7px 11px; font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.act-card-toggle span { display: inline-block; transition: transform .2s ease; }
.act-activity-card.is-expanded .act-card-toggle span { transform: rotate(180deg); }
.act-activity-icon {
  width: 44px; height: 44px; /* size-11 */
  border-radius: 12px; /* rounded-xl = 12px */
  display: grid; place-items: center;
  background: var(--act-primary-bg);
  color: var(--act-primary);
}
.act-activity-icon svg {
  display: block; width: 24px; height: 24px; /* size-6 */
  stroke-width: 1.6;
}
.act-activity-head-text { min-width: 0; width: 100%; }
.act-activity-name {
  margin: 0;
  font-size: 18px; font-weight: 700; line-height: 28px;
  letter-spacing: -0.36px;
  color: var(--act-fore);
  font-family: var(--font-display);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.act-activity-desc {
  margin: 2px 0 0;
  font-size: 12px; font-weight: 400; line-height: 19.5px;
  color: var(--act-muted);
}
.act-tag {
  display: inline-block;
  margin-top: 8px; /* mt-2 = 8px */
  padding: 2px 10px;
  font-size: 11px; font-weight: 600; line-height: 16.5px;
  color: var(--act-accent-fore);
  background: var(--act-accent-soft);
  border-radius: 9999px;
}

/* ===== Corpo do card: turmas ===== */
.act-activity-body { width: 100%; display: none; flex-direction: column; flex: 1 1 auto; }
.act-activity-card.is-expanded .act-activity-body { display: flex; }
@media (max-width: 560px) {
  .act-activity-head { grid-template-columns: 40px minmax(0,1fr); padding: 16px; }
  .act-card-toggle { grid-column: 1 / -1; width: 100%; justify-self: stretch; }
}
.act-turma-wrap {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column;
}
.act-turma-wrap > * {
  border-bottom: 1px solid var(--act-border); /* divide-y */
}
.act-turma-wrap > *:last-child { border-bottom: 0; }
.act-turma-block { padding: 20px; } /* p-5 */
.act-turma-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
}
.act-turma-name {
  font-size: 14px; font-weight: 600; line-height: 20px;
  color: var(--act-fore);
  margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.act-turma-prof {
  font-size: 12px; font-weight: 400; line-height: 16px;
  color: var(--act-muted);
  white-space: nowrap;
  margin: 0;
}
.act-schedule-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 6px; /* space-y-1.5 */
}
.act-schedule-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px; /* px-3 py-2 */
  border-radius: 8px; /* rounded-lg = 8px */
  background: var(--act-surface);
  width: 100%; box-sizing: border-box;
}
.act-schedule-list li.is-hidden { display: none !important; }

.act-days-inline {
  display: flex; min-width: 0;
  flex-wrap: wrap;
  gap: 4px; /* gap-1 */
  align-items: center;
  width: 100%;
}
.act-day-inline {
  display: block;
  padding: 2px 6px; /* px-1.5 py-0.5 */
  font-size: 11px; font-weight: 600; line-height: 16.5px;
  color: var(--act-muted);
  background: var(--act-card);
  border-radius: 4px; /* rounded */
}
.act-time-badge {
  display: block;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12px; font-weight: 600; line-height: 16px;
  color: var(--act-fore);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding: 0; margin: 0; background: transparent; border: 0; border-radius: 0;
  flex-shrink: 0;
}

/* ===== SAUNA: estrutura INTERNA (colunas Masc/Fem) — PARTE EXTERNA = .act-activity-card PADRÃO igual aos demais cards ===== */
/* PARTE EXTERNA (wrapper) da Sauna já é definida automaticamente pelas classes compartilhadas
   (act-sauna-section NÃO tem mais regras próprias!):
   - section usa .act-activity-card (display:flex/column, radius 16px, overflow hidden, hover shadow-lift, transition)
   - header usa .act-activity-head (padding 20px, fundo surface-60, border-bottom, align-items flex-start)
   - ícone usa .act-activity-icon (44x44, radius 12px, div wrapper, cor primária bg/10)
   - corpo usa .act-activity-body + .act-turma-wrap + .act-turma-block (padding 20px, divisores border-bottom)
   ABAIXO: SÓ as regras do conteúdo INTERNO exclusivo da Sauna (colunas, listas, observação)
   que nenhum outro card (handebol/futsal etc.) tem. */
.act-sauna-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
.act-sauna-col {
  width: 100%; box-sizing: border-box;
  border-radius: 16px; /* rounded-xl = 16px (preview computed) */
  background: var(--act-surface);
  padding: 16px; /* p-4 */
}
.act-sauna-col-title {
  margin: 0;
  font-size: 14px; font-weight: 600; line-height: 20px;
  color: var(--act-fore);
  display: block;
}
.act-sauna-col strong {
  font-size: 14px; font-weight: 600; line-height: 20px;
  color: var(--act-fore);
  display: block;
}
.act-sauna-list {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 6px;
  width: 100%;
}
.act-sauna-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px; /* MESMO border-radius dos li .act-schedule-list dos cards normais = 8px (padroniza) */
  background: var(--act-card);
  width: 100%; box-sizing: border-box;
}
.act-sauna-list li.is-hidden { display: none !important; }
.act-sauna-dia {
  font-size: 11px; font-weight: 600; line-height: 16.5px;
  color: var(--act-muted);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--act-surface);
}
.act-sauna-hr {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 600; line-height: 16px;
  color: var(--act-fore);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  padding: 0; background: transparent; border: 0;
  flex-shrink: 0;
}
.act-sauna-obs {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 12px; line-height: 16px;
  color: var(--act-muted);
}

/* ===== Empty state ===== */
.act-empty {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 3rem 1.5rem;
  color: var(--act-muted);
  gap: .75rem;
}
.act-empty svg { color: var(--act-muted); opacity: .6; width: 34px; height: 34px; }
.act-empty p { margin: 0; font-size: 14px; line-height: 20px; }
.act-empty.is-hidden { display: none !important; }

/* ===== RESPONSIVO ===== */
/* sm = ≥640px: info/stats 2 cols; busca+tabs 2 cols; filters p-5 */
@media (min-width: 640px) {
  .act-info-stats-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .act-info-box, .act-stats-box { width: auto; }
  .act-filters-top-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .act-tabs { width: auto; }
  .act-tab { min-width: 120px; }
  .act-filters-panel { padding: 20px; /* sm:p-5 */ }
}
/* md = ≥768px: h1 48px; cards 2 colunas */
@media (min-width: 768px) {
  .act-page-h1 {
    font-size: 48px; line-height: 48px; letter-spacing: -0.96px;
  }
  .act-cards-stack { column-count: 2; }
}
/* xl = ≥1280px: cards 3 colunas */
@media (min-width: 1280px) {
  .act-cards-stack { column-count: 3; }
}
/* mobile <640px: regras mobile específicas */
@media (max-width: 639px) {
  .act-schedule-list li {
    grid-template-columns: minmax(0, 1fr);
  }
  .act-time-badge {
    width: 100%; text-align: left;
    padding-top: 4px;
    border-top: 1px dashed var(--act-border);
  }
  .act-activity-card { border-radius: 18px; }
  .act-activity-head {
    padding: 18px;
    gap: 10px;
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .act-activity-icon { width: 40px; height: 40px; border-radius: 14px; }
  .act-activity-icon svg { width: 22px; height: 22px; }
  .act-turma-block { padding: 18px; }
}

/* ============================================================
   🔰🔰🔰  BLOCO DE GARANTIA NUCLEAR — DESKTOP (≥901px)
   ============================================================
   Este bloco SÓ é ativado em viewport DESKTOP.
   Colocado NO FINAL do arquivo com especificidade + !important
   para SOBRESCREVER QUALQUER regra mobile que possa ter "vazado"
   em resoluções ≥ 901px (bug do usuário: "hambúrguer aparece no
   desktop + clica e mexe tela + submenu hover some").
   Qualquer dúvida de cascata: AQUI VENCE!
   ============================================================ */
@media (min-width:901px){
  /* 1. Hambúrguer = 100% ESCONDIDO no desktop */
  .nav-toggle{ display:none !important; visibility:hidden !important; width:0 !important; height:0 !important; padding:0 !important; margin:0 !important; pointer-events:none !important; overflow:hidden !important; position:absolute !important; left:-9999px !important; opacity:0 !important; }
  .nav-toggle svg, .nav-toggle:hover, .nav-toggle:focus, .nav-toggle:active{ display:none !important; }

  /* 2. NAV (main-nav) = menu horizontal NORMAL no desktop (NAO fixed!) */
  #nav.main-nav,
  .main-nav{
    position:static !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    gap:.5rem !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    transform:none !important;
    translate:0 0 !important;
    border-left:0 !important;
    border-radius:0 !important;
  }
  /* Overlay NUNCA aparece no desktop */
  .nav-overlay{ display:none !important; opacity:0 !important; pointer-events:none !important; }
  .nav-overlay.open{ display:none !important; }
  body.menu-open, html.menu-open{ overflow:auto !important; }

  /* 3. DROPDOWN DESKTOP (.has-sub .sub) com POSITION ABSOLUTE sempre */
  #nav.main-nav .sub,
  .main-nav .sub{
    display:block !important;
    position:absolute !important;
    top:calc(100% + 6px) !important;
    left:0 !important;
    right:auto !important;
    min-width:230px !important;
    width:auto !important;
    max-width:420px !important;
    height:auto !important;
    max-height:none !important;
    background:#fff !important;
    border:1px solid var(--line) !important;
    border-radius:14px !important;
    box-shadow:0 14px 40px rgba(10,36,82,.18) !important;
    padding:.5rem !important;
    padding-top:.5rem !important;
    padding-bottom:.5rem !important;
    margin:0 !important;
    margin-left:0 !important;
    border-left:1px solid var(--line) !important;
    z-index:99999 !important;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    overflow:visible !important;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
  }
  /* Links dentro do sub no desktop: reset do estilo de mobile */
  .main-nav .sub a{
    border-radius:10px !important;
    padding:.55rem .9rem !important;
    margin:0 !important;
    font-size:.94rem !important;
    border-left:0 !important;
    text-align:left !important;
    justify-content:flex-start !important;
  }
  /* 4. ABRIR NO HOVER (desktop) — regra FORTE com #nav id prefix */
  #nav.main-nav .has-sub:hover > .sub,
  #nav.main-nav .has-sub:focus-within > .sub,
  .main-nav .has-sub:hover > .sub,
  .main-nav .has-sub:focus-within > .sub{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateY(0) !important;
    pointer-events:auto !important;
    display:block !important;
    max-height:none !important;
    overflow:visible !important;
    margin-left:0 !important;
    border-left:1px solid var(--line) !important;
    padding-top:.5rem !important;
    padding-bottom:.5rem !important;
  }
  /* Desktop: NÃO usamos classe .open nos .has-sub (acidente de mobile) */
  #nav.main-nav .has-sub.open > .sub{ z-index:99999 !important; }
  /* Ponte transparente para evitar que dropdown feche ao passar mouse no gap */
  #nav.main-nav .has-sub::after,
  .main-nav .has-sub::after{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    top:calc(100% - 4px) !important;
    height:12px !important;
    display:block !important;
    background:transparent !important;
    z-index:99998 !important;
  }
}
@media (max-width:560px){ .grid-4{grid-template-columns:1fr} }

/* ============================================================
   PÁGINA DE ATIVIDADES — Layout redesign 2026
   ============================================================ */

/* ---- Hero da página ---- */
.act-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, #0a3570 100%);
  padding: clamp(3rem,8vw,5.5rem) 0 clamp(2.5rem,6vw,4.5rem);
  position: relative;
  overflow: hidden;
}
.act-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(41,171,226,.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232,17,15,.12) 0%, transparent 55%);
  pointer-events: none;
}
.act-hero-inner { position: relative; }
.act-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.act-hero h1 {
  color: #fff;
  font-size: clamp(2rem,5vw,3.4rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.act-hero-year {
  background: linear-gradient(90deg, var(--red), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.act-hero-sub {
  color: #c4d4ec;
  font-size: 1.05rem;
  max-width: 62ch;
  margin: 0 0 1.8rem;
  line-height: 1.7;
}
.act-hero-sub strong { color: #fff; }
.act-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.act-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  border: 1px solid rgba(255,255,255,.2);
}
.act-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.22); text-decoration: none; }
.act-chip--red   { background: rgba(232,17,15,.25);  color: #ffb3b1; }
.act-chip--blue  { background: rgba(41,171,226,.25); color: #a8e0f7; }
.act-chip--navy  { background: rgba(255,255,255,.1); color: #d7e5fa; }
.act-chip--teal  { background: rgba(0,188,180,.2);   color: #a8f5ef; }
.act-chip--warm  { background: rgba(250,160,60,.2);  color: #fde0b0; }

/* ---- Aviso / notice bar ---- */
.act-notice {
  background: #e6f4fc;
  border-bottom: 1px solid #b8dcf0;
  padding: .75rem 0;
}
.act-notice-inner {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  color: #0a4f6e;
}
.act-notice-inner svg { color: #1c8dbd; flex-shrink: 0; }
.act-notice-inner a { color: var(--blue-dark); font-weight: 600; }

/* ---- Cabeçalho de seção ---- */
.act-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.act-eyebrow {
  margin: 0 0 .4rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.act-section-title {
  margin: 0;
  font-size: clamp(1.5rem,3vw,2rem);
  color: var(--ink);
}

/* ---- Categorias (container das tabelas) ---- */
.act-categories {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

/* ---- Card de categoria ---- */
.act-cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---- Cabeçalho colorido do card ---- */
.act-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
}
.act-cat-header--red   { background: linear-gradient(90deg, #1a0a0a, #2d0a0a); }
.act-cat-header--blue  { background: linear-gradient(90deg, #082840, #0d3a5a); }
.act-cat-header--navy  { background: linear-gradient(90deg, var(--navy), var(--navy-2)); }
.act-cat-header--teal  { background: linear-gradient(90deg, #003d3b, #005c59); }
.act-cat-header--warm  { background: linear-gradient(90deg, #3d1e00, #5c2d00); }

.act-cat-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
.act-cat-icon svg { color: #fff; }
.act-cat-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.act-cat-sub {
  margin: .2rem 0 0;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}

/* ---- Tabela de horários ---- */
.act-schedule-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.act-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.act-schedule-table thead tr {
  background: var(--surface);
  border-bottom: 2px solid var(--line);
}
.act-schedule-table th {
  padding: .65rem .85rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  white-space: nowrap;
}
.act-schedule-table th:first-child { text-align: left; min-width: 170px; }
.act-schedule-table th:nth-child(2) { min-width: 110px; }
.act-schedule-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.act-schedule-table tbody tr:last-child { border-bottom: 0; }
.act-schedule-table tbody tr:hover { background: rgba(41,171,226,.04); }
.act-schedule-table td {
  padding: .7rem .85rem;
  vertical-align: top;
  text-align: center;
  color: var(--body);
}
.act-schedule-table td:first-child { text-align: left; }
.act-schedule-table td strong { color: var(--ink); font-weight: 600; }
.act-schedule-table td:has(.act-time) { background: rgba(41,171,226,.04); }

.act-time {
  display: inline-block;
  background: rgba(10,36,82,.06);
  color: var(--navy);
  font-weight: 700;
  font-size: .78rem;
  padding: .22rem .55rem;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.7;
}
.act-time--muted {
  background: rgba(107,115,130,.1);
  color: var(--muted);
  text-decoration: line-through;
  opacity: .7;
}
.act-teacher {
  display: inline-block;
  font-size: .8rem;
  color: var(--blue-dark);
  font-weight: 500;
}
.act-obs { font-size: .75rem; color: var(--muted); margin-top: .1rem; display: block; }

.act-paid-badge {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 6px;
  margin-left: .4rem;
  vertical-align: middle;
  white-space: nowrap;
}
.act-suspended-badge {
  display: inline-block;
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  font-size: .68rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 6px;
  margin-left: .4rem;
  vertical-align: middle;
  white-space: nowrap;
}

/* ---- Sauna card especial ---- */
.act-sauna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  margin: 0;
}
.act-sauna-item {
  padding: 1.4rem 1.4rem 1.2rem;
  background: #fff;
}
.act-sauna-item--masc { border-left: 4px solid var(--blue); }
.act-sauna-item--fem  { border-left: 4px solid var(--red); }
.act-sauna-icon {
  font-size: 1.8rem;
  margin-bottom: .5rem;
  line-height: 1;
}
.act-sauna-item h4 {
  margin: 0 0 .8rem;
  font-size: 1rem;
  color: var(--ink);
}
.act-sauna-times {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.act-sauna-times li {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.act-sauna-day {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.act-sauna-time {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}
.act-sauna-obs {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .8rem 1.4rem;
  background: #fff9ec;
  border-top: 1px solid #fde8aa;
  font-size: .82rem;
  color: #7a5700;
  margin: 0;
}
.act-sauna-obs svg { flex-shrink: 0; margin-top: .1rem; color: #d9a000; }

/* ---- Info cards no rodapé da seção ---- */
.act-info {
  padding: clamp(2rem,5vw,3.5rem) 0;
}
.act-info-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.2rem;
}
.act-info-card {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}
.act-info-card--green {
  background: #edfbf3;
  border-color: #a8edca;
}
.act-info-card--blue {
  background: #e8f4fe;
  border-color: #aed8f7;
}
.act-info-card--amber {
  background: #fffbe6;
  border-color: #ffe08a;
}
.act-info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
}
.act-info-card--green .act-info-icon { background: #c6f6d5; color: #1a7a45; }
.act-info-card--blue  .act-info-icon { background: #bfe6fc; color: #0d5f85; }
.act-info-card--amber .act-info-icon { background: #fde8aa; color: #7a4f00; }
.act-info-card strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: .25rem; }
.act-info-card p { margin: 0; font-size: .875rem; color: var(--body); line-height: 1.6; }
.act-info-card a { color: var(--blue-dark); font-weight: 600; }

/* ---- Responsive — tablet ---- */
@media (max-width: 900px) {
  .act-info-inner { grid-template-columns: 1fr; }
  .act-sauna-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .act-hero h1 { font-size: 1.85rem; }

  /* Mobile: tabela vira lista de "linhas responsivas" */
  .act-schedule-table thead { display: none; }
  .act-schedule-table tbody tr {
    display: block;
    padding: .7rem .95rem;
    border-bottom: 2px solid var(--line);
  }
  .act-schedule-table td {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    text-align: left;
    padding: .25rem 0;
  }
  .act-schedule-table td::before {
    content: attr(data-label);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    align-self: start;
    padding-top: .1rem;
  }
  .act-schedule-table td:first-child { grid-column: 1/-1; padding-bottom: .4rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
  .act-schedule-table td:first-child::before { display: none; }
  /* Hide empty cells on mobile */
  .act-schedule-table td:not(:first-child):not(:nth-child(2)) {
    display: none;
  }
  .act-schedule-table td:not(:first-child):not(:nth-child(2)):has(.act-time) {
    display: grid;
  }
}
@media (max-width: 480px) {
  .act-chip { font-size: .77rem; padding: .38rem .75rem; }
  .act-cat-header { padding: .9rem 1rem; }
  .act-sauna-item { padding: 1rem; }
  .act-info-card { flex-direction: column; align-items: flex-start; }
}
