/* ============================================================
   Coopersuss WP Theme — main.css
   ============================================================ */

/* ── Lucide icons ── */
[data-lucide] { display: inline-block; width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.c-card__icon [data-lucide]  { width: 2rem; height: 2rem; }
.c-impact-card__icon [data-lucide] { width: 2.5rem; height: 2.5rem; }
.c-contact-item__icon [data-lucide] { width: 1.5rem; height: 1.5rem; }

/* ── Variáveis ── */
:root {
    --primary:   #4257A3;
    --primary-dark: #3347a0;
    --green:     #71BE90;
    --green-dark:#2d8a55;
    --dark:      #1a1a2e;
    --offwhite:  #F5F3F0;
    --muted:     #6b7280;
    --border:    #e5e5e5;
    --white:     #ffffff;
    --blue-mid:  #4257A3;

    --radius-sm: 8px;
    --radius:    12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
    --shadow:    0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12);

    --font: 'Inter', system-ui, -apple-system, sans-serif;

    --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background: var(--offwhite);
    padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ── Utilitários ── */
.bg-primary  { background: var(--primary); }
.bg-white    { background: var(--white); }
.bg-offwhite { background: var(--offwhite); }
.bg-blue     { background: var(--blue-mid); }
.text-primary  { color: var(--primary); }
.text-white    { color: var(--white); }
.text-center   { text-align: center; }
.c-muted       { color: var(--muted); }
.c-lead        { font-size: 1.125rem; line-height: 1.75; color: var(--muted); }
.c-eyebrow     { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.c-footnote    { font-size: .8rem; color: var(--muted); max-width: 760px; margin: 2rem auto 0; text-align: center; }
.c-accent-line { width: 40px; height: 3px; background: var(--green); border-radius: 99px; margin: .75rem 0; }
.c-link-arrow  { font-size: .9rem; font-weight: 700; color: var(--primary); }
.c-link-arrow:hover { text-decoration: underline; }

/* ── Seções ── */
.c-section { padding: 64px 20px; }
.c-section--compact { padding: 40px 20px; }
@media (min-width: 768px) {
    .c-section { padding: 96px 32px; }
    .c-section--compact { padding: 56px 32px; }
}
.c-section-header { text-align: center; margin-bottom: 3rem; }
.c-section-header h2 { margin-top: .5rem; }
.c-section-header p  { margin-top: .75rem; color: var(--muted); }
.c-section-cta { text-align: center; margin-top: 2.5rem; }

/* ── Tipografia ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }

/* ── Header ── */
.c-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.c-header.scrolled { box-shadow: var(--shadow); }
.c-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}
.c-header__logo { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.c-header__logo img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.c-header__logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: .04em;
    line-height: 1;
}
.c-header__logo-text strong { font-weight: 800; color: var(--primary); }

/* Mobile: logo maior + header mais alto */
@media (max-width: 1023px) {
    :root { --header-h: 80px; }
    .c-header__logo img { width: 40px; height: 40px; }
    .c-header__logo-text { font-size: 1rem; }
}

/* Nav desktop */
.c-nav { display: none; }
@media (min-width: 1024px) { .c-nav { display: block; } }
.c-nav__list { display: flex; gap: .25rem; align-items: center; }
.c-nav__list li a {
    display: block;
    padding: .5rem .75rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--dark);
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.c-nav__list li a:hover,
.c-nav__list li a[aria-current="page"],
.c-nav__list li.current-menu-item > a,
.c-nav__list li.current_page_item > a,
.c-nav__list li.current-menu-ancestor > a {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

/* Hamburger */
.c-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}
@media (min-width: 1024px) { .c-hamburger { display: none; } }
.c-hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .2s;
}
.c-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.c-hamburger.open span:nth-child(2) { opacity: 0; }
.c-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
/* Backdrop escuro por trás do menu mobile */
.c-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 148;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.c-mobile-overlay.open { display: block; }

.c-mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ffffff;
    overflow-y: auto;
    padding: calc(var(--header-h) + 1rem) 24px 6rem;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 149;
}
.c-mobile-menu.open { transform: translateX(0); }
.c-mobile-menu__list { list-style: none; margin: 0; padding: 0; }
.c-mobile-menu__list li + li { border-top: 1px solid var(--border); }
.c-mobile-menu__list li a {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color .15s;
}
.c-mobile-menu__list li a:hover { color: var(--primary); }
.c-mobile-menu__list li.current-menu-item > a,
.c-mobile-menu__list li.current_page_item > a {
    color: var(--primary);
}
/* CTA no fim do menu mobile */
.c-mobile-menu__cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border);
}

/* Botão flutuante Apoie via LIR */
.c-floating-cta {
    position: fixed;
    bottom: 1.5rem; right: 1rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--green);
    color: var(--dark);
    font-weight: 700;
    font-size: .875rem;
    padding: .75rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.c-floating-cta:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(0,0,0,.25); text-decoration: none; color: var(--dark); }
.c-floating-cta [data-lucide] { width: 1.1rem; height: 1.1rem; }

/* ── Hero ── */
.c-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark);
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center top;
    padding: 4rem 20px;
}
@media (min-width: 768px) { .c-hero { min-height: 380px; padding: 5rem 32px; } }
.c-hero--short { min-height: 220px; }
@media (min-width: 768px) { .c-hero--short { min-height: 300px; } }

.c-hero--video { background: var(--dark); min-height: 100svh; }
@media (min-width: 768px) { .c-hero--video { min-height: 100svh; padding: 8rem 32px; } }
.c-hero__media { position: absolute; inset: 0; }
.c-hero__video { width: 100%; height: 100%; object-fit: cover; }

.c-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.c-hero__content {
    position: relative;
    z-index: 1;
    color: var(--white);
}
.c-hero__content--center {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.c-hero__content h1,
.c-hero__content h2 { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.c-hero__content p  { color: var(--white); margin-top: 1rem; font-size: 1.125rem; opacity: .92; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.c-hero__content .c-btn { margin-top: 2rem; }

/* ── Botões ── */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s, opacity .15s;
    text-decoration: none;
    border: 2px solid transparent;
    min-height: 48px;
}
.c-btn--lg { padding: .9rem 2.25rem; font-size: 1.05rem; }
.c-btn--sm { padding: .5rem 1.25rem; font-size: .875rem; min-height: 38px; }
.c-btn--full { width: 100%; }

.c-btn--primary { background: var(--primary); color: var(--white); }
.c-btn--primary:hover { background: var(--primary-dark); text-decoration: none; }

.c-btn--blue { background: var(--primary); color: var(--white); }
.c-btn--blue:hover { background: var(--primary-dark); text-decoration: none; }

.c-btn--white { background: var(--white); color: var(--primary); }
.c-btn--white:hover { opacity: .9; text-decoration: none; }

.c-btn--ghost-white {
    background: rgba(255,255,255,.2);
    color: var(--white);
    backdrop-filter: blur(4px);
    border-color: rgba(255,255,255,.4);
}
.c-btn--ghost-white:hover { background: rgba(255,255,255,.3); text-decoration: none; }

.c-btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.c-btn--outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }

/* ── Tags / badges ── */
.c-tag {
    display: inline-block;
    padding: .25rem .875rem;
    border-radius: 99px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    background: rgba(26,26,46,.08);
    color: var(--dark);
}
.c-tag--green { background: var(--green); color: var(--white); }
.c-tag--green-light { background: rgba(113,190,144,.18); color: var(--green-dark); }
.c-tag--green-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green-dark); }
.c-tag--primary-soft  { background: rgba(66,87,163,.1); color: var(--primary); }
.c-tag--white { background: rgba(255,255,255,.18); color: var(--white); }
.c-tags-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }

/* ── Métricas ── */
.c-metrics__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .c-metrics__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
}
.c-metrics__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--delay, 0s);
}
.c-metrics__item.visible { opacity: 1; transform: translateY(0); }
@media (min-width: 768px) {
    .c-metrics__item + .c-metrics__item::before {
        content: '';
        position: absolute;
        left: 0; top: 50%;
        transform: translateY(-50%);
        width: 1px; height: 48px;
        background: rgba(255,255,255,.3);
    }
}
.c-metrics__valor { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: var(--white); line-height: 1; }
.c-metrics__sufixo { font-size: clamp(.875rem, 1.5vw, 1.1rem); font-weight: 600; }
.c-metrics__valor--text { font-size: 1.1rem; line-height: 1.3; }
.c-metrics__rotulo { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.75); line-height: 1.4; margin-top: .5rem; }
.c-metrics__item .c-accent-line { margin: .625rem auto; }

/* ── Process steps (De Resíduo a Recurso) ── */
.c-process__list { display: flex; flex-direction: column; gap: .75rem; max-width: 860px; margin: 0 auto; }
.c-process__item {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.c-process__photo { position: relative; overflow: hidden; flex-shrink: 0; }
.c-process__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-process__badge {
    position: absolute; top: .75rem; left: .75rem;
    background: rgba(255,255,255,.92);
    color: var(--dark);
    font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    padding: .25rem .7rem; border-radius: 99px;
    backdrop-filter: blur(4px);
}
.c-process__body {
    display: flex; flex-direction: column; justify-content: center;
    padding: 1.75rem 2rem;
}
.c-process__title-row { display: flex; align-items: center; gap: .625rem; }
.c-process__title-row [data-lucide] { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.c-process__title-row h3 { font-size: 1.125rem; margin: 0; }
.c-process__body p { margin-top: .625rem; font-size: .9rem; line-height: 1.6; }
.c-process__tag { display: inline-block; margin: .5rem 0; padding: .2rem .75rem; border-radius: 99px; font-size: .75rem; font-weight: 700; }

/* Light steps */
.c-process__item--light .c-process__body { background: var(--white); }
.c-process__item--light .c-process__title-row [data-lucide],
.c-process__item--light .c-process__title-row h3 { color: var(--dark); }
.c-process__item--light .c-process__body p { color: var(--muted); }
.c-process__item--light .c-process__tag { background: rgba(66,87,163,.08); color: var(--primary); }

.c-process__item--green-light .c-process__body { background: rgba(113,190,144,.12); }
.c-process__item--green-light .c-process__title-row [data-lucide],
.c-process__item--green-light .c-process__title-row h3 { color: var(--dark); }
.c-process__item--green-light .c-process__body p { color: var(--muted); }

/* Special (dashed) */
.c-process__item--special .c-process__body { background: rgba(255,200,180,.12); border: 2px dashed rgba(200,100,70,.3); }
.c-process__item--special { border-radius: var(--radius-lg); }
.c-process__item--special .c-process__title-row [data-lucide],
.c-process__item--special .c-process__title-row h3 { color: var(--dark); }
.c-process__item--special .c-process__body p { color: var(--muted); }
.c-process__item--special .c-process__tag { background: rgba(200,100,70,.12); color: #a0401a; }

/* Colored steps */
.c-process__item--green .c-process__body  { background: var(--green); }
.c-process__item--blue .c-process__body   { background: var(--primary); }
.c-process__item--dark .c-process__body   { background: var(--dark); }
.c-process__item--green .c-process__title-row [data-lucide],
.c-process__item--blue .c-process__title-row [data-lucide],
.c-process__item--dark .c-process__title-row [data-lucide] { color: rgba(255,255,255,.8); }
.c-process__item--green .c-process__title-row h3,
.c-process__item--blue .c-process__title-row h3,
.c-process__item--dark .c-process__title-row h3 { color: var(--white); }
.c-process__item--green .c-process__body p,
.c-process__item--blue .c-process__body p,
.c-process__item--dark .c-process__body p { color: rgba(255,255,255,.82); }
.c-process__item--green .c-process__tag { background: rgba(255,255,255,.22); color: var(--white); }
.c-process__item--blue .c-process__tag  { background: rgba(255,255,255,.18); color: var(--white); }

@media (max-width: 639px) {
    .c-process__item { grid-template-columns: 1fr; }
    .c-process__photo { aspect-ratio: 4/3; min-height: 180px; }
    .c-process__body { padding: 1.25rem 1.25rem; }
}

/* ── Footer com textura ── */
.c-footer {
    background: var(--dark);
    color: rgba(255,255,255,.85);
    position: relative;
}
.c-footer::before {
    content: '';
    position: absolute; inset: 0;
    background-image: url('../images/footer-texture.jpg');
    background-size: cover;
    background-position: center;
    opacity: .12;
    pointer-events: none;
}
.c-footer__top,
.c-footer__legal,
.c-footer__bottom { position: relative; z-index: 1; }

/* ── Impacto cards ── */
.c-impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
}
@media (min-width: 640px) { .c-impact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .c-impact-grid { grid-template-columns: repeat(3, 1fr); } }

.c-impact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    opacity: 0; transform: translateY(20px);
    transition: opacity .5s ease-out, transform .5s ease-out;
    transition-delay: var(--delay, 0s);
}
.c-impact-card.visible { opacity: 1; transform: translateY(0); }
.c-impact-card__icon { font-size: 2rem; color: var(--primary); }
.c-impact-card__icon [data-lucide] { color: var(--primary); width: 2.5rem; height: 2.5rem; }
.c-impact-card__values { display: flex; align-items: baseline; gap: .5rem; margin-top: 1rem; }
.c-impact-card__valor { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.c-impact-card__unidade { font-size: 1rem; font-weight: 600; color: rgba(26,26,46,.7); }
.c-impact-card__desc { margin-top: .75rem; font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* ── Expansão ── */
.c-expansion-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
}
@media (min-width: 640px) { .c-expansion-grid { grid-template-columns: 1fr 1fr; } }

.c-expansion-card {
    background: var(--white);
    border: 1px solid rgba(26,26,46,.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
}
.c-expansion-card--highlight { border: 2px solid var(--green); }
.c-expansion-card__number { display: flex; align-items: baseline; gap: .5rem; margin: 1.5rem 0 .5rem; }
.c-num-big  { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--primary); }
.c-num-unit { font-size: 1.1rem; font-weight: 600; color: rgba(66,87,163,.65); }
.c-badges   { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.5rem; justify-content: center; }
.c-badge    { background: rgba(113,190,144,.15); color: var(--dark); border-radius: 99px; padding: .375rem .875rem; font-size: .875rem; font-weight: 500; }

/* ── Vídeo ── */
.c-video-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--dark);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
}
.c-video { width: 100%; height: 100%; object-fit: cover; }

/* ── Parceiros ── */
.c-partner-featured {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--offwhite);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: box-shadow .2s;
    color: inherit;
}
.c-partner-featured:hover { box-shadow: var(--shadow); text-decoration: none; }
@media (min-width: 640px) { .c-partner-featured { flex-direction: row; align-items: center; gap: 2rem; } }
.c-partner-featured__logo { width: 160px; height: 80px; display: flex; align-items: center; flex-shrink: 0; }
.c-partner-featured__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.c-partner-featured__info h3 { margin-top: .5rem; }
.c-partner-featured__info p  { margin-top: .375rem; color: var(--muted); font-size: .9rem; }

.c-partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: 1.25rem;
}
@media (min-width: 640px) { .c-partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .c-partners-grid { grid-template-columns: repeat(4, 1fr); } }
.c-partners-grid--compact { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .c-partners-grid--compact { grid-template-columns: repeat(3, 1fr); } }

.c-partner-item {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    transition: box-shadow .15s;
}
.c-partner-item:hover { box-shadow: var(--shadow-sm); }
.c-partner-item img { max-height: 48px; max-width: 100%; object-fit: contain; }
.c-partner-item span { font-size: .8rem; font-weight: 600; text-align: center; color: rgba(26,26,46,.8); }

.c-partners-section { margin-bottom: 3.5rem; }
.c-partners-section__header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.c-partners-section__num { font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--green); }
.c-partners-section h2 { font-size: 1.35rem; }

/* ── Legal strip ── */
.c-legal-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
}
@media (min-width: 640px) { .c-legal-strip { grid-template-columns: repeat(3, 1fr); } }
.c-legal-strip div { display: flex; flex-direction: column; gap: .25rem; }
.c-legal-strip__label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.c-legal-strip > div > span:not(.c-legal-strip__label) { font-size: .9rem; font-weight: 500; color: var(--white); }
.c-legal-strip--bordered { padding: 2rem; background: var(--offwhite); border-radius: var(--radius-xl); }
.c-legal-strip--bordered .c-legal-strip__label { color: var(--muted); }
.c-legal-strip--bordered > div > span:not(.c-legal-strip__label) { color: var(--dark); }

/* ── CTA LIR ── */
.c-cta-lir { position: relative; overflow: hidden; padding: 6rem 20px; text-align: center; }
.c-cta-lir__bg-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 40%;
}
.c-cta-lir__overlay {
    position: absolute; inset: 0;
    background: rgba(66,87,163,.85);
}
.c-cta-lir__content {
    position: relative; z-index: 1;
    color: var(--white);
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.c-cta-lir__content h2 { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.c-cta-lir__content p  { opacity: .9; }
.c-cta-lir__emphasis { font-weight: 700; font-size: 1.05rem; }

/* ── Cards genéricos ── */
.c-cards-2 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .c-cards-2 { grid-template-columns: 1fr 1fr; } }
.c-cards-3 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .c-cards-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .c-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.c-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform .15s;
}
.c-card:hover { transform: translateY(-2px); }
.c-card--center { text-align: center; }
.c-card--featured { border: 2px solid var(--green); position: relative; }
.c-card h3 { margin-top: .75rem; }
.c-card p  { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.c-card__badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: var(--white);
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
    padding: .25rem .75rem; border-radius: 99px; white-space: nowrap;
}
.c-card__icon { font-size: 2rem; }
.c-card__icon--green   { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: rgba(113,190,144,.15); border-radius: var(--radius); font-size: 1.5rem; }
.c-card__icon--green [data-lucide]   { color: var(--green-dark); width: 1.5rem; height: 1.5rem; }
.c-card__icon--primary { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; background: rgba(66,87,163,.12); border-radius: 50%; font-size: 1.5rem; }
.c-card__icon--primary [data-lucide] { color: var(--primary); width: 1.5rem; height: 1.5rem; }
.c-card__price { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-top: .75rem; }

/* ── Timeline ── */
.c-timeline { position: relative; border-left: 2px solid rgba(66,87,163,.25); padding-left: 2rem; display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.c-timeline__item { position: relative; }
.c-timeline__dot {
    position: absolute; left: calc(-2rem - 6px); top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary);
}
.c-timeline__item--highlight .c-timeline__dot { background: rgba(66,87,163,.35); }
.c-timeline__ano { font-size: .875rem; font-weight: 700; color: var(--primary); }
.c-timeline__item--highlight .c-timeline__ano { color: var(--muted); }
.c-timeline__texto { margin-top: .25rem; color: var(--muted); }
.c-timeline__item--highlight .c-timeline__texto { font-size: .9rem; }

/* ── Box ── */
.c-box { background: var(--white); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); }
.c-box__title { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); }

/* ── Listas ── */
.c-list { display: flex; flex-direction: column; gap: .5rem; }
.c-list li { color: var(--muted); font-size: .9rem; }
.c-list--sm li { font-size: .8rem; }
.c-list--check li { padding-left: 1.5rem; position: relative; }
.c-list--check li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ── Doc item (links de download) ── */
.c-doc-item {
    display: flex; align-items: center; gap: 1rem;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1rem 1.25rem; box-shadow: var(--shadow-sm);
}
.c-doc-item__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(66,87,163,.1); border-radius: 50%; flex-shrink: 0; color: var(--primary); }
.c-doc-item__icon [data-lucide] { width: 1.1rem; height: 1.1rem; }
.c-doc-item > div { flex: 1; }
.c-doc-item strong { display: block; font-size: .9rem; }
.c-doc-item span { font-size: .75rem; color: var(--muted); }

/* ── Docs grid ── */
.c-docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (min-width: 768px) { .c-docs-grid { grid-template-columns: repeat(3, 1fr); } }
.c-doc-card {
    display: flex; flex-direction: column; gap: .75rem;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: box-shadow .15s; color: var(--dark);
    cursor: pointer;
}
.c-doc-card:hover { box-shadow: var(--shadow); text-decoration: none; }
.c-doc-card--disabled { opacity: .6; cursor: default; }
.c-doc-card__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(66,87,163,.12); border-radius: 50%; color: var(--primary); flex-shrink: 0; }
.c-doc-card__icon [data-lucide] { width: 1.5rem; height: 1.5rem; }
.c-doc-card__info strong { display: block; font-size: .95rem; }
.c-doc-card__info span   { font-size: .8rem; color: var(--muted); }
.c-doc-card__arrow { font-size: 1rem; color: var(--primary); margin-top: auto; align-self: flex-end; }

/* ── Contato ── */
.c-contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .c-contact-grid { grid-template-columns: 1fr 1fr; } }
.c-contact-info h2 { margin-bottom: .5rem; }
.c-contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.c-contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-contact-item__icon { font-size: 1.25rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(66,87,163,.1); border-radius: var(--radius-sm); flex-shrink: 0; }
.c-contact-item strong { display: block; font-size: .9rem; font-weight: 600; }
.c-contact-item p, .c-contact-item a { font-size: .875rem; color: var(--muted); }
.c-contact-item a { color: var(--primary); }
.c-map iframe { display: block; }

/* CF7 override */
.c-contact-form .wpcf7-form { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1.25rem; }
.c-contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .375rem; color: var(--dark); }
.c-contact-form input[type="text"],
.c-contact-form input[type="email"],
.c-contact-form textarea,
.c-contact-form select {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .95rem;
    transition: border-color .15s;
    background: var(--white);
}
.c-contact-form input:focus,
.c-contact-form textarea:focus,
.c-contact-form select:focus { border-color: var(--primary); outline: none; }
.c-contact-form textarea { min-height: 130px; resize: vertical; }
.c-contact-form .wpcf7-submit {
    width: 100%; padding: .875rem;
    background: var(--primary); color: var(--white);
    border: none; border-radius: 99px;
    font-size: 1rem; font-weight: 700;
    cursor: pointer; min-height: 48px;
    transition: background .15s;
}
.c-contact-form .wpcf7-submit:hover { background: var(--primary-dark); }

/* ── Steps (Projetos) ── */
.c-steps { display: flex; flex-direction: column; gap: 1rem; }
.c-step { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; background: var(--offwhite); border-radius: var(--radius-lg); }
.c-step__num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-step strong { display: block; }
.c-step p { color: var(--muted); font-size: .9rem; margin-top: .25rem; }

/* ── Progress ── */
.c-progress { background: var(--border); border-radius: 99px; height: 10px; overflow: hidden; }
.c-progress__bar { height: 100%; background: var(--green); border-radius: 99px; transition: width 1s ease; }

/* ── Calculadora ── */
.c-calculator { background: var(--offwhite); border-radius: var(--radius-xl); padding: 2rem; margin-top: 2rem; }
.c-form-group { display: flex; flex-direction: column; gap: .5rem; }
.c-form-group label { font-weight: 600; font-size: .9rem; }
.c-input { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: 1rem; }
.c-input:focus { border-color: var(--primary); outline: none; }
.c-calculator__results { display: grid; gap: .75rem; margin-top: 1.5rem; }
.c-calc-result { background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.c-calc-result__label { font-size: .875rem; color: var(--muted); }
.c-calc-result__value { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

/* ── Galeria ── */
.c-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (min-width: 640px) { .c-gallery { grid-template-columns: repeat(3, 1fr); } }
.c-gallery__item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.c-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.c-gallery__item:hover img { transform: scale(1.04); }

/* ── Slider ── */
.c-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.c-slider__track { display: flex; transition: transform .4s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.c-slider__slide { flex: 0 0 100%; aspect-ratio: 16/9; overflow: hidden; }
.c-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-slider__btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.9); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow); transition: background .15s, opacity .15s;
    z-index: 2;
}
.c-slider__btn:hover { background: var(--white); }
.c-slider__btn--prev { left: .75rem; }
.c-slider__btn--next { right: .75rem; }
.c-slider__btn [data-lucide] { width: 1.25rem; height: 1.25rem; color: var(--dark); }
.c-slider__dots { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; z-index: 2; }
.c-slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; cursor: pointer; transition: background .2s, transform .2s; padding: 0; }
.c-slider__dot.active { background: var(--white); transform: scale(1.3); }

/* ── Cookie banner ── */
.c-cookie {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%) translateY(120%);
    width: min(680px, calc(100vw - 2rem));
    background: var(--dark); color: var(--white);
    border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    z-index: 9999; transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.c-cookie.visible { transform: translateX(-50%) translateY(0); }
.c-cookie__inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.c-cookie__text { flex: 1; min-width: 0; }
.c-cookie__text strong { display: block; font-size: .95rem; margin-bottom: .25rem; }
.c-cookie__text p { font-size: .8rem; color: rgba(255,255,255,.7); margin: 0; }
.c-cookie__text a { color: var(--green); text-decoration: underline; }
.c-cookie__actions { display: flex; gap: .5rem; flex-shrink: 0; }
.c-cookie .c-btn--outline { border-color: rgba(255,255,255,.3); color: var(--white); }
.c-cookie .c-btn--outline:hover { background: rgba(255,255,255,.1); }

/* ── Footer layout ── */
.c-footer__top { padding: 4rem 20px 3rem; }
@media (min-width: 768px) { .c-footer__top { padding: 5rem 32px 4rem; } }
.c-footer__grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) { .c-footer__grid { grid-template-columns: 1.6fr 1fr 1.4fr 1.4fr; gap: 3rem; } }

.c-footer__brand img { width: 52px; height: 52px; margin-bottom: 1rem; }
.c-footer__brand p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.5; }

.c-footer__nav h3,
.c-footer__contact h3,
.c-footer__address h3 { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.c-footer__nav ul { display: flex; flex-direction: column; gap: .625rem; }
.c-footer__nav a { font-size: .875rem; color: rgba(255,255,255,.7); }
.c-footer__nav a:hover { color: var(--white); text-decoration: none; }

.c-footer__contact p, .c-footer__contact a { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.6; display: flex; }
.c-footer__contact a { gap: .5rem; align-items: center; margin-top: .625rem; }
.c-footer__contact a:hover { color: var(--white); text-decoration: none; }
.c-footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.c-footer__social a { color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); transition: color .2s, border-color .2s; }
.c-footer__social a:hover { color: var(--white); border-color: rgba(255,255,255,.5); text-decoration: none; }
.c-footer__social [data-lucide] { width: 1rem; height: 1rem; }

.c-footer__address p { font-size: .875rem; color: rgba(255,255,255,.7); line-height: 1.6; display: flex; gap: .5rem; }
.c-footer__address span { line-height: 1.6; }

.c-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 20px; text-align: center; display: flex; flex-direction: column; gap: .25rem; }
.c-footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ── Tabela projeto formal ── */
.c-project-table { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.c-project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: .875rem 1.25rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.c-project-row:last-child { border-bottom: none; }
.c-project-row__label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-project-row__valor { font-size: .9375rem; font-weight: 600; color: var(--dark); }
@media (max-width: 639px) { .c-project-row { grid-template-columns: 1fr; gap: .25rem; } }

/* ── Captação card ── */
.c-captacao-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.c-captacao-card h3 { font-size: 1.25rem; }
.c-captacao-card__meta { display: flex; justify-content: space-between; margin-top: .875rem; font-size: .875rem; color: var(--muted); }

/* ── Steps horizontais (Como funciona Projetos) ── */
.c-how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.c-how-step { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.c-how-step__num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    font-size: 1.25rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.c-how-step strong { font-size: .95rem; }
.c-how-step p { font-size: .875rem; color: var(--muted); }

/* ── Fluxo processo Expansão ── */
.c-exp-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 0;
    padding: 2rem 0;
}
.c-exp-flow__item { display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.c-exp-flow__num {
    width: 52px; height: 52px; border-radius: 50%;
    color: var(--white); font-size: 1.25rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.c-exp-flow__label { font-size: .8rem; font-weight: 600; color: var(--dark); text-align: center; }
.c-exp-flow__arrow { font-size: 1.25rem; color: var(--muted); padding: 0 .375rem; margin-bottom: 1.5rem; }

/* ── Parcerias section com accent ── */
.c-partners-section { margin-bottom: 3rem; }
.c-partners-section h2 { font-size: 1.35rem; }

/* ── Reveal animation helper ── */
.js-reveal-group .c-impact-card { opacity: 0; transform: translateY(20px); }
.js-reveal-group.visible .c-impact-card { opacity: 1; transform: translateY(0); }

/* ── Responsive ajustes finais ── */
@media (max-width: 639px) {
    .c-cta-lir { padding: 4rem 20px; }
    .c-footer__grid { gap: 2rem; }
}

/* ── Áreas do galpão (Expansão) ── */
.c-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.c-area-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: box-shadow .2s;
}
.c-area-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.c-area-card__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}
.c-area-card__icon {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(66,87,163,.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.c-area-card__icon svg { width: 18px; height: 18px; color: var(--primary); }
.c-area-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0; }

/* ── Bottom navigation mobile ── */
.c-bottom-nav {
    display: none;
}
@media (max-width: 1023px) {
    .c-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 200;
        background: #fff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -2px 16px rgba(0,0,0,.08);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    /* empurra o conteúdo da página para cima */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

    /* esconde o botão flutuante no mobile (bottom-nav substitui) */
    .c-floating-cta { display: none; }
}

.c-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .02em;
    transition: color .15s;
    min-height: 56px;
}
.c-bottom-nav__item svg {
    width: 22px; height: 22px;
    stroke: currentColor;
}
.c-bottom-nav__item:hover { color: var(--primary); text-decoration: none; }
.c-bottom-nav__item--active { color: var(--primary); }
.c-bottom-nav__item--active svg { stroke: var(--primary); }

/* item LIR com destaque verde */
.c-bottom-nav__item:nth-child(3) {
    color: var(--green-dark, #2d8a55);
}
.c-bottom-nav__item:nth-child(3).c-bottom-nav__item--active,
.c-bottom-nav__item:nth-child(3):hover {
    color: var(--green-dark, #2d8a55);
}


/* Legal page */
.c-legal-page__title { font-size: 2.2rem; font-weight: 700; color: var(--dark); margin-bottom: 2rem; border-bottom: 2px solid var(--offwhite); padding-bottom: 1rem; }
.c-legal-page__body { text-align: left; }
.c-legal-page__body h2,.c-legal-page__body h3 { color: var(--dark); font-weight: 700; margin: 2rem 0 .75rem; }
.c-legal-page__body h2 { font-size: 1.4rem; }
.c-legal-page__body h3 { font-size: 1.1rem; color: var(--blue); }
.c-legal-page__body p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.c-legal-page__body a { color: var(--blue); text-decoration: underline; }
