/* =============================================
   GC2Net - Redes e Informática
   Identidade: #E31E24 | #111111 | #FFFFFF | #0099FF
   ============================================= */

:root {
  --gc-red: #e31e24;
  --gc-black: #111111;
  --gc-white: #ffffff;
  --gc-blue: #0099ff;
  --gc-gray: #f5f5f5;
  --gc-gray-dark: #666666;
  --gc-border: #e5e5e5;
  --font-main: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-height: 72px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-main);
  color: var(--gc-black);
  background: var(--gc-white);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--gc-red);
  color: var(--gc-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

/* ---------- HEADER ---------- */
.navbar-gc2 {
  background: var(--gc-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 0;
  transition: box-shadow var(--transition), background var(--transition);
  min-height: var(--header-height);
}

.navbar-gc2.scrolled {
  background: var(--gc-black);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-gc2 .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
}

.navbar-gc2 .nav-link:hover,
.navbar-gc2 .nav-link.active {
  color: var(--gc-red);
}

.navbar-gc2 .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--gc-red);
}

.btn-suporte-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gc-blue);
  color: var(--gc-white) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  border: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-suporte-header:hover {
  background: #007acc;
  color: var(--gc-white);
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.35);
}

.navbar-gc2 .navbar-collapse {
  background: var(--gc-black);
}

/* ---------- BOTÕES ---------- */
.btn-gc-red {
  background: var(--gc-red);
  color: var(--gc-white);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid var(--gc-red);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-gc-red:hover {
  background: #c4191f;
  border-color: #c4191f;
  color: var(--gc-white);
}

.btn-gc-outline {
  background: transparent;
  color: var(--gc-white);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid var(--gc-white);
  transition: all var(--transition);
}

.btn-gc-outline:hover {
  background: var(--gc-white);
  color: var(--gc-black);
}

.btn-gc-blue {
  background: var(--gc-blue);
  color: var(--gc-white);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: 2px solid var(--gc-blue);
  transition: all var(--transition);
}

.btn-gc-blue:hover {
  background: #0088e6;
  border-color: #0088e6;
  color: var(--gc-white);
}

/* ---------- HERO / BANNER ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--gc-black) url("../img/loja-interna.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4rem;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--gc-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- SEÇÕES GERAIS ---------- */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--gc-gray);
}

.section-dark {
  background: var(--gc-black);
  color: var(--gc-white);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-title span {
  color: var(--gc-red);
}

.section-subtitle {
  text-align: center;
  color: var(--gc-gray-dark);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- CARDS SERVIÇOS ---------- */
.service-card {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--gc-red);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--gc-red);
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gc-black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gc-gray-dark);
  margin: 0;
}

/* ---------- SOBRE ---------- */
.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-text h2 span {
  color: var(--gc-red);
}

.about-text p {
  color: var(--gc-gray-dark);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.about-text p:last-of-type {
  margin-bottom: 1.5rem;
}

.about-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gc-black);
  margin: 1.75rem 0 0.75rem;
}

.about-mission {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-left: 4px solid var(--gc-red);
  background: var(--gc-gray);
  border-radius: 0 10px 10px 0;
}

.about-mission strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gc-red);
  margin-bottom: 0.5rem;
}

.about-mission p {
  margin: 0;
  font-size: 1rem;
  color: var(--gc-black);
}

.stat-card {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-color: var(--gc-red);
}

.stat-card .stat-icon {
  color: var(--gc-red);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.stat-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--gc-black);
}

/* ---------- PRODUTOS ---------- */
.product-card {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.product-card-img {
  background: var(--gc-gray);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gc-blue);
}

.product-card-body {
  padding: 1.25rem;
  text-align: center;
}

.product-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.product-card-body p {
  font-size: 0.85rem;
  color: var(--gc-gray-dark);
  margin: 0.5rem 0 0;
  line-height: 1.45;
}

/* ---------- MARCAS ---------- */
.brands-strip {
  overflow: hidden;
  padding: 2rem 0;
  background: var(--gc-white);
  border-top: 1px solid var(--gc-border);
  border-bottom: 1px solid var(--gc-border);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll-brands 30s linear infinite;
  width: max-content;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-brands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gc-border);
  border-radius: 8px;
  background: var(--gc-white);
  min-width: 155px;
  height: 80px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.brand-item img {
  max-height: 54px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

/* Logos horizontais com escrita (Kingston, TP-Link, Logitech) */
.brand-item img.brand-wide {
  max-height: 50px;
  max-width: 145px;
}

.brand-item:hover {
  border-color: var(--gc-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.brand-item:hover img {
  transform: scale(1.08);
}

/* ---------- GALERIA ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery-filter-btn {
  border: 2px solid var(--gc-border);
  background: var(--gc-white);
  color: var(--gc-black);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--gc-red);
  background: var(--gc-red);
  color: var(--gc-white);
}

.gallery-card {
  height: 100%;
}

.gallery-card-btn {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  height: 100%;
}

.gallery-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--gc-gray);
}

.gallery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gc-red);
  color: var(--gc-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  z-index: 2;
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc-white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-card:hover .gallery-card-img img {
  transform: scale(1.06);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-body {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 1rem;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.gallery-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--gc-black);
}

.gallery-modal .modal-content {
  background: var(--gc-black);
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
}

.gallery-modal .modal-title {
  color: var(--gc-white);
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.gallery-modal .modal-body {
  padding: 0;
  position: relative;
}

.gallery-modal-image-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: 70vh;
}

.gallery-modal-image-wrap img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.gallery-modal-category {
  display: inline-block;
  background: var(--gc-red);
  color: var(--gc-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.gallery-modal-caption {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-size: 0.95rem;
}

.gallery-modal-nav {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.gallery-modal-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--gc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.gallery-modal-nav button:hover:not(:disabled) {
  border-color: var(--gc-red);
  background: var(--gc-red);
}

.gallery-modal-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- CLIENTES ---------- */
.client-card {
  background: var(--gc-white);
  border: 1px solid var(--gc-border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.client-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.client-card img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.client-card img.client-logo-lg {
  transform: scale(1.35);
  transform-origin: center;
}

.client-card img.client-logo-imarc {
  transform: scale(1.7);
  transform-origin: center;
}

/* ---------- CONTATO ---------- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--gc-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gc-gray-dark);
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gc-black);
  margin: 0;
}

.contact-info-item a:hover {
  color: var(--gc-red);
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  min-height: 350px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* ---------- RODAPÉ ---------- */
.footer {
  background: var(--gc-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer h5 {
  color: var(--gc-white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer ul a:hover {
  color: var(--gc-red);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gc-white);
  margin-right: 0.5rem;
  transition: background var(--transition);
}

.footer-social a:hover {
  background: var(--gc-red);
  color: var(--gc-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--gc-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  color: var(--gc-white);
}

/* ---------- ANIMAÇÕES SCROLL ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 991.98px) {
  .navbar-gc2 .nav-link.active::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 5rem 0 3rem;
    text-align: center;
  }

  .hero-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-logo {
    max-width: 240px;
  }

  .btn-gc-red,
  .btn-gc-outline {
    width: 100%;
    justify-content: center;
  }
}
