/* ============================================ */
/* PAGE-SERVICO.CSS — Transfé Transportes       */
/* Compartilhado pelas 4 páginas de serviço:    */
/* mudanca-residencial, mudanca-comercial,       */
/* pequenos-fretes, frete-de-compras            */
/* ============================================ */

/* ============================================ */
/* PAGE HERO (Banner de serviço)                */
/* ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  padding: 56px 24px 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 50%, black, transparent);
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-data); font-size: 13px;
  color: var(--gray-500); margin-bottom: 20px;
}
.page-hero-breadcrumb a {
  color: var(--gray-500); transition: color 0.3s;
}
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-breadcrumb .separator { color: var(--gray-500); }
.page-hero-breadcrumb .current { color: var(--orange); font-weight: 600; }
.page-hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; line-height: 0.95;
  color: var(--white); letter-spacing: -1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.page-hero h1 .orange { color: var(--orange); }
.page-hero-sub {
  font-family: var(--font-body); font-size: 17px;
  color: var(--gray-500); line-height: 1.7;
  max-width: 600px;
}

/* ============================================ */
/* CONTENT SECTION                              */
/* ============================================ */
.content-section {
  background: var(--white);
}
.content-section .container {
  max-width: 860px;
}
.content-section h2 {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--navy-deep);
  line-height: 1; text-transform: uppercase;
  letter-spacing: -0.5px; margin-bottom: 24px;
}
.content-section p {
  font-family: var(--font-body); font-size: 16px;
  color: var(--gray-600); line-height: 1.8;
  margin-bottom: 20px;
}
.content-section h3 {
  font-family: var(--font-headline); font-size: 22px;
  font-weight: 700; color: var(--navy-deep);
  text-transform: uppercase; margin-top: 32px;
  margin-bottom: 12px; letter-spacing: 0.3px;
}
.content-section ul {
  list-style: none; padding: 0;
  margin-bottom: 20px;
}
.content-section ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-body); font-size: 15px;
  color: var(--gray-600); line-height: 1.7;
  padding: 6px 0;
}
.content-section ul li svg {
  width: 18px; height: 18px; color: var(--orange);
  flex-shrink: 0; margin-top: 3px;
}
.content-section strong {
  color: var(--navy-deep); font-weight: 700;
}

/* ============================================ */
/* FEATURES GRID                                */
/* ============================================ */
.features-section {
  background: var(--gray-50);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: 16px; padding: 32px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--orange); transform: scaleX(0);
  transition: transform 0.4s; transform-origin: left;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,22,40,0.08); border-color: var(--gray-200); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; background: rgba(249,115,22,0.08);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-title {
  font-family: var(--font-headline); font-size: 20px; font-weight: 700;
  color: var(--navy-deep); text-transform: uppercase;
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.feature-desc {
  font-family: var(--font-body); font-size: 14px;
  color: var(--gray-500); line-height: 1.6;
}

/* ============================================ */
/* FAQ — 1 coluna (service pages)               */
/* ============================================ */
.faq { background: var(--white); }
.faq-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: 860px; margin: 0 auto;
}
.faq-item {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 14px; overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover { border-color: var(--gray-200); }
.faq-question {
  padding: 20px 24px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-cta); font-size: 15px;
  font-weight: 600; color: var(--navy-deep);
}
.faq-question svg {
  width: 18px; height: 18px; color: var(--orange);
  transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-family: var(--font-body); font-size: 14px;
  color: var(--gray-500); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================ */
/* ITEMS SECTION (usado em pequenos-fretes)     */
/* ============================================ */
.items-section { background: var(--white); }
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.item-card {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 16px; padding: 28px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.item-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,22,40,0.07); }
.item-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(249,115,22,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.item-icon svg { width: 28px; height: 28px; color: var(--orange); }
.item-title {
  font-family: var(--font-headline); font-size: 18px; font-weight: 700;
  color: var(--navy-deep); text-transform: uppercase;
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.item-desc {
  font-family: var(--font-body); font-size: 14px;
  color: var(--gray-500); line-height: 1.6;
  margin: 0;
}
/* faq-list é alias de faq-grid nessa página */
.faq-list {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  max-width: 860px; margin: 0 auto;
}

/* ============================================ */
/* HOW SECTION (usado em frete-de-compras)      */
/* ============================================ */
.how-section { background: var(--gray-50); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
/* Linha horizontal conectando os círculos */
.how-grid::before {
  content: '';
  position: absolute;
  top: 40px; /* metade do círculo (80px / 2) */
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: var(--gray-200);
  z-index: 0;
}
.how-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 16px 32px;
  position: relative; z-index: 1;
}
.how-number {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-data); font-size: 28px; font-weight: 700;
  margin-bottom: 20px;
}
.how-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.how-icon svg { width: 26px; height: 26px; }
.how-title {
  font-family: var(--font-headline); font-size: 16px; font-weight: 700;
  color: var(--navy-deep); text-transform: uppercase;
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.how-desc {
  font-family: var(--font-body); font-size: 13px;
  color: var(--gray-500); line-height: 1.6;
}

/* ============================================ */
/* MEDIA QUERIES — SERVICE PAGES                */
/* ============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 40px 24px 48px; }
  .page-hero h1 { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::before { display: none; }
}

@media (max-width: 480px) {
  .items-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
