:root {
  --brand: #1f6fff;
  --brand-dark: #0e49c9;
  --text: #1a1a1a;
  --ink: #1a1a1a;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e5e7eb;
  --radius: 14px;
  --page: 1100px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "DM Sans", Arial, sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: #fff;
}

a {
  color: inherit;
}

/* Coluna centrada (como o WordPress original) */
.page-shell {
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
}

/* —— Header —— */
header.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

header .logo img {
  height: 80px;
  display: block;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

header nav ul li a:hover,
header nav ul li a[aria-current="page"] {
  color: #1f6fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle:hover {
  background: #f3f4f6;
}

.menu-toggle__bar {
  display: block;
  height: 3px;
  width: 24px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 641px) {
  header nav ul {
    display: flex !important;
  }
}

@media (max-width: 640px) {
  header.site-header {
    padding: 16px;
  }

  header .logo {
    flex: 1 1 auto;
  }

  header .logo img {
    height: 65px;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }

  header nav {
    width: 100%;
    flex-basis: 100%;
    margin-top: 12px;
  }

  header nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    display: none;
    padding: 8px 0 0;
  }

  header nav ul.active {
    display: flex;
  }

  header nav ul li {
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 10px;
  }

  header nav ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* —— Body / sections —— */
.wrap {
  color: var(--text);
  line-height: 1.5;
}

.section {
  padding: 56px 20px;
}

.container {
  max-width: 100%;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--brand-dark);
}

.btn.alt {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn.alt:hover {
  background: #eef2ff;
}

.grid {
  display: grid;
  gap: 24px;
}

section[id] {
  scroll-margin-top: 90px;
}

/* Hero */
.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(0deg, rgba(31, 111, 255, 0.2), rgba(31, 111, 255, 0.2)),
    url("assets/hero.webp") center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p {
  font-size: 18px;
  margin: 0;
}

.hero .container {
  max-width: 800px;
}

/* About */
.about {
  background: var(--bg);
}

.about .card,
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.about .card {
  border: none;
}

.card {
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.card p {
  margin: 0 0 10px;
}

.about h2,
.services h2,
.testimonials h2 {
  margin-bottom: 0;
  font-size: inherit;
}

.about .card h2 {
  font-size: 1.5rem;
  margin: 0;
}

.about p {
  margin-top: 12px;
}

/* Services */
.services .item {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.services .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(31, 111, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 8px;
}

.services .item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}

.services .item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.services-grid {
  margin-top: 16px;
}

/* Testimonials */
.quote {
  background: var(--card);
  border-left: 4px solid var(--brand);
  padding: 20px;
  border-radius: var(--radius);
  margin-top: 24px;
}

.quote p {
  margin: 0 0 8px;
}

.quote small {
  color: var(--muted);
}

/* CTA */
.cta-banner {
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  margin: 0 20px 56px;
  padding: 56px 20px;
}

.cta-banner h2 {
  margin: 0 0 8px;
}

.cta-banner p {
  margin: 0 0 20px;
}

.cta-banner .btn {
  background: #fff;
  color: var(--brand);
}

.cta-banner .btn:hover {
  background: #eef2ff;
}

@media (min-width: 640px) {
  .grid.s2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid.s3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid.s4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero p {
    font-size: 20px;
  }
}

/* —— Contact page —— */
.contact-hero h1 {
  margin: 0 0 8px;
  font-size: 36px;
}

.contact-hero p {
  margin: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.list a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

.list a:hover {
  color: var(--brand-dark);
}

.badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(31, 111, 255, 0.1);
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
}

@media (min-width: 900px) {
  .map iframe {
    height: 100%;
    min-height: 280px;
  }
}

.location h3 {
  margin: 0 0 8px;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}

.contact-blurb {
  margin-top: 24px;
}

/* —— Footer —— */
footer.site-footer {
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 56px 20px 32px;
}

footer.site-footer .container {
  display: grid;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  footer.site-footer .container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

footer.site-footer p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

footer.site-footer a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}

footer.site-footer a:hover {
  color: var(--brand-dark);
}

.logo-plate {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.logo-plate img {
  height: 56px;
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info span {
  display: block;
  font-size: 14px;
}

.contact-info .contact-page-link {
  margin-top: 8px;
}

.bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  footer.site-footer {
    padding: 32px 16px 24px;
  }

  footer.site-footer .container {
    gap: 24px;
  }

  .logo-plate img {
    height: 48px;
  }

  .cta-banner {
    margin: 0 16px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .services .item {
    transition: none;
  }
}
