@import url(../global/global.css);

/* ── Base ────────────────────────────────────────────────────────────────── */
body {
    font-family: 'DM Sans', sans-serif;
    background-color: #f4f6f5;
}

/* ── Hero (padrão compartilhado) ─────────────────────────────────────────── */
.page-hero {
    position: relative;
    background-color: var(--color-primary);
    padding: 5rem 0 7rem;
    overflow: hidden;
    z-index: 0;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.75rem;
}

.page-hero__title {
    font-family: 'Lora', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.page-hero__title em {
    font-style: italic;
    color: var(--color-secondary, #a8d5b5);
}

.page-hero__sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto;
}

.page-hero__accent {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 64px;
    background-color: #f4f6f5;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 1;
}

/* ── Section header ──────────────────────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-secondary, #4caf50);
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 0.95rem;
    color: #777;
    font-weight: 300;
    margin: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* ── Body ────────────────────────────────────────────────────────────────── */
.sobre-body {
    padding-top: 0;
    padding-bottom: 5rem;
    transform: translateY(-3rem);
}

/* ── Blocos texto + imagem ───────────────────────────────────────────────── */
.sobre-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    border: 1px solid rgba(15,23,42,0.06);
    margin-bottom: 2rem;
}

.sobre-block--reverse {
    direction: rtl;
}

.sobre-block--reverse > * {
    direction: ltr;
}

@media (max-width: 991.98px) {
    .sobre-block,
    .sobre-block--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        padding: 2rem;
        gap: 2rem;
    }
}

.sobre-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(15,23,42,0.12);
    display: block;
}

.sobre-block__text-col p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.sobre-block__text-col p:last-child {
    margin-bottom: 0;
}

.sobre-link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Stats do SSVP ───────────────────────────────────────────────────────── */
.sobre-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.sobre-stat {
    background: #f4f6f5;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid rgba(15,23,42,0.06);
}

.sobre-stat__num {
    display: block;
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.sobre-stat__label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Fundadores carousel ─────────────────────────────────────────────────── */
.fundadores-section {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(15,23,42,0.07);
    border: 1px solid rgba(15,23,42,0.06);
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    padding: 0 3rem;
}

.cards-wrapper {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.cards-wrapper::-webkit-scrollbar {
    display: none;
}

.founder-card {
    flex-shrink: 0;
    width: 170px;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f6f5;
    border: 1px solid rgba(15,23,42,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15,23,42,0.12);
}

.founder-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.founder-card__info {
    padding: 0.85rem;
}

.founder-card__info h5 {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.founder-card__info span {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.04em;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid rgba(15,23,42,0.12);
    border-radius: 50%;
    font-size: 1rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.carousel-nav-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.prev { left: 0; }
.next { right: 0; }

@media (max-width: 767.98px) {
    .carousel-nav-btn { display: none; }
    .carousel-container { padding: 0; }
    .fundadores-section { padding: 2rem 1.25rem; }
}

/* ── Animações ───────────────────────────────────────────────────────────── */
.fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    animation-fill-mode: forwards;
    animation-duration: 0.65s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up    { animation-name: fadeInUp; }
.fade-in-left  { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes fadeInUp    { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-24px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:translateX(0); } }