/* ═══════════════════════════════════════
   SECTIONS — Quem Somos, Projetos, Stats,
   Posts, Equipe, Footer
═══════════════════════════════════════ */

/* ─── QUEM SOMOS ─── */
#quem-somos {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
#quem-somos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234EC3E0' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  color: var(--gray-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  border-left: 4px solid var(--green);
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(78, 195, 224, 0.06);
  border: 1px solid rgba(78, 195, 224, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-light);
  transition: var(--transition);
}
.service-item:hover { border-color: var(--cyan); color: var(--white); background: rgba(78, 195, 224, 0.1); }
.service-icon { font-size: 1.1rem; }

/* Founder card */
.about-founder { position: relative; }
.founder-card {
  background: rgba(12, 35, 64, 0.8);
  border: 1px solid rgba(78, 195, 224, 0.2);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(16px);
}
.founder-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 24px;
  position: relative;
}
.founder-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.founder-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.founder-badge-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--dark2), var(--dark2)) padding-box,
              linear-gradient(135deg, var(--cyan), var(--green)) border-box;
  animation: spin 6s linear infinite;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.founder-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.founder-role { color: var(--cyan); font-weight: 600; font-size: 0.95rem; margin-bottom: 24px; }
.credentials { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.credential {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-light);
}
.cred-logo {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cbf     { background: #006B3C; color: #FFD700; }
.fifa    { background: #0B1F3A; color: #C4A044; border: 1px solid #C4A044; }
.conmebol{ background: #002B5C; color: var(--cyan); border: 1px solid var(--cyan); }
.founder-social { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(78, 195, 224, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  transition: var(--transition);
}
.social-btn:hover { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }

/* Art decorative */
.about-art { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.art-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(78, 195, 224, 0.1);
}
.art-c1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.art-c2 { width: 200px; height: 200px; bottom: 0; left: -50px; border-color: rgba(109, 236, 148, 0.15); }
.art-c3 { width: 600px; height: 600px; top: -150px; right: -200px; border-color: rgba(78, 195, 224, 0.05); }

/* ─── PROJETOS ─── */
#projetos {
  padding: var(--section-py) 0;
  background: var(--dark2);
  position: relative;
}
#projetos::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.project-card {
  background: rgba(12, 35, 64, 0.6);
  border: 1px solid rgba(78, 195, 224, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover { border-color: var(--cyan); transform: translateY(-6px); box-shadow: var(--glow-cyan); }
.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy), rgba(78, 195, 224, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
}
.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.status-ativo { background: rgba(109, 236, 148, 0.15); color: var(--green); border: 1px solid rgba(109, 236, 148, 0.3); }
.status-concluido { background: rgba(78, 195, 224, 0.1); color: var(--cyan); border: 1px solid rgba(78, 195, 224, 0.25); }
.status-em_breve { background: rgba(255, 165, 0, 0.1); color: #FFA500; border: 1px solid rgba(255, 165, 0, 0.25); }
.project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.project-desc { color: var(--gray-light); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.project-year { color: var(--cyan); font-size: 0.8rem; font-weight: 700; margin-top: 16px; }

/* ─── BIG NUMBERS ─── */
#numeros {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.numeros-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(78, 195, 224, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--dark) 0%, var(--navy) 50%, var(--dark) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid rgba(78, 195, 224, 0.15);
}
.stat-card:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-suffix { color: var(--cyan); }
.stat-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* ─── POSTAGENS — Editorial G1-style ─── */
#postagens {
  padding: var(--section-py) 0;
  background: var(--dark);
}

/* Grade editorial */
.posts-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* HERO — ocupa 8 colunas */
.post-card-hero {
  grid-column: span 8;
}
.post-card-hero .post-img {
  height: 420px;
}
.post-card-hero .post-title {
  font-size: 1.75rem;
  line-height: 1.2;
}
.post-card-hero .post-excerpt {
  font-size: 1rem;
  -webkit-line-clamp: 3;
}

/* SECONDARY — 4 colunas, empilhado ao lado do hero */
.post-card-secondary {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.post-card-secondary .post-card {
  flex: 1;
}
.post-card-secondary .post-img {
  height: 160px;
}
.post-card-secondary .post-title {
  font-size: 1rem;
}
.post-card-secondary .post-excerpt {
  display: none;
}

/* STRIP — linha de 3 colunas */
.post-card-strip {
  grid-column: span 4;
}
.post-card-strip .post-img {
  height: 200px;
}
.post-card-strip .post-title {
  font-size: 1.05rem;
}
.post-card-strip .post-excerpt {
  -webkit-line-clamp: 2;
}

/* BASE CARD */
.post-card {
  background: rgba(12, 35, 64, 0.5);
  border: 1px solid rgba(78, 195, 224, 0.1);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover {
  border-color: rgba(78, 195, 224, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -10px rgba(78, 195, 224, 0.15);
}

.post-img {
  width: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(12,35,64,0.8), rgba(78,195,224,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.25);
}
img.post-img { display: block; }

.post-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-category {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.post-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.post-excerpt {
  color: rgba(255,255,255,0.58);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.post-date { font-size: 0.78rem; color: var(--gray); }
.post-read-more {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── HOME PREVIEW ─── */
#home-posts {
  padding: 100px 0 80px;
  background: var(--dark2);
}

/* ─── HOME CALENDAR ─── */
#home-calendar {
  padding: 100px 0 80px;
  background: var(--dark);
}
#home-calendar-grid {
  padding: 0 8vw;
}
.home-posts-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8vw;
  margin-bottom: 40px;
}
.home-posts-head .ver-todas {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(78,195,224,0.4);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}
.home-posts-head .ver-todas:hover { opacity: 0.7; }
#home-posts .posts-editorial {
  padding: 0 8vw;
}

/* ─── EQUIPE ─── */
#equipe {
  padding: var(--section-py) 0;
  background: var(--dark2);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.team-card {
  background: rgba(12, 35, 64, 0.7);
  border: 1px solid rgba(78, 195, 224, 0.15);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--cyan); transform: translateY(-6px); box-shadow: var(--glow-cyan); }
.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid rgba(78, 195, 224, 0.3);
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.team-role { color: var(--cyan); font-size: 0.85rem; font-weight: 600; margin-bottom: 14px; }
.team-bio { color: var(--gray-light); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }
.team-social { display: flex; justify-content: center; gap: 8px; }

/* ─── FOOTER ─── */
#site-footer { background: var(--dark2); border-top: 1px solid rgba(78, 195, 224, 0.1); }
.footer-top { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { color: var(--gray); font-size: 0.9rem; max-width: 280px; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(78, 195, 224, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(78, 195, 224, 0.08); }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--gray); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { color: var(--gray); font-size: 0.9rem; margin-bottom: 10px; }
.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { color: var(--gray); font-size: 0.8rem; text-align: center; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .post-card-hero    { grid-column: span 12; }
  .post-card-secondary { grid-column: span 12; flex-direction: row; }
  .post-card-strip   { grid-column: span 6; }
  .home-posts-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts-editorial   { gap: 14px; }
  .post-card-secondary { flex-direction: column; }
  .post-card-strip   { grid-column: span 12; }
  .home-posts-grid   { grid-template-columns: 1fr; }
  .home-posts-head   { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(78, 195, 224, 0.15); }
  .stat-card:nth-child(2), .stat-card:last-child { border-bottom: none; }
  .stat-card:nth-child(odd) { border-right: 1px solid rgba(78, 195, 224, 0.15); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top .container,
  .footer-bottom .container { padding-left: 8vw; padding-right: 8vw; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}
