/* ========================================
   RESET — Modern Baseline
   Clínica Estética Senz
======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

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

body {
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    touch-action: manipulation;
}

a {
    text-decoration: none;
    color: inherit;
    touch-action: manipulation;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    text-wrap: balance;
}

table { border-collapse: collapse; }

/* ── Global focus reset ── */
:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--cor-acento);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--cor-acento);
    color: var(--cor-fundo-escuro);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}
