/*
Theme Name: Seo Master
Description: Tema WordPress Landing Page otimizado para velocidade máxima.
Version: 1.0
*/

:root {
  --bg: #08111f;
  --bg-soft: #101b31;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: #13213d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8fbff;
  --muted: #aab6cb;
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --accent: #38bdf8;
  --warning: #f59e0b;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 24%),
    linear-gradient(180deg, #08111f 0%, #0f1729 100%);
  line-height: 1.6;
}

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

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

button {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 16px;
}

.logo-text small {
  color: var(--muted);
  font-size: 12px;
}

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

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.2s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.98);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 24px;
}

.mobile-menu a {
  color: var(--muted);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--text);
}

.hero {
  padding: 86px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.18);
  color: #ddffea;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.04;
  max-width: 11ch;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
}

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

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.hero-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  min-height: 560px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.hero-image-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent 70%);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 72%);
}

.hero-image-card img {
  width: 100%;
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.floating-badge {
  position: absolute;
  z-index: 2;
  background: rgba(10, 20, 37, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 180px;
  box-shadow: var(--shadow);
}

.floating-badge strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.floating-badge span {
  color: var(--muted);
  font-size: 13px;
}

.badge-top {
  top: 26px;
  left: 24px;
}

.badge-bottom {
  right: 24px;
  bottom: 26px;
}

.section {
  padding: 26px 0 74px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.section-head span,
.cta-box span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-head h2,
.cta-box h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.section-head p,
.cta-box p {
  font-size: 17px;
  color: var(--muted);
}

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

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

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

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

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

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(56, 189, 248, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.feature-card,
.testimonial-card,
.contact-card {
  min-height: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.16);
  color: #d8f4ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.service-card li {
  color: var(--muted);
  font-size: 15px;
}

.service-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  margin-right: 10px;
}

.step-card {
  position: relative;
  padding-top: 62px;
}

.step-number {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.warning-box {
  margin-top: 22px;
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fee8ba;
}

.warning-box strong {
  display: block;
  color: #fff1d0;
  margin-bottom: 6px;
}

.section-cta {
  padding-top: 8px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(56, 189, 248, 0.11));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  padding: 30px;
}

.stars {
  color: #fbbf24;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-size: 18px;
}

.testimonial-person {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-person span {
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px;
  box-shadow: var(--shadow);
}

details summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 26px;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--accent);
  font-size: 22px;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 44px;
  padding: 0 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .cta-box {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content h1 {
    max-width: 100%;
  }

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

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

  .menu-toggle {
    display: flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-image-card {
    min-height: 440px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-bottom: 58px;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .floating-badge {
    position: static;
    margin-top: 12px;
  }

  .hero-image-card {
    padding: 16px;
    min-height: auto;
  }

  .hero-image-card img {
    max-width: 100%;
  }

  .card {
    padding: 20px;
  }

  .cta-box {
    padding: 24px;
  }
}

/* Alterações solicitadas - versão atualizada */
.header-logo {
  width: 150px;
  height: auto;
  display: block;
}

.feature-card {
  text-align: center;
}

.feature-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.contact-card-single {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  align-items: center;
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}

.contact-image-wrap {
  display: flex;
  justify-content: center;
}

.contact-image {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-content h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.contact-content p {
  margin-bottom: 22px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 0;
  background: rgba(8, 17, 31, 0.72);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 18px;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-contact p,
.footer-menu a,
.footer-bottom p,
.footer-policies a {
  color: var(--muted);
  font-size: 14px;
}

.footer-menu {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-menu a,
.footer-policies a {
  transition: 0.2s ease;
}

.footer-menu a:hover,
.footer-policies a:hover {
  color: var(--text);
}

.footer-security {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-seal {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-policies {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-logo {
    width: 120px;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    width: 100%;
  }

  .hero-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
  }

  .floating-badge {
    position: static !important;
    width: 100%;
    margin-top: 10px;
  }

  .step-card {
    padding-top: 24px !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .step-number {
    position: static !important;
    margin-bottom: 4px;
  }

  .step-card h3 {
    margin-top: 0;
  }

  .contact-card-single {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    text-align: center;
  }

  .contact-image-wrap {
    order: 1;
  }

  .contact-content {
    order: 2;
    align-items: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo,
  .footer-seal {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-security {
    align-items: center;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-policies {
    justify-content: center;
  }
}
