/* ============================================================================
   SITE INSTITUCIONAL — tema claro (referência Paya), paleta laranja + limão
   ============================================================================ */

*{ box-sizing: border-box; }

:root{
  --bg:            #FFFFFF;
  --bg-alt:        #F5F6F3;
  --surface:       #FFFFFF;
  --surface-soft:  #F0F1ED;
  --line:          rgba(20,23,26,.08);
  --line-strong:   rgba(20,23,26,.14);
  --text:          #14171A;
  --text-muted:    #5B5F5C;
  --text-faint:    #8B8F8C;
  --accent:        #FF5600;
  --accent-dim:    rgba(255,86,0,.10);
  --coral:         #7A9E12;
  --coral-dim:     rgba(170,219,30,.16);
  --lime:          #AADB1E;
  --dark:          #14171A;
  --dark-soft:     #1F2326;
  --wa-green:      #25D366;
  --wa-bg:         #0B141A;
  --wa-bubble-in:  #1F2C34;
  --wa-bubble-out: #005C4B;
  --r-lg: 28px; --r-md: 18px; --r-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(20,23,26,.18);
  --maxw: 1180px;
}

html{ scroll-behavior: smooth; }
body{
  margin:0; background: var(--bg); color: var(--text);
  font-family: 'Inter', sans-serif; line-height:1.5; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5{ font-family:'Space Grotesk','Inter',sans-serif; letter-spacing:-0.02em; margin:0; }
p{ margin:0; }
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.mono{ font-family:'JetBrains Mono', monospace; }

.container{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }
.grid{ display:grid; gap:20px; }
.grid-2{ grid-template-columns: 1fr 1fr; }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.flex{ display:flex; align-items:center; }
.flex-between{ display:flex; align-items:center; justify-content:space-between; }
.gap-8{ gap:8px; } .gap-12{ gap:12px; } .gap-16{ gap:16px; } .gap-24{ gap:24px; }

section{ position:relative; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-size:12px; letter-spacing:.1em;
  text-transform:uppercase; color: var(--accent); font-weight:700; margin-bottom:16px;
}
.eyebrow svg{ width:14px; height:14px; }
.eyebrow.pill{
  background: var(--accent-dim); border:1px solid rgba(255,86,0,.25);
  padding:6px 14px; border-radius:999px;
}

.section-head{ max-width:680px; margin:0 auto 50px; text-align:center; }
.section-head h2{ font-size: clamp(26px,3.6vw,38px); font-weight:700; margin-bottom:14px; }
.section-head p{ color: var(--text-muted); font-size:16px; line-height:1.7; }
.section-head.left{ margin:0 0 40px; text-align:left; }

/* ---------------- botões ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:14px 28px; border-radius:999px;
  font-weight:700; font-size:15px; border:1px solid transparent; cursor:pointer; text-decoration:none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--accent); color:#fff; box-shadow: 0 12px 26px -10px rgba(255,86,0,.55); }
.btn-primary:hover{ background:#E64D00; }
.btn-ghost{ background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover{ border-color: var(--text); }
.btn-dark{ background: var(--dark); color:#fff; }
.btn-dark:hover{ background: var(--dark-soft); }
.btn-sm{ padding:9px 16px; font-size:13px; }
.btn-danger{ background: #FDEDED; color:#C0392B; border-color:#F3D3D3; }
.btn-block{ width:100%; justify-content:center; }

/* ---------------- HEADER ---------------- */
.site-header{
  position:sticky; top:0; z-index:50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.site-header .logo{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:19px; display:flex; align-items:center; gap:10px; color:var(--text); }
.site-header .logo svg{ width:26px; height:26px; color: var(--accent); }
.site-nav{ display:flex; gap:28px; align-items:center; }
.site-nav a{ font-size:14.5px; color: var(--text-muted); font-weight:500; }
.site-nav a:hover, .site-nav a.active{ color: var(--text); }
.header-cta{ display:flex; gap:12px; }

/* ---------------- HERO ---------------- */
.hero{ padding:80px 0 60px; overflow:hidden; }
.hero h1{ font-size: clamp(32px, 4.2vw, 50px); font-weight:700; line-height:1.1; margin-bottom:20px; }
.hero h1 span{ color: var(--accent); }
.hero .desc{ color: var(--text-muted); font-size:17px; line-height:1.7; max-width:480px; margin-bottom:30px; }
.hero-grid-bg{ display:none; }
.blob{ position:absolute; border-radius:50%; filter: blur(60px); opacity:.35; z-index:0; pointer-events:none; }
.blob-orange{ background: var(--accent); }
.blob-lime{ background: var(--lime); }

/* ---------------- CARDS / FEATURES ---------------- */
.card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); padding:26px; }
.feat-card{ transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.feat-card:hover{ transform: translateY(-4px); border-color: rgba(255,86,0,.3); box-shadow: var(--shadow-soft); }
.feat-icon{ width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; background: var(--dark); color:#fff; margin-bottom:16px; }
.feat-icon svg{ width:22px; height:22px; }
.feat-card h4{ font-size:16px; font-weight:700; margin-bottom:6px; }
.feat-card p{ font-size:13.5px; color: var(--text-muted); line-height:1.6; }
.feat-card a.card-link{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:var(--accent); margin-top:12px; }

/* bloco estilo "Everything you need" (Paya) */
.showcase-panel{ background: var(--bg-alt); border-radius: var(--r-lg); padding:50px 40px; }
.showcase-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:26px; margin-top:30px; }
.showcase-item .icon-row{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.showcase-item .icon-sq{ width:42px; height:42px; border-radius:10px; background: var(--dark); color:#fff; display:flex; align-items:center; justify-content:center; flex:none; }
.showcase-item .icon-sq svg{ width:20px; height:20px; }
.showcase-item h4{ font-size:15.5px; font-weight:700; }
.showcase-item p{ font-size:13px; color: var(--text-muted); margin-bottom:16px; }
.showcase-item .photo{ height:170px; border-radius: var(--r-sm); background-size:cover; background-position:center; }

/* ---------------- SEGMENTOS / SPLIT ---------------- */
.segment-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.segment-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; transition: transform .2s ease, box-shadow .2s ease; }
.segment-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.segment-card .photo{ height:190px; background-size:cover; background-position:center; }
.segment-card .body{ padding:24px; }
.segment-card h4{ font-size:17px; font-weight:700; margin-bottom:8px; }
.segment-card p{ font-size:13.5px; color: var(--text-muted); line-height:1.65; margin:0; }

.split-row{ display:grid; grid-template-columns: 1fr 1fr; gap:50px; align-items:center; }
.split-row .photo-wrap{ position:relative; border-radius: var(--r-lg); overflow:hidden; }
.split-row .photo-wrap img{ width:100%; display:block; }
.split-row.reverse .photo-wrap{ order:2; }
@media (max-width: 991px){
  .split-row{ grid-template-columns: 1fr; }
  .split-row.reverse .photo-wrap{ order:0; }
  .segment-grid, .showcase-grid{ grid-template-columns: 1fr; }
}

/* ---------------- BANNER DE ESTATÍSTICA ---------------- */
.stat-banner{
  display:flex; align-items:center; gap:24px; flex-wrap:wrap; justify-content:space-between;
  background: var(--dark); color:#fff; border-radius: var(--r-lg); padding:36px 40px;
}
.stat-banner .big{ font-size:44px; font-weight:800; color: var(--lime); line-height:1; }
.stat-banner .label{ font-size:14px; color: rgba(255,255,255,.7); max-width:360px; }

/* ---------------- CTA DARK BAND ---------------- */
.cta-band{ background: var(--dark); color:#fff; border-radius: var(--r-lg); padding:54px 44px; text-align:center; }
.cta-band h2{ color:#fff; margin-bottom:14px; }
.cta-band p{ color: rgba(255,255,255,.7); margin-bottom:26px; }

/* ---------------- RECURSOS HUB ---------------- */
.recurso-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.recurso-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); padding:28px; transition: transform .2s ease, box-shadow .2s ease; }
.recurso-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(255,86,0,.3); }
.recurso-card .cat{ font-size:11px; text-transform:uppercase; letter-spacing:.06em; color: var(--text-faint); margin-bottom:8px; font-weight:700; }

/* página de detalhe do recurso */
.recurso-hero{ text-align:center; max-width:720px; margin:0 auto; }
.recurso-hero .icon-lg{ width:80px; height:80px; border-radius:22px; background: var(--dark); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 24px; }
.recurso-hero .icon-lg svg{ width:36px; height:36px; }
.example-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.example-card{ background: var(--bg-alt); border-radius: var(--r-md); padding:26px; }
.example-card .who{ display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.example-card p{ font-size:14px; color: var(--text-muted); line-height:1.65; }
@media (max-width: 991px){ .recurso-grid, .example-grid{ grid-template-columns: 1fr; } }

/* ---------------- RATING / DEPOIMENTOS ---------------- */
.testimonial-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:20px; }
.testimonial-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); padding:30px; }
.testimonial-card p{ font-size:15px; color:var(--text); line-height:1.7; margin-bottom:20px; }
.testimonial-card .who{ display:flex; align-items:center; gap:12px; }
.testimonial-card .who img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }
.testimonial-card .who .name{ font-weight:700; font-size:14px; }
.testimonial-card .who .role{ font-size:12.5px; color: var(--text-faint); }
@media (max-width: 767px){ .testimonial-grid{ grid-template-columns: 1fr; } }

/* ---------------- PRICING ---------------- */
.pricing-toggle{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:22px; color: var(--text-muted); font-size:14px; }
.pricing-toggle .switch{ position:relative; width:50px; height:28px; background: var(--surface-soft); border:1px solid var(--line-strong); border-radius:999px; cursor:pointer; }
.pricing-toggle .switch::after{ content:""; position:absolute; top:2px; left:2px; width:22px; height:22px; border-radius:50%; background: var(--accent); transition: transform .2s ease; }
.pricing-toggle .switch.on::after{ transform: translateX(22px); }
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; align-items:stretch; }
.plan-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding:36px 30px; display:flex; flex-direction:column; position:relative; box-shadow: var(--shadow-soft); }
.plan-card.featured{ border-color: var(--accent); }
.plan-card .badge{ position:absolute; top:-1px; left:50%; transform:translate(-50%,-50%); background: var(--accent); color:#fff; font-size:11px; font-weight:700; padding:5px 14px; border-radius:999px; letter-spacing:.04em; text-transform:uppercase; }
.plan-card h3{ font-size:24px; font-weight:700; }
.plan-card .plan-desc{ color: var(--text-muted); font-size:13.5px; margin:8px 0 20px; }
.plan-card .price{ font-size:40px; font-weight:800; }
.plan-card .price small{ font-size:14px; color: var(--text-muted); font-weight:500; }
.plan-card .accounts{ color: var(--accent); font-weight:700; font-size:13.5px; margin:10px 0 22px; }
.plan-card ul{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; gap:10px; flex:1; }
.plan-card li{ display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color: var(--text); border-bottom:1px solid var(--line); padding-bottom:10px; }
.plan-card li svg{ width:16px; height:16px; color: var(--accent); flex:none; margin-top:2px; }
.plan-card li.not-included{ color: var(--text-faint); }
.plan-card li.not-included svg{ color: var(--text-faint); }

/* ---------------- BLOG ---------------- */
.blog-toolbar{ display:flex; gap:14px; flex-wrap:wrap; align-items:center; justify-content:space-between; margin-bottom:36px; }
.search-box{ display:flex; align-items:center; gap:10px; background: var(--bg-alt); border:1px solid var(--line-strong); border-radius:999px; padding:10px 16px; min-width:280px; }
.search-box input{ background:none; border:none; outline:none; color: var(--text); font-size:14px; flex:1; }
.search-box svg{ width:16px; height:16px; color: var(--text-muted); }
.chip-filters{ display:flex; gap:8px; flex-wrap:wrap; }
.chip-filter{ font-size:12.5px; padding:7px 14px; border-radius:999px; border:1px solid var(--line-strong); color: var(--text-muted); }
.chip-filter.active{ background: var(--accent-dim); border-color: rgba(255,86,0,.4); color: var(--accent); }
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.blog-card{ background: var(--surface); border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden; display:flex; flex-direction:column; transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.blog-card .thumb{ height:170px; background-size:cover; background-position:center; background-color: var(--surface-soft); }
.blog-card .body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.blog-card .meta{ display:flex; gap:8px; font-size:11.5px; color: var(--text-faint); margin-bottom:10px; text-transform:uppercase; letter-spacing:.04em; }
.blog-card h3{ font-size:17px; font-weight:700; margin-bottom:8px; }
.blog-card p{ color: var(--text-muted); font-size:13.5px; margin-bottom:16px; flex:1; }
.tag-pill{ display:inline-block; font-size:11px; background: var(--bg-alt); color: var(--text-muted); padding:4px 10px; border-radius:999px; margin:0 6px 6px 0; }

.post-body{ max-width:760px; margin:0 auto; }
.post-body h1{ font-size: clamp(28px,4vw,40px); margin-bottom:16px; }
.post-cover{ width:100%; border-radius: var(--r-md); margin:26px 0; }
.post-content{ color: var(--text); font-size:16px; line-height:1.85; }
.post-content h2{ font-size:24px; margin:36px 0 14px; }
.post-content h3{ font-size:19px; margin:28px 0 12px; }
.post-content p{ margin-bottom:18px; color: var(--text-muted); }
.post-content img{ border-radius: var(--r-md); margin: 20px 0; }
.post-content a{ color: var(--accent); text-decoration:underline; }
.post-content ul, .post-content ol{ color: var(--text-muted); margin-bottom:18px; padding-left:22px; }

.site-pagination ul{ display:flex; gap:8px; list-style:none; padding:0; justify-content:center; margin-top:40px; }
.site-pagination a{ display:flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:10px; border:1px solid var(--line-strong); color: var(--text-muted); font-size:13.5px; }
.site-pagination li.active a{ background: var(--accent-dim); border-color: rgba(255,86,0,.4); color: var(--accent); }

/* ---------------- FOOTER (escuro, igual referência) ---------------- */
.site-footer{ background: var(--dark); color: rgba(255,255,255,.85); padding:60px 0 30px; }
.site-footer .logo{ color:#fff; }
.site-footer .cols{ display:grid; grid-template-columns: 2fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.site-footer h5{ color: var(--lime); font-size:13px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.site-footer a{ color: rgba(255,255,255,.65); font-size:14px; }
.site-footer a:hover{ color:#fff; }
.site-footer .bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:24px; text-align:center; color: rgba(255,255,255,.5); font-size:13px; }

/* ---------------- SCROLL REVEAL ---------------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ============================================================================
   ADMIN — mantém tema escuro próprio (independente do tema claro do site público)
   ============================================================================ */
.admin-body{ background:#12151A; min-height:100vh; color:#EDEFF6; font-family:'Inter',sans-serif; }
.admin-login{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; }
.admin-login-card{ width:100%; max-width:380px; background:#181C22; border:1px solid rgba(255,255,255,.08); border-radius:28px; padding:40px; }
.admin-login-card h1{ font-size:22px; margin-bottom:6px; color:#fff; font-family:'Space Grotesk',sans-serif; }
.admin-login-card .sub{ color:#9AA1AC; font-size:13.5px; margin-bottom:28px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13px; color:#9AA1AC; margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; background:#12151A; border:1px solid rgba(255,255,255,.14); border-radius:10px;
  padding:12px 14px; color:#EDEFF6; font-size:14.5px; font-family:inherit;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: #FF5600; }
.field-inline{ display:flex; align-items:center; gap:10px; }

.alert{ padding:14px 18px; border-radius:10px; font-size:14px; margin-bottom:20px; }
.alert-success{ background: rgba(170,219,30,.12); color:#AADB1E; border:1px solid rgba(170,219,30,.3); }
.alert-error{ background: rgba(255,86,0,.12); color:#FF8A4C; border:1px solid rgba(255,86,0,.3); }

.admin-shell{ display:flex; min-height:100vh; }
.admin-sidebar{ width:230px; background:#181C22; border-right:1px solid rgba(255,255,255,.08); padding:26px 18px; flex:none; }
.admin-sidebar .logo{ font-family:'Space Grotesk',sans-serif; font-weight:700; margin-bottom:30px; display:block; color:#fff; }
.admin-sidebar nav a{ display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px; color:#9AA1AC; font-size:14px; margin-bottom:4px; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover{ background: rgba(255,86,0,.12); color:#FF8A4C; }
.admin-sidebar nav svg{ width:17px; height:17px; }
.admin-main{ flex:1; padding:34px 40px; }
.admin-topbar{ display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; }
.admin-topbar h1{ font-size:24px; color:#fff; font-family:'Space Grotesk',sans-serif; }

.data-table{ width:100%; border-collapse:collapse; background:#181C22; border:1px solid rgba(255,255,255,.08); border-radius:18px; overflow:hidden; }
.data-table th, .data-table td{ padding:14px 16px; text-align:left; font-size:13.5px; border-bottom:1px solid rgba(255,255,255,.08); color:#EDEFF6; }
.data-table th{ color:#9AA1AC; font-weight:600; text-transform:uppercase; font-size:11.5px; letter-spacing:.04em; }
.data-table tr:last-child td{ border-bottom:none; }
.data-table .actions{ display:flex; gap:8px; }
.status-dot{ display:inline-flex; align-items:center; gap:6px; font-size:12.5px; }
.status-dot::before{ content:""; width:7px; height:7px; border-radius:50%; background:#4A4F57; }
.status-dot.on::before{ background:#AADB1E; }

@media (max-width: 991px){
  .grid-2, .grid-3, .grid-4, .pricing-grid, .blog-grid{ grid-template-columns: repeat(2,1fr); }
  .site-footer .cols{ grid-template-columns: 1fr 1fr; }
  .admin-sidebar{ display:none; }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4, .pricing-grid, .blog-grid{ grid-template-columns: 1fr; }
  .site-nav{ display:none; }
}
