/*
Theme Name: EasyZap Blocksy Child
Theme URI: https://easyzap.online/
Description: Tema filho oficial do blog EasyZap, baseado no Blocksy.
Author: EasyZap
Author URI: https://easyzap.online/
Template: blocksy
Version: 1.1.1
Text Domain: easyzap
*/

@font-face {
  font-family: "Outfit";
  src: url("assets/outfit-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ez-brand: #465fff;
  --ez-brand-dark: #2a31d8;
  --ez-brand-soft: #f2f7ff;
  --ez-ink: #101828;
  --ez-muted: #475467;
  --ez-line: #e4e7ec;
  --ez-surface: #ffffff;
  --ez-page: #f9fafb;
  --ez-radius: 20px;
  --ez-shadow: 0 20px 55px rgba(16, 24, 40, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ez-ink);
  background: var(--ez-page);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ez-brand-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--ez-brand); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
body > a[href="#main"] { display: none !important; }

.ez-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ez-reading { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.ez-section { padding: 72px 0; }
.ez-section--white { background: var(--ez-surface); }
.ez-section-heading { max-width: 700px; margin-bottom: 32px; }
.ez-section-heading h2 { margin: 0 0 8px; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; }
.ez-section-heading p { margin: 0; color: var(--ez-muted); }
.ez-eyebrow { margin: 0 0 12px; color: var(--ez-brand-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.ez-empty { padding: 40px; border: 1px dashed #c2d6ff; border-radius: var(--ez-radius); background: var(--ez-brand-soft); text-align: center; }

.ez-skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-140%); padding: 10px 16px; border-radius: 10px; background: var(--ez-ink); color: white; }
.ez-skip-link:focus { transform: translateY(0); }

.ez-site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(228, 231, 236, 0.9); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); }
.ez-header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.ez-logo { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.ez-logo img { width: auto; height: 38px; }
.ez-main-nav { display: flex; flex: 1; align-items: center; justify-content: center; gap: 24px; }
.ez-main-nav a { color: #344054; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.ez-main-nav a:hover, .ez-main-nav a:focus-visible { color: var(--ez-brand); }
.ez-header-actions { display: flex; align-items: center; gap: 10px; }
.ez-login { padding: 10px 12px; color: #344054; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.ez-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 0; border-radius: 12px; background: var(--ez-brand); color: white; font-weight: 750; line-height: 1.1; text-decoration: none; box-shadow: 0 8px 20px rgba(70, 95, 255, 0.2); transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.ez-button:hover, .ez-button:focus-visible { transform: translateY(-1px); background: var(--ez-brand-dark); color: white; box-shadow: 0 12px 24px rgba(70, 95, 255, 0.28); }
.ez-button--light { background: white; color: var(--ez-brand-dark); box-shadow: none; }
.ez-button--light:hover, .ez-button--light:focus-visible { background: #ecf3ff; color: var(--ez-brand-dark); }
.ez-mobile-nav { display: none; margin-left: auto; }
.ez-mobile-nav summary { display: grid; width: 46px; height: 46px; cursor: pointer; list-style: none; place-items: center; border: 1px solid var(--ez-line); border-radius: 12px; color: var(--ez-ink); }
.ez-mobile-nav summary::-webkit-details-marker { display: none; }
.ez-mobile-nav summary::before { content: "☰"; font-size: 1.25rem; }
.ez-mobile-nav[open] summary::before { content: "×"; font-size: 1.7rem; }
.ez-mobile-panel { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 2px; padding: 16px 20px 22px; border-bottom: 1px solid var(--ez-line); background: white; box-shadow: var(--ez-shadow); }
.ez-mobile-panel a { padding: 11px 8px; color: var(--ez-ink); font-weight: 650; text-decoration: none; }

.ez-hero { overflow: hidden; position: relative; padding: 92px 0 78px; background: linear-gradient(140deg, #f2f7ff 0%, #fff 55%, #ecf3ff 100%); }
.ez-hero::after { position: absolute; right: -90px; bottom: -190px; width: 420px; height: 420px; border-radius: 50%; background: rgba(70, 95, 255, 0.12); content: ""; filter: blur(10px); }
.ez-hero-inner { position: relative; z-index: 1; max-width: 850px; }
.ez-hero h1 { max-width: 820px; margin: 0 0 20px; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.98; letter-spacing: -0.045em; }
.ez-hero h1 span { color: var(--ez-brand); }
.ez-hero .ez-lead { max-width: 690px; margin: 0; color: var(--ez-muted); font-size: clamp(1.1rem, 2.5vw, 1.3rem); }
.ez-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ez-hero-note { margin: 14px 0 0; color: #667085; font-size: 0.9rem; }

.ez-featured { display: grid; overflow: hidden; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); border: 1px solid var(--ez-line); border-radius: 28px; background: white; box-shadow: var(--ez-shadow); }
.ez-featured-media { min-height: 390px; background: linear-gradient(145deg, #161950, #465fff); }
.ez-featured-media img { width: 100%; height: 100%; object-fit: cover; }
.ez-featured-placeholder { display: grid; height: 100%; min-height: 390px; place-items: center; padding: 40px; color: white; text-align: center; }
.ez-featured-placeholder strong { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; }
.ez-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 56px); }
.ez-featured-copy h2 { margin: 8px 0 16px; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; }
.ez-featured-copy h2 a { color: var(--ez-ink); text-decoration: none; }
.ez-featured-copy p { color: var(--ez-muted); }
.ez-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; align-items: center; color: #667085; font-size: 0.88rem; }
.ez-meta a { color: inherit; font-weight: 650; text-decoration: none; }
.ez-text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 750; text-decoration: none; }

.ez-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ez-card { overflow: hidden; border: 1px solid var(--ez-line); border-radius: var(--ez-radius); background: white; box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05); transition: transform 180ms ease, box-shadow 180ms ease; }
.ez-card:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(16, 24, 40, 0.09); }
.ez-card-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(145deg, #dde9ff, #465fff); }
.ez-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ez-card-placeholder { display: grid; width: 100%; height: 100%; place-items: center; padding: 20px; color: white; font-size: 1.4rem; font-weight: 800; text-align: center; }
.ez-card-copy { padding: 24px; }
.ez-card-copy h2, .ez-card-copy h3 { margin: 10px 0 12px; font-size: 1.38rem; line-height: 1.2; }
.ez-card-copy h2 a, .ez-card-copy h3 a { color: var(--ez-ink); text-decoration: none; }
.ez-card-copy p { margin: 0; color: var(--ez-muted); font-size: 0.98rem; }
.ez-category-link { color: var(--ez-brand-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }

.ez-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ez-category-tile { display: flex; min-height: 120px; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid #c2d6ff; border-radius: 16px; background: var(--ez-brand-soft); color: var(--ez-ink); font-weight: 750; text-decoration: none; }
.ez-category-tile span { color: var(--ez-brand-dark); font-size: 1.3rem; }
.ez-category-tile:hover { border-color: var(--ez-brand); background: #ecf3ff; color: var(--ez-brand-dark); }

.ez-product-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: clamp(30px, 6vw, 64px); border-radius: 28px; background: #101828; color: white; }
.ez-product-block h2 { max-width: 710px; margin: 0 0 12px; color: white !important; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.04; }
.ez-product-block p { max-width: 700px; margin: 0; color: #d0d5dd; }

.ez-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 42px; }
.ez-pagination .page-numbers { display: grid; min-width: 42px; min-height: 42px; place-items: center; padding: 8px 12px; border: 1px solid var(--ez-line); border-radius: 10px; background: white; color: var(--ez-ink); text-decoration: none; }
.ez-pagination .current, .ez-pagination a:hover { border-color: var(--ez-brand); background: var(--ez-brand); color: white; }

.ez-archive-header { padding: 74px 0 42px; background: linear-gradient(135deg, #f2f7ff, white); }
.ez-archive-header h1 { margin: 0 0 12px; font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1; letter-spacing: -0.04em; }
.ez-archive-header p { max-width: 720px; margin: 0; color: var(--ez-muted); }

.ez-article-header { padding: 80px 0 44px; background: linear-gradient(140deg, #f2f7ff, white); text-align: center; }
.ez-article-header .ez-reading { display: grid; justify-items: center; }
.ez-article-header h1 { margin: 12px 0 20px; font-size: clamp(2.5rem, 7vw, 4.7rem); line-height: 1.02; letter-spacing: -0.045em; }
.ez-article-excerpt { max-width: 690px; margin: 0 0 20px; color: var(--ez-muted); font-size: 1.15rem; }
.ez-article-image { width: min(1080px, calc(100% - 40px)); margin: 42px auto -90px; }
.ez-article-image img { width: 100%; max-height: 620px; border-radius: 28px; object-fit: cover; box-shadow: var(--ez-shadow); }
.ez-article-body { padding: 126px 0 78px; background: white; }
.ez-article-body--no-image { padding-top: 72px; }
.ez-prose { color: #344054; }
.ez-prose > *:first-child { margin-top: 0; }
.ez-prose p, .ez-prose li { font-size: 1.08rem; line-height: 1.78; }
.ez-prose p { margin: 0 0 1.35em; }
.ez-prose h2 { margin: 2.2em 0 0.65em; color: var(--ez-ink); font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; }
.ez-prose h3 { margin: 1.8em 0 0.55em; color: var(--ez-ink); font-size: 1.45rem; line-height: 1.25; }
.ez-prose ul, .ez-prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.ez-prose blockquote { margin: 2em 0; padding: 20px 24px; border-left: 4px solid var(--ez-brand); border-radius: 0 14px 14px 0; background: var(--ez-brand-soft); color: var(--ez-ink); }
.ez-prose figure { margin: 2em 0; }
.ez-prose figure img { border-radius: 16px; }
.ez-prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; }
.ez-prose th, .ez-prose td { padding: 12px 14px; border: 1px solid var(--ez-line); text-align: left; }
.ez-prose a { font-weight: 650; }

.ez-cta { margin: 48px 0; padding: clamp(28px, 5vw, 46px); border-radius: 24px; background: linear-gradient(135deg, #262e89, #465fff); color: white; text-align: left; }
.ez-cta h2 { margin: 0 0 12px; color: white; font-size: clamp(1.75rem, 4vw, 2.45rem); line-height: 1.12; }
.ez-cta p { max-width: 630px; margin: 0 0 22px; color: #ecf3ff; }

.ez-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ez-line); }
.ez-share strong { margin-right: 4px; }
.ez-share a { padding: 8px 12px; border: 1px solid var(--ez-line); border-radius: 10px; color: #344054; font-size: 0.9rem; font-weight: 650; text-decoration: none; }
.ez-share a:hover { border-color: var(--ez-brand); color: var(--ez-brand); }
.ez-post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.ez-post-navigation a { display: block; padding: 18px; border: 1px solid var(--ez-line); border-radius: 14px; color: var(--ez-ink); font-weight: 700; text-decoration: none; }
.ez-post-navigation .nav-next { text-align: right; }
.ez-related { padding: 72px 0; }

.ez-page { min-height: 55vh; padding: 72px 0; background: white; }
.ez-page h1 { margin: 0 0 36px; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; }

.ez-site-footer { padding: 64px 0 26px; background: #0c111d; color: white; }
.ez-footer-grid { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(180px, 0.7fr)); gap: 48px; }
.ez-footer-brand img { width: auto; height: 42px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.ez-footer-brand p { max-width: 470px; color: #d0d5dd; }
.ez-site-footer h2 { margin: 0 0 16px; color: white !important; font-size: 1rem; }
.ez-footer-links { display: grid; gap: 10px; }
.ez-site-footer a { color: #d0d5dd; text-decoration: none; }
.ez-site-footer a:hover { color: white; }
.ez-footer-bottom { display: flex; gap: 20px; justify-content: space-between; margin-top: 46px; padding-top: 24px; border-top: 1px solid #344054; color: #98a2b3; font-size: 0.88rem; }

.ez-cookie-banner { position: fixed; z-index: 9999; bottom: 16px; left: 16px; display: grid; gap: 16px; width: min(420px, calc(100% - 32px)); padding: 18px; border: 1px solid var(--ez-line); border-radius: 15px; background: white; color: var(--ez-ink); box-shadow: 0 16px 45px rgba(16, 24, 40, 0.16); }
.ez-cookie-banner[hidden] { display: none; }
.ez-cookie-banner strong { display: block; margin-bottom: 3px; color: var(--ez-ink); font-size: 1rem; }
.ez-cookie-banner p { margin: 0; color: var(--ez-muted); font-size: 0.86rem; line-height: 1.45; }
.ez-cookie-banner a { display: inline-block; margin-top: 4px; color: var(--ez-brand-dark); font-size: 0.8rem; }
.ez-cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.ez-cookie-button { min-height: 40px; padding: 8px 14px; cursor: pointer; border: 1px solid var(--ez-brand); border-radius: 9px; background: var(--ez-brand); color: white; font-size: 0.86rem; font-weight: 750; }
.ez-cookie-button:hover, .ez-cookie-button:focus-visible { background: var(--ez-brand-dark); }
.ez-cookie-button--secondary { border-color: var(--ez-line); background: white; color: #344054; }
.ez-cookie-button--secondary:hover, .ez-cookie-button--secondary:focus-visible { border-color: #98a2b3; background: var(--ez-page); color: var(--ez-ink); }
.ez-footer-links .ez-cookie-preferences { width: fit-content; margin: 0; padding: 0; cursor: pointer; border: 0; background: transparent; color: #d0d5dd; font-size: inherit; text-align: left; }
.ez-footer-links .ez-cookie-preferences:hover, .ez-footer-links .ez-cookie-preferences:focus-visible { color: white; text-decoration: underline; text-underline-offset: 0.18em; }

@media (max-width: 980px) {
  .ez-main-nav, .ez-header-actions { display: none; }
  .ez-mobile-nav { display: block; }
  .ez-featured { grid-template-columns: 1fr; }
  .ez-featured-media, .ez-featured-placeholder { min-height: 300px; }
  .ez-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ez-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ez-product-block { grid-template-columns: 1fr; }
  .ez-footer-grid { grid-template-columns: 1fr 1fr; }
  .ez-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .ez-container, .ez-reading { width: min(100% - 28px, 1180px); }
  .ez-header-inner { min-height: 68px; }
  .ez-logo img { height: 32px; }
  .ez-hero { padding: 66px 0 58px; }
  .ez-hero h1 { font-size: clamp(2.5rem, 14vw, 3.7rem); }
  .ez-section { padding: 54px 0; }
  .ez-grid, .ez-category-grid, .ez-footer-grid { grid-template-columns: 1fr; }
  .ez-featured { border-radius: 20px; }
  .ez-featured-copy { padding: 28px 24px; }
  .ez-featured-media, .ez-featured-placeholder { min-height: 230px; }
  .ez-product-block { border-radius: 20px; }
  .ez-article-header { padding-top: 58px; }
  .ez-article-header h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .ez-article-image { width: calc(100% - 28px); margin-top: 30px; margin-bottom: -55px; }
  .ez-article-image img { border-radius: 18px; }
  .ez-article-body { padding-top: 86px; }
  .ez-article-body--no-image { padding-top: 54px; }
  .ez-post-navigation { grid-template-columns: 1fr; }
  .ez-post-navigation .nav-next { text-align: left; }
  .ez-footer-bottom { flex-direction: column; }
  .ez-cookie-banner { bottom: 12px; left: 12px; width: calc(100% - 24px); }
  .ez-cookie-actions { justify-content: stretch; }
  .ez-cookie-button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
