@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --cdl-blue-700: #1f4fb2;
  --cdl-navy-900: #0b1d39;
  --cdl-navy-800: #0f264a;
  --cdl-ink-900: #0e1523;
  --cdl-ink-700: #2b3447;
  --cdl-ink-500: #4f5b6b;
  --cdl-ink-100: #eef1f5;
  --cdl-cream-100: #f8f6f1;
  --cdl-sand-500: #f7d37a;
  --white: #ffffff;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-lg: 0 30px 60px rgba(15, 38, 74, 0.18);
  --shadow-md: 0 18px 36px rgba(15, 38, 74, 0.14);
  --shadow-sm: 0 10px 20px rgba(15, 38, 74, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--cdl-cream-100);
  color: var(--cdl-ink-900);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

/* HERO */
.support-hero {
  background: var(--cdl-blue-700);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px) 22px;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: 34px;
}

.support-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cdl-sand-500);
}

.support-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.support-lead {
  margin: 0 auto;
  max-width: 780px;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
}

.support-hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* SEÇÕES */
.section {
  display: grid;
  gap: 16px;
  margin-bottom: 38px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  color: var(--cdl-navy-800);
}

.section-subtitle {
  margin: 0;
  color: var(--cdl-ink-700);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;            
  letter-spacing: 0.2px;

  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;

  transition: transform 0.18s ease, filter 0.18s ease;
  min-height: 44px;

  width: 100%;
  max-width: 240px;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); filter: brightness(0.96); }

.btn-primary {
  background: var(--cdl-navy-900);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--cdl-navy-900);
  border-color: rgba(255,255,255,0.75);
}

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  max-width: 220px;
}

/* =========================
   CANAIS (Cards de info)
   ========================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--cdl-ink-100);

  min-height: 230px;
  align-content: start;
}

.info-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--cdl-blue-700);
}

.info-card p {
  margin: 0;
  color: var(--cdl-ink-700);
  line-height: 1.6;
  font-size: 14px;
}

.info-card .btn {
  margin-top: auto;
  justify-self: center;   
  max-width: 240px;       
  min-height: 42px;
}

/* Redes */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.social-btn {
  background: var(--white);
  border: 1px solid var(--cdl-ink-100);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--cdl-navy-900);
  font-weight: 700;        
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease;
  text-align: center;
}

.social-btn:hover { transform: translateY(-2px); }

/* Mapa */
.map-card {
  background: var(--white);
  border: 1px solid var(--cdl-ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 320px;
}

.map-card__content {
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.map-title { margin: 0; }
.map-text {
  margin: 0;
  color: var(--cdl-ink-700);
  line-height: 1.6;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-actions .btn {
  width: auto;
  max-width: none;
  min-width: 200px;
}

.map-card__embed {
  padding: 16px;
  background: linear-gradient(135deg, rgba(31, 79, 178, 0.08), rgba(11, 29, 57, 0.12));
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.map-card__embed iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 16px;
  border: 0;
  box-shadow: 0 14px 26px rgba(15, 38, 74, 0.12);
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cdl-ink-100);
  padding: 18px;
  display: grid;
  gap: 10px;
  text-align: center;
  flex: 0 0 auto;

  width: 300px;
  min-width: 300px;
  max-width: 300px;
  min-height: 300px;
}

.team-photo {
  width: 124px;
  height: 124px;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto;
  background: var(--cdl-ink-100);
}

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

.team-name {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--cdl-ink-900);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-role {
  margin: 0;
  font-size: 13px;
  color: var(--cdl-ink-500);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   CARROSSEL INFINITO (EQUIPE)
   ========================= */
.team-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 8px 0;
}

.team-marquee::before,
.team-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  pointer-events: none;
  z-index: 2;
}

.team-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--cdl-cream-100), rgba(248, 246, 241, 0));
}

.team-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--cdl-cream-100), rgba(248, 246, 241, 0));
}

.team-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  will-change: transform;

  animation: team-scroll 40s linear infinite;

  padding: 6px 64px;
}

.team-marquee:hover .team-track,
.team-marquee:focus-within .team-track {
  animation-play-state: paused;
}

@keyframes team-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .team-track { animation: none; }
}

/* CTA final */
.support-cta {
  margin-top: 10px;
  background: var(--cdl-blue-700);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 10px;
}

.support-cta h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
}

.support-cta p {
  margin: 0;
  color: rgba(255,255,255,0.95);
  line-height: 1.7;
}

.support-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-card { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .container { padding: 28px 18px 56px; }
  .social-grid { grid-template-columns: 1fr; }

  .team-marquee::before,
  .team-marquee::after {
    width: 28px;
  }

  .team-track {
    padding: 6px 28px;
    animation-duration: 55s;
  }

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

  .btn { max-width: 100%; }

  .info-card .btn { margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .support-hero { border-radius: var(--radius-md); }
  .support-cta { border-radius: var(--radius-md); }
}
