/* =====================================================
   GALVANOPLASTIA DIADEMA - SUBDOMINIO SERVICOS
   Identidade visual replicando galvanoplastiadiadema.com.br
   ===================================================== */

:root {
  --verde: #08a85c;
  --verde-dark: #067d44;
  --verde-light: #e8f7ee;
  --branco: #ffffff;
  --cinza-bg: #f8f9fa;
  --cinza-texto: #495057;
  --cinza-borda: #e0e3e6;
  --preto: #1a1a1a;
  --titulo: #2d2d2d;
  --shadow: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.10);
  --radius: 4px;
  --container: 1180px;
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cinza-texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verde); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--verde-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--titulo);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }

p { margin-bottom: 16px; }

ul, ol { margin: 0 0 16px 20px; }
li { margin-bottom: 8px; }

strong, b { color: var(--titulo); font-weight: 600; }

/* ===== TOPO INFO BAR ===== */
.topbar {
  background: var(--verde);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar a { color: #fff; opacity: 0.95; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--branco);
  border-bottom: 1px solid var(--cinza-borda);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { max-height: 56px; width: auto; }
.site-logo a { display: inline-block; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--titulo);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.main-nav a:hover { color: var(--verde); background: var(--verde-light); }
.main-nav a.active { color: var(--verde); }

.btn-cta-header {
  background: var(--verde) !important;
  color: #fff !important;
  padding: 12px 22px !important;
  border-radius: var(--radius);
  font-weight: 700 !important;
  margin-left: 12px;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}
.btn-cta-header:hover { background: var(--verde-dark) !important; transform: translateY(-1px); }

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--titulo);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--branco);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav a { padding: 14px 16px; border-bottom: 1px solid var(--cinza-borda); }
  .btn-cta-header { margin-left: 0 !important; margin-top: 16px; text-align: center; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  color: #fff;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/foto1.webp') center/cover;
  opacity: 0.18;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero .lead {
  font-size: 1.25rem;
  max-width: 720px;
  opacity: 0.95;
  margin-bottom: 32px;
}
.hero .cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero variante para paginas SEO */
.page-hero {
  background: var(--cinza-bg);
  padding: 50px 0 40px;
  border-bottom: 4px solid var(--verde);
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--cinza-texto);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--verde); }
.page-hero .breadcrumb span { margin: 0 8px; opacity: 0.6; }
.page-hero h1 {
  font-size: 2.4rem;
  color: var(--titulo);
  margin-bottom: 8px;
}
.page-hero .subtitle {
  font-size: 1.1rem;
  color: var(--cinza-texto);
}

/* ===== BOTOES ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary {
  background: var(--verde);
  color: #fff !important;
  border-color: var(--verde);
}
.btn-primary:hover {
  background: var(--verde-dark);
  border-color: var(--verde-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(8,168,92,0.3);
}
.btn-outline-white {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--verde) !important;
}
.btn-outline {
  background: transparent;
  color: var(--verde) !important;
  border-color: var(--verde);
}
.btn-outline:hover {
  background: var(--verde);
  color: #fff !important;
}

/* ===== SECTIONS ===== */
section { padding: 70px 0; }
section.tight { padding: 50px 0; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.section-title .lead {
  font-size: 1.05rem;
  color: var(--cinza-texto);
  max-width: 720px;
  margin: 0 auto;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--verde);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--verde);
}
.card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--verde-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--verde);
  font-size: 1.5rem;
  font-weight: 700;
}
.card h3 {
  color: var(--titulo);
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.card p { margin-bottom: 16px; flex: 1; font-size: 0.95rem; }
.card .card-link {
  color: var(--verde);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link::after { content: '→'; transition: transform 0.2s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ===== CARDS COM IMAGEM ===== */
.card-img {
  padding: 0;
  overflow: hidden;
}
.card-img-top {
  height: 200px;
  overflow: hidden;
}
.card-img-top img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.card-img:hover .card-img-top img { transform: scale(1.05); }
.card-img-body { padding: 24px; }

/* ===== SETORES ATENDIDOS ===== */
.setores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.setor-item {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
  transition: all 0.25s ease;
}
.setor-item:hover {
  border-color: var(--verde);
  background: var(--verde-light);
}
.setor-item h4 {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--verde-dark);
  margin-bottom: 8px;
}
.setor-item p { font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* ===== DEPOIMENTOS ===== */
.depoimentos {
  background: var(--cinza-bg);
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.depoimento {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.depoimento::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 4rem;
  color: var(--verde);
  font-family: Georgia, serif;
  line-height: 1;
}
.depoimento p {
  font-style: italic;
  color: var(--cinza-texto);
  margin: 16px 0;
  font-size: 0.95rem;
}
.depoimento-autor {
  font-weight: 700;
  color: var(--titulo);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.depoimento-autor::before {
  content: '';
  width: 36px;
  height: 36px;
  background: var(--verde-light);
  border-radius: 50%;
  display: inline-block;
}

/* ===== CONTEUDO SEO (paginas long-tail) ===== */
.seo-content {
  padding: 60px 0;
}
.seo-content .layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
@media (max-width: 992px) {
  .seo-content .layout { grid-template-columns: 1fr; }
}
.seo-main {
  font-size: 1.02rem;
  line-height: 1.75;
}
.seo-main h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--verde-light);
}
.seo-main h2:first-of-type { margin-top: 0; }
.seo-main h3 { margin-top: 28px; }
.seo-main p { margin-bottom: 14px; }
.seo-main ul, .seo-main ol { margin: 16px 0 20px 24px; }
.seo-main li { margin-bottom: 8px; }
.seo-main strong { color: var(--verde-dark); }

.seo-main .info-box {
  background: var(--verde-light);
  border-left: 4px solid var(--verde);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 {
  color: var(--titulo);
  font-size: 1.1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--verde);
}
.sidebar-cta {
  background: var(--verde);
  color: #fff;
}
.sidebar-cta h4 { color: #fff; border-color: rgba(255,255,255,0.3); }
.sidebar-cta p { color: rgba(255,255,255,0.95); margin-bottom: 18px; }
.sidebar-cta .btn { width: 100%; }

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar ul li {
  border-bottom: 1px solid var(--cinza-borda);
  margin: 0;
}
.sidebar ul li:last-child { border: none; }
.sidebar ul li a {
  display: block;
  padding: 10px 0;
  color: var(--cinza-texto);
  font-size: 0.93rem;
  transition: all 0.2s ease;
}
.sidebar ul li a:hover {
  color: var(--verde);
  padding-left: 6px;
}
.sidebar ul li a::before { content: '› '; color: var(--verde); }

/* ===== FAQ ACCORDION ===== */
.faq-section {
  background: var(--cinza-bg);
}
.faq-grid { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item.open { border-color: var(--verde); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--titulo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--verde);
  font-weight: 400;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--cinza-texto);
  font-size: 0.96rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { padding: 0 24px 18px; max-height: 800px; }

/* ===== FORMULARIO CONTATO ===== */
.contact-form {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--titulo);
  font-size: 0.93rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--cinza-bg);
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--verde);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ===== CTA FINAL BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--verde) 0%, var(--verde-dark) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; font-size: 2rem; }
.cta-banner p { font-size: 1.1rem; margin-bottom: 26px; max-width: 720px; margin-left: auto; margin-right: auto; opacity: 0.95; }

/* ===== FOOTER ===== */
.site-footer {
  background: #1a1a1a;
  color: #b8b8b8;
  padding: 60px 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--verde);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: #b8b8b8;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: var(--verde); }
.footer-col p { color: #b8b8b8; line-height: 1.7; font-size: 0.9rem; margin-bottom: 10px; }
.footer-col p strong { color: #fff; }

.footer-logo img {
  max-width: 220px;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
}

.footer-bottom {
  border-top: 1px solid #2d2d2d;
  padding: 20px 0;
  font-size: 0.83rem;
  text-align: center;
  color: #888;
}
.footer-bottom a { color: var(--verde); }

/* ===== UTILS ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 32px; }

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1.05rem; }
  section { padding: 50px 0; }
  .section-title h2 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 1.7rem; }
  .seo-content { padding: 40px 0; }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                             