/* RenCod Representatives — style.css */

:root {
  --blue: #0099F0;
  --blue-dark: #0B7DC4;
  --navy: #0F172B;
  --navy-soft: #16233D;
  --green: #16A34A;
  --green-dark: #128A3E;
  --gray-bg: #F4F6F9;
  --gray-border: #E4E9F0;
  --text: #1F2937;
  --text-light: #667085;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--navy);
}

p { margin: 0 0 1em; color: var(--text-light); }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Topbar */
.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; }
.topbar strong { font-weight: 600; }
.topbar span { opacity: .9; margin-left: 6px; }

/* Header / nav */
header.site-header {
  border-bottom: 1px solid var(--gray-border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 44px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--blue); }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--green); color: #fff; width: 100%; }
.btn-green:hover { background: var(--green-dark); }
.btn-light {
  background: var(--gray-bg);
  color: var(--text);
  width: 100%;
  border: 1px solid var(--gray-border);
}
.btn-light:hover { background: #e9edf3; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(rgba(10,20,40,.72), rgba(10,20,40,.8)), url('images/hero_bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 90px 0;
}
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; font-size: 44px; margin-bottom: 20px; }
.hero p.lead { color: #dce6f2; font-size: 17px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--gray-bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

/* Card grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
}
.value-card {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  padding: 30px 26px;
  text-align: left;
}
.value-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #E7F4FF;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 18px; font-family: 'Inter', sans-serif; font-weight: 700; }
.value-card p { margin: 0; font-size: 14.5px; }

/* Manufacturer / catalog cards */
.mfg-card { display: flex; flex-direction: column; height: 100%; }
.mfg-card img { height: 190px; object-fit: cover; width: 100%; }
.mfg-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.mfg-tag {
  display: inline-block;
  background: #E7F4FF;
  color: var(--blue-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  position: relative;
  top: -14px;
}
.mfg-card h3 { font-size: 19px; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.mfg-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .04em;
  margin-bottom: 10px;
  display: block;
}
.mfg-card p { font-size: 14px; flex-grow: 1; }
.mfg-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 14px; }
.mfg-actions a.btn-cat {
  display: inline-block;
  text-align: center;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
}

/* Logo cards (parceiros) */
.logo-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; overflow: hidden; }
.logo-card .logo-box {
  background: var(--gray-bg);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  height: 140px;
}
.logo-card .logo-box img { max-height: 84px; width: auto; }
.logo-card .body { padding: 20px; }
.logo-card h3 { font-size: 17px; font-family: 'Inter', sans-serif; margin-bottom: 3px; }
.logo-card .sector {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: .03em;
  margin-bottom: 10px;
  display: block;
}
.logo-card p { font-size: 14px; margin-bottom: 6px; }

/* Team */
.team-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; overflow: hidden; }
.team-banner {
  height: 90px;
  background: linear-gradient(120deg, #1B3A5C, #0F172B);
}
.team-photo {
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  margin: -46px auto 0;
  display: block;
}
.team-card .body { padding: 8px 24px 26px; text-align: center; }
.team-card h3 { font-size: 19px; margin-bottom: 2px; font-family: 'Inter', sans-serif; }
.team-role { color: var(--blue); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.team-exp { text-align: left; border-top: 1px solid var(--gray-border); padding-top: 16px; margin-top: 6px; }
.team-exp-label { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; color: var(--text-light); text-transform: uppercase; margin-bottom: 10px; }
.team-exp-item { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; font-size: 13.5px; color: var(--text); }
.team-exp-tag {
  flex-shrink: 0;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--navy);
}

/* Stats */
.stat-box {
  background: var(--gray-bg);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--blue); font-weight: 700; }
.stat-label { font-size: 12px; color: var(--text-light); font-weight: 600; letter-spacing: .03em; }

/* Contact section */
.contact-cta {
  background: linear-gradient(rgba(10,20,40,.86), rgba(10,20,40,.9)), url('images/hero_bg.jpg') center/cover no-repeat;
  color: #fff;
}
.contact-cta h2 { color: #fff; }
.contact-cta .lead { color: #cfdcec; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-person {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.contact-person .dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-person strong { display: block; color: #fff; font-size: 15px; }
.contact-person span { display: block; font-size: 13px; color: #b9c8dc; }

.form-box {
  background: rgba(15,23,43,.55);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 28px;
}
.form-box h3 { color: #fff; font-family: 'Inter', sans-serif; margin-bottom: 18px; }
.form-box input, .form-box textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.form-box input::placeholder, .form-box textarea::placeholder { color: #b9c8dc; }
.form-box textarea { min-height: 110px; resize: vertical; }
.form-box button { background: var(--blue); color: #fff; border: none; padding: 13px; border-radius: 6px; font-weight: 700; width: 100%; cursor: pointer; font-size: 15px; }
.form-box button:hover { background: var(--blue-dark); }
[data-fs-success] { display: none; background: #16A34A22; border: 1px solid #16A34A; color: #B9F0CC; padding: 12px 14px; border-radius: 6px; margin-bottom: 14px; font-size: 14px; }

/* Blog */
.blog-card { background: #fff; border: 1px solid var(--gray-border); border-radius: 10px; padding: 26px; }
.blog-cover { margin: -26px -26px 20px -26px; border-radius: 10px 10px 0 0; overflow: hidden; }
.blog-cover img { width: 100%; height: 260px; object-fit: cover; display: block; }

/* Blog grid layout with read-more modal */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-preview {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 10px;
  overflow: hidden;
}
.blog-preview .blog-cover { margin: 0; border-radius: 0; }
.blog-preview .blog-cover img { height: 170px; }
.blog-preview .blog-meta,
.blog-preview h3,
.blog-preview p,
.blog-preview .btn-readmore { padding-left: 22px; padding-right: 22px; }
.blog-preview .blog-meta { margin-top: 20px; }
.blog-preview h3 { font-size: 17px; margin: 8px 0; font-family: 'Inter', sans-serif; line-height: 1.35; }
.blog-preview p { font-size: 14px; color: var(--text-light); flex-grow: 1; margin-bottom: 16px; }
.btn-readmore {
  align-self: flex-start;
  margin: 0 22px 22px;
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
}
.btn-readmore:hover { text-decoration: underline; }

.article-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,.7);
  z-index: 200;
  padding: 40px 16px;
  overflow-y: auto;
}
.article-overlay.open { display: block; }
.article-modal {
  position: relative;
  background: #fff;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 40px;
}
.article-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gray-bg, #f2f4f7);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
#artigo-conteudo h2 { font-size: 26px; margin: 10px 0 16px; font-family: 'Playfair Display', serif; }
#artigo-conteudo h4 { margin: 20px 0 8px; font-family: 'Inter', sans-serif; font-size: 16px; }
#artigo-conteudo p { margin-bottom: 12px; line-height: 1.6; }
#artigo-conteudo ul { margin: 0 0 14px 20px; padding: 0; color: var(--text-light); font-size: 15px; line-height: 1.7; }
#artigo-conteudo .article-cta { margin-top: 18px; }
#artigo-conteudo .article-contact { font-size: 14px; color: var(--text-light); }
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-modal { padding: 28px 20px; }
}
.blog-meta { font-size: 12.5px; color: var(--text-light); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.blog-cat { color: var(--blue); font-weight: 700; }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.blog-filter { display: flex; gap: 10px; margin-bottom: 34px; }
.filter-pill {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--gray-border);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.filter-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Catalog list */
.catalog-block { border-left: 3px solid var(--blue); padding-left: 20px; margin-bottom: 40px; }
.catalog-items-simple { display: flex; flex-direction: column; gap: 10px; }
.catalog-item-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 14px 18px;
}
.catalog-item-simple .name { font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif; }
.catalog-item-simple .dl {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.catalog-banner { margin: 0 0 16px -20px; width: calc(100% + 20px); border-radius: 8px; overflow: hidden; }
.catalog-banner img { width: 100%; height: 200px; object-fit: cover; display: block; }
.catalog-block h3 { font-family: 'Inter', sans-serif; font-size: 22px; margin-bottom: 6px; }
.catalog-tags { margin-bottom: 18px; }
.catalog-tags span {
  display: inline-block;
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-right: 8px;
  color: var(--text);
}
.catalog-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.catalog-item {
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  gap: 14px;
}
.catalog-item .ic {
  width: 38px; height: 38px;
  background: #E7F4FF;
  color: var(--blue);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.catalog-item h4 { margin: 0 0 3px; font-size: 15px; font-family: 'Inter', sans-serif; }
.catalog-item .type { font-size: 11.5px; color: var(--text-light); margin-bottom: 8px; display: block; }
.catalog-item p { font-size: 13px; margin-bottom: 10px; }
.catalog-item .actions { display: flex; gap: 8px; }
.catalog-item .actions a {
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 5px;
  border: 1px solid var(--gray-border);
  color: var(--text);
}
.catalog-item .actions a.dl { background: var(--blue); color: #fff; border-color: var(--blue); }
.catalog-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
}
.catalog-hero h1 { color: #fff; }
.catalog-hero p { color: #b9c8dc; max-width: 560px; }

.not-found {
  text-align: center;
  padding: 50px 24px;
  background: var(--gray-bg);
  border-radius: 10px;
}
.not-found .icon {
  width: 52px; height: 52px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 22px;
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #b9c8dc;
  padding: 50px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
.footer-grid img { height: 40px; margin-bottom: 14px; }
.footer-grid h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; margin-bottom: 14px; }
.footer-grid a { display: block; color: #b9c8dc; font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social svg { flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #7e8ba1;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 200;
  font-size: 26px;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .grid-2, .contact-grid, .footer-grid, .catalog-items { grid-template-columns: 1fr; }
  nav.main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-border);
  }
  nav.main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-actions { display: none; }
  .hero h1 { font-size: 32px; }
  .topbar .container { font-size: 12px; }
}
