/*
Theme Name: Net4Fun
Author: Net4Fun
Description: Tema de blocos da Net4Fun, com Home editável, estrutura, preços e contato.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: net4fun
Tags: full-site-editing, block-patterns, custom-colors, custom-logo
*/

/* Shared by the site and block editor. Font is registered locally in theme.json. */
:root {
  --n4f-blue: #00a2f8;
  --n4f-base: #101419;
  --n4f-surface: #1b222b;
  --n4f-light: #f4f7fa;
  --n4f-muted: #b8c4d1;
  --n4f-line: #36424f;
}

html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--n4f-light);
  outline-offset: 5px;
  box-shadow: 0 0 0 7px var(--n4f-base);
}
.wp-site-blocks > *, .n4f-main, .n4f-main > .wp-block-post-content {
  margin-block-start: 0;
}
.n4f-shell {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}
.n4f-section { margin-block-start: 0; padding-block: clamp(3rem, 6vw, 5.5rem); }
.n4f-section-tint { background: #141a21; }
.n4f-section :is(h1, h2, h3, p, ul, figure) { overflow-wrap: anywhere; }
.n4f-section :is(h1, h2, h3) { text-wrap: balance; }
.n4f-section h2 { margin-block: 0.65rem 1rem; letter-spacing: -0.035em; }
.n4f-section h3 { margin-block: 0.5rem 0.75rem; }
.n4f-section .wp-block-columns { gap: 1.5rem; margin-block-end: 0; }
.n4f-section .wp-block-column { min-width: 0; }
.n4f-section .wp-block-buttons { gap: 0.75rem; }
.n4f-section .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.n4f-section .is-style-outline > .wp-block-button__link {
  border: 1px solid var(--n4f-muted);
  background: transparent;
  color: var(--n4f-light);
  padding: calc(0.85rem - 1px) calc(1.25rem - 1px);
}
.n4f-section .wp-block-button__link:hover { filter: brightness(1.12); text-decoration: underline; }
.n4f-eyebrow {
  margin-block: 0 1rem;
  color: var(--n4f-blue);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.n4f-muted, .n4f-section-intro { color: var(--n4f-muted); }
.n4f-section-intro { max-width: 680px; margin-block: 0 2.5rem; font-size: 1.125rem; }
.n4f-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--n4f-line);
}
.n4f-header > * { margin-block: 0; }
.n4f-logo { width: 174px; flex: 0 0 174px; }
.n4f-logo a { display: block; }
.n4f-logo img { display: block; width: 100%; height: auto; }
.n4f-menu { color: var(--n4f-light); }
.n4f-menu .wp-block-navigation__container { gap: 0.3rem 1.25rem; flex-wrap: wrap; }
.n4f-menu .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; }
.n4f-menu a:hover { color: var(--n4f-blue); }
.n4f-hero { padding-block: clamp(3rem, 6vw, 5.5rem); }
.n4f-hero-columns { align-items: center !important; gap: clamp(2rem, 5vw, 5rem) !important; }
.n4f-hero-columns > .wp-block-column:first-child { flex-basis: 58%; }
.n4f-hero-columns > .wp-block-column:last-child { flex-basis: 42%; }
.n4f-hero-title {
  font-family: var(--wp--preset--font-family--display, Ausprobe, sans-serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4.2vw, 3.85rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-block: 1.4rem;
}
.n4f-lead { color: var(--n4f-muted); font-size: 1.125rem; max-width: 490px; margin-block: 0 1.75rem; }
.n4f-social-links { font-size: 0.875rem; margin-top: 1.4rem; }
.n4f-social-links a { display: inline-block; padding-block: 0.5rem; color: var(--n4f-muted); }
.n4f-link-separator { margin-inline: 0.8rem; color: var(--n4f-muted); }
.n4f-hero-panel {
  background: var(--n4f-surface);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 27px, #ffffff05 27px, #ffffff05 28px);
  border: 1px solid var(--n4f-line);
  border-top: 3px solid var(--n4f-blue);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.n4f-hero-panel .n4f-eyebrow { color: var(--n4f-muted); font-size: 0.6875rem; }
.n4f-big-number {
  font-family: var(--wp--preset--font-family--display, Ausprobe, sans-serif);
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--n4f-blue);
  line-height: 1;
  margin-block: 1.75rem 0;
}
.n4f-stat-label { font-size: 1.1rem; margin-block: 0.75rem 1.5rem; }
.n4f-stat-breakdown { display: flex; gap: 0.75rem; justify-content: space-between; border-top: 1px solid var(--n4f-line); padding-top: 1.25rem; }
.n4f-stat-breakdown p { margin: 0; font-size: 0.75rem; color: var(--n4f-muted); }
.n4f-stat-breakdown strong { display: block; font-size: 1.6rem; font-weight: 650; color: var(--n4f-light); }
.n4f-card { height: 100%; padding: clamp(1.25rem, 2.4vw, 2rem); border: 1px solid var(--n4f-line); border-radius: 8px; background: var(--n4f-surface); }
.n4f-card-featured { border-top: 3px solid var(--n4f-blue); }
.n4f-card > :first-child { margin-top: 0; }
.n4f-card > :last-child { margin-bottom: 0; }
.n4f-card ul { padding-left: 1.15rem; margin-top: 1.5rem; }
.n4f-card li { margin-block: 0.65rem; }
.n4f-card li::marker { color: var(--n4f-blue); }
.n4f-price-card h3 { padding-bottom: 1rem; border-bottom: 2px solid var(--n4f-blue); }
.n4f-price-table { margin: 0; overflow-x: visible; }
.n4f-price-table table { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.n4f-price-table :is(th, td) { padding: 1rem 0.25rem; border: 0; border-bottom: 1px solid var(--n4f-line); text-align: left; }
.n4f-price-table th { font-size: 0.875rem; font-weight: 500; color: var(--n4f-muted); }
.n4f-price-table :is(th, td):last-child { text-align: right; }
.n4f-price-table td:last-child { font-weight: 750; color: var(--n4f-light); white-space: nowrap; }
.n4f-price-table figcaption { color: var(--n4f-muted); font-size: 0.75rem; margin-top: 1rem; text-align: left; }
.n4f-prices + .n4f-muted { font-size: 0.875rem; margin-top: 1.25rem; }
.n4f-display { font-family: var(--wp--preset--font-family--display, Ausprobe, sans-serif); font-weight: 400; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.n4f-time { font-size: 1.5rem; font-weight: 650; margin-block: 0.5rem 1rem; }
.n4f-promo .wp-block-buttons { margin-top: 1.75rem; }
.n4f-promo .n4f-muted { font-size: 0.875rem; }
.n4f-notice { padding: 0.8rem 1rem; border-left: 3px solid var(--n4f-blue); background: var(--n4f-base); font-weight: 650; }
.n4f-promo-rule { color: var(--n4f-muted); font-size: 0.9375rem; max-width: 850px; margin-top: 1.5rem; }
.n4f-community { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--n4f-blue); color: var(--n4f-base); border-radius: 8px; }
.n4f-community .n4f-eyebrow, .n4f-community h2 { color: var(--n4f-base); }
.n4f-community > p:not(.n4f-eyebrow) { max-width: 670px; }
.n4f-community .wp-block-buttons { margin-top: 1.75rem; }
.n4f-community .wp-block-button__link { background: var(--n4f-base); color: var(--n4f-light); }
.n4f-community .is-style-outline > .wp-block-button__link { color: var(--n4f-base); border-color: var(--n4f-base); background: transparent; }
.n4f-contact-block { border-top: 1px solid var(--n4f-line); padding-top: 1.25rem; }
.n4f-contact-block h3 { font-size: 1.25rem; }
.n4f-contact-block p { color: var(--n4f-muted); }
.n4f-contact-block a { overflow-wrap: anywhere; }
.n4f-footer { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 2rem; font-size: 0.875rem; }
.n4f-footer-identity p { margin: 0; }
.n4f-footer-brand { font-weight: 700; color: var(--n4f-light); }
.n4f-footer > p { margin: 0; }
.n4f-footer a { display: inline-block; padding-block: 0.5rem; color: var(--n4f-muted); }
.n4f-page { padding: 3rem 1.5rem 5rem; min-height: 55vh; }
.n4f-page .alignwide { max-width: 1160px; }

@media (max-width: 781px) {
  .n4f-shell { width: calc(100% - 2.5rem); }
  .n4f-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .n4f-logo { width: 145px; flex-basis: auto; }
  .n4f-menu { width: 100%; }
  .n4f-menu .wp-block-navigation__container { justify-content: flex-start; gap: 0.15rem 1.2rem; }
  .n4f-hero-title { font-size: clamp(2rem, 6.7vw, 3.5rem); }
  .n4f-hero-columns > .wp-block-column { flex-basis: 100% !important; }
  .n4f-big-number { font-size: 6rem; }
  .n4f-hero-panel { max-width: 520px; }
  .n4f-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .n4f-section-intro { font-size: 1rem; margin-bottom: 1.75rem; }
}

@media (max-width: 420px) {
  .n4f-menu { font-size: 0.875rem; }
  .n4f-menu .wp-block-navigation__container { gap: 0.15rem 1rem; }
  .n4f-section .wp-block-buttons > .wp-block-button { width: 100%; }
  .n4f-section .wp-block-button__link { width: 100%; }
  .n4f-price-table :is(th, td) { padding-block: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
