/* =========================================================
   CAMPUS SOCIAL DO OLIVAL
   Design institucional moderno
   ========================================================= */

:root {
    --navy: #123b4a;
    --navy-dark: #0b2b36;
    --blue: #1d6173;
    --blue-light: #eaf3f5;

    --green: #70845b;
    --green-dark: #536741;
    --green-light: #eef2e9;

    --sand: #d8c19b;
    --sand-light: #f5efe4;

    --cream: #faf9f6;
    --white: #ffffff;

    --text: #26343a;
    --text-light: #68767b;
    --border: #e3e7e7;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 15px rgba(18,59,74,.07);
    --shadow: 0 12px 35px rgba(18,59,74,.10);
    --shadow-lg: 0 25px 60px rgba(18,59,74,.15);

    --container: 1240px;

    --font-body: "DM Sans", sans-serif;
    --font-title: "Playfair Display", serif;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
    position: absolute;
    left: 20px;
    top: -100px;
    background: var(--navy);
    color: white;
    padding: 12px 18px;
    z-index: 9999;
    border-radius: 6px;
}

.skip-link:focus {
    top: 20px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: white;
}

.header-top {
    background: var(--navy-dark);
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.header-top-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-top-left {
    letter-spacing: .02em;
}

.header-top-right {
    display: flex;
    gap: 24px;
}

.header-top-right a {
    transition: opacity .2s ease;
}

.header-top-right a:hover {
    opacity: .7;
}

.header-main {
    background: white;
    border-bottom: 1px solid rgba(18,59,74,.08);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-symbol svg {
    display: block;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-family: var(--font-title);
    font-size: 23px;
    font-weight: 600;
    color: var(--navy);
}

.brand-copy span {
    margin-top: 5px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.site-nav a {
    position: relative;
    padding: 12px 13px;
    color: #425158;
    font-size: 14px;
    font-weight: 600;
    transition:
        color .2s ease,
        background .2s ease;
}

.site-nav a:hover {
    color: var(--navy);
}

.site-nav a[aria-current="page"] {
    color: var(--navy);
}

.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    height: 3px;
    left: 13px;
    right: 13px;
    bottom: 3px;
    background: var(--green);
    border-radius: 3px;
}

.site-nav .nav-contact {
    margin-left: 8px;
    padding: 12px 20px;
    color: white;
    background: var(--navy);
    border-radius: 6px;
}

.site-nav .nav-contact:hover {
    background: var(--blue);
    color: white;
}

.site-nav .nav-contact[aria-current="page"]::after {
    display: none;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--navy);
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;
    line-height: 1.15;
    color: var(--navy);
}

h1,
h2 {
    font-family: var(--font-title);
    font-weight: 500;
}

.eyebrow {
    margin: 0 0 13px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 52px);
}

.section-lead {
    max-width: 720px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
}

.section-lead.center {
    margin-inline: auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(8,39,49,.86) 0%,
            rgba(8,39,49,.66) 43%,
            rgba(8,39,49,.18) 100%
        ),
        var(--hero-image, linear-gradient(135deg,#174d5d,#789064));

    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.hero-title {
    max-width: 780px;
    margin-bottom: 18px;
    color: white;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -.025em;
}

.hero-subtitle {
    max-width: 650px;
    margin: 0 0 18px;
    color: rgba(255,255,255,.94);
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.4;
}

.hero-text {
    max-width: 650px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 28px;
    height: 45px;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 20px;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 4px;
    transform: translateX(-50%);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 23px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: var(--green);
}

.btn-primary:hover {
    background: var(--green-dark);
    box-shadow: 0 8px 20px rgba(83,103,65,.25);
}

.btn-outline {
    color: var(--navy);
    background: transparent;
    border-color: rgba(18,59,74,.3);
}

.btn-outline:hover {
    color: white;
    background: var(--navy);
    border-color: var(--navy);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.04);
}

.btn-outline-light:hover {
    color: var(--navy);
    background: white;
    border-color: white;
}

.btn-text {
    min-height: auto;
    padding: 0;
    color: var(--green-dark);
    background: none;
    border: 0;
}

.btn-text:hover {
    color: var(--navy);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 105px 0;
}

.section-header {
    margin-bottom: 48px;
}

.section-actions {
    margin-top: 42px;
    text-align: center;
}


/* =========================================================
   GENERATIONS
   ========================================================= */

.section-generations {
    background: white;
}

.two-col {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
    align-items: center;
}

.generations-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gen-card {
    min-height: 230px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    border-radius: var(--radius);
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            transparent 30%,
            rgba(0,0,0,.72)
        ),
        linear-gradient(135deg,#789064,#27596a);
}

.gen-card:nth-child(2) {
    min-height: 300px;
}

.gen-card:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 220px;
}

.gen-label {
    position: relative;
    color: white;
    font-family: var(--font-title);
    font-size: 25px;
}


/* =========================================================
   RESPONSES
   ========================================================= */

.section-responses {
    background: var(--cream);
}

.responses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.response-card {
    overflow: hidden;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.response-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.response-image {
    min-height: 245px;
    position: relative;
    background:
        linear-gradient(135deg,#1d6173,#71845b);
    background-size: cover;
    background-position: center;
}

.response-body {
    padding: 25px;
}

.response-title {
    margin-bottom: 9px;
    font-family: var(--font-title);
    font-size: 26px;
}

.response-desc {
    margin: 0 0 20px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   ASSOCIATION
   ========================================================= */

.section-association {
    background: var(--navy);
}

.section-association .eyebrow {
    color: var(--sand);
}

.section-association .section-title {
    color: white;
}

.section-association .section-lead {
    color: rgba(255,255,255,.72);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    margin-top: 55px;
    background: rgba(255,255,255,.12);
}

.pillar {
    min-height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.05);
    transition: background .25s ease;
}

.pillar:hover {
    background: var(--blue);
}

.pillar-icon {
    color: white;
    font-family: var(--font-title);
    font-size: 27px;
}

.association-cta {
    margin-top: 42px;
    text-align: center;
}

.section-association .btn-outline {
    color: white;
    border-color: rgba(255,255,255,.45);
}

.section-association .btn-outline:hover {
    color: var(--navy);
    background: white;
}


/* =========================================================
   NEWS
   ========================================================= */

.section-news {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.news-card {
    overflow: hidden;
    background: var(--cream);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.news-image {
    display: block;
    min-height: 260px;
    background:
        linear-gradient(135deg,#1d6173,#70845b);
    background-size: cover;
    background-position: center;
}

.news-body {
    padding: 27px;
}

.news-date {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.news-title {
    margin: 9px 0 12px;
    font-family: var(--font-title);
    font-size: 27px;
}

.news-title a:hover {
    color: var(--blue);
}

.news-summary {
    margin: 0 0 20px;
    color: var(--text-light);
    font-size: 14px;
}


/* =========================================================
   EVENTS
   ========================================================= */

.section-events {
    background: var(--sand-light);
}

.events-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(18,59,74,.15);
}

.event-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(18,59,74,.15);
}

.event-date {
    text-align: center;
}

.event-day {
    display: block;
    color: var(--navy);
    font-family: var(--font-title);
    font-size: 40px;
    line-height: 1;
}

.event-month {
    display: block;
    margin-top: 4px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-title {
    margin-bottom: 5px;
    font-family: var(--font-title);
    font-size: 25px;
}

.event-meta {
    display: inline-block;
    margin: 0 15px 0 0;
    color: var(--text-light);
    font-size: 14px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.section-gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 190px;
    gap: 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background:
        linear-gradient(135deg,#1d6173,#70845b);
    background-size: cover;
    background-position: center;
    border-radius: 9px;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 45%,
        rgba(0,0,0,.6)
    );
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 13px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TRANSPARENCY
   ========================================================= */

.section-transparency {
    background: var(--green-light);
}

.transparency-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px 65px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.transparency-box .section-title {
    margin-bottom: 8px;
}


/* =========================================================
   CONTACTS
   ========================================================= */

.section-contacts {
    background: var(--cream);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;
    align-items: center;
}

.contacts-address {
    margin: 20px 0;
    color: var(--text-light);
    font-style: normal;
}

.contact-link {
    color: var(--navy);
    font-weight: 600;
}

.contact-link:hover {
    color: var(--green-dark);
}

.contacts-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.empty-state,
.empty {
    padding: 35px;
    color: var(--text-light);
    text-align: center;
    background: white;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    color: rgba(255,255,255,.72);
    background: var(--navy-dark);
}

.site-footer a:hover {
    color: white;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .site-nav {
        gap: 0;
    }

    .site-nav a {
        padding-inline: 9px;
        font-size: 13px;
    }

    .responses-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .two-col {
        gap: 50px;
    }
}


@media (max-width: 850px) {

    .header-top-left {
        display: none;
    }

    .header-top-inner {
        justify-content: flex-end;
    }

    .header-inner {
        min-height: 76px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 15px 24px 25px;
        background: white;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 14px;
    }

    .site-nav .nav-contact {
        margin: 8px 0 0;
        text-align: center;
    }

    .site-nav a[aria-current="page"]::after {
        display: none;
    }

    .hero {
        min-height: 610px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pillars {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .transparency-box {
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-cta {
        flex-direction: row;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(var(--container), calc(100% - 30px));
    }

    .header-top-right {
        gap: 12px;
        font-size: 11px;
    }

    .brand-copy strong {
        font-size: 20px;
    }

    .brand-symbol svg {
        width: 40px;
        height: 40px;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 45px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .section {
        padding: 75px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .responses-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .generations-visual {
        grid-template-columns: 1fr;
    }

    .gen-card,
    .gen-card:nth-child(2),
    .gen-card:nth-child(3) {
        min-height: 220px;
        grid-column: auto;
    }

    .pillars {
        grid-template-columns: 1fr 1fr;
    }

    .event-item {
        grid-template-columns: 70px 1fr;
        gap: 18px;
    }

    .event-item > .btn {
        grid-column: 2;
        justify-self: start;
    }

    .event-day {
        font-size: 32px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
    }

    .transparency-box {
        padding: 30px;
    }

    .contacts-cta {
        flex-direction: column;
        width: 100%;
    }

    .contacts-cta .btn {
        width: 100%;
    }

}
/* =========================================================
   AJUSTE HEADER / LOGO / MENU
   ========================================================= */

.header-inner {
    min-height: 76px;
    gap: 25px;
}

.brand {
    gap: 9px;
}

.brand-symbol svg {
    width: 38px;
    height: 38px;
}

.brand-copy strong {
    font-size: 19px;
}

.brand-copy span {
    font-size: 10px;
    margin-top: 3px;
}

.site-nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 2px;
}

.site-nav a {
    padding: 9px 10px;
    font-size: 13px;
}

.site-nav a[aria-current="page"]::after {
    left: 10px;
    right: 10px;
    bottom: 0;
}

.site-nav .nav-contact {
    margin-left: 5px;
    padding: 10px 16px;
}