/* =========================================================
   ONG É POR AMOR — CSS GLOBAL
   Base institucional, corporativa e responsiva.
========================================================= */

:root {
    --epa-red: #d60000;
    --epa-red-dark: #b50000;
    --epa-black: #050505;
    --epa-text: #111111;
    --epa-muted: #444444;
    --epa-light: #f6f6f6;
    --epa-border: rgba(0,0,0,.08);
    --epa-container: 1480px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: var(--epa-text);
    font-family: "Inter", "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar .epa-corp-header {
    top: 32px;
}

* {
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all .22s ease;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

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

.site-main {
    width: 100%;
    min-height: 40vh;
}

.epa-container {
    width: 100%;
    max-width: var(--epa-container);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.epa-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

.epa-section-small {
    padding-top: 70px;
    padding-bottom: 70px;
}

.epa-section-dark {
    background: var(--epa-black);
    color: #ffffff;
}

.epa-section-gray {
    background: var(--epa-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--epa-black);
    font-family: "Inter", "Montserrat", Arial, sans-serif;
    font-weight: 760;
    line-height: .98;
    letter-spacing: -0.055em;
}

h1 {
    font-size: clamp(52px, 6vw, 86px);
}

h2 {
    font-size: clamp(38px, 4vw, 62px);
}

h3 {
    font-size: clamp(28px, 2.8vw, 42px);
}

h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

p {
    margin-top: 0;
    margin-bottom: 20px;
    color: #404040;
    font-size: 16px;
    line-height: 1.75;
}

.epa-text-white h1,
.epa-text-white h2,
.epa-text-white h3,
.epa-text-white h4,
.epa-text-white h5,
.epa-text-white h6,
.epa-text-white p {
    color: #ffffff;
}

.epa-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--epa-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.epa-overline::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--epa-red);
}

.epa-btn {
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: all .22s ease;
    cursor: pointer;
}

.epa-btn-primary {
    background: var(--epa-red);
    border: 1px solid var(--epa-red);
    color: #ffffff;
}

.epa-btn-primary:hover {
    background: var(--epa-red-dark);
    border-color: var(--epa-red-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.epa-btn-outline {
    background: transparent;
    border: 1px solid #111111;
    color: #111111;
}

.epa-btn-outline:hover {
    background: #111111;
    color: #ffffff;
}

.epa-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,.06);
    transition: all .24s ease;
}

.epa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(0,0,0,.08);
}

.epa-card-padding {
    padding: 34px;
}

.epa-grid-2,
.epa-grid-3,
.epa-grid-4 {
    display: grid;
    gap: 30px;
}

.epa-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.epa-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.epa-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid rgba(0,0,0,.08);
    background: #ffffff;
    color: #111111;
    border-radius: 0;
    outline: none;
    transition: all .2s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--epa-red);
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--epa-container);
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .epa-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .epa-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (max-width: 980px) {
    body.admin-bar .epa-corp-header {
        top: 46px;
    }

    .epa-grid-2,
    .epa-grid-3,
    .epa-grid-4 {
        grid-template-columns: 1fr;
    }

    .epa-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    h1 { font-size: 52px; }
    h2 { font-size: 42px; }
    h3 { font-size: 30px; }
}

@media (max-width: 782px) {
    body.admin-bar .epa-corp-header {
        top: 46px;
    }
}

@media (max-width: 760px) {
    .epa-section,
    .epa-section-small {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .epa-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 { font-size: 42px; }
    h2 { font-size: 34px; }
    h3 { font-size: 26px; }

    p {
        font-size: 15px;
        line-height: 1.7;
    }

    .epa-btn {
        width: 100%;
    }
}
