/* ==================================================
   TOKENS / VARIÁVEIS GLOBAIS
   ================================================== */
:root {
  /* Base */
  --bg: #f8fafc;
  --surface: #ffffff;
  --white: #ffffff;

  /* Textos */
  --primary: #0f172a;
  --secondary: #1e293b;
  --text: #0f172a;
  --muted: #475569;

  /* Destaque */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;

  /* Bordas e linhas */
  --line: #e2e8f0;
  --line-soft: #eeeeee;

  /* Cores específicas */
  --header-start: #0d2b45;
  --header-end: #1e4e79;
  --mobile-menu-start: #0d2b4f;
  --mobile-menu-end: #133a6b;

  --hero-panel-end: #1e3a8a;
  --cta-end: #1d4ed8;

  --danger-bg: #ffe5e5;
  --danger-text: #c62828;

  --whatsapp-start: #25d366;
  --whatsapp-end: #1fb857;

  --soft-bg: #f8fafc;
  --soft-bg-2: #f1f5f9;

  --service-title: #0d2b45;
  --service-text: #666666;

  /* Overlays e transparências */
  --accent-soft: rgba(37, 99, 235, 0.08);
  --accent-soft-border: rgba(37, 99, 235, 0.15);
  --accent-focus: rgba(37, 99, 235, 0.55);
  --accent-ring: rgba(37, 99, 235, 0.08);
  --accent-shadow: rgba(37, 99, 235, 0.25);

  --white-82: rgba(255, 255, 255, 0.82);
  --white-84: rgba(255, 255, 255, 0.84);
  --white-75: rgba(255, 255, 255, 0.75);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-25: rgba(255, 255, 255, 0.25);
  --white-24: rgba(255, 255, 255, 0.24);
  --white-18: rgba(255, 255, 255, 0.18);
  --white-14: rgba(255, 255, 255, 0.14);
  --white-08: rgba(255, 255, 255, 0.08);

  --btn-primary-hover: rgba(7, 9, 119, 0.9);
  --btn-whatsapp-hover-bg: rgba(30, 2, 156, 0.16);

  /* Sombras */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-card-hover: 0 28px 70px rgba(15, 23, 42, 0.16);
  --shadow-hero-panel: 0 24px 50px rgba(15, 23, 42, 0.22);
  --shadow-cta: 0 25px 50px rgba(15, 23, 42, 0.24);
  --shadow-lift: 0 10px 20px rgba(15, 23, 42, 0.06);
  --shadow-chatbox: 0 20px 40px rgba(15, 23, 42, 0.16);
  --shadow-instagram-avatar: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-whatsapp:
    0 12px 30px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(37, 211, 102, 0.28);
  --shadow-whatsapp-hover:
    0 18px 36px rgba(15, 23, 42, 0.22),
    0 6px 18px rgba(37, 211, 102, 0.35);
  --shadow-btn-whatsapp-hover:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(10, 10, 10, 0.25);
  --shadow-btn-whatsapp-active: 0 8px 16px rgba(0, 0, 0, 0.22);
  --shadow-cartao: 0 25px 60px rgba(15, 23, 42, 0.12);

  /* Raios */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-3xl: 28px;
  --radius-pill: 999px;

  /* Layout */
  --container: 1180px;
}


/* ==================================================
   BASE
   reset, body, elementos globais, container e utilitários
   ================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}

html {
  scroll-behavior: smooth;
}

body {
   font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

label {
  font-size: 0.94rem;
  font-weight: bold;
  color: var(--secondary);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--soft-bg);
  font: inherit;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-focus);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-ring);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* depende de todos ter a mesma section  */

.section:nth-of-type(even) {
  background: #f8fafc;
}

.section:nth-of-type(odd) {
  background: #ffffff;
}

/* nao depende das section */
/* .section:nth-child(even) {
  background: #f8fafc;
}

.section:nth-child(odd) {
  background: #ffffff;
} */

.section.contato, .section.orcamento {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(300px, 100vh, 880px);
}

.section {
  border-top: 1px solid #e5e7eb;
  padding: 88px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-header span {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.sr-only {
  display: none;
}

/* ==================================================
   COMPONENTS
   botões, cards, grids, formulários, orçamento e widget
   ================================================== */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: bold;
  transition: 0.25s ease;
}

.btn-primary {
  background: #062846;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.219); /* ajuda no contraste */
}

.btn-primary:hover {
  background: #0a1f33;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.section.local .btn-primary {
  color: #ffffff;
}


/* Hero / cards pequenos */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

.highlight-card strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s;
   scroll-margin-top: 40vh;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-card .card-body {
  padding: 15px;
}

.service-card h3 {
  color: var(--service-title);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--service-text);
}

.card-texto-digitando {
  font-size: 0.9rem;
  color: var(--service-text);
  min-height: 3.8em;
  position: relative;
}

.card-texto-digitando.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--accent);
  animation: piscar-cursor 0.7s steps(1) infinite;
}

.cartao-desc.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 4px;
  vertical-align: -2px;
  background: var(--accent);
  animation: piscar-cursor 0.7s steps(1) infinite;
}

@keyframes piscar-cursor {
  50% {
    opacity: 0;
  }
}

.service-card:target {
  outline: 3px solid var(--accent);
  transform: scale(1.02);
  transition: 0.3s;
}
/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--header-end);
  color: var(--white);
  font-weight: bold;
  margin-bottom: 18px;
}

.step-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.15rem;
}

.step-card p {
  color: var(--muted);
}

/* Diferenciais */
.features-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.feature-box,
.authority-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

.feature-box h3,
.authority-box h3 {
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--secondary);
  background: var(--soft-bg);
}

.authority-items {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.authority-item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--soft-bg);
  border: 1px solid var(--line);
}

.authority-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
}

.authority-item p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* Contato / formulário */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-info,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-info h3,
.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-points {
  display: grid;
  gap: 16px;
}

.contact-points li {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--soft-bg);
  border: 1px solid var(--line);
  color: var(--secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

/* Orçamento */
.orcamento-lista {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.orcamento-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.orcamento-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.orcamento-topo h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.btn-remover {
  border: none;
  background: var(--danger-bg);
  color: var(--danger-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
}

.orcamento-campos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.orcamento-campo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.orcamento-campo label {
  font-weight: 600;
  white-space: nowrap;
  color: var(--secondary);
}

.orcamento-campo input,
.orcamento-campo select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  background: var(--white);
}

.orcamento-campo input:focus,
.orcamento-campo select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}

.orcamento-acoes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.resultado-orcamento {
  margin-top: 25px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.resultado-orcamento h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.resultado-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.resultado-item:last-child {
  border-bottom: none;
}

.resultado-total {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* Endereço */
.endereco-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  align-items: center;
}

.endereco-info h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  color: var(--primary);
}

.endereco-info p {
  margin: 10px 0;
  font-size: 1rem;
  color: var(--muted);
}

.endereco-info a {
  color: inherit;
}

.endereco-info .btn {
  margin-top: 16px;
}

.endereco-mapa iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-md);
}

/* Instagram */
.instagram-feed {
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
}

.instagram-box {
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-bg) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-3xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.instagram-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.instagram-profile__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--accent-soft-border);
  box-shadow: var(--shadow-instagram-avatar);
  background: var(--white);
}

.instagram-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-profile__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.instagram-profile__info strong {
  color: var(--primary);
  font-size: 1rem;
}

.instagram-profile__info span {
  color: var(--muted);
  font-size: 0.95rem;
}

.instagram-profile-btn {
  white-space: nowrap;
}

.instagram-feed iframe,
.instagram-feed > div {
  width: 100%;
  border-radius: 22px;
}

/* WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.whatsapp-chatbox {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-chatbox);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  contain: layout paint;
  will-change: transform, opacity;
}

.whatsapp-chatbox.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-chatbox__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--header-start), var(--header-end));
  color: var(--white);
}

.whatsapp-chatbox__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white-14);
  border: 1px solid var(--white-18);
  flex-shrink: 0;
}

.whatsapp-chatbox__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-chatbox__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.whatsapp-chatbox__info strong {
  font-size: 1rem;
}

.whatsapp-chatbox__info span {
  font-size: 0.88rem;
  color: var(--white-82);
}

.whatsapp-chatbox__body {
  padding: 16px 18px 18px;
  background: var(--white);
}

.whatsapp-chatbox__body p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.96rem;
  line-height: 1.5;
}

.whatsapp-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: var(--white-14);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}


.whatsapp-close:hover {
  background: var(--white-24);
}

.whatsapp-float {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--whatsapp-start), var(--whatsapp-end));
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: var(--shadow-whatsapp);
  border: 1px solid var(--white-18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-whatsapp-hover);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-icon {
  font-size: 20px;
}

.whatsapp-text {
  white-space: nowrap;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ==================================================
   SECTIONS
   header, hero, cta, footer, cartao, instagram e trabalhe
   ================================================== */

#trabalhe {
  scroll-margin-top: 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to right, var(--header-start), var(--header-end));
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

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

.logo span {
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.96rem;
  color: var(--white);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.25s ease;
  transform: translateX(-50%);
}

.nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: var(--accent-soft);
  border-radius: 50%;
  top: -120px;
  right: -120px;
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content span {
  display: inline-block;
  color: var(--accent);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-panel {
  background: linear-gradient(135deg, var(--primary), var(--hero-panel-end));
  color: var(--white);
  border-radius: var(--radius-3xl);
  padding: 34px;
  box-shadow: var(--shadow-hero-panel);
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.hero-panel p {
  color: var(--white-82);
  margin-bottom: 26px;
}

.hero-panel ul {
  display: grid;
  gap: 14px;
}

.hero-panel li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--white-08);
  border: 1px solid var(--white-08);
}


/* CTA */
.section.cta {
  display: grid;
  align-items: center;
  justify-content: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--cta-end));
  color: var(--white);
  border-radius: var(--radius-3xl);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-cta);
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--white-84);
  max-width: 650px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta .btn-outline {
  border-color: var(--white-25);
  color: var(--white);
  background: transparent;
}

.cta .btn-outline:hover {
  background: var(--white-08);
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0 30px;
  margin-top: 88px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer h3,
.footer h4 {
  margin-bottom: 14px;
}

.footer p,
.footer li,
.footer a {
  color: var(--white-75);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  color: var(--white-65);
  font-size: 0.95rem;
  text-align: center;
}

.footer h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
}

.footer h3 img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Trabalhe */
.trabalhe {
  min-height: clamp(300px, 100vh, 880px);
  display: flex;
  align-items: center;
  padding: 40px 0;
}

/* Instagram */
.instagram-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.instagram-section::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent-soft);
  top: -80px;
  right: -100px;
  filter: blur(10px);
  pointer-events: none;
}

.instagram-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Cartão */
.section.cartao-section {
  padding: 60px 20px;
  background: var(--soft-bg);
}

.cartao {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-cartao);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cartao:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}


.cartao-right {
  display: block;
  width: 100%;
  height: 100%;
}

.cartao-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}


.cartao:hover .cartao-right img {
  transform: scale(1.02);
}

.cartao-left {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cartao-left .btn { 
  width: fit-content;
  margin-top: 8px;
}

.cartao-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cartao-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--primary);
  margin: 0;
}

.cartao-desc {
  color: var(--muted);
  min-height: 3.3em;
  font-size: 1rem;
  line-height: 1.5;
}

.lista-servicos {
  list-style: none;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 10px;
}

.lista-servicos li {
  color: #000;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--soft-bg-2);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lista-servicos li:hover {
  transform: translateY(-2px);
  background: var(--soft-bg);
  box-shadow: var(--shadow-lift);
}

.lista-servicos li a {
  display: block;
  height: 100%;
  width: 100%;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1100px) {
  .hero-grid,
  .features-wrap,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 860px) {
  .nav,
  .header .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--mobile-menu-start), var(--mobile-menu-end));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow);
  }

  .hero-grid,
  .steps-grid,
  .form-grid,
  .orcamento-campos,
  .endereco-card {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }
  
  

  .hero {
    padding-top: 48px;
  }

  .hero-panel,
  .cta-box,
  .contact-info,
  .contact-form-wrap,
  .feature-box,
  .authority-box {
    padding: 26px;
  }

  .service-card {
    scroll-margin-top: 70px;
  }

  .orcamento-topo {
    flex-direction: column;
    align-items: flex-start;
  }

  .orcamento-acoes {
    flex-direction: column;
  }

  .endereco-mapa iframe {
    height: 250px;
  }

  .instagram-box {
    padding: 20px;
    border-radius: 22px;
  }

  .instagram-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .instagram-profile-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-text {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .instagram-profile__avatar {
    width: 42px;
    height: 42px;
  }

  .instagram-profile__info strong {
    font-size: 0.9rem;
  }

  .instagram-profile__info span {
    font-size: 0.8rem;
  }

  .instagram-feed {
    padding: 0 6px;
  }

  .instagram-feed a {
    margin: 4px !important;
  }

  .instagram-feed iframe,
  .instagram-feed > div {
    gap: 8px !important;
  }

  .whatsapp-chatbox {
    display: none !important;
  }
  
}

@media (max-width: 520px) {
  .header-inner {
    min-height: 50px;
  }

  .cartao-desc {
    color: var(--muted);
    min-height: 4.8em;
    font-size: 1rem;
    line-height: 1.5;
  }

  .service-card {
    scroll-margin-top: 60px;
  }

  .cartao {
    margin: 0;
    margin-top: -20px;
    border-radius: var(--radius-lg);
  }

  .cartao-right {
    height: 220px;
    aspect-ratio: 4 / 3;
  }

  

  .cartao-left {
    padding: 24px 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .section-header {
    margin-bottom: 34px;
  }

  .instagram-profile {
    align-items: center;
  }

  .logo {
    font-size: 1rem;
  }

  .instagram-profile__avatar {
    width: 52px;
    height: 52px;
  }
  
}

@media (max-width: 330px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 860px) {
  #inicio {
    scroll-margin-top: 78px;
  }

  #contato, #orcamento {
  scroll-margin-top: 68px;
}

/* deixar lado a lado  */
  .cartao {
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
  
  }
  .section.cartao-section {
    position: relative;
  padding: auto 0;
  min-height: clamp(500px, 100vh, 880px);
  margin-top: -3px;
  color: #ffffff;

  background:
     linear-gradient(rgba(30, 78, 121, 0.75), rgba(30, 78, 121, 0.75 )),
      url('https://res.cloudinary.com/ddeewatqn/image/upload/f_auto,q_auto,w_1200/v1775608302/equipes_qfmgi9.png');
  background-size: cover;
  background-position: center 15%;
  background-repeat: no-repeat;
  }

  .cartao-right {
    height: auto;
    padding: 0;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    background: var(--soft-bg);
  }

  .cartao-right picture {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .cartao-right img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
  }


}

