/* ========================================
   Dallas Paint House — Stylesheet v2
   Clean Pro Design System
   ======================================== */

/* ---------- Design tokens ---------- */
:root {
  --primary:        #0B1D3A;
  --primary-dark:   #060E1D;
  --primary-dim:    rgba(11, 29, 58, 0.08);
  --primary-glow:   rgba(11, 29, 58, 0.15);
  --primary-border: rgba(11, 29, 58, 0.18);

  --accent:         #EF4444;

  --bg:             #F8F9FB;
  --bg-2:           #FFFFFF;
  --bg-card:        #FFFFFF;
  --bg-card-hover:  #F8F9FB;
  --bg-dark:        #0F172A;
  --bg-dark-2:      #1E293B;

  --text-1:   #0F172A;
  --text-2:   #475569;
  --text-3:   #94A3B8;
  --border:   #E2E8F0;
  --border-hover: rgba(11, 29, 58, 0.35);

  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 4px 20px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 60px rgba(15,23,42,.12), 0 8px 20px rgba(15,23,42,.06);
  --shadow-blue: 0 8px 25px rgba(11,29,58,.28);
  --glow-blue: 0 0 40px rgba(11,29,58,.10);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: .18s;
  --med:  .32s;
  --slow: .55s;

  --container: 1280px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }
.accent { color: var(--primary); }

.ph {
  width: 100%; height: 100%;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
  border-radius: inherit;
}

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-sm { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Section labels / eyebrow pills ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
/* Botão de ligação — visível apenas no menu mobile */
.nav-mobile-cta { display: none; }

/* Dot decorativo vermelho antes de cada section-label */
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #A93226;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 16px;
  letter-spacing: -.025em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 24px;
  transition: all var(--fast) var(--ease);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 12px 32px rgba(11,29,58,.38);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.55);
}
.btn-sm { font-size: .8rem; padding: 8px 18px; border-radius: 8px; }
.btn-lg { font-size: .95rem; padding: 14px 30px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248,249,251,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.96);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 11px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11,29,58,.30);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 8px 24px rgba(11,29,58,.45);
}
.brand-logo {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.brand-fallback {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-size: .975rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
}
.brand-name .accent { color: var(--primary); }
.brand-sub {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 8px;
  transition: color var(--fast), background var(--fast);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.site-nav a:hover { color: var(--primary); background: var(--primary-dim); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--fast);
}
.header-phone:hover { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--fast) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero — Full Screen ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,.82) 0%,
    rgba(15,23,42,.65) 55%,
    rgba(11,29,58,.25) 100%
  );
  z-index: 1;
}

.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0;
}

.hero-content {
  max-width: 660px;
}

/* Panels from split-screen layout — not used */
.hero-content-panel { display: none; }
.hero-visual-panel { display: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.07;
  margin-bottom: 22px;
  color: #fff;
  letter-spacing: -.035em;
}
.hero-title .accent {
  color: #93B8D8;
  display: block;
}

/* ── Overrides de contraste em seções escuras ── */
.hero .btn-primary {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.hero .btn-primary:hover {
  background: #F1F5F9;
  color: var(--primary-dark);
  box-shadow: 0 14px 36px rgba(0,0,0,.38);
  transform: translateY(-2px);
}
.contact .section-title .accent,
.contact .accent {
  color: #7BA8D4;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  line-height: 1.78;
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ── Faixa vermelha entre hero e services ── */
.accent-stripe {
  height: 4px;
  background: linear-gradient(90deg, #A93226 0%, #C0392B 50%, #A93226 100%);
  border: none;
  margin: 0;
}

/* ---------- Services ---------- */
.services { background: var(--bg-2); content-visibility: auto; contain-intrinsic-size: 0 900px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  height: 340px;
  perspective: 1000px;
  cursor: pointer;
}
.card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
}
@media (hover: hover) {
  .service-card:hover .card-inner { transform: rotateY(180deg); }
}
.service-card.flipped .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.card-front {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.service-card:hover .card-front { border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.card-ph {
  flex: 1;
  border-radius: 0;
  background-color: var(--bg);
}
.card-front-content { display: none; }

.card-back {
  background: var(--bg-2);
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-md), var(--glow-blue);
  transform: rotateY(180deg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.card-back h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.025em;
}
.card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-features li {
  font-size: .875rem;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.card-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ---------- Carousel ---------- */
.carousel-section { background: var(--bg); overflow: hidden; }
.carousel-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 32px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  gap: 16px;
  cursor: grab;
  user-select: none;
  padding: 0 60px;
}
.carousel-track:active { cursor: grabbing; }
.carousel-slide {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}
.carousel-slide:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.carousel-slide .ph { border-radius: 0; }

/* ---------- About ---------- */
.about { background: var(--bg); content-visibility: auto; contain-intrinsic-size: 0 700px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 72px;
}
.about-visual {
  position: sticky;
  top: 100px;
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 1080 / 1350;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.about-ph {
  width: 100%; height: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-card {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #A93226;
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 8px 25px rgba(169,50,38,.35);
  max-width: 240px;
}
.about-card-icon { color: rgba(255,255,255,.7); flex-shrink: 0; }

.about-content { max-width: 520px; }
.about-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin: 16px 0 32px;
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .95rem;
  color: var(--text-2);
  line-height: 1.5;
}
.check-icon {
  width: 22px; height: 22px;
  background: #A93226;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  margin-top: 1px;
}
.check-icon svg { width: 11px; height: 11px; }

/* ---------- Why Us ---------- */
.why-us { background: var(--bg-2); content-visibility: auto; contain-intrinsic-size: 0 600px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--med) var(--ease);
}
.why-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--bg-2);
}
.why-icon {
  width: 56px; height: 56px;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: transform var(--med) var(--ease), background var(--med) var(--ease), color var(--med) var(--ease);
}
.why-card:hover .why-icon {
  transform: scale(1.1);
  background: var(--primary);
  color: #fff;
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.015em;
}
.why-card p { font-size: .875rem; color: var(--text-2); line-height: 1.7; }

/* ---------- Projects ---------- */
.projects { background: var(--bg); content-visibility: auto; contain-intrinsic-size: 0 650px; }
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 500px;
  gap: 14px;
}
.project-side {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--fast), transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.project-ph { flex: 1; min-height: 0; }
.project-side:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-featured { height: 100%; }
.project-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--fast), transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.project-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-item .ph { transition: transform var(--slow) var(--ease); }
.project-item:hover .ph { transform: scale(1.04); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.project-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: #A93226;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 6px;
  width: fit-content;
}
.project-label {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg-dark); }
.contact-grid {
  display: flex;
  justify-content: center;
}
.contact-info {
  max-width: 860px;
  width: 100%;
  position: relative;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.contact-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(11,29,58,.16) 0%, transparent 70%);
  pointer-events: none;
}
.contact .section-label {
  color: #7BA8D4;
  background: rgba(11,29,58,.14);
  border-color: rgba(11,29,58,.24);
}
.contact .section-title {
  color: #F8FAFC;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}
.contact-desc {
  font-size: .95rem;
  color: #94A3B8;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.92);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-item-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 3px;
}
.contact-item-val {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: #F1F5F9;
  transition: color var(--fast);
}
a.contact-item-val:hover { color: #7BA8D4; }
.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.social-link {
  width: 46px; height: 46px;
  background: rgba(255,255,255,.92);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all var(--fast) var(--ease);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  background: #A93226;
  color: #fff;
  border-color: #A93226;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(169,50,38,.4);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand-mark { margin-bottom: 16px; }
.footer-tagline { font-size: .875rem; color: var(--text-3); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: .875rem;
  color: var(--text-2);
  transition: color var(--fast);
}
.footer-col li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 3px solid #A93226;
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: var(--text-3);
}
.footer-made { color: var(--text-3); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--med) var(--ease);
}
.whatsapp-float:hover {
  background: #1da851;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(37,211,102,.6);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 50;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--med) var(--ease);
  box-shadow: var(--shadow-blue);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11,29,58,.5); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.4rem, 5vw, 3.5rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .footer-brand { grid-column: span 3; }
}

/* ── 960px: mobile nav ── */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .projects-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .project-side { height: 240px; }
  .project-featured { height: 320px; }
  .contact-info { padding: 40px 36px; }
  .carousel-track { padding: 0 24px; }

  .site-nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 4px;
    z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open a {
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text-1);
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateY(-8px);
    animation: navSlide var(--med) var(--ease) forwards;
  }
  .site-nav.open a:hover,
  .site-nav.open a:active {
    background: var(--primary-dim);
    color: var(--primary);
  }
  @keyframes navSlide {
    to { opacity: 1; transform: translateY(0); }
  }
  .site-nav.open a:nth-child(1) { animation-delay: .05s; }
  .site-nav.open a:nth-child(2) { animation-delay: .10s; }
  .site-nav.open a:nth-child(3) { animation-delay: .15s; }
  .site-nav.open a:nth-child(4) { animation-delay: .20s; }
  .site-nav.open a:nth-child(5) { animation-delay: .25s; }

  /* Botão de ligação no menu mobile */
  .site-nav.open a.nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 13px 16px;
    background: #A93226;
    color: #fff;
    border-radius: var(--radius-md);
    font-size: .95rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-8px);
    animation: navSlide var(--med) var(--ease) .30s forwards;
  }
  .site-nav.open a.nav-mobile-cta:hover,
  .site-nav.open a.nav-mobile-cta:active {
    background: #8B2920;
    color: #fff;
  }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { height: 300px; }
}

/* ── 640px: mobile ── */
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header, .section-title, .section-desc, .section-label { text-align: center; }

  .hero {
    height: auto;
    min-height: unset;
    align-items: flex-start;
  }
  .hero-inner { padding: 3.5rem 0.75rem 4rem; }
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.8rem); letter-spacing: -.03em; }
  .hero-desc { font-size: .95rem; margin-bottom: 22px; max-width: 100%; }
  .hero-actions { margin-bottom: 32px; flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    justify-content: center;
  }
  .hero-stats .stat-number { font-size: 1.3rem; }
  .hero-stats .stat-label { font-size: .65rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 280px; }

  .carousel-track { padding: 0 16px; gap: 10px; }
  .carousel-slide { width: 220px; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card { text-align: center; }

  .projects-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .project-side { height: 240px; }
  .project-featured { height: 280px; }

  .contact-info { padding: 28px 20px; border-radius: var(--radius-lg); }
  .contact-list li { gap: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-tagline { margin: 0 auto; }
  .footer-col { text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  .about-img-wrap { margin: 0 auto; }
}

/* ── 480px: phones pequenos (iPhone SE, Galaxy A) ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero-desc { font-size: .9rem; }
  .eyebrow { font-size: .65rem; padding: 4px 10px; letter-spacing: .07em; }
  .btn-lg { font-size: .875rem; padding: 13px 22px; }
  .service-card { height: 260px; }
  .project-side { height: 200px; }
  .project-featured { height: 250px; }
  .carousel-slide { width: 200px; }
  .contact-info { padding: 24px 16px; }
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .why-card { padding: 28px 20px; }
  .card-back { padding: 24px 20px; }
}
