/*
Theme Name: Jornal do Zap
Theme URI: https://jornaldozap.com.br
Author: Jornal do Zap
Author URI: https://jornaldozap.com.br
Description: Tema exclusivo para o canal de noticias Jornal do Zap, com landing page responsiva inspirada no WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jornal_zap
Tags: news, landing-page, custom-logo, responsive-layout
*/

:root {
  --zap-green: #25d366;
  --zap-green-dark: #0c8f3a;
  --ink: #101820;
  --muted: #5d6672;
  --line: #e9eef0;
  --deep: #07121b;
  --deep-green: #003f2c;
  --soft-green: #eefaf3;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 18, 27, 0.16);
  --radius: 8px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 28px;
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid var(--zap-green-dark);
  border-radius: 50%;
  color: var(--zap-green-dark);
  background: #f8fffb;
}

.brand-mark::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  content: "";
  border-right: 3px solid var(--zap-green-dark);
  border-bottom: 3px solid var(--zap-green-dark);
  transform: rotate(45deg);
  background: #f8fffb;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-title {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-title span {
  color: var(--zap-green-dark);
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #24313d;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  transition: color 160ms ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--zap-green-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #20bf55, var(--zap-green));
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.28);
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.34);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

.button-outline:hover,
.button-outline:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 30%, rgba(37, 211, 102, 0.2), transparent 28%),
    linear-gradient(120deg, rgba(0, 87, 57, 0.98), rgba(0, 53, 40, 0.98)),
    #00432d;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.11;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(255, 255, 255, 0.8) 48%, transparent 50%),
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 1px, transparent 1.5px);
  background-size: 96px 96px, 24px 24px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 54px;
  min-height: 640px;
  padding: 74px 0 64px;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy h1 span {
  color: var(--zap-green);
}

.hero-copy p {
  max-width: 560px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.phone-stage {
  position: relative;
  min-height: 530px;
}

.phone {
  position: absolute;
  right: 54px;
  top: 18px;
  width: min(340px, 76vw);
  min-height: 520px;
  padding: 16px 14px;
  border: 11px solid #191d20;
  border-radius: 42px;
  background: #efe8dd;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.44);
  transform: rotate(8deg);
}

.phone::before {
  position: absolute;
  left: 50%;
  top: -2px;
  width: 118px;
  height: 24px;
  content: "";
  border-radius: 0 0 18px 18px;
  background: #111;
  transform: translateX(-50%);
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -1px -1px 14px;
  padding: 32px 12px 12px;
  border-radius: 24px 24px 4px 4px;
  background: #0a4c39;
  color: #fff;
}

.chat-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--zap-green-dark);
}

.chat-title {
  min-width: 0;
  font-weight: 900;
  line-height: 1.15;
}

.chat-title small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
}

.chat-card {
  margin: 0 6px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.18);
}

.chat-photo {
  height: 140px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 18, 27, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%237ec8ff'/%3E%3Cstop offset='.55' stop-color='%23dff3ff'/%3E%3Cstop offset='.56' stop-color='%23378057'/%3E%3Cstop offset='1' stop-color='%23014535'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23s)' width='640' height='360'/%3E%3Cpath fill='%23c9d0d8' d='M390 72h34v170h-34zM444 42h38v200h-38zM505 95h30v147h-30zM320 120h42v122h-42z'/%3E%3Cpath fill='%23024a3a' d='M0 266c95-55 170-16 254-42 74-23 132-67 245-20 51 21 100 25 141 19v137H0z'/%3E%3Cpath stroke='%23d8e2e8' stroke-width='15' d='M0 245c92-6 121-44 212-31 105 15 154 69 276 40 60-14 95-40 152-31' fill='none'/%3E%3C/svg%3E") center/cover;
}

.chat-card h2 {
  margin: 14px 0 7px;
  font-size: 1rem;
  line-height: 1.25;
}

.chat-card p {
  margin: 0 0 8px;
  color: #52606d;
  font-size: 0.78rem;
}

.chat-time {
  display: block;
  color: #60717d;
  font-size: 0.75rem;
  text-align: right;
}

.whatsapp-badge {
  position: absolute;
  right: 0;
  bottom: 86px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 8px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--zap-green);
  box-shadow: var(--shadow);
}

.whatsapp-badge svg {
  width: 56px;
  height: 56px;
}

.section {
  padding: 74px 0;
}

.section-title {
  margin: 0 auto 52px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
}

.section-title span {
  color: var(--zap-green-dark);
}

.section-title::after {
  display: block;
  width: 46px;
  height: 3px;
  margin: 18px auto 0;
  content: "";
  border-radius: 999px;
  background: var(--zap-green);
}

.benefit-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.benefit {
  text-align: center;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #1cb754, var(--zap-green));
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.24);
}

.icon-circle svg {
  width: 31px;
  height: 31px;
}

.benefit h3,
.category h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.03rem;
  font-weight: 900;
}

.benefit p,
.category p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.wordpress-band {
  color: #fff;
  background:
    radial-gradient(circle at 68% 28%, rgba(37, 211, 102, 0.12), transparent 30%),
    linear-gradient(120deg, #07121b, #0a1924 56%, #07121b);
}

.wordpress-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--zap-green);
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordpress-copy h2,
.cta-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 950;
  line-height: 1.08;
}

.wordpress-copy p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--zap-green);
  flex: 0 0 auto;
}

.laptop {
  position: relative;
  padding: 18px 18px 0;
  border: 4px solid rgba(255, 255, 255, 0.66);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #eef2f4;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.laptop::after {
  display: block;
  width: calc(100% + 120px);
  height: 18px;
  margin: 18px -60px 0;
  content: "";
  border-radius: 0 0 28px 28px;
  background: linear-gradient(90deg, #77828d, #e5e9eb 24%, #8c98a1 50%, #d7dde1 76%, #747f88);
}

.screen {
  overflow: hidden;
  min-height: 330px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.screen-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 950;
}

.screen-logo span span {
  color: var(--zap-green-dark);
}

.screen-nav {
  display: flex;
  gap: 18px;
  color: #5e6872;
  font-size: 0.62rem;
  font-weight: 800;
}

.screen-body {
  padding: 22px;
}

.screen-body h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}

.featured-news {
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  padding: 18px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 18, 27, 0.08), rgba(7, 18, 27, 0.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 360'%3E%3Cdefs%3E%3ClinearGradient id='s' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%238acaff'/%3E%3Cstop offset='.54' stop-color='%23e7f6ff'/%3E%3Cstop offset='.55' stop-color='%23287a56'/%3E%3Cstop offset='1' stop-color='%23053930'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23s)' width='640' height='360'/%3E%3Cpath fill='%23d7dce1' d='M372 78h38v176h-38zM429 46h42v208h-42zM496 103h32v151h-32zM304 126h42v128h-42z'/%3E%3Cpath fill='%23034935' d='M0 270c95-58 176-18 260-43 78-23 141-70 256-20 47 21 88 23 124 18v135H0z'/%3E%3Cpath stroke='%23dce6ec' stroke-width='16' d='M0 245c92-6 121-44 212-31 105 15 154 69 276 40 60-14 95-40 152-31' fill='none'/%3E%3C/svg%3E") center/cover;
}

.featured-news strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.15;
}

.featured-news small,
.side-news small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
}

.side-list {
  display: grid;
  gap: 13px;
}

.side-news {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
}

.side-thumb {
  border-radius: 7px;
  background: linear-gradient(135deg, #8acaff, #0d724c);
}

.side-news strong {
  display: block;
  font-size: 0.76rem;
  line-height: 1.2;
}

.side-news small {
  color: #6a7480;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.category {
  min-height: 176px;
  padding: 26px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 18, 27, 0.06);
  text-align: center;
}

.category svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: #004f3a;
}

.how {
  background:
    radial-gradient(circle at 50% 16%, rgba(37, 211, 102, 0.13), transparent 25%),
    linear-gradient(120deg, #f4fbf7, #e9f8f0);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 42px;
  margin-bottom: 36px;
}

.step {
  position: relative;
  text-align: center;
}

.step:not(:last-child)::after {
  position: absolute;
  top: 42px;
  right: -38px;
  content: "->";
  color: var(--zap-green-dark);
  font-size: 2rem;
  font-weight: 300;
}

.step .icon-circle {
  width: 90px;
  height: 90px;
  margin-bottom: 22px;
  color: var(--zap-green);
  background: #fff;
  box-shadow: 0 16px 34px rgba(12, 143, 58, 0.12);
}

.step .icon-circle svg {
  width: 50px;
  height: 50px;
}

.center-action {
  text-align: center;
}

.cta-band {
  padding: 70px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 50%, rgba(37, 211, 102, 0.22), transparent 25%),
    linear-gradient(110deg, #00402c, #003423 60%, #00301f);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 190px;
  align-items: center;
  gap: 44px;
}

.cta-copy h2 {
  margin-bottom: 0;
}

.cta-copy span {
  color: var(--zap-green);
}

.cta-text p {
  max-width: 430px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.cta-icon {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 150px;
  height: 150px;
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
}

.cta-icon svg {
  width: 82px;
  height: 82px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #07121b;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1.15fr;
  gap: 44px;
  padding: 46px 0 34px;
}

.footer-brand .brand-title {
  color: #fff;
  font-size: 1.55rem;
}

.footer-brand .brand-subtitle,
.footer-main p,
.footer-main a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-main h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1rem;
}

.footer-main ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials {
  display: flex;
  gap: 11px;
  margin-top: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav.is-open {
    display: flex;
  }

  .nav .button {
    width: 100%;
  }

  .hero-inner,
  .wordpress-inner,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 22px;
    padding-top: 56px;
  }

  .phone-stage {
    min-height: 500px;
  }

  .phone {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(5deg);
  }

  .whatsapp-badge {
    right: calc(50% - 220px);
  }

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

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

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

  .cta-icon {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.35rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 48px 0 46px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .phone-stage {
    min-height: 455px;
  }

  .phone {
    width: min(302px, 84vw);
    min-height: 450px;
    border-width: 9px;
  }

  .chat-photo {
    height: 110px;
  }

  .whatsapp-badge {
    right: 6px;
    bottom: 58px;
    width: 82px;
    height: 82px;
    border-width: 6px;
  }

  .section {
    padding: 56px 0;
  }

  .benefit-grid,
  .category-grid,
  .steps,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .category {
    min-height: auto;
  }

  .step:not(:last-child)::after {
    position: static;
    display: block;
    margin: 18px 0 -4px;
    transform: rotate(90deg);
  }

  .wordpress-inner {
    gap: 34px;
  }

  .laptop {
    padding: 10px 10px 0;
  }

  .laptop::after {
    width: calc(100% + 34px);
    margin: 12px -17px 0;
  }

  .screen {
    min-height: 280px;
  }

  .screen-nav {
    display: none;
  }

  .screen-body {
    padding: 15px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .side-news {
    grid-template-columns: 62px 1fr;
  }

  .cta-inner {
    gap: 26px;
  }

  .cta-icon {
    width: 112px;
    height: 112px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
