/* === RNG TECNOLOGIA — SHARED STYLE.CSS === */
/* Usado por todas as páginas internas do site.              */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100vw; width: 100%; }
body { font-family: 'Inter', sans-serif; background: #ffffff; color: #0f172a; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
  --blue-primary: #0081c9;
  --blue-bright: #004b7a;
  --cyan: #009FE3;
  --cyan-dim: #0072bc;
  --white: #0f172a;
  --gray-100: #1e293b;
  --gray-200: #334155;
  --gray-400: #334155;
  --gray-600: #475569;
  --glow: 0 10px 25px rgba(0,0,0,0.05);
  --glow-strong: 0 15px 35px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--blue-primary), var(--cyan)); border-radius: 3px; }

/* === UTILITIES === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gradient-text { background: linear-gradient(135deg, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-tag { display: inline-block; background: rgba(0,129,201,0.1); border: 1px solid rgba(0,129,201,0.3); color: var(--cyan); padding: .3rem 1rem; border-radius: 50px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { color: var(--gray-600); font-size: 1.1rem; max-width: 700px; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.15); opacity: 0; transition: var(--transition); }
.btn:hover::before { opacity: 1; }
.btn-primary { background: linear-gradient(135deg, var(--blue-primary), var(--cyan)); color: #ffffff; box-shadow: 0 4px 20px rgba(0,170,255,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,170,255,.5); }
.btn-outline { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); }
.btn-outline:hover { background: var(--cyan); color: #000; transform: translateY(-2px); }
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); color: #ffffff; box-shadow: 0 4px 20px rgba(37,211,102,.3); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.5); }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* === HEADER === */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: var(--transition); }
header.scrolled { background: rgba(5,10,20,.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,229,255,.1); box-shadow: 0 4px 30px rgba(0,0,0,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo-img { height: 52px; width: auto; object-fit: contain; display: block; filter: drop-shadow(0 0 8px rgba(0,229,255,0.35)); transition: filter 0.3s ease; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { color: var(--gray-600); font-weight: 500; font-size: .95rem; position: relative; padding: .3rem 0; transition: var(--transition); }
nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--cyan); transition: var(--transition); }
nav a:hover { color: var(--cyan); }
nav a:hover::after { width: 100%; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-200); transition: var(--transition); border-radius: 2px; }
.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 { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.5rem; font-weight: 700; color: var(--gray-600); transition: var(--transition); }
.mobile-nav a:hover { color: var(--cyan); }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; cursor: pointer; color: var(--gray-600); }

/* === PAGE HERO (para paginas internas) === */
.page-hero {
  padding: 9rem 0 5rem;
  background: #f8fafc;
  background-image: radial-gradient(at 15% 50%, rgba(0,166,255,0.08) 0px, transparent 50%),
    radial-gradient(at 85% 30%, rgba(0,129,201,0.08) 0px, transparent 50%);
  border-bottom: 1px solid #e2e8f0;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.page-hero h2 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-weight: 400; color: var(--gray-600); margin-bottom: 2rem; max-width: 700px; }
.hero-badge-inner { display: inline-flex; align-items: center; gap: .5rem; background: rgba(0,229,255,.08); border: 1px solid rgba(0,229,255,.2); color: var(--cyan); padding: .4rem 1rem; border-radius: 50px; font-size: .8rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-badge-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; }

/* === CONTENT SECTIONS === */
.section-page { padding: 5rem 0; }
.section-page.gray { background: #f4f7fb; }
.section-page.dark { background: linear-gradient(135deg, #0f172a, #1e293b); color: white; }

/* === SERVICE LIST === */
.service-list-inner { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2rem; }
.service-list-inner li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.2rem; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); transition: var(--transition); }
.service-list-inner li:hover { border-color: rgba(0,159,227,0.3); box-shadow: 0 4px 15px rgba(0,129,201,0.07); }
.service-list-inner li svg { min-width: 20px; margin-top: 2px; stroke: var(--cyan); }
.service-list-inner li div { color: var(--gray-600); font-size: 0.97rem; }
.service-list-inner li strong { color: #0f172a; }

/* === BENEFIT CARDS === */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.benefit-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--glow); transition: var(--transition); }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--glow-strong); border-color: rgba(0,159,227,0.3); }
.benefit-icon { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
.benefit-card p { color: var(--gray-600); font-size: 0.92rem; }

/* === CTA BOX === */
.cta-box { background: linear-gradient(135deg, var(--blue-primary), var(--cyan)); border-radius: var(--radius-lg); padding: 3.5rem 2rem; text-align: center; color: white; margin-top: 3rem; }
.cta-box h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; }
.cta-box p { font-size: 1.05rem; margin-bottom: 2rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-box .btn-whatsapp { font-size: 1.05rem; padding: 1rem 2.5rem; }

/* === SEO / BRANDS LIST === */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin-top: 2rem; }
.brand-tag { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: .9rem 1.2rem; text-align: center; font-weight: 600; font-size: 0.95rem; color: var(--gray-200); transition: var(--transition); }
.brand-tag:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,159,227,0.05); }

/* === BAIRROS LIST === */
.bairro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.bairro-tag { display: flex; align-items: center; gap: .5rem; background: rgba(0,129,201,0.06); border: 1px solid rgba(0,129,201,0.2); border-radius: 50px; padding: .5rem 1rem; font-size: .9rem; font-weight: 500; color: var(--blue-bright); }

/* === BLOG CARDS === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; }
.blog-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); box-shadow: var(--glow); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--glow-strong); border-color: rgba(0,159,227,0.3); }
.blog-card-tag { display: inline-block; background: rgba(0,129,201,0.1); color: var(--cyan); font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 50px; margin-bottom: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.blog-card-content { padding: 1.8rem; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; line-height: 1.4; margin-bottom: .6rem; }
.blog-card p { color: var(--gray-600); font-size: .9rem; line-height: 1.6; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; padding: 1.2rem 1.5rem; text-align: left; font-size: 1rem; font-weight: 600; color: #0f172a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.faq-question:hover { color: var(--cyan); }
.faq-answer { display: none; padding: 0 1.5rem 1.2rem; color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--cyan); }

/* === FOOTER === */
footer { background: #02060a; color: #e2e8f0; border-top: 1px solid rgba(0,166,255,0.2); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; padding-bottom: 3rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p { color: #94a3b8; font-size: .85rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.2rem; font-size: 1rem; }
.footer-col p, .footer-col li { color: #94a3b8; font-size: .9rem; margin-bottom: .5rem; }
.footer-col a:hover { color: var(--cyan); }

/* === WHATSAPP FLOAT === */
#whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; background: linear-gradient(135deg,#25D366,#128C7E); color:#fff; width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,.4); transition: var(--transition); }
#whatsapp-float svg { width:30px; height:30px; }
#whatsapp-float:hover { transform: scale(1.1); box-shadow:0 6px 30px rgba(37,211,102,.6); }

/* === PC NOWRAP UTILITY === */
@media (min-width: 769px) {
  .pc-nowrap { white-space: nowrap; }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
      .hero-title {
        font-size: clamp(1.4rem, 5vw, 2.5rem);
        line-height: 1.2;
        max-width: 90vw;
      }
      .hero-sub {
        font-size: 0.95rem;
        max-width: 90vw;
      }
      .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
      }
  nav { display: none; }
  .header-right { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 7.5rem 0 3.5rem; }
  .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section-page { padding: 3.5rem 0; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
}
