:root {
  --dark-red: #4a1414;
  --accent-red: #e0503f;
  --cream: #fdece2;
  --salmon: #eaa190;
  --navy: #141b30;
  --text-dark: #2b2320;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-weight: 700; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-red);
  color: #fff;
}
.btn-primary:hover { background: #c8402f; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

.btn-link-light {
  background: transparent;
  color: #fff;
  border: none;
  text-decoration: underline;
  padding: 0.9rem 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(58,15,15,0.92) 0%, rgba(90,25,25,0.75) 45%, rgba(120,30,25,0.55) 100%),
    url('assets/img/banner-pagina-principal-1.webp') center/cover no-repeat;
  color: #fff;
  min-height: 460px;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

.logo-img {
  height: 64px;
  width: auto;
  display: block;
}

.footer-brand .logo-img {
  height: 80px;
  margin-bottom: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--accent-red); }

.has-dropdown { position: relative; }

.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 0.8rem;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 250px;
  padding: 0.6rem 0;
  margin-top: 0.8rem;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  z-index: 30;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.dropdown li a:hover {
  background: var(--cream);
  color: var(--accent-red);
}

/* ---------- Page Hero (service pages) ---------- */
.page-hero {
  min-height: 300px;
}

.page-hero .hero-content {
  padding: 2rem 2rem 4rem;
}

.page-hero .hero-content h1 {
  font-size: 2.3rem;
}

.breadcrumb {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1.1rem;
}

.breadcrumb a { text-decoration: underline; }
.breadcrumb a:hover { color: var(--accent-red); }

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.hero-content h1 {
  font-size: 2.6rem;
  max-width: 650px;
  margin-bottom: 1.3rem;
}

.hero-content p {
  max-width: 560px;
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---------- About / Quote ---------- */
.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1.3rem;
}

.about-text p {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  color: #4a3f3a;
}

.saiba-mais-dark {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
  display: inline-block;
  margin: 0 auto 0.5rem;
}

.whatsapp-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.phone-icon {
  background: var(--accent-red);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.phone-icon svg {
  width: 20px;
  height: 20px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.phone-number {
  color: var(--accent-red);
  font-weight: 700;
  font-size: 1.1rem;
}

.quote-form {
  background: #fff;
  border-radius: 12px;
  padding: 2.2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.quote-form h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #eadfda;
  border-radius: 6px;
  background: #fdfaf8;
  font-family: inherit;
  font-size: 0.9rem;
}

.quote-form textarea { resize: none; }

.quote-form .btn { width: 100%; text-align: center; }

/* ---------- Services ---------- */
.services {
  padding: 3.5rem 0 0;
}

.services-heading {
  text-align: center;
  font-size: 1.8rem;
  padding: 0 2rem 0.5rem;
}

.services-heading-link {
  text-align: center;
  padding: 0 2rem 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  position: relative;
  padding: 2.5rem 1.8rem;
  min-height: 340px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(30,15,12,0.55) 0%, rgba(20,10,8,0.85) 100%),
    url('assets/img/projeto-tecnico-sorocaba.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.service-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(30,15,12,0.55) 0%, rgba(20,10,8,0.85) 100%),
    url('assets/img/avcb-sorocaba.jpg');
}
.service-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(30,15,12,0.55) 0%, rgba(20,10,8,0.85) 100%),
    url('assets/img/clcb-sorocaba.jpg');
}
.service-card:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(30,15,12,0.55) 0%, rgba(20,10,8,0.85) 100%),
    url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=800&auto=format&fit=crop');
}

.service-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.saiba-mais {
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid #fff;
  width: fit-content;
}

/* ---------- Service Detail ---------- */
.service-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem 1rem;
}

.service-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.service-content p {
  font-size: 0.95rem;
  color: #4a3f3a;
  margin-bottom: 1.2rem;
}

.service-content ul {
  margin-bottom: 1.5rem;
}

.service-content ul li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: #4a3f3a;
}

.service-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
}

.process-4 .process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.related-services { background: #fff; }

.related-services .services-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- Full-width background bands ---------- */
.band-dark {
  background: linear-gradient(120deg, var(--dark-red) 0%, #6e2119 100%);
  color: #fff;
}

.band-dark .process-intro { color: rgba(255,255,255,0.85); }
.band-dark .process-step { color: var(--text-dark); }

.band-white { background: #fff; }

.service-content-spaced { padding-bottom: 5rem; }

.statement {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.statement h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.statement p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.why-grid.why-grid-4 { grid-template-columns: repeat(4, 1fr); }

.band-white .process-step,
.band-white .why-card,
.band-white .faq-item {
  background: var(--cream);
  box-shadow: none;
}

/* ---------- Why Us ---------- */
.why-us {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.why-us h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.why-card {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.6rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-red);
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.88rem;
  color: #4a3f3a;
}

/* ---------- Process ---------- */
.process {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.process h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.process-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #4a3f3a;
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.process-step {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  text-align: left;
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: #4a3f3a;
}

/* ---------- Coverage ---------- */
.coverage {
  background: linear-gradient(120deg, var(--dark-red) 0%, #6e2119 100%);
  color: #fff;
  padding: 4.5rem 2rem;
  text-align: center;
}

.coverage-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.coverage h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.coverage p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.coverage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.coverage-tags span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.coverage-tags-light {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.coverage-tags-light span {
  background: var(--cream);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 0.98rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent-red);
  font-weight: 700;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: #4a3f3a;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.cta p {
  max-width: 650px;
  margin: 0 auto 2rem;
  opacity: 0.85;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
footer {
  background: var(--salmon);
  color: #fff;
  padding: 4rem 2rem 0;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 1rem;
  opacity: 0.9;
  max-width: 280px;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  opacity: 0.9;
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid,
  .why-grid.why-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-4 .process-grid { grid-template-columns: repeat(2, 1fr); }
  .related-services .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid,
  .why-grid.why-grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-4 .process-grid { grid-template-columns: 1fr; }
  .related-services .services-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
