/* ===== Reset básico ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1220 0, #020617 40%, #000 100%);
  color: #e5e7eb;
  line-height: 1.6;
}

/* Utilitários */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #111827 0, #020617 60%);
}

.section-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header p {
  max-width: 680px;
  color: #9ca3af;
}

/* ===== Cabeçalho / Menu ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

/* Marca */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #f9fafb;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #e5e7eb;
}

/* Navegação */
.main-nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #facc15, #f97316);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #fde68a;
}

/* Menu mobile */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f9fafb;
  border-radius: 999px;
  margin: 4px 0;
}

/* ===== Hero ===== */
.hero {
  padding: 5.5rem 0 4rem;
}

.hero-home {
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.15), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  color: #d1d5db;
  max-width: 640px;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-badges {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-badges span {
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.35rem 0.85rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
}

/* Bloco destacado no hero */
.hero-highlight {
  background: radial-gradient(circle at top, #0f172a, #020617);
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.8rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
}

.hero-highlight h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-highlight ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.hero-highlight li {
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at top, #facc15, #f97316);
  color: #111827;
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(250, 204, 21, 0.45);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn-outline:hover {
  border-color: #facc15;
  background: rgba(15, 23, 42, 0.9);
}

.btn.full-width {
  width: 100%;
}

/* ===== Cards / Grids ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.cards-grid-large {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.3rem;
  padding: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.75);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.9);
  border-color: rgba(250, 204, 21, 0.7);
}

.card h2,
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.93rem;
  color: #d1d5db;
}

/* Contato cards */
.contact-card {
  text-align: left;
}

/* CTA Portfólio */
.cta-portfolio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ===== Portfólio ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.portfolio-item {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.portfolio-thumb {
  height: 190px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-thumb.placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      #020617,
      #020617 10px,
      #0b1120 10px,
      #0b1120 20px
    );
  color: #facc15;
  font-size: 0.8rem;
  text-align: center;
  padding: 0 1rem;
}

.portfolio-body {
  padding: 1.4rem;
}

/* ===== Formulários ===== */
.form-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

textarea {
  resize: vertical;
}

/* Info card lateral */
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
}

.info-card {
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.6rem;
  font-size: 0.95rem;
  color: #d1d5db;
}

.info-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.info-card ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.info-card li {
  margin-bottom: 0.4rem;
}

.link-highlight {
  color: #facc15;
  text-decoration: none;
}

.link-highlight:hover {
  text-decoration: underline;
}

/* ===== Páginas ===== */
.page {
  padding-top: 4.5rem;
}

/* Center CTA */
.section-cta-center {
  margin-top: 2.5rem;
  text-align: center;
}

/* ===== Rodapé ===== */
.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 1);
  background: #020617;
  padding: 2.5rem 0 1.2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2rem;
  font-size: 0.88rem;
}

.site-footer h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.site-footer h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.3rem;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  color: #facc15;
}

.footer-bottom {
  margin-top: 1.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ===== Responsividade ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-portfolio {
    align-items: flex-start;
  }

  .header-inner {
    gap: 1rem;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: block;
  }


@media (max-width: 600px) {
  .hero {
    padding-top: 4.5rem;
  }

  .section {
    padding: 3.2rem 0;
  }
}

/* ===============================
   BOTÃO FLUTUANTE WHATSAPP
   =============================== */

.whatsapp-float {
  position: fixed;
  right: 20px;          /* canto inferior direito */
  bottom: 20px;
  z-index: 9999;
  text-decoration: none;
}

.whatsapp-float-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;        /* verde WhatsApp */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  opacity: 1;
}

.whatsapp-float-button:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  background-color: #1fb455;
}

/* Ícone dentro do botão como background */
.whatsapp-icon {
  width: 26px;
  height: 26px;
  display: block;
  background-image: url("whatsapp-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
}
