/* ===== CSS Variables ===== */
:root {
  --color-primary: #f97316;
  --color-primary-dark: #ea580c;
  --color-header-blue: #0f3460;
  --color-header-blue-dark: #0a2544;
  --color-bg-dark: #0a1628;
  --color-bg-card: #f8fafc;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-text-light: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gradient {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 25%, #fbbf24 50%, #60a5fa 75%, #3b82f6 100%);
  background-size: 200% 100%;
  color: var(--color-text-light);
  font-weight: 700;
  animation: gradient-shift 3s ease infinite;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-full {
  width: 100%;
}

/* ===== Header (azul sólido) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-header-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text-light);
}

.logo-tagline {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-text-light);
  transition: all 0.3s ease;
}

/* ===== Hero (interior + sensação azul/laranja; sem foto do pintor) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/hero-living-room.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 52, 96, 0.72) 0%,
    rgba(15, 52, 96, 0.45) 42%,
    rgba(234, 88, 12, 0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text-light);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-text);
}

.section-title--left {
  text-align: left;
  margin-bottom: 20px;
}

/* ===== Serviços (3 cards, ícones só nos cards) ===== */
.services {
  padding: 90px 0 80px;
  background: #ffffff;
  color: var(--color-text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 28px);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: clamp(12px, 2vw, 28px) clamp(8px, 1.5vw, 20px);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 52, 96, 0.12);
}

.service-icon {
  width: clamp(48px, 12vw, 70px);
  height: clamp(48px, 12vw, 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border-radius: 14px;
}

.service-icon--img {
  background: transparent;
}

.service-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(13px, 2.2vw, 18px);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.25;
}

.service-desc {
  font-size: clamp(11px, 1.8vw, 14px);
  color: var(--color-text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Blocos de texto + imagem ===== */
.split-section {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.split-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-section__text {
  order: 1;
}

.split-section__media {
  order: 2;
}

.split-section--reverse .split-section__text {
  order: 2;
}

.split-section--reverse .split-section__media {
  order: 1;
}

.split-section__lead {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.75;
}

.split-section__media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 50px rgba(15, 52, 96, 0.15);
}

.service-details-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service-details-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--color-text);
}

.detail-accent {
  width: 4px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.bullet-list {
  margin-top: 8px;
}

.bullet-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  font-size: 15px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.bullet-list li:last-child {
  border-bottom: none;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.bullet-list strong {
  color: var(--color-text);
}

/* ===== Técnicas especiais (cartões em fundo branco) ===== */
.techniques {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.techniques__header {
  margin-bottom: 28px;
}

.techniques__header h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--color-text);
}

.techniques__sub {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.detail-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 26px;
  transition: all 0.3s ease;
}

.detail-card:hover {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 8px 24px rgba(15, 52, 96, 0.08);
}

.detail-icon {
  color: var(--color-primary);
  margin-bottom: 12px;
}

.detail-card h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: #e8eef5;
  color: var(--color-header-blue);
}

/* ===== Stats ===== */
.stats-strip {
  padding: 48px 0;
  background: #f1f5f9;
  border-top: 1px solid var(--color-border);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 18px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.about-mission h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
  color: var(--color-text);
}

.mission-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.mission-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Processo (fundo branco) ===== */
.process {
  padding: 64px 0 80px;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--color-border);
}

.process--with-about {
  padding-top: 56px;
}

.process .container {
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.process-step {
  text-align: center;
  padding: 16px 8px;
}

.step-dot {
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 14px;
  position: relative;
  z-index: 2;
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.process-step p {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.process-line {
  position: absolute;
  top: 118px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

/* ===== Contato (fundo branco) ===== */
.contact {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--color-border);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-sans);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== Footer (azul) ===== */
.footer {
  background: var(--color-header-blue-dark);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text-light);
}

.footer .logo-name {
  color: var(--color-text-light);
}

.footer .logo-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  font-size: 14px;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 0;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Mobile ===== */
@media (max-width: 992px) {
  .split-section__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split-section--reverse .split-section__text,
  .split-section--reverse .split-section__media {
    order: unset;
  }

  .split-section--reverse .split-section__media {
    order: -1;
  }

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

  .process-line {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-info .section-title--left {
    text-align: center;
  }

  .contact-info > p {
    text-align: center;
  }

  .contact-details {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-header-blue);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.active {
    max-height: 420px;
    padding: 16px 0;
  }

  .nav-link {
    padding: 14px 20px;
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    background-attachment: scroll;
  }

  .section-title--left {
    text-align: center;
  }

  .split-section__text .section-title--left {
    text-align: center;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-step {
    padding: 14px 12px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .step-dot {
    margin: 4px 0 0 0;
    flex-shrink: 0;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 14px;
  }
}
