/*
Theme Name: Max Ytetsu
Theme URI: https://maxytetsu.com.br
Description: Landing page profissional – Max Ytetsu Marketing Digital & Tráfego Pago com IA em Goiânia.
Author: Max Ytetsu
Author URI: https://maxytetsu.com.br
Version: 1.0
License: Proprietary
Text Domain: maxytetsu
*/

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

:root {
  --bg:      #060C1C;
  --bg2:     #0D1427;
  --surface: #101828;
  --surf2:   #1A2337;
  --border:  rgba(99,160,246,0.12);
  --blue:    #3B82F6;
  --blue-lt: #60A5FA;
  --cyan:    #06B6D4;
  --amber:   #F59E0B;
  --text:    #F1F5F9;
  --muted:   #94A3B8;
  --subtle:  #64748B;
  --grad:    linear-gradient(135deg,#3B82F6 0%,#06B6D4 100%);
  --r:       12px;
  --r-lg:    20px;
  --t:       0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--text); line-height:1.6; overflow-x:hidden; }

h1,h2,h3 { font-family:'Space Grotesk',sans-serif; line-height:1.2; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-lt);
  background: rgba(59,130,246,0.09);
  border: 1px solid rgba(59,130,246,0.22);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.container { max-width:1200px; margin:0 auto; padding:0 1.5rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter',sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--t);
  white-space: nowrap;
}
.btn-primary { background:var(--grad); color:#fff; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(59,130,246,0.38); }
.btn-ghost { background:transparent; color:var(--text); border:1px solid var(--border); }
.btn-ghost:hover { background:rgba(59,130,246,0.07); border-color:rgba(59,130,246,0.32); }
.btn-lg { font-size:1.05rem; padding:0.95rem 2.1rem; }

/* NAV */
nav {
  position: fixed;
  top:0; left:0; right:0;
  z-index: 100;
  padding: 1rem 0;
  transition: var(--t);
}
nav.solid {
  background: rgba(6,12,28,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.nav-inner { display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; text-decoration:none; }
.nav-logo img { height:90px; width:auto; display:block; }
.nav-links { display:flex; align-items:center; gap:2rem; list-style:none; }
.nav-links a { color:var(--muted); text-decoration:none; font-size:0.88rem; font-weight:500; transition:color var(--t); }
.nav-links a:hover { color:var(--text); }
.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--text); border-radius:2px; transition:var(--t); }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Admin bar offset (WP logged-in) */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav { top: 46px; } }

/* MOBILE MENU */
.mobile-menu {
  display:none; position:fixed; inset:0;
  background:var(--bg); z-index:99;
  flex-direction:column; align-items:center; justify-content:center; gap:2.5rem;
}
.mobile-menu.open { display:flex; }
.mobile-menu a { color:var(--text); text-decoration:none; font-size:1.4rem; font-weight:600; font-family:'Space Grotesk',sans-serif; transition:color var(--t); }
.mobile-menu a:hover { color:var(--blue-lt); }

/* HERO */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}
.hero-bg {
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 45%,rgba(59,130,246,0.13) 0%,transparent 60%),
    radial-gradient(ellipse 55% 50% at 80% 15%,rgba(6,182,212,0.08) 0%,transparent 55%),
    radial-gradient(ellipse 40% 40% at 55% 85%,rgba(59,130,246,0.05) 0%,transparent 50%);
}
.hero-dots {
  position:absolute; inset:0;
  background-image: radial-gradient(circle,rgba(99,160,255,0.055) 1px,transparent 1px);
  background-size: 42px 42px;
}
.hero-content { position:relative; max-width:760px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:0.55rem;
  font-size:0.78rem; font-weight:500; color:var(--blue-lt);
  background:rgba(59,130,246,0.07); border:1px solid rgba(59,130,246,0.18);
  padding:0.38em 1.1em; border-radius:100px; margin-bottom:1.5rem;
}
.hero-badge-dot {
  width:6px; height:6px; background:var(--cyan); border-radius:50%;
  animation: bdot 2s ease-in-out infinite;
}
@keyframes bdot {
  0%,100% { box-shadow:0 0 0 0 rgba(6,182,212,0.5); }
  50%      { box-shadow:0 0 0 6px rgba(6,182,212,0); }
}
#inicio h1 { font-size:clamp(2.1rem,5vw,3.7rem); font-weight:700; margin-bottom:1.25rem; letter-spacing:-0.02em; }
.hero-sub { font-size:clamp(1rem,2vw,1.18rem); color:var(--muted); max-width:620px; margin-bottom:2.25rem; line-height:1.75; }
.hero-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-bottom:2.75rem; }
.hero-trust { display:flex; flex-wrap:wrap; gap:1.5rem; }
.trust-item { display:flex; align-items:center; gap:0.45rem; font-size:0.82rem; color:var(--muted); }
.trust-item svg { color:var(--amber); flex-shrink:0; }

/* METRICS */
.metrics {
  background:var(--surface);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:3rem 0;
}
.metrics-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2rem; text-align:center; }
.metric-item { padding:1rem; }
.metric-number {
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(1.9rem,3.5vw,2.7rem);
  font-weight:700;
  background:var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  display:block; margin-bottom:0.3rem;
}
.metric-label { font-size:0.83rem; color:var(--muted); font-weight:500; }

/* SECTION GENERIC */
section { padding:5rem 0; }
.section-header { text-align:center; max-width:700px; margin:0 auto 3.5rem; }
.section-header h2 { font-size:clamp(1.7rem,3.5vw,2.65rem); margin-bottom:0.9rem; letter-spacing:-0.02em; }
.section-header p { color:var(--muted); font-size:1.02rem; line-height:1.75; }

/* SERVICES */
#servicos { background:var(--bg2); }
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.service-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:2rem;
  transition:var(--t); position:relative; overflow:hidden;
}
.service-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:var(--grad); opacity:0; transition:var(--t);
}
.service-card:hover { transform:translateY(-4px); border-color:rgba(59,130,246,0.28); box-shadow:0 20px 60px rgba(0,0,0,0.28); }
.service-card:hover::before { opacity:1; }
.svc-icon {
  width:50px; height:50px; background:rgba(59,130,246,0.1);
  border-radius:var(--r); display:flex; align-items:center; justify-content:center;
  margin-bottom:1.25rem; color:var(--blue-lt);
}
.service-card h3 { font-size:1.18rem; margin-bottom:0.7rem; }
.service-card p { color:var(--muted); font-size:0.9rem; line-height:1.72; }
.tag-row { display:flex; flex-wrap:wrap; gap:0.45rem; margin-top:1.2rem; }
.tag {
  font-size:0.72rem; font-weight:500; color:var(--blue-lt);
  background:rgba(59,130,246,0.07); border:1px solid rgba(59,130,246,0.14);
  padding:0.22em 0.75em; border-radius:100px;
}

/* BENEFITS */
#diferenciais { background:var(--bg); }
.benefits-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.benefit-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:1.65rem;
  display:flex; gap:1.15rem; align-items:flex-start;
  transition:var(--t);
}
.benefit-card:hover { border-color:rgba(59,130,246,0.24); background:var(--surf2); }
.ben-icon {
  width:42px; height:42px; background:rgba(59,130,246,0.1);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  color:var(--blue-lt); flex-shrink:0;
}
.benefit-card h3 { font-size:0.97rem; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:0.35rem; }
.benefit-card p { font-size:0.87rem; color:var(--muted); line-height:1.65; }

/* PROCESS */
#processo { background:var(--bg2); }
.process-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; position:relative;
}
.process-grid::before {
  content:''; position:absolute; top:24px;
  left:calc(12.5% + 26px); right:calc(12.5% + 26px);
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(59,130,246,0.4),rgba(6,182,212,0.4),transparent);
}
.process-step { text-align:center; padding:1.5rem 0.75rem; }
.step-num {
  width:48px; height:48px; background:var(--grad); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:1.05rem; color:#fff;
  margin:0 auto 1.2rem; position:relative; z-index:1;
}
.process-step h3 { font-size:0.97rem; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:0.5rem; }
.process-step p { font-size:0.85rem; color:var(--muted); line-height:1.65; }

/* ABOUT */
#sobre { background:var(--bg); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:4.5rem; align-items:center; }
.about-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:2.5rem 2rem;
  position:relative; overflow:hidden;
}
.about-card::before {
  content:''; position:absolute; top:-60px; left:50%;
  transform:translateX(-50%);
  width:300px; height:300px;
  background:radial-gradient(circle,rgba(59,130,246,0.07) 0%,transparent 70%);
  pointer-events:none;
}
.about-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
}
.about-logo img { max-height:150px; width:auto; max-width:100%; }
.about-name { font-size:1.4rem; font-weight:700; text-align:center; margin-bottom:0.2rem; }
.about-title { font-size:0.88rem; color:var(--blue-lt); font-weight:500; text-align:center; margin-bottom:1.75rem; }
.creds { display:flex; flex-direction:column; gap:0.7rem; }
.cred { display:flex; align-items:center; gap:0.6rem; font-size:0.87rem; color:var(--muted); }
.cred svg { color:var(--amber); flex-shrink:0; }
.about-text h2 { font-size:clamp(1.5rem,2.5vw,2rem); margin-bottom:1.4rem; }
.about-text p { color:var(--muted); line-height:1.8; margin-bottom:0.95rem; }
.about-text p:last-of-type { margin-bottom:1.75rem; }

/* CTA BANNER */
.cta-banner {
  background:var(--surface);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:5.5rem 0; text-align:center; position:relative; overflow:hidden;
}
.cta-banner::before {
  content:''; position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:700px; height:350px;
  background:radial-gradient(ellipse at center,rgba(59,130,246,0.09) 0%,transparent 70%);
}
.cta-banner > .container { position:relative; z-index:1; }
.cta-banner h2 { font-size:clamp(1.75rem,3.5vw,2.65rem); margin-bottom:0.9rem; }
.cta-banner p { color:var(--muted); font-size:1.02rem; max-width:560px; margin:0 auto 2rem; }

/* CONTACT */
#contato { background:var(--bg2); }
.contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.contact-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:2rem; text-align:center;
  text-decoration:none; color:var(--text); transition:var(--t); display:block;
}
.contact-card:hover { border-color:rgba(59,130,246,0.28); transform:translateY(-3px); box-shadow:0 14px 42px rgba(0,0,0,0.28); }
.contact-icon { width:56px; height:56px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin:0 auto 1.2rem; }
.contact-icon.wa  { background:rgba(37,211,102,0.1); color:#25D366; }
.contact-icon.ig  { background:rgba(228,64,95,0.1);  color:#E4405F; }
.contact-icon.li  { background:rgba(10,102,194,0.12); color:#0A66C2; }
.contact-card h3 { font-size:0.97rem; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:0.3rem; }
.contact-card p  { font-size:0.83rem; color:var(--muted); }

/* FOOTER */
footer { background:var(--bg); border-top:1px solid var(--border); padding:2.25rem 0; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-copy { font-size:0.82rem; color:var(--subtle); }
.footer-links { display:flex; gap:1.5rem; }
.footer-links a { font-size:0.82rem; color:var(--subtle); text-decoration:none; transition:color var(--t); }
.footer-links a:hover { color:var(--muted); }

/* CONSENT BAR */
.consent-bar {
  position:fixed; bottom:0; left:0; right:0; z-index:300;
  background:var(--surface);
  padding:1.25rem 0;
  transform:translateY(100%);
  transition:transform 0.45s cubic-bezier(0.4,0,0.2,1);
  box-shadow:0 -8px 40px rgba(0,0,0,0.5);
}
.consent-bar::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:var(--grad);
}
.consent-bar.show { transform:translateY(0); }
.consent-inner {
  max-width:1200px; margin:0 auto; padding:0 1.5rem;
  display:flex; align-items:center; gap:2rem; flex-wrap:wrap;
}
.consent-text { flex:1; min-width:240px; font-size:0.875rem; color:var(--muted); line-height:1.65; }
.consent-text strong { color:var(--text); }
.consent-text a { color:var(--blue-lt); }
.consent-btns { display:flex; gap:0.75rem; flex-shrink:0; }
@media (max-width:580px) {
  .consent-inner { flex-direction:column; gap:1rem; }
  .consent-btns { width:100%; }
  .consent-btns .btn { flex:1; justify-content:center; }
}

/* FLOATING WHATSAPP */
.wa-float {
  position:fixed; bottom:1.75rem; right:1.75rem;
  width:56px; height:56px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 22px rgba(37,211,102,0.42); z-index:200;
  text-decoration:none; color:#fff; transition:var(--t);
  animation: wapop 0.5s 1s both;
}
.wa-float:hover { transform:scale(1.1); box-shadow:0 6px 32px rgba(37,211,102,0.5); }
@keyframes wapop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }

/* SCROLL REVEAL */
.reveal   { opacity:0; transform:translateY(22px); transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal-l { opacity:0; transform:translateX(-22px); transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal-r { opacity:0; transform:translateX(22px);  transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity:1; transform:none; }
[data-d="1"]  { transition-delay:0.1s; }
[data-d="2"]  { transition-delay:0.2s; }
[data-d="3"]  { transition-delay:0.3s; }
[data-d="4"]  { transition-delay:0.4s; }
[data-d="5"]  { transition-delay:0.5s; }

@media (prefers-reduced-motion:reduce) {
  .reveal,.reveal-l,.reveal-r { opacity:1; transform:none; transition:none; }
}

/* RESPONSIVE */
@media (max-width:1024px) {
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .process-grid::before { display:none; }
}
@media (max-width:768px) {
  .nav-links, nav > .container .btn { display:none; }
  .hamburger { display:flex; }
  .metrics-grid { grid-template-columns:repeat(2,1fr); }
  .services-grid, .benefits-grid, .about-grid, .contact-grid { grid-template-columns:1fr; }
  section { padding:3.5rem 0; }
  .metrics { padding:2rem 0; }
}
/* ─── PAGE TEMPLATE ────────────────────────── */
.page-hero {
  background: var(--bg2);
  padding: 9rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.page-hero-inner { position: relative; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem,4vw,3rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--subtle); font-size: 0.875rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--blue-lt); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem;
  transition: color var(--t);
}
.back-link:hover { color: var(--text); }
.page-body { max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.page-content h2 {
  font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 700;
  color: var(--text); margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--border);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--muted); line-height: 1.82; margin-bottom: 0.9rem; font-size: 0.95rem; }
.page-content ul, .page-content ol { color: var(--muted); padding-left: 1.4rem; margin-bottom: 0.9rem; }
.page-content li { line-height: 1.75; margin-bottom: 0.35rem; font-size: 0.95rem; }
.page-content a { color: var(--blue-lt); }
.page-content strong { color: var(--text); font-weight: 600; }

/* ─── PORTFOLIO PAGE ────────────────────────── */
.port-hero {
  min-height: 46vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 9rem 0 4rem;
}
.port-hero-inner { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.port-hero h1 { font-size: clamp(2rem,4.5vw,3.25rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.port-hero-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.port-section { padding: 5rem 0; background: var(--bg2); }
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.port-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: var(--t);
}
.port-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); border-color: rgba(59,130,246,0.25); }
.port-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--surf2);
}
.port-thumb img { width:100%; height:100%; object-fit:cover; transition: transform 0.5s ease; }
.port-card:hover .port-thumb img { transform: scale(1.06); }
.port-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; color: var(--subtle);
}
.port-overlay {
  position: absolute; inset: 0;
  background: rgba(6,12,28,0.88);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem; gap: 1rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay p { color: var(--muted); font-size: 0.875rem; text-align: center; line-height: 1.65; }
.port-btn { font-size: 0.85rem; padding: 0.6rem 1.25rem; }
.port-info { padding: 1.25rem; }
.port-info h2 { font-size: 1.05rem; font-family:'Inter',sans-serif; font-weight:700; margin-bottom:0.35rem; }
.port-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }
.port-empty {
  text-align: center; padding: 5rem 1rem;
  color: var(--subtle); display: flex;
  flex-direction: column; align-items: center; gap: 1rem;
}
.port-empty p { font-size: 0.95rem; max-width: 380px; }

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

@media (max-width:480px) {
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .btn { justify-content:center; }
  .footer-inner { flex-direction:column; align-items:center; text-align:center; }
}
