/* ==========================================================================
   RESET.CSS — Base tipográfica e reset global — Pontual Parabrisas
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--pp-text);
    background-color: var(--pp-blue);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: opacity var(--transition-fast); }
a:hover { opacity: 0.85; }
a:focus-visible { outline: 2px solid var(--pp-gold); outline-offset: 3px; border-radius: var(--radius-sm); }

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; border: none; background: none; outline: none; -webkit-appearance: none; appearance: none; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--pp-white);
    text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; line-height: 1.6; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* Alpine.js */
[x-cloak] { display: none !important; }

/* Container global */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}
@media (min-width: 768px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* Wrapper */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex-grow: 1; padding-top: var(--header-height); }

/* WordPress */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.alignleft  { float: left; margin-right: 1rem; }
.alignright { float: right; margin-left: 1rem; }
.aligncenter { display: block; margin-inline: auto; }

/* Utilitários */
.text-gold   { color: var(--pp-gold); }
.text-white  { color: var(--pp-white); }
.text-muted  { color: var(--pp-text-muted); }
.text-center { text-align: center; }
.hidden      { display: none !important; }
