/* Base (igual ao Sobre/Palmarés) */
:root{
  --text: #111;
  --muted: #555;
  --border: #e9e9e9;
  --bg-soft: #fafafa;
  --card: #fff;
  --shadow: 0 10px 25px rgba(0,0,0,0.06);
  --shadow2: 0 6px 16px rgba(0,0,0,0.07);
  --radius: 14px;
  --accent: #0a7a3b; /* ajusta se quiseres */
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.75;
}

.container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

nav ul{
  list-style:none;
  display:flex;
  gap:12px;
  padding:14px 0;
  margin:0;
  align-items:center;
  flex-wrap:wrap;
}

nav a{
  text-decoration:none;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 10px;
  transition: background 160ms ease, color 160ms ease;
}

nav a:hover{ background:#f3f4f6; }

nav a.active{
  background: var(--text);
  color:#fff;
}

/* Page */
.team-section{
  padding: 34px 0 42px;
  background: #fff;
}

h1{
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.6px;
  line-height: 1.15;
}

.subtitle{
  margin: 0 0 18px;
  color: var(--muted);
}

/* Grid */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

/* Card */
.team-card{
  background: var(--card);
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.team-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Accent bar (top) - igual à ideia que tinhas */
.team-card::before{
  content:"";
  display:block;
  height: 6px;
}

/* Cores por papel */
.team-card.treinador-principal::before{ background: #1b5e20; }
.team-card.treinadora-adjunta::before{ background: #66bb6a; }
.team-card.preparador-fisico-1::before{ background: #0d47a1; }
.team-card.preparador-fisico-2::before{ background: #64b5f6; }
.team-card.fisioterapeuta::before{ background: #f0c419; } /* amarelo elegante */

/* Photo */
.team-photo{
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
}

.team-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Info */
.team-info{
  padding: 14px;
  text-align: left;
}

.team-info h3{
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.2px;
}

.team-info p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
footer{
  padding: 22px 0;
  border-top: 1px solid #eee;
  background: #fff;
  color: var(--muted);
  text-align: center;
}