/* ============================================================
   GPOI — BASE STYLES (shared across all pages)
   ============================================================ */

:root {
  --navy:     #1B3A8A;
  --navy-dk:  #0F2460;
  --navy-lt:  #2E52A8;
  --blue:     #2563EB;
  --sky:      #38BDF8;
  --sky-lt:   #BAE6FD;
  --amber:    #F59E0B;
  --amber-lt: #FDE68A;
  --white:    #FFFFFF;
  --off:      #F8FAFF;
  --gray-100: #F1F5FB;
  --gray-200: #E2E9F5;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --green-wa: #25D366;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;

  --header-h: 76px;
  --radius:   16px;
  --radius-lg:24px;
  --shadow:   0 4px 24px rgba(27,58,138,.10);
  --shadow-lg:0 12px 48px rgba(27,58,138,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--off); }
.section--dark {
  background: linear-gradient(140deg, var(--navy-dk) 0%, var(--navy) 50%, var(--blue) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 20%, rgba(56,189,248,.18) 0%, transparent 45%);
  pointer-events: none;
}

/* ---- Section header ---- */
.section-header { text-align: center; margin-bottom: 56px; }

/* Badge — linha + texto */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  color: var(--navy);
  border: none;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.badge::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  flex-shrink: 0;
}
.badge .dot { display: none; background: var(--amber); animation: pulse-ring 2s ease-out infinite; }

.badge--dark { color: rgba(255,255,255,.75); }
.badge--dark::before { background: var(--sky); }

h2.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 800; color: var(--navy);
  line-height: 1.15; margin-bottom: 14px;
}
h2.section-title span {
  color: var(--sky);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2.section-title--white { color: var(--white); }
h2.section-title--white span { color: var(--sky); }

.section-sub {
  font-size: 1.0625rem; color: var(--gray-600);
  max-width: 600px; margin: 14px auto 0; line-height: 1.7;
}
.section-sub--white { color: rgba(255,255,255,.65); }

.title-line {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--sky));
  border-radius: 2px; margin: 14px auto 0;
}
.title-line--white { background: linear-gradient(90deg, var(--sky), #fff); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-size: .9375rem; font-weight: 600;
  border-radius: 100px; padding: 13px 28px;
  cursor: pointer; transition: all .25s cubic-bezier(.22,1,.36,1);
  border: 2px solid transparent; line-height: 1;
  white-space: nowrap; text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: 0 4px 20px rgba(37,99,235,.35); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,.5); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-sky { background: var(--sky); color: var(--navy-dk); border-color: var(--sky); }
.btn-sky:hover { background: var(--sky-lt); border-color: var(--sky-lt); }
.btn-amber { background: var(--amber); color: var(--navy-dk); border-color: var(--amber); }
.btn-amber:hover { background: #e08e00; border-color: #e08e00; transform: translateY(-1px); }
.btn-wa { background: var(--green-wa); color: var(--white); border-color: var(--green-wa); box-shadow: 0 4px 20px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1fba59; border-color: #1fba59; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.45); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-dk); }
.btn-lg { font-size: 1rem; padding: 15px 36px; }

/* ---- Header ---- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s ease;
}
#header.scrolled { box-shadow: 0 2px 20px rgba(27,58,138,.12); }
/* Fix: container must fill header height for centering to work */
#header .container { height: 100%; }
.header-inner {
  height: 100%; display: flex;
  align-items: center; justify-content: space-between; gap: 20px;
}
.header-logo img { height: 68px; width: auto; transition: filter .25s ease; }
.header-logo:hover img { filter: drop-shadow(0 0 8px rgba(37,99,235,.5)); }

/* Desktop nav */
.header-nav { display: flex; align-items: center; gap: 10px; }
.header-nav > a {
  font-size: .9375rem; font-weight: 600;
  color: var(--gray-800);
  padding: 6px 12px; border-radius: 8px;
  transition: background .18s, color .18s; white-space: nowrap;
  position: relative;
}
.header-nav > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 12px; right: 12px;
  height: 2px;
  background: var(--amber);
  width: 0;
  transition: width .25s ease;
  border-radius: 1px;
}
.header-nav > a:hover { background: var(--gray-100); color: var(--navy); }
.header-nav > a:hover::after { width: calc(100% - 24px); }

/* Active nav link */
.nav-active {
  color: var(--navy) !important;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
}
.nav-active::after { display: none !important; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: .9375rem; font-weight: 600;
  color: var(--gray-800);
  padding: 6px 12px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  transition: background .18s, color .18s; white-space: nowrap;
  font-family: var(--font-body);
}
.nav-drop-btn i { font-size: 10px; transition: transform .2s; }
.nav-drop:hover .nav-drop-btn { background: var(--gray-100); color: var(--navy); }
.nav-drop:hover .nav-drop-btn i { transform: rotate(180deg); }
.nav-drop-menu {
  display: none;
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px; padding-top: 16px; min-width: 210px; z-index: 200;
  animation: dropIn .18s ease;
}
/* Transparent bridge fills the gap so hover stays active */
.nav-drop-menu::before {
  content: '';
  position: absolute;
  top: -8px; left: 0; right: 0;
  height: 8px;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-drop:hover .nav-drop-menu { display: block; }
.nav-drop-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: .875rem; font-weight: 500;
  color: var(--gray-800); transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-drop-menu a:hover { background: var(--gray-100); color: var(--navy); border-left: 3px solid var(--amber); padding-left: 9px; }
.nav-drop-menu a i { width: 16px; text-align: center; color: var(--navy); font-size: 13px; }
.nav-drop-separator { height: 1px; background: var(--gray-200); margin: 6px 0; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-color: transparent;
}
.header-cta .btn-primary:hover {
  background: linear-gradient(135deg, var(--sky), var(--blue));
  border-color: transparent;
}

/* Hamburger */
#hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
  background: none; border: none;
}
#hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all .25s;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 8px 24px 20px;
  box-shadow: 0 8px 32px rgba(27,58,138,.12);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
#mobile-nav.open { display: block; }
.mobile-group-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-400); padding: 12px 8px 6px;
}
#mobile-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px; font-weight: 500;
  color: var(--gray-800); border-radius: 8px;
  transition: background .15s, color .15s;
  font-size: .9rem;
}
#mobile-nav a i { width: 18px; text-align: center; color: var(--navy); font-size: 13px; }
#mobile-nav a:hover { background: var(--gray-100); color: var(--navy); }
.mobile-divider { height: 1px; background: var(--gray-200); margin: 6px 0; }
.mobile-wa {
  margin-top: 12px;
  background: var(--green-wa) !important;
  color: var(--white) !important;
  border-radius: 100px !important;
  justify-content: center;
  font-weight: 600 !important;
}
.mobile-wa:hover { background: #1fba59 !important; }
.mobile-wa i { color: white !important; }

/* ---- Footer ---- */
footer {
  background: var(--navy-dk);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand img { height: 68px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.7; margin-bottom: 8px; }
.footer-brand .cnpj { color: rgba(255,255,255,.35); font-size: .75rem; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .875rem; font-weight: 700;
  color: var(--white); margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: .07em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color .18s; }
.footer-col ul li a:hover { color: var(--amber); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--amber); font-size: .875rem; margin-top: 2px; width: 16px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255,255,255,.55); font-size: .875rem; line-height: 1.5; transition: color .18s; }
.footer-contact-item a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8125rem; }

/* ---- WhatsApp float ---- */
#whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 800;
  width: 58px; height: 58px;
  background: var(--green-wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  transition: box-shadow .2s, transform .15s;
  text-decoration: none;
}
#whatsapp-float:hover { box-shadow: 0 6px 28px rgba(37,211,102,.58); transform: scale(1.06); }
#whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.25); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Stagger children inside a reveal container */
.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-group.visible > * { opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-group.visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-group.visible > *:nth-child(5) { transition-delay: .4s; }
.reveal-group.visible > *:nth-child(6) { transition-delay: .5s; }
.reveal-group.visible > *:nth-child(7) { transition-delay: .6s; }
.reveal-group.visible > *:nth-child(8) { transition-delay: .7s; }
.reveal-group.visible > *:nth-child(9) { transition-delay: .8s; }
.reveal-group.visible > *:nth-child(10){ transition-delay: .9s; }

.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0; transform: translateX(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb i { font-size: 10px; }

/* ---- Product card (shared) ---- */
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--sky));
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
  z-index: 1;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.product-card-img { height: 200px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-card-body { padding: 22px; }
.product-card-body h3 { font-family: var(--font-head); font-size: .9375rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.product-card-body p { font-size: .8125rem; color: var(--gray-600); line-height: 1.55; margin-bottom: 14px; }
.product-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--navy); transition: color .2s, gap .2s; }
.product-card-link:hover { color: var(--amber); gap: 10px; }

/* ---- Feature list ---- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--gray-600); line-height: 1.5; }
.feature-list li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); display: flex; align-items: center; justify-content: center; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ---- CTA box ---- */
.cta-box {
  background: linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 60%, var(--blue) 100%);
  border-radius: var(--radius-lg); padding: 64px 40px;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(245,158,11,.15) 0%, transparent 50%);
  pointer-events: none;
}
.cta-box h2 { font-family: var(--font-head); font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-box p { color: rgba(255,255,255,.7); font-size: 1.0625rem; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-box-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---- Section divider ---- */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--amber) 20%, var(--sky) 50%, var(--blue) 80%, transparent);
  opacity: .35;
  border: none;
}

/* ---- Scroll hint ---- */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .75rem; letter-spacing: .08em;
  text-transform: uppercase;
  animation: fadeUp .6s ease 1.2s both;
  cursor: pointer;
}
.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: 1; }
  50%       { transform: scaleY(.5) translateY(10px); opacity: .5; }
}

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .header-nav, .header-cta .btn { display: none; }
  #hamburger { display: flex; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .cta-box { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  h2.section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .btn-lg { font-size: .9rem; padding: 13px 24px; }
  .cta-box { padding: 36px 20px; }
  .cta-box-btns { flex-direction: column; align-items: center; }
}
