/* ====== BASE ====== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap");

:root {
  --brand-green: #034205;
  --brand-red: #8B2E2E;
  --brand-indigo: #5372f0;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  margin: 0;
  color: #111827;
}

/* ====== SEÇÕES GENÉRICAS ====== */
.section-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ====== VISITA ESTADUAL ====== */
#visita-estado {
  padding: 2rem 1rem;
  background: #f9f9f9;
}

.visita-titulo {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: 'Times New Roman', Times, serif;
  background: linear-gradient(90deg, rgba(2,0,36,1) 7%, rgba(22,130,36,1) 15%, rgba(25,148,36,1) 29%, rgba(36,216,36,1) 43%, rgba(255,176,0,0.84) 74%);
  color: #fff;
  padding: .5rem 1rem;
}

.depoimento {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.depoimento-texto {
  flex: 1 1 300px;
}

.depoimento-texto h2 {
  color: #000;
  text-align: center;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
  background: #dde4ff;
  width: fit-content;
  border-radius: 50px;
  padding: 8px 16px;
}

.depoimento-texto p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

#visita-estado video {
  flex: 1 1 300px;
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .depoimento {
    flex-direction: column;
    text-align: center;
  }
  .depoimento-texto h2 { margin: 0 auto 1rem; }
}

/* ====== DIREÇÃO (cards de pessoas) ====== */
.section-eyebrow {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.cards-grid {
  margin-top: 20px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-pessoa {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #2f4bff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-foto {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-rodape {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d6d6ff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 8px 16px;
  width: 75%;
  text-align: center;
}

.card-nome {
  font-weight: 800;
  font-size: 0.9rem;
  color: #000;
  margin: 0;
}

.card-cargo {
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0;
}

/* ====== MOTIVOS ====== */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

.section-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.line {
  border-top: 1px solid var(--brand-red);
  width: 3rem;
}

.subtitle {
  color: var(--brand-red);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.section-description {
  color: #6B7280;
  font-size: clamp(0.875rem, 1vw, 1rem);
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card,
.feature-card-outline {
  background: #fff;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  border-radius: 6px;
  align-items: flex-start;
}

.feature-card { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.feature-card-outline { border: 1px solid var(--brand-green); }

.feature-icon {
  color: var(--brand-green);
  font-size: 1.875rem;
  display: flex;
  align-items: center;
}

.feature-title {
  font-weight: 700;
  color: #000;
  margin-bottom: 0.25rem;
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.feature-text {
  color: #6B7280;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  line-height: 1.6;
}

/* ====== EVENTOS ====== */
.events-section { padding: 2rem 1rem; }

.events-section .section-title {
  background: linear-gradient(90deg, rgba(2,0,36,1) 7%, rgba(22,130,36,1) 15%, rgba(25,148,36,1) 29%, rgba(36,216,36,1) 43%, rgba(255,176,0,0.84) 74%);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }

.event-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
}

.event-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.event-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* ====== DESTAQUES (Swiper) ====== */
.card-wrapper {
  max-width: 2000px;
  margin: 0 auto;
  padding: 20px 20px 0 20px;
  overflow: hidden;
}

.card-list .card-item {
  list-style: none;
  flex: 1 1 200px;
  margin: 10px;
  max-width: 400px;
}

.card-list .card-item .card-link {
  width: 400px;
  user-select: none;
  display: block;
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 10px rgba(0,0,0,0.05);
  transition: 0.2s ease;
}

.card-list .card-item .card-link:hover { border-color: var(--brand-indigo); }

.card-list .card-link .card-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}

.card-list .card-link .badge {
  color: var(--brand-indigo);
  margin: 16px 0 18px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  background: #dde4ff;
  width: fit-content;
  border-radius: 50px;
}

.card-list .badge.visit1 { color: var(--brand-indigo); background: #f7dff5; }
.card-list .badge.designer { color: #183219; background: #f7dff5; }
.card-list .badge.editor { color: #eedf0d; background: #f7dff5; }
.card-list .badge.gamer { color: #075b25; background: #f7dff5; }
.card-list .badge.marketer { color: #c17b03; background: #f7dff5; }

.card-list .card-link .card-title {
  font-size: 1.1rem;
  color: #000;
  font-weight: 700;
  text-align: justify;
}

.card-list .card-link .card-button {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  margin: 30px 0 5px;
  background: none;
  cursor: pointer;
  border: 2px solid var(--brand-indigo);
  transform: rotate(-45deg);
  transition: .3s ease;
}

.card-list .card-link:hover .card-button {
  color: #fff;
  background: var(--brand-indigo);
}

/* ====== QUADRO DE HONRA ====== */
.honor-section {
  overflow: hidden;
  position: relative;
  padding: 2rem 1rem;
}

.honor-section .section-title {
  background: linear-gradient(90deg, rgba(2,0,36,1) 7%, rgba(22,130,36,1) 15%, rgba(25,148,36,1) 29%, rgba(36,216,36,1) 43%, rgba(255,176,0,0.84) 74%);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 6px;
}

.honor-viewport {
  display: flex;
  width: 100%;
  align-items: center;
  overflow: auto;
}
.honor-group { display: flex; }

.honor-card {
  min-width: 250px;
  margin: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem 1rem;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .honor-track {
    flex-direction: column; /* Empilha verticalmente */
  }
  .honor-group {
    flex-direction: column;
  }
  .honor-card {
    width: 100%; /* Ocupa toda a largura no mobile */
    min-width: auto;
  }
}

.honor-image {
  width: 230px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  transition: transform .3s ease;
  display: block;
}
.honor-image:hover { transform: scale(1.1); cursor: pointer; }

.honor-name { font-weight: 800; margin-bottom: 0.5rem; }
.honor-info { margin: 0.25rem 0; }

@keyframes honor-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ====== TESTEMUNHOS ====== */
:root{
  --prim:#b33a3a;
  --txt:#121212;
  --muted:#666;
  --bg:#f9f9f9;
  --card:#ffffff;
  --balon:#f3f3f3;
  --shadow:0 8px 20px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--txt);
  background:var(--bg);
}

#testemunhos{
  max-width:1200px;
  margin-inline:auto;
  padding:5px 10px 10px;
}

.topo{
  text-align:center;
  margin-bottom:28px;
}
.sub{
  color:var(--prim);
  font-weight:700;
  letter-spacing:.14em;
  font-size:.85rem;
  margin:0 0 6px;
  text-transform:uppercase;
}
.tit{
  font-size:clamp(1.6rem,2.5vw,2.2rem);
  margin:0;
}

/* GRID */
.grid{
  display:grid;
  gap:0px;
}

/* 1 col (mobile), 2 cols (>=560px), 4 cols (>=992px) */
@media (min-width:560px){
  .grid{ grid-template-columns:repeat(2,1fr); }
}
@media (min-width:992px){
  .grid{ grid-template-columns:repeat(4,1fr); }
}

/* CARD */
.card{
  background:var(--card);
  border-radius:16px;
  padding:10px;
  margin: 10px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,.12);
}

/* FOTO QUADRADA */
.foto{
  width:100%;
  aspect-ratio:1/1;     /* garante quadrado */
  object-fit:cover;
  border-radius:12px;    /* pode zerar se quiser 100% quadrado duro */
}

/* TEXTO EM BALÃO */
.texto{
  margin:0;
  padding:14px 16px;
  background:var(--balon);
  border-radius:12px;
  line-height:1.6;
  color:#444;
  position:relative;
}
.texto::before{
  content:"“";
  font-size:28px;
  color:var(--prim);
  line-height:0;
  margin-right:6px;
  position:absolute;
  left:10px; top:10px;
  opacity:.25;
}

/* INFO */
.info{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
}
.nome{
  margin:0;
  color:var(--prim);
  font-size:1rem;
  font-weight:700;
}
.curso{
  color:var(--muted);
  font-size:.9rem;
}

/* Ajustes pequenos */
@media (max-width:380px){
  .texto{ font-size:.95rem; }
}
