/* --- src/assets/css/global.css --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
    /* Cores da Marca */
    --primary: #6a9969;
    --primary-dark: #557c54;
    --primary-light: #e9f0e9;
    --dark: #1e293b;
    --bg-app: #f9fbf9;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Contexto: Oferecendo vs Procurando */
    --offering-bg: #f0fdf4;
    --offering-text: #557c54;
    --looking-bg: #f8fafc;
    --looking-text: #334155;
    --looking-accent: #3b82f6;

    /* Fontes */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sombras e Bordas */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.06);
    --radius-input: 16px;
    --radius-card: 28px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-app);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .logo {
    font-family: var(--font-heading);
}

/* --- src/assets/css/global.css (Atualização) --- */

/* Removemos a trava de 600px e deixamos tela cheia */
.app-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-app);
    padding-bottom: 80px; /* Espaço pro mobile */
}

/* Novo container que limita o crescimento máximo em telas Ultra Widescreen */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilitários */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (min-width: 768px) {
    .app-wrapper {
        padding-bottom: 0;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}

/* --- Biconow refinement layer --- */
:root {
    --primary: #6f9f6c;
    --primary-dark: #486f4b;
    --primary-soft: #eef6ee;
    --dark: #172033;
    --dark-soft: #243247;
    --bg-app: #f6f8f6;
    --surface: #ffffff;
    --surface-soft: #fbfcfb;
    --text-main: #172033;
    --text-muted: #66758a;
    --border-color: #e4e9ef;
    --shadow-sm: 0 8px 22px rgba(23, 32, 51, 0.045);
    --shadow-md: 0 18px 44px rgba(23, 32, 51, 0.075);
    --shadow-premium: 0 24px 70px rgba(23, 32, 51, 0.105);
    --radius-input: 14px;
    --radius-card: 24px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.22s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    line-height: 1.5;
}

button,
input,
select,
textarea,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(111, 159, 108, 0.22);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1180px;
    padding-left: clamp(18px, 4vw, 32px);
    padding-right: clamp(18px, 4vw, 32px);
}

.page-title,
.section-title,
.section-block__head h2 {
    letter-spacing: -0.04em;
}

.page-header,
.notif-page-header,
.publish-header {
    padding-top: clamp(18px, 3vw, 30px);
}

.page-subtitle,
.notif-page-header p,
.publish-header p {
    max-width: 620px;
}

@media (max-width: 767px) {
    .app-wrapper {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}
