/* ===== GV LOG - Design tokens ===== */
:root {
  /* Cores da empresa (baseadas no logo - azuis) */
  --gv-blue-900: #0a3d6b;
  --gv-blue-700: #0d5a9e;
  --gv-blue-500: #1a7dd4;
  --gv-blue-300: #5ba8e8;
  --gv-blue-100: #c5e2f7;
  /* Cinza clarinho / quase branco */
  --gray-50: #fafbfc;
  --gray-100: #f5f6f8;
  --gray-200: #eef0f3;
  --gray-300: #e2e5ea;
  --gray-400: #c8cdd4;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --white: #ffffff;
  /* Uso semÃ¢ntico */
  --bg-page: var(--gray-50);
  --bg-card: var(--white);
  --bg-hero: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 50%, var(--gv-blue-100) 100%);
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --accent: var(--gv-blue-700);
  --accent-hover: var(--gv-blue-900);
  --border: var(--gray-200);
  --shadow-sm: 0 1px 2px rgba(10, 61, 107, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 61, 107, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 61, 107, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--gv-blue-100);
  color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--accent);
  background: var(--gray-200);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-hero);
  background-image: url('imagens/wsm.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 251, 252, 0.92) 0%, rgba(245, 246, 248, 0.88) 50%, rgba(197, 226, 247, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, var(--gv-blue-100) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.hero-content {
  max-width: 540px;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-400);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* ===== Section common ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== ServiÃ§os ===== */
.servicos {
  padding: 100px 0;
  background: var(--white);
}

/* ===== Fita institucional ===== */
.brand-ticker {
  background: var(--gv-blue-900);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-move 18s linear infinite;
}

.brand-ticker-group {
  display: flex;
  gap: 42px;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-ticker-group span::after {
  content: " • ";
  margin-left: 42px;
  color: var(--gv-blue-300);
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.servico-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.servico-card:hover {
  border-color: var(--gv-blue-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.servico-card-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-200);
}

.servico-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.servico-card:hover .servico-card-img-wrap img {
  transform: scale(1.05);
}

.servico-card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.servico-card-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.servico-card-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.servico-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

.servico-link:hover {
  color: var(--accent-hover);
  transform: translateX(4px);
}

/* ===== Diferenciais / CertificaÃ§Ãµes ===== */
.diferenciais {
  padding: 80px 0;
  background: var(--gray-100);
}

.certificacoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.cert-item {
  background: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-item img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(0.2);
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gv-blue-900) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-email {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.cta-email a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: opacity var(--transition);
}

.cta-email a:hover {
  opacity: 0.9;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

.cta-box .btn-primary:hover {
  background: var(--gray-100);
  color: var(--accent-hover);
  border-color: var(--gray-100);
}

.cta-box .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ===== WMS ===== */
.wms-section {
  padding: 90px 0;
  background: var(--white);
}

.wms-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.wms-text {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 14px;
  max-width: 680px;
}

.wms-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.wms-visual img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

/* ===== Mapa / LocalizaÃ§Ã£o ===== */
.map-section {
  padding: 80px 0;
  background: var(--gray-100);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--gray-200);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.map-link-wrap {
  text-align: center;
  margin-top: 16px;
}

.map-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.map-link:hover {
  color: var(--accent-hover);
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-200);
  padding: 48px 0 24px;
  overflow-x: hidden;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  min-width: 0;
  width: 100%;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
  min-width: 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== Responsivo ===== */
@media (max-width: 992px) {
  .hero-content {
    max-width: 100%;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .wms-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .header {
    backdrop-filter: none;
    background: rgba(250, 251, 252, 0.98);
  }

  .hero {
    min-height: auto;
    padding: 108px 0 56px;
  }

  .hero-scroll {
    display: none;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .cta-actions {
    justify-content: center;
  }

  .brand-ticker-track {
    width: 100%;
    animation: none;
  }

  .brand-ticker-group {
    gap: 20px;
  }

  .brand-ticker-group[aria-hidden="true"] {
    display: none;
  }

  .brand-ticker-group span::after {
    margin-left: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    justify-items: center;
    gap: 12px 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .footer-links a {
    white-space: normal;
    padding: 10px 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* AnimaÃ§Ãµes de entrada (scroll) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}




/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.whatsapp-float svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }
}
