/* Base da landing de cidade — complementa Tailwind Play CDN */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 8px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    color: #0f172a;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

/* Fallback mínimo se o CDN do Tailwind não carregar */
body:not(.tw-loaded) {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background: #fff;
}

body:not(.tw-loaded) header {
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 40;
}

body:not(.tw-loaded) .mx-auto.max-w-6xl {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

body:not(.tw-loaded) h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.15;
    margin: 0 0 1rem;
}

body:not(.tw-loaded) h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin: 0 0 0.75rem;
}

body:not(.tw-loaded) section {
    padding: 3rem 0;
    border-top: 1px solid #f1f5f9;
}

body:not(.tw-loaded) a.rounded-2xl,
body:not(.tw-loaded) a.rounded-xl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: 600;
}

body:not(.tw-loaded) .bg-emerald-600,
body:not(.tw-loaded) .bg-emerald-500 {
    background: #059669 !important;
    color: #fff !important;
}

body:not(.tw-loaded) .bg-slate-900 {
    background: #0f172a !important;
    color: #fff !important;
}

body:not(.tw-loaded) .border {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
}
