/* ====================================================
   Roletes Brasil – Estilos Principais
   Bootstrap 5 · Paleta Verde Industrial
   ==================================================== */

:root {
  --primary:        #1fad5a;
  --primary-dark:   #0f6b35;
  --primary-light:  #e8f8ef;
  --secondary:      #1b3a5c;
  --secondary-light:#e8eef5;
  --dark:           #111827;
  --light:          #f5f7fa;
  --text:           #4b5563;
  --border:         #e5e7eb;
  --white:          #ffffff;
}

/* ─── Base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a { text-decoration: none; transition: all .3s; }
img { max-width: 100%; }

/* ─── Spinner ───────────────────────────────────────── */
#spinner {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#spinner.hide { opacity: 0; visibility: hidden; }

/* ─── Topbar ────────────────────────────────────────── */
.topbar {
  background: var(--secondary);
  padding: 8px 0;
  font-size: .83rem;
  color: rgba(255,255,255,.8);
}
.topbar a { color: rgba(255,255,255,.8); margin-left: 18px; }
.topbar a:hover { color: var(--primary); }
.topbar i { margin-right: 5px; color: var(--primary); }

/* ─── Navbar ────────────────────────────────────────── */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 18px rgba(0,0,0,.09);
  padding: 14px 0;
}
.navbar-brand {
  font-family: 'Barlow', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--secondary) !important;
}
.navbar-brand span { color: var(--primary); }

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  padding: 8px 15px !important;
  font-size: .93rem;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 15px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: calc(100% - 30px); }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #000 !important; }

/* Dropdown arrow: esconde a seta padrão no item com filhos */
.navbar-nav .dropdown-toggle::after { display: none; }
.navbar-nav .dropdown-toggle .dd-arrow {
  font-size: .7rem;
  margin-left: 4px;
  transition: transform .25s;
}
.navbar-nav .dropdown.show .dd-arrow { transform: rotate(180deg); }

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 200px;
  border-top: 3px solid var(--primary);
  margin-top: 4px !important;
}
.dropdown-item {
  font-size: .9rem;
  font-weight: 500;
  padding: 9px 20px;
  color: var(--dark);
}
.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 26px;
}
.dropdown-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.btn-orcamento {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 9px 22px !important;
  font-weight: 700;
  border: 2px solid var(--primary);
  font-size: .88rem;
}
.btn-orcamento:hover {
  background: transparent;
  color: var(--primary) !important;
}
.btn-orcamento::after { display: none !important; }

/* ─── Hero Carousel ─────────────────────────────────── */
.hero-carousel .carousel-item {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-carousel .carousel-item::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,rgba(17,24,39,.88) 0%,rgba(17,24,39,.42) 100%);
}
.hero-carousel .carousel-caption {
  position: absolute;
  top: 50%; left: 8%;
  transform: translateY(-50%);
  text-align: left; right: auto; bottom: auto;
  max-width: 600px;
}
.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 700; font-size: .78rem;
  padding: 5px 16px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.hero-carousel h1 {
  color: var(--white); font-size: 2.8rem; line-height: 1.2; margin-bottom: 16px;
}
.hero-carousel p {
  color: rgba(255,255,255,.85); font-size: .98rem;
  margin-bottom: 26px; max-width: 480px;
}

.btn-hero-primary {
  background: var(--primary); color: var(--white);
  border-radius: 6px; padding: 13px 30px;
  font-weight: 700; border: 2px solid var(--primary);
  display: inline-block; transition: all .3s; font-size: .93rem;
}
.btn-hero-primary:hover { background: transparent; color: var(--white); border-color: var(--white); }

.btn-hero-outline {
  background: transparent; color: var(--white);
  border-radius: 6px; padding: 13px 30px;
  font-weight: 700; border: 2px solid rgba(255,255,255,.6);
  display: inline-block; transition: all .3s; margin-left: 12px; font-size: .93rem;
}
.btn-hero-outline:hover { background: var(--white); color: var(--secondary); }

.carousel-control-prev, .carousel-control-next {
  width: 44px; height: 44px;
  background: var(--primary); border-radius: 6px;
  top: 50%; transform: translateY(-50%);
  opacity: 1;
}
.carousel-indicators [data-bs-target] {
  width: 28px; height: 3px; border-radius: 2px;
  background: var(--primary); opacity: .4;
}
.carousel-indicators .active { opacity: 1; }

/* ─── Section Headers ───────────────────────────────── */
.section-tag {
  display: inline-block;
  color: var(--primary); font-weight: 700; font-size: .83rem;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 10px; position: relative; padding-left: 38px;
}
.section-tag::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 28px; height: 2px; background: var(--primary);
}
.section-title { font-size: 2.1rem; color: var(--dark); line-height: 1.3; margin-bottom: 14px; }

/* ─── Buttons ───────────────────────────────────────── */
.btn-more {
  background: var(--primary); color: var(--white);
  border-radius: 6px; padding: 12px 28px; font-weight: 700;
  border: 2px solid var(--primary); display: inline-block; transition: all .3s; font-size: .92rem;
}
.btn-more:hover { background: transparent; color: var(--primary); }

.btn-more-outline {
  background: transparent; color: var(--primary);
  border-radius: 6px; padding: 12px 28px; font-weight: 700;
  border: 2px solid var(--primary); display: inline-block; transition: all .3s; font-size: .92rem;
}
.btn-more-outline:hover { background: var(--primary); color: var(--white); }

.btn-whatsapp {
  background: #25D366; color: var(--white);
  border-radius: 6px; padding: 13px 28px; font-weight: 700;
  border: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s; font-size: .93rem; width: 100%; justify-content: center;
}
.btn-whatsapp:hover { background: #1da851; color: var(--white); transform: translateY(-2px); }

.btn-submit {
  background: var(--primary); color: var(--white);
  border: none; border-radius: 6px; padding: 13px 32px;
  font-weight: 700; font-size: .93rem; width: 100%; transition: all .3s;
}
.btn-submit:hover { background: var(--primary-dark); }

/* ─── Services / Product Cards ───────────────────────── */
.services-section { padding: 80px 0; background: var(--light); }

.service-card {
  background: var(--white); border-radius: 10px;
  overflow: hidden; box-shadow: 0 3px 18px rgba(0,0,0,.07);
  transition: all .3s; height: 100%;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(31,173,90,.18);
}
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-card .card-body { padding: 18px 20px; }
.service-card h5 { font-size: 1.02rem; color: var(--dark); margin-bottom: 8px; }
.service-card p { font-size: .87rem; color: var(--text); margin-bottom: 12px; line-height: 1.6; }
.service-card .read-more { color: var(--primary); font-weight: 700; font-size: .87rem; }
.service-card .read-more i { margin-left: 4px; transition: transform .2s; }
.service-card:hover .read-more i { transform: translateX(4px); }

/* ─── Product Grid Page ───────────────────────────────── */
.produtos-page { padding: 60px 0; background: var(--white); }

/* Sidebar de categorias */
.sidebar-cats {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 18px rgba(0,0,0,.07);
  overflow: hidden;
}
.sidebar-cats .cat-header {
  background: var(--secondary);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700; font-size: 1rem;
  padding: 14px 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.sidebar-cats .cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cats .cat-list li { border-bottom: 1px solid var(--border); }
.sidebar-cats .cat-list li:last-child { border-bottom: none; }
.sidebar-cats .cat-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 20px; color: var(--dark); font-size: .92rem; font-weight: 500;
}
.sidebar-cats .cat-list a:hover,
.sidebar-cats .cat-list a.active {
  color: var(--primary); background: var(--primary-light);
  padding-left: 26px;
}
.sidebar-cats .cat-list a .badge {
  background: var(--primary-light); color: var(--primary);
  font-size: .75rem; font-weight: 700; border-radius: 20px; padding: 2px 8px;
}
.sidebar-cats .cat-list a.active .badge {
  background: var(--primary); color: var(--white);
}

/* Card de produto no grid */
.product-card {
  background: var(--white); border-radius: 10px;
  overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,.07);
  transition: all .3s; height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(31,173,90,.18);
}
.product-card .pc-img {
  width: 100%;
  height: 195px;
  /* object-fit: cover; */
  display: block;
}
.product-card .pc-body {
  padding: 16px 18px 20px; flex: 1;
  display: flex; flex-direction: column;
}
.product-card h5 { font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.product-card p { font-size: .86rem; color: var(--text); flex: 1; line-height: 1.6; margin-bottom: 14px; }
.product-card .btn-saiba {
  background: var(--primary); color: var(--white);
  border-radius: 6px; padding: 9px 18px;
  font-weight: 700; font-size: .85rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .3s; align-self: flex-start;
}
.product-card .btn-saiba:hover { background: var(--primary-dark); color: var(--white); }

/* ─── Product Detail ─────────────────────────────────── */
.detalhe-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,.12);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  position: relative;
}
.detalhe-img-wrap img {
  width: 100%;
  /* height: 380px; */
  /* object-fit: cover; */
  display: block;
}

.detalhe-desc { font-size: .95rem; color: var(--text); line-height: 1.8; }
.detalhe-desc h3 { font-size: 1.5rem; color: var(--dark); margin-bottom: 12px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .88rem; }
.spec-table th {
  background: var(--secondary); color: var(--white);
  padding: 10px 14px; text-align: left; font-weight: 600;
}
.spec-table td { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.spec-table tr:nth-child(even) td { background: var(--light); }

/* Formulário de orçamento no detalhe */
.orcamento-box {
  background: var(--secondary);
  border-radius: 12px; padding: 28px;
  color: var(--white);
}
.orcamento-box h5 {
  color: var(--white); font-size: 1.1rem;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,.15);
}
.orcamento-box label { color: rgba(255,255,255,.8); font-size: .84rem; font-weight: 600; margin-bottom: 4px; }
.orcamento-box .form-control,
.orcamento-box .form-select {
  border: none; border-radius: 6px;
  padding: 10px 14px; font-size: .9rem; margin-bottom: 12px;
}
.orcamento-box .form-control:focus,
.orcamento-box .form-select:focus { box-shadow: 0 0 0 3px rgba(31,173,90,.35); }

.whatsapp-box {
  background: #e8f8ef; border: 2px solid #1fad5a;
  border-radius: 12px; padding: 20px; margin-top: 16px; text-align: center;
}
.whatsapp-box p { font-size: .88rem; color: var(--text); margin-bottom: 12px; }

/* Breadcrumb no detalhe */
.product-breadcrumb { font-size: .88rem; color: var(--text); margin-bottom: 20px; }
.product-breadcrumb a { color: var(--primary); }
.product-breadcrumb .sep { margin: 0 8px; color: var(--border); }

/* ─── About ──────────────────────────────────────────── */
.about-section { padding: 80px 0; background: var(--white); }
.about-img-wrap { position: relative; padding-bottom: 50px; }
.about-img-wrap img.img-main {
  width: 72%; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.13); position: relative; z-index: 1;
}
.about-img-wrap img.img-secondary {
  width: 54%; border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.13);
  position: absolute; bottom: 0; right: 0; z-index: 2;
  border: 5px solid var(--white);
}
.experience-badge {
  position: absolute; top: 20px; right: 10px;
  background: var(--primary); color: var(--white);
  border-radius: 10px; padding: 16px 18px; text-align: center;
  z-index: 3; box-shadow: 0 8px 25px rgba(31,173,90,.4);
}
.experience-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.experience-badge .lab { font-size: .7rem; font-weight: 600; opacity: .9; }
.about-check li { list-style: none; padding: 7px 0; font-weight: 600; color: var(--dark); font-size: .94rem; }
.about-check li i { color: var(--primary); margin-right: 10px; }

/* ─── Why Choose ─────────────────────────────────────── */
.why-section { padding: 80px 0; background: var(--secondary); }
.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 22px; margin-bottom: 18px;
  transition: all .3s; display: flex; gap: 16px; align-items: flex-start;
}
.why-card:hover { background: rgba(31,173,90,.2); border-color: var(--primary); }
.why-card .icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--primary); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
}
.why-card h6 { color: var(--white); font-size: .95rem; margin-bottom: 5px; }
.why-card p { color: rgba(255,255,255,.7); font-size: .84rem; margin: 0; }

/* ─── Stats ──────────────────────────────────────────── */
.stats-section { padding: 60px 0; background: var(--primary); }
.stat-item { text-align: center; }
.stat-item .number {
  font-size: 2.9rem; font-weight: 800; color: var(--white);
  font-family: 'Barlow', sans-serif; line-height: 1;
}
.stat-item .label { color: rgba(255,255,255,.85); font-size: .88rem; margin-top: 5px; }

/* ─── Features ───────────────────────────────────────── */
.features-section { padding: 80px 0; background: var(--light); }
.feature-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.feature-item .icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--primary-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary);
}
.feature-item h5 { font-size: 1rem; color: var(--dark); margin-bottom: 5px; }
.feature-item p { font-size: .87rem; color: var(--text); margin: 0; line-height: 1.6; }

.video-box { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,.18); }
.video-box img { width: 100%; display: block; }
.video-box .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 68px; height: 68px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.5rem;
  box-shadow: 0 0 0 12px rgba(31,173,90,.25); transition: all .3s;
}
.video-box .play-btn:hover { background: var(--white); color: var(--primary); }

/* ─── Appointment / Orçamento ───────────────────────── */
.appointment-section { padding: 80px 0; background: var(--white); }
.appt-form {
  background: var(--secondary); border-radius: 14px;
  padding: 38px; color: var(--white);
}
.appt-form .section-tag { color: var(--primary); }
.appt-form h2 { color: var(--white); margin-bottom: 22px; }
.appt-form label { color: rgba(255,255,255,.8); font-size: .86rem; font-weight: 600; margin-bottom: 4px; }
.appt-form .form-control,
.appt-form .form-select {
  border: none; border-radius: 6px; padding: 11px 15px;
  font-size: .92rem; margin-bottom: 13px;
}
.appt-form .form-control:focus,
.appt-form .form-select:focus { box-shadow: 0 0 0 3px rgba(31,173,90,.3); }

/* ─── Team ───────────────────────────────────────────── */
.team-section { padding: 80px 0; background: var(--light); }
.team-card {
  background: var(--white); border-radius: 12px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: all .3s; text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(31,173,90,.15);
}
.team-card img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.team-card .card-body { padding: 20px; }
.team-card h5 { font-size: 1.05rem; color: var(--dark); margin-bottom: 4px; }
.team-card .role { font-size: .84rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-card .socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); font-size: .84rem; margin: 0 3px;
}
.team-card .socials a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ─── Clients ────────────────────────────────────────── */
.clients-section {
  padding: 48px 0;
  background: var(--secondary-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.client-logo { filter: grayscale(100%) opacity(.45); transition: all .3s; max-height: 44px; object-fit: contain; }
.client-logo:hover { filter: grayscale(0%) opacity(1); }

/* ─── Page Header ────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #0d2038 100%);
  padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { color: var(--white); font-size: 2.4rem; position: relative; }
.page-header .breadcrumb { justify-content: center; background: none; position: relative; }
.page-header .breadcrumb-item a { color: var(--primary); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ─── Blog ───────────────────────────────────────────── */
.blog-section { padding: 80px 0; background: var(--light); }
.blog-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 3px 16px rgba(0,0,0,.07); transition: all .3s; height: 100%; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(31,173,90,.14); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .card-body { padding: 20px; }
.blog-meta { font-size: .8rem; color: var(--primary); font-weight: 600; margin-bottom: 9px; }
.blog-meta span { color: var(--text); margin-left: 10px; font-weight: 400; }
.blog-card h5 { font-size: .98rem; color: var(--dark); margin-bottom: 9px; line-height: 1.5; }
.blog-card p { font-size: .87rem; color: var(--text); margin-bottom: 12px; }
.blog-card .read-more { color: var(--primary); font-weight: 700; font-size: .87rem; }

/* ─── Contact ────────────────────────────────────────── */
.contact-info-card {
  text-align: center; padding: 28px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,.07); height: 100%;
}
.contact-info-card .icon-wrap {
  width: 58px; height: 58px;
  background: var(--primary-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.contact-info-card .icon-wrap i { font-size: 1.5rem; color: var(--primary); }
.contact-info-card h6 { font-size: .95rem; color: var(--dark); margin-bottom: 8px; }
.contact-info-card p { font-size: .88rem; color: var(--text); margin: 0; }
.contact-info-card a { color: var(--text); }
.contact-info-card a:hover { color: var(--primary); }

/* ─── Footer ─────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding-top: 65px; }
.footer-brand { font-family: 'Barlow', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.footer-brand span { color: var(--primary); }
.footer p { font-size: .89rem; line-height: 1.7; }
.footer h4 {
  color: var(--white); font-size: 1.02rem; font-weight: 700;
  margin-bottom: 20px; position: relative; padding-bottom: 11px;
}
.footer h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px; background: var(--primary);
}
.footer-links li { list-style: none; margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .89rem; }
.footer-links a::before { content: '›'; margin-right: 8px; color: var(--primary); }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { list-style: none; margin-bottom: 11px; font-size: .89rem; display: flex; gap: 11px; align-items: flex-start; }
.footer-contact li i { color: var(--primary); font-size: .95rem; margin-top: 2px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); margin-right: 6px; transition: all .3s;
}
.footer-social a:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 48px; padding: 18px 0;
  font-size: .83rem; color: rgba(255,255,255,.5);
}
.footer-bottom span a {border-left:solid 0px; padding-left:20px; color: rgba(255,255,255,.5);}


/*FOOTERBOTTOM */
.footer-bottom .footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-bottom .footer-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MOBILE */
@media (max-width: 767px) {
  .footer-bottom .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .footer-bottom .footer-links a {
    padding: 6px 0;
  }
}
/*FOOTERBOTTOM*/

/* ─── Back to Top ────────────────────────────────────── */
.back-to-top {
  position: fixed; right: 22px; bottom: 72px;
  width: 42px; height: 42px;
  background: var(--primary); color: var(--white);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .95rem; box-shadow: 0 4px 16px rgba(31,173,90,.4);
  z-index: 999; opacity: 0; visibility: hidden; transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); color: var(--white); }

/* ─── Fade-in animation ──────────────────────────────── */
[data-fade] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-fade].visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-carousel .carousel-item { height: 480px; }
  .hero-carousel h1 { font-size: 2rem; }
  .hero-carousel .carousel-caption { left: 5%; }
  .section-title { font-size: 1.8rem; }
  .about-img-wrap { margin-bottom: 80px; }
}
@media (max-width: 767px) {
  .hero-carousel .carousel-item { height: 400px; }
  .hero-carousel h1 { font-size: 1.65rem; }
  .carousel-control-prev, .carousel-control-next { display:none; }
  .btn-hero-outline { margin-left: 0; margin-top: 10px; }
  .topbar { display: none; }
  .appt-form { padding: 24px 18px; }
  .orcamento-box { padding: 22px 16px; }
}

/* ═══════════════════════════════════════════════════════
   ARTIGOS INSTITUCIONAIS — articlebase.php
   ═══════════════════════════════════════════════════════ */
 
/* Seção wrapper */
.article-section { background: var(--light); }
 
/* Subtítulo / lead com borda verde */
.article-subtitle {
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}
 
/* Imagem destacada */
.article-image {
  border-radius: 12px;
  object-fit: cover;
  max-height: 420px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
 
/* Legenda da imagem */
.article-image-caption {
  font-size: .82rem;
  text-align: center;
}
 
/* Títulos H2 das seções */
.article-h2 {
  font-size: 1.4rem;
  color: var(--dark);
  margin: 2rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--primary);
}
 
/* Títulos H3 das subseções */
.article-h3 {
  font-size: 1.15rem;
  color: var(--secondary);
  margin: 1.5rem 0 .6rem;
}
.article-h3 .bi { color: var(--primary); }
 
/* Listas do conteúdo */
.article-list {
  line-height: 2;
  padding-left: 1.4rem;
}
 
/* Tabela do artigo */
.article-table { font-size: .9rem; }
.article-table thead { background: var(--secondary); color: #fff; }
 
/* Box de destaque — caso real (fundo verde claro) */
.article-box {
  border-radius: 12px;
  padding: 1.25rem;
}
.article-box--success {
  background: var(--primary-light);
  border-left: 5px solid var(--primary);
}
.article-box--success .article-box__title {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: .6rem;
}
 
/* Box de dica — fundo azul claro */
.article-box--info {
  background: var(--secondary-light);
  border-left: 5px solid var(--secondary);
}
.article-box--info p {
  margin: 0;
  font-size: .93rem;
}
.article-box--info .bi { color: var(--secondary); }
 
/* CTA inline dentro do artigo */
.article-cta {
  background: var(--secondary);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.article-cta__title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.article-cta__text {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin-bottom: 1.2rem;
}
.article-cta .btn-whatsapp {
background: var(--primary); 
  color: var(--white);
  border-radius: 6px; 
  padding: 12px 28px; 
  font-weight: 700;
  border: 2px solid var(--primary); 
  display: inline-block;  
  font-size: .92rem !important; 
  max-width:300px;
  margin-top: 20px;
}
 
/* Variante escura do cabeçalho da sidebar (Nossos Produtos) */
.cat-header--secondary { background: var(--secondary); }
 
/* Título interno do article-box--success */
.article-box__title {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: .6rem;
}
 
/* Sidebar — box "Fale com especialista" */
.article-sidebar__expert {
  background: var(--secondary);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  color: #fff;
  /*position: sticky;*/
  top: 90px;
}
.article-sidebar__expert .bi-headset {
  font-size: 2.2rem;
  color: var(--primary);
  display: block;
  margin-bottom: 12px;
}
.article-sidebar__expert h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.article-sidebar__expert p {
  font-size: .87rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}
.article-sidebar__expert .btn-more { display: block; }
.article-sidebar__expert .btn-whatsapp {
  display: flex;
  justify-content: center;
  font-size: .88rem;
}
 
/* Sidebar — box "Informações Rápidas" */
.article-sidebar__info {
  background: var(--light);
  border-radius: 10px;
  padding: .875rem;
  font-size: .85rem;
  color: var(--text);
  line-height: 2;
}
.article-sidebar__info h5 {
  font-size: .95rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.article-sidebar__info .bi { color: var(--primary); flex-shrink: 0; }
.article-sidebar__info a { color: var(--text); }
 
/* Ícones de lista na sidebar */
.sidebar-icon-sm {
  font-size: .75rem;
  color: var(--primary);
}
.sidebar-icon-xs {
  font-size: .4rem;
  color: var(--primary);
  vertical-align: middle;
}
.sidebar-icon-md {
  font-size: .8rem;
  color: var(--primary);
}

/* ── Janela do carousel ─────────────────────────────────────── */
.logos-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 8px 0;
  /* Fade lateral para suavizar as bordas */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* ── Faixa que se move ──────────────────────────────────────── */
.logos-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;   /* expandida pelo JS ao duplicar os itens */
  will-change: transform;
}

/* ── Célula individual ──────────────────────────────────────── */
.logos-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;   /* espaçamento horizontal entre logos */
}

/* ── Imagens dos logos (herda .client-logo do style.css) ────── */
.logos-item .client-logo {
  max-height: 300px;
  max-width: 200px;
  width: auto;
}

/* ── Pausa ao passar o mouse sobre a seção ──────────────────── */
.logos-track-wrap:hover .logos-track {
  animation-play-state: paused; /* usado apenas se vier com CSS animation */
}

/* ── Responsividade: reduz padding em telas menores ─────────── */
@media (max-width: 767px) {
  .logos-item { padding: 8px 24px; }
  .logos-item .client-logo { max-height: 120px; max-width: 180px; }
}

/* ═══════════════════════════════════════════════════════
   CATÁLOGO — classes adicionadas ao final
   ═══════════════════════════════════════════════════════ */

/* ── Seção na home (index-teste.php) ──────────────────── */
.catalogo-section {
  background: var(--secondary);
  padding: 72px 0;
}
.catalogo-section .section-tag { color: rgba(255,255,255,.7); }
.catalogo-section .section-tag::before { background: rgba(255,255,255,.5); }

/* ── Box da seção home ────────────────────────────────── */
.catalogo-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 36px 32px;
}
.catalogo-box h2 { color: #fff; }
.catalogo-box p  { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.75; }

/* ── Preview / mockup do catálogo ─────────────────────── */
.catalogo-preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
  transition: transform .4s ease;
}
.catalogo-preview:hover {
  transform: perspective(800px) rotateY(-2deg) rotateX(0deg);
}
.catalogo-preview img {
  width: 100%;
  display: block;
}
.catalogo-preview .catalogo-preview__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── CTAs do catálogo ─────────────────────────────────── */
.catalogo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  transition: all .25s;
  text-decoration: none;
  white-space: nowrap;
}
.catalogo-cta--primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.catalogo-cta--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,173,90,.35);
}
.catalogo-cta--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.catalogo-cta--outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.1);
}
.catalogo-cta--dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: .87rem;
  padding: 8px 18px;
}
.catalogo-cta--dark:hover {
  background: var(--primary);
  color: #fff;
}

/* ── Bloco discreto em produto-detalhe.php ────────────── */
.catalogo-hint {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: 10px;
  border-left: 3px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.catalogo-hint i {
  font-size: 1.6rem;
  color: var(--primary);
  flex-shrink: 0;
}
.catalogo-hint__text { flex: 1; }
.catalogo-hint__text strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.catalogo-hint__text span {
  font-size: .82rem;
  color: var(--text);
}

/* ── Página catalogo.php ──────────────────────────────── */
.catalogo-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #0d2238 100%);
  padding: 80px 0 60px;
}
.catalogo-hero h1 { color: #fff; }
.catalogo-hero p  { color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.8; }

.catalogo-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  border-top: 3px solid var(--primary);
  height: 100%;
}
.catalogo-feature-card .icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.catalogo-feature-card .icon i { font-size: 1.4rem; color: var(--primary); }
.catalogo-feature-card h5 { font-size: 1rem; color: var(--dark); margin-bottom: 8px; }
.catalogo-feature-card p  { font-size: .87rem; color: var(--text); margin: 0; line-height: 1.6; }

.catalogo-embed {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  background: #f0f0f0;
}
.catalogo-embed iframe {
  width: 100%;
  height: 640px;
  border: none;
  display: block;
}

@media (max-width: 767px) {
  .catalogo-preview { transform: none; }
  .catalogo-section { padding: 48px 0; }
  .catalogo-hero { padding: 48px 0 40px; }
  .catalogo-hint { flex-direction: column; gap: 10px; text-align: center; }
  .catalogo-embed iframe { height: 420px; }
}
/* ── Número 404 decorativo ──────────────────────────────── */
.notfound-code {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px var(--primary);
  letter-spacing: -4px;
  margin-bottom: 8px;
  user-select: none;
}

/* ── Ícone central ──────────────────────────────────────── */
.notfound-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}
.notfound-icon .bi {
  font-size: 2rem;
  color: var(--primary);
}

/* ── Cards de link sugerido ─────────────────────────────── */
.notfound-link {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.notfound-link:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(31,173,90,.12);
  transform: translateY(-2px);
}
.notfound-link__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}
.notfound-link strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.notfound-link span {
  font-size: .8rem;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 575px) {
  .notfound-code { letter-spacing: -2px; }
}