*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
}

/* Layout base */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-gray {
  background-color: #e5e7eb21;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.98rem;
}

/* Topbar / Header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f9fafb;
  font-weight: 600;
}

/* LOGO: só a imagem */
.logo-img {
  height: 100px;      /* tamanho bem proporcional ao header */
  max-height: 150px;  /* segurança para não estourar */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Esses dois não são mais necessários, pode apagar */
 /* .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  font-size: 1rem;
}

.logo-text {
  letter-spacing: 0.03em;
} */

.logo-text {
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.7;
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  color: #f9fafb;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.45);
  opacity: 0.95;
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #c7d2fe;
  box-shadow: none;
}

.btn-outline:hover {
  background-color: #e0e7ff;
}

/* Hero */

.hero {
  padding: 5.5rem 0 4rem;
  background: radial-gradient(circle at top left, #eef2ff 0, #f8fafc 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #4b5563;
}

.hero-badges span {
  background-color: #e5e7eb;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* Hero card */

.hero-card {
  background-color: #0f172a;
  color: #f9fafb;
  border-radius: 1.5rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(129, 140, 248, 0.3), transparent),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.28), transparent);
  opacity: 0.9;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.hero-card li::before {
  content: "•";
  margin-right: 0.4rem;
  color: #a5b4fc;
}

/* Grid / Cards */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.highlight-card {
  background: linear-gradient(145deg, #eef2ff, #f9fafb);
}

/* Sobre */

.stats {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #4f46e5;
}

.stat-label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Checklist */

.checklist {
  list-style: none;
  margin-top: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "✔";
  font-size: 0.8rem;
  margin-top: 0.15rem;
  color: #16a34a;
}

/* Serviços */

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.service-card ul {
  list-style: none;
  font-size: 0.84rem;
  color: #4b5563;
}

.service-card li::before {
  content: "•";
  margin-right: 0.4rem;
}

/* Portfólio */

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-thumb {
  border-radius: 0.9rem;
  margin-bottom: 0.9rem;
  height: 170px;
  overflow: hidden;
  position: relative;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom */
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.10);
}


.portfolio-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.portfolio-card p {
  font-size: 0.88rem;
  color: #6b7280;
}

/* Card com borda colorida */
.portfolio-card {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff),
                    linear-gradient(135deg, #6366f1, #ec4899);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}


/* Depoimentos */

.testimonial-card p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.testimonial-name {
  font-weight: 600;
  display: block;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Contato */

.contact-list {
  list-style: none;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.contact-list li + li {
  margin-top: 0.35rem;
}

.contact-form h3 {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px #4f46e533;
}

.contact-form button {
  width: 100%;
  margin-top: 0.4rem;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: #6b7280;
}

/* Footer */

.footer {
  border-top: 1px solid #e5e7eb;
  background-color: #f9fafb;
  padding: 1.2rem 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-credit {
  opacity: 0.85;
}

/* Responsivo */

@media (max-width: 960px) {
  .hero-inner,
  .two-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-card {
    order: -1;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    gap: 0.75rem;
  }

  .nav {
    display: none; /* para simplificar; podemos fazer menu mobile depois */
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cards-grid,
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
