/* Carreiro & Macedo — Estilos principais */
:root {
  --navy: #0c2340;
  --navy-dark: #081829;
  --navy-light: #132d4f;
  --orange: #e86a1a;
  --orange-hover: #cf5c12;
  --orange-light: #fff4ec;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f5;
  --gray-200: #d8dee6;
  --gray-400: #8b95a5;
  --gray-600: #5c6678;
  --gray-800: #2d3748;
  --green-whatsapp: #25d366;
  --green-whatsapp-hover: #1ebe57;
  --shadow-sm: 0 2px 8px rgba(12, 35, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 35, 64, 0.12);
  --shadow-lg: 0 16px 40px rgba(12, 35, 64, 0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1200px;
  --header-h: 80px;
  --transition: 0.25s ease;
  --font: 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { 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(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 14px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 0.95rem;
}

.text-orange { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-dark:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-whatsapp {
  background: var(--green-whatsapp);
  color: var(--white);
  border-color: var(--green-whatsapp);
}
.btn-whatsapp:hover {
  background: var(--green-whatsapp-hover);
  border-color: var(--green-whatsapp-hover);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo-footer .logo-img {
  height: 58px;
  max-width: 240px;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.btn-header {
  font-size: 0.7rem;
  padding: 10px 18px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero — Home */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--navy-dark) center/cover no-repeat;
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,24,41,0.92) 0%, rgba(8,24,41,0.55) 55%, rgba(8,24,41,0.25) 100%);
}

.hero-home .container {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-home h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  max-width: 720px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-home .hero-sub {
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero — Inner pages */
.hero-inner {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  background: var(--navy-dark) center/cover no-repeat;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,41,0.4) 0%, rgba(8,24,41,0.88) 100%);
}

.hero-inner .container {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
  padding-top: 40px;
}

.breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }

.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-inner .hero-sub {
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  font-size: 1rem;
}

.hero-sobre { background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80'); }
.hero-servicos { background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80'); }
.hero-clientes { background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1920&q=80'); }
.hero-contato { background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80'); }

/* Highlights bar */
.highlights {
  background: var(--navy);
  padding: 48px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.highlight-item {
  text-align: center;
  color: var(--white);
}

.highlight-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--orange);
}

.highlight-item h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.highlight-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* Services cards — home */
.section-services {
  padding: 80px 0;
  background: var(--white);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.02);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin: -28px auto 16px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.25rem;
  border: 3px solid var(--white);
  position: relative;
  z-index: 1;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 16px 24px;
}

.service-card-body h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.service-card-body p {
  flex: 1;
  font-size: 0.78rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-card-body .link-more {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.service-card-body .link-more:hover { text-decoration: underline; }

.section-cta-center { text-align: center; }

/* About short */
.section-about-short {
  padding: 80px 0;
  background: var(--gray-50);
}

.about-short-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-short-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.about-short-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.about-short-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 360px;
  background: center/cover no-repeat;
}

/* Clients preview */
.section-clients-preview {
  padding: 80px 0;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}

.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  min-height: 200px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.client-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(232, 106, 26, 0.2);
  background: var(--orange-light);
}

.client-logo-area {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.client-placeholder {
  width: 64px;
  height: 64px;
  margin: 0;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--orange);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.client-logo-card:hover .client-placeholder {
  transform: scale(1.06);
}

.client-logo-card .client-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  margin-top: auto;
  min-height: 2.7em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: color var(--transition);
}

.client-logo-card:hover .client-name {
  color: var(--orange-hover);
}

.client-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.client-logo-card:hover .client-logo-img {
  transform: scale(1.06);
}

.hero-home,
.hero-inner.hero-sobre,
.hero-inner.hero-servicos,
.hero-inner.hero-clientes,
.hero-inner.hero-contato {
  background-size: cover;
  background-position: center;
}

/* CTA sections */
.cta-banner {
  background: var(--navy);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* About page */
.section-two-col {
  padding: 80px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.two-col p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.two-col-image {
  border-radius: var(--radius-lg);
  height: 400px;
  background: center/cover no-repeat;
  box-shadow: var(--shadow-lg);
}

/* Why choose */
.section-why {
  padding: 80px 0;
  background: var(--gray-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: box-shadow var(--transition);
}

.why-card:hover { box-shadow: var(--shadow-md); }

.why-card .icon {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Stats bar */
.stats-bar {
  background: var(--navy);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .icon {
  font-size: 1.75rem;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0.9;
}

.stat-item .number {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

/* Services page */
.section-services-list {
  padding: 80px 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 300px) 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  padding: 0;
}

.service-detail-img {
  min-height: 280px;
  height: 100%;
  background-color: var(--navy-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-detail-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.service-detail-body .service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-detail-body .service-header i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-top: 4px;
}

.service-detail-body h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--navy);
}

.service-detail-body > p {
  color: var(--gray-600);
  margin-bottom: 18px;
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-detail-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
  margin-bottom: 8px;
}

.service-detail-body ul li {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
  break-inside: avoid;
}

.service-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.service-detail-body .link-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--orange);
  letter-spacing: 0.04em;
}

/* Clients page */
.section-segments {
  padding: 80px 0;
  background: var(--gray-50);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.segment-card {
  text-align: center;
}

.segment-card .icon {
  font-size: 2.5rem;
  color: var(--orange);
  margin-bottom: 16px;
}

.segment-card h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.segment-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* Bloco institucional — página Clientes */
.institutional-section {
  background: var(--navy);
  padding: 80px 0;
}

.institutional-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.institutional-content h2 {
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.35;
}

.institutional-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
}

.institutional-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.institutional-stat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
}

.institutional-stat i {
  font-size: 1.5rem;
  color: var(--orange);
  margin-top: 4px;
  flex-shrink: 0;
}

.institutional-stat strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--white);
}

.institutional-stat span {
  font-size: 0.88rem;
  opacity: 0.88;
  line-height: 1.45;
}

.client-logo-card:has(.client-detail) {
  min-height: 240px;
}

.client-logo-card:has(.client-detail) .client-name {
  min-height: auto;
  margin-top: 0;
}

.client-detail {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.45;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact page */
.section-contact {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

.contact-section-title {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  color: var(--navy);
  position: relative;
  padding-bottom: 12px;
}

.contact-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.contact-section-intro {
  color: var(--gray-600);
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 420px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 106, 26, 0.25);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-card-body h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-card-body a,
.contact-card-body p {
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.45;
}

.contact-card-link {
  display: block;
  font-size: 0.78rem !important;
  color: var(--orange) !important;
  font-weight: 600;
  margin-top: 4px;
}

.contact-card-link:hover {
  color: var(--orange-hover) !important;
}

.contact-address {
  margin: 0;
  line-height: 1.55;
  font-weight: 500 !important;
}

.footer-address {
  line-height: 1.55;
  display: inline-block;
}

/* Form */
.form-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.form-box-header {
  text-align: center;
  margin-bottom: 28px;
}

.form-box-header > i {
  display: block;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
  opacity: 0.95;
}

.form-box h2 {
  color: var(--white);
  text-align: center;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.form-box .heading-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0 auto 14px;
}

.form-box .form-sub {
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 0;
  line-height: 1.55;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-file {
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.04);
  transition: border-color var(--transition), background var(--transition);
}

.form-file.is-dragover {
  border-color: var(--orange);
  background: rgba(232, 106, 26, 0.12);
}

.form-file label {
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.form-file label i {
  font-size: 1.25rem;
  opacity: 0.9;
}

.form-file label strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-file label span {
  font-size: 0.82rem;
  opacity: 0.9;
  font-weight: 500;
}

.form-file input[type="file"] {
  display: none;
}

.form-security {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form-file-note {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  opacity: 0.75;
}

.btn-whatsapp-submit {
  background: var(--green-whatsapp);
  border-color: var(--green-whatsapp);
  width: 100%;
  padding: 16px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.btn-whatsapp-submit:hover {
  background: var(--green-whatsapp-hover);
  border-color: var(--green-whatsapp-hover);
}

.form-box .btn-primary {
  width: 100%;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.form-alert.success { background: #d4edda; color: #155724; }
.form-alert.error { background: #f8d7da; color: #721c24; }

.cta-whatsapp-bar {
  padding: 0 0 80px;
  background: var(--gray-50);
}

.cta-whatsapp-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
}

.cta-whatsapp-content {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
  flex: 1;
  min-width: 240px;
}

.cta-whatsapp-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 106, 26, 0.15);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-whatsapp-icon i {
  font-size: 1.5rem;
  color: var(--orange);
}

.cta-whatsapp-content h3 {
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.cta-whatsapp-content p {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 520px;
}

.cta-whatsapp-box .btn-whatsapp {
  flex-shrink: 0;
  padding: 14px 22px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232,106,26,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-links a:hover { color: var(--orange); opacity: 1; }

.footer-link-orcamento {
  font-weight: 700;
  color: var(--orange) !important;
  opacity: 1 !important;
}

.footer-link-orcamento:hover {
  color: var(--white) !important;
  text-decoration: underline;
}

#formulario-orcamento {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  align-items: flex-start;
  word-break: break-word;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact i {
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--green-whatsapp);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: var(--green-whatsapp-hover);
}

/* Responsive — site público (mobile e tablet) */
@media (max-width: 1200px) {
  .services-cards { grid-template-columns: repeat(3, 1fr); }
  .clients-logos { grid-template-columns: repeat(3, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .container { padding: 0 16px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    padding: 16px 20px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
  }

  .btn-header { display: none; }

  .logo-img {
    height: 44px;
    max-width: min(200px, 50vw);
  }

  .hero-home { min-height: auto; }
  .hero-home .container { padding-top: 40px; padding-bottom: 56px; }

  .hero-inner {
    min-height: 300px;
  }

  .hero-inner .container {
    padding-bottom: 40px;
    padding-top: 28px;
  }

  .hero-inner h1 {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .section-services,
  .section-about-short,
  .section-clients-preview,
  .section-two-col,
  .section-why,
  .section-services-list,
  .section-segments,
  .section-contact,
  .institutional-section {
    padding: 56px 0;
  }

  .highlights { padding: 40px 0; }
  .highlights-grid,
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .services-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .about-short-grid,
  .two-col,
  .contact-grid,
  .institutional-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-short-image,
  .two-col-image { height: 260px; min-height: 220px; }

  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-img {
    min-height: 220px;
    height: 220px;
  }
  .service-detail-body {
    padding: 24px 20px;
  }

  .cta-whatsapp-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 24px 20px;
  }

  .cta-whatsapp-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-whatsapp-box .btn-whatsapp {
    width: 100%;
    white-space: normal;
  }

  .cta-banner { padding: 48px 0; }

  .form-box { padding: 24px 20px; }

  .contact-card a,
  .contact-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 600px) {
  .services-cards,
  .clients-logos,
  .highlights-grid,
  .stats-grid,
  .why-grid,
  .segments-grid { grid-template-columns: 1fr; }

  .service-detail-body ul { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-credit {
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn {
    white-space: normal;
  }

  .section-subtitle {
    margin-bottom: 32px;
    font-size: 0.9rem;
  }


  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .site-footer { padding-top: 48px; }
}
