@charset "UTF-8";

/* ==========================================================================
   Home / Landing — extends styles.css. Reuses .product-*, .proj-* components.
   ========================================================================== */

/* ---- Hero (full-bleed image) ---- */
.home-hero {
    position: relative;
    min-height: 88vh;
    background-color: #1a1d20;
    overflow: hidden;
    display: flex;
}

.home-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 45%, rgba(0,0,0,0.12) 100%),
        linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 55%);
}

/* Rule-of-thirds: lift the text block off the bottom edge so it sits
   roughly on the lower third line instead of flush against the edge. */
.home-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    padding-bottom: max(3.5rem, 16vh);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.home-hero__eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.25rem;
}

.home-hero__title {
    font-size: clamp(2.75rem, 7vw, 5.25rem);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
    max-width: 16ch;
    margin-bottom: 1.5rem;
}

.home-hero__sub {
    font-size: clamp(1rem, 1.6vw, 1.1875rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    max-width: 38rem;
    margin-bottom: 2.25rem;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* ---- Buttons ---- */
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover { transform: translateY(-2px); }

.home-btn--primary {
    background: #fff;
    color: #212427;
}
.home-btn--primary:hover { background: #f0f0f0; }

.home-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.home-btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.home-btn--dark {
    background: #212427;
    color: #fff;
}
.home-btn--dark:hover { background: #000; }

/* Inline "Ver tudo →" link used in section headers */
.home-link {
    margin-left: auto;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--se);
    text-decoration: none;
    white-space: nowrap;
}
.home-link:hover { text-decoration: underline; }

/* ---- Generic section shell ---- */
.home-section {
    padding: 4.5rem 1.5rem;
    background-color: var(--fi);
}
.home-section--alt { background-color: var(--si); }

.home-container {
    max-width: 80rem;
    margin: 0 auto;
}

.home-section__head {
    max-width: 46rem;
    margin-bottom: 2.75rem;
}

.home-section__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--se);
    margin-bottom: 0.9rem;
}

.home-section__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: #212427;
}

.home-section__lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #4b5563;
    margin-top: 1rem;
}

/* Section header with inline "see all" link (reuses .section-header look) */
.home-head-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.home-head-row__title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #212427;
}

/* ---- 3 Pillars ---- */
.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.home-pillar {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 0.9rem;
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.home-pillar:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e0e0e0;
    transform: translateY(-3px);
}

.home-pillar__num {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--se);
    margin-bottom: 1rem;
}

.home-pillar__title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #212427;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.home-pillar__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.home-pillar__cta {
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #212427;
}
.home-pillar:hover .home-pillar__cta { color: var(--se); }

/* ---- About teaser + values ---- */
.home-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.home-about__body p {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1rem;
}

.home-about__quote {
    margin: 1.5rem 0 0;
    font-size: 1.125rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: #212427;
    padding-left: 1.1rem;
    border-left: 2px solid var(--se);
}

.home-values {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-value {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.home-value:first-child { padding-top: 0; }
.home-value:last-child { border-bottom: none; }

.home-value__num {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--se);
    padding-top: 0.2rem;
}
.home-value__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212427;
    margin-bottom: 0.3rem;
}
.home-value__desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #6b7280;
}

/* ---- Final CTA band ---- */
.home-cta {
    background: #212427;
    padding: 5rem 1.5rem;
    text-align: center;
}
.home-cta__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.home-cta__title {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}
.home-cta__sub {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    max-width: 36rem;
    margin: 0 auto 2.25rem;
}
.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    justify-content: center;
}
.home-cta__meta {
    margin-top: 2rem;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
    color: rgba(255,255,255,0.5);
}
.home-cta__meta a { color: rgba(255,255,255,0.8); text-decoration: none; }
.home-cta__meta a:hover { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .home-pillars { grid-template-columns: 1fr; }
    .home-about__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 768px) {
    .home-hero { min-height: 90vh; }
    .home-hero__overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.2) 100%);
    }
    .home-hero__actions .home-btn { flex: 1 1 auto; justify-content: center; }
}
