/* =============================================
   THR TECNOLOGIA — Solution Pages Shared CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --blue-tech:    #086F9D;
  --blue-dark:    #054E70;
  --blue-light:   #0A8EC4;
  --blue-deep:    #033C56;
  --gray-graphite:#606062;
  --gray-light:   #F4F4F5;
  --white:        #FFFFFF;
  --black:        #0D0D0D;
  --font-title:   'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --shadow-sm:    0 2px 8px rgba(8,111,157,.12);
  --shadow-md:    0 8px 32px rgba(8,111,157,.18);
  --shadow-lg:    0 20px 60px rgba(5,78,112,.25);
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
  --radius:       12px;
  --radius-lg:    20px;
  --nav-h:        80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font-body); color: var(--black); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: var(--white);
  border-bottom: 1px solid rgba(8,111,157,.1);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: var(--transition);
}
#navbar.scrolled { height: 80px; background: rgba(255,255,255,.97); box-shadow: 0 4px 24px rgba(0,0,0,.1); backdrop-filter: blur(10px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo img { height: 70px; width: auto; transition: var(--transition); }
/* #navbar.scrolled .nav-logo img { height: 50px; } */
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { font-family: var(--font-title); font-size: .85rem; font-weight: 600; color: var(--blue-dark); letter-spacing: .04em; transition: var(--transition); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-tech); transition: width .3s ease; }
.nav-link:hover { color: var(--blue-tech); }
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-title); font-weight: 700; font-size: .9rem; padding: 14px 28px; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--blue-tech); color: var(--white); border-color: var(--blue-tech); box-shadow: 0 4px 20px rgba(8,111,157,.35); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(8,111,157,.45); }
.btn-outline { background: transparent; color: var(--blue-tech); border-color: var(--blue-tech); }
.btn-outline:hover { background: var(--blue-tech); color: var(--white); transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── SOLUTION HERO ── */
.sol-hero {
  padding-top: var(--nav-h);
  min-height: 420px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue-tech) 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.sol-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,142,196,.2) 0%, transparent 70%);
}
.sol-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--blue-tech), var(--blue-light), var(--blue-tech));
}
.sol-hero-inner { position: relative; z-index: 1; padding: 80px 0; }
.sol-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 24px; font-family: var(--font-title); font-weight: 600; letter-spacing: .04em; }
.sol-breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.sol-breadcrumb a:hover { color: var(--white); }
.sol-breadcrumb span { color: rgba(255,255,255,.35); }
.sol-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.9); font-family: var(--font-title); font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: 7px 16px; border-radius: 50px; margin-bottom: 20px; }
.sol-hero h1 { font-family: var(--font-title); font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); line-height: 1.15; margin-bottom: 20px; letter-spacing: -.02em; }
.sol-hero h1 em { font-style: normal; color: var(--blue-light); }
.sol-hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 680px; line-height: 1.7; margin-bottom: 36px; }
.sol-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: 50px; font-family: var(--font-title); font-weight: 700; font-size: .9rem; padding: 14px 28px; transition: var(--transition); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.btn-hero-secondary:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }

/* ── BADGES ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,111,157,.08);
  border: 1px solid rgba(8,111,157,.2);
  color: var(--blue-tech);
  font-family: var(--font-title);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-badge span {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74,222,128,0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* ── SECTION TAG ── */
.section-tag { display: none; } /* Deprecated in favor of hero-badge */
.section-title { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; color: var(--blue-dark); margin-bottom: 16px; }
.section-title span { color: var(--blue-tech); }
.section-subtitle { font-size: 1rem; color: var(--gray-graphite); max-width: 660px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── O QUE É ── */
.what-is { padding: 80px 0; background: var(--white); }
.what-is-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center; margin-top: 48px; }
.what-is-text p { font-size: 1rem; color: var(--gray-graphite); line-height: 1.8; margin-bottom: 20px; }
.what-is-text p:last-child { margin-bottom: 0; }
.what-is-visual { position: relative; }
.what-is-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.stat-card { background: var(--gray-light); border-radius: var(--radius); padding: 20px; border-left: 4px solid var(--blue-tech); }
.stat-num { font-family: var(--font-title); font-weight: 900; font-size: 1.6rem; color: var(--blue-tech); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: .8rem; color: var(--gray-graphite); font-weight: 500; }

/* ── FEATURES SECTION ── */
.features { padding: 80px 0; background: var(--gray-light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; transition: var(--transition); border: 2px solid transparent; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue-tech), var(--blue-light)); transform: scaleX(0); transition: transform .35s ease; }
.feature-card:hover { border-color: rgba(8,111,157,.15); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { width: 54px; height: 54px; background: linear-gradient(135deg, rgba(8,111,157,.1), rgba(10,142,196,.15)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; transition: var(--transition); }
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--blue-tech), var(--blue-light)); }
.feature-card h3 { font-family: var(--font-title); font-weight: 700; font-size: 1rem; color: var(--blue-dark); margin-bottom: 10px; }
.feature-card p { font-size: .875rem; color: var(--gray-graphite); line-height: 1.65; }

/* ── BENEFITS / CHECKLIST ── */
.benefits { padding: 80px 0; background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.benefit-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: var(--gray-light); border-radius: var(--radius); transition: var(--transition); }
.benefit-item:hover { background: var(--white); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.benefit-check { width: 28px; height: 28px; background: linear-gradient(135deg, var(--blue-tech), var(--blue-light)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .85rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.benefit-text { font-size: .9rem; color: var(--gray-graphite); line-height: 1.55; }

/* ── USE CASES ── */
.use-cases { padding: 80px 0; background: var(--blue-deep); }
.use-cases .section-title { color: var(--white); }
.use-cases .section-subtitle { color: rgba(255,255,255,.65); }
.use-cases .section-tag { color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.case-pill { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 20px 22px; display: flex; align-items: center; gap: 14px; transition: var(--transition); }
.case-pill:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.25); transform: translateY(-3px); }
.case-pill-icon { width: 38px; height: 38px; background: rgba(10,142,196,.3); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.case-pill-text { font-family: var(--font-title); font-weight: 600; font-size: .875rem; color: rgba(255,255,255,.85); }

/* ── LEGAL / INFO BOX ── */
.info-box { padding: 80px 0; background: var(--gray-light); }
.info-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); border-left: 6px solid var(--blue-tech); max-width: 860px; margin: 0 auto; }
.info-card h2 { font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 16px; }
.info-card p { font-size: .95rem; color: var(--gray-graphite); line-height: 1.8; margin-bottom: 14px; }
.info-card p:last-child { margin-bottom: 0; }

/* ── CTA SECTION ── */
.cta-section { padding: 80px 0; background: var(--white); }
.cta-box { background: linear-gradient(135deg, var(--blue-dark), var(--blue-tech)); border-radius: var(--radius-lg); padding: 60px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-box h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--white); line-height: 1.25; margin-bottom: 8px; }
.cta-box p { font-size: .95rem; color: rgba(255,255,255,.75); max-width: 480px; }
.cta-box-actions { display: flex; gap: 14px; flex-shrink: 0; flex-direction: column; align-items: flex-start; }
.btn-cta-white { background: var(--white); color: var(--blue-dark); border-radius: 50px; font-family: var(--font-title); font-weight: 700; font-size: .9rem; padding: 14px 28px; transition: var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--white); }
.btn-cta-white:hover { background: var(--gray-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-cta-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); border-radius: 50px; font-family: var(--font-title); font-weight: 700; font-size: .9rem; padding: 14px 28px; transition: var(--transition); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* ── OTHER SOLUTIONS ── */
.other-solutions { padding: 80px 0; background: var(--gray-light); }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.other-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; transition: var(--transition); border: 2px solid transparent; text-decoration: none; }
.other-card:hover { border-color: var(--blue-tech); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.other-icon { font-size: 1.75rem; }
.other-card h3 { font-family: var(--font-title); font-weight: 700; font-size: .95rem; color: var(--blue-dark); }
.other-card p { font-size: .82rem; color: var(--gray-graphite); line-height: 1.55; flex: 1; }
.other-link { font-family: var(--font-title); font-size: .78rem; font-weight: 700; color: var(--blue-tech); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; transition: var(--transition); }
.other-card:hover .other-link { color: var(--blue-dark); }

/* ── FOOTER ── */
footer { background: var(--black); padding: 40px 0; }
.footer-bottom-sol { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-sol p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom-sol a { color: rgba(255,255,255,.35); transition: var(--transition); font-size: .8rem; }
.footer-bottom-sol a:hover { color: var(--blue-light); }
.footer-logo img { height: 70px; filter: brightness(1.1); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float { position: fixed; bottom: 32px; right: 32px; z-index: 999; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition); font-size: 1.5rem; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,.55); }
.whatsapp-float::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #25D366; animation: wa-ripple 2.5s ease infinite; z-index: -1; }
@keyframes wa-ripple { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.fade-right.visible { opacity: 1; transform: translateX(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --nav-h: 80px; }
  html { scroll-padding-top: var(--nav-h); }
  .nav-menu { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 0 24px; transform: translateY(-120%); opacity: 0; transition: transform .35s ease, opacity .35s ease; box-shadow: 0 20px 40px rgba(0,0,0,.12); border-top: 1px solid rgba(8,111,157,.1); }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 14px 28px; width: 100%; border-bottom: 1px solid rgba(8,111,157,.06); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px 28px 0; }
  .hamburger { display: flex; }
  .what-is-grid { grid-template-columns: 1fr; gap: 40px; }
  .what-is-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-box-actions { align-items: center; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .sol-hero-ctas { flex-direction: column; }
  .nav-logo img { height: 70px; }
  /* #navbar.scrolled .nav-logo img { height: 44px; } */
}
@media (max-width: 480px) { .container { padding: 0 18px; } .other-grid { grid-template-columns: 1fr; } }
