/**
 * Manifesto Block Styles
 *
 * @package AloraAlkemia
 */

/* ── Section ─────────────────────────────────────────────── */
.manifesto-section {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
    text-align: center;
}

.manifesto-section--dark  { background: var(--bg-void); }
.manifesto-section--red   { background: #c42700; }
.manifesto-section--light { background: oklch(0.14 0.04 262); }

/* Top accent bar */
.manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-red) 30%,
        var(--color-red) 70%,
        transparent 100%
    );
    opacity: 0.7;
}

/* ── Inner ───────────────────────────────────────────────── */
.manifesto-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Title ───────────────────────────────────────────────── */
.manifesto-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 48px;
}

.manifesto-section--dark  .manifesto-title { color: var(--text-white); }
.manifesto-section--red   .manifesto-title { color: #ffffff; }
.manifesto-section--light .manifesto-title { color: var(--color-navy); }
.manifesto-title .text-vermilion { color: var(--color-red); }

/* ── Quote ───────────────────────────────────────────────── */
.manifesto-quote {
    margin: 0 0 56px;
    padding: 48px 65px 0;
    border: none;
    position: relative;
    max-width: 720px;
}

/* Large decorative quote mark */
.manifesto-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    color: var(--color-red);
    opacity: .18;
    pointer-events: none;
    font-family: Georgia, serif;
    user-select: none;
}

.manifesto-quote-text {
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 500;
    line-height: 1.55;
    font-style: italic;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
}

.manifesto-section--dark  .manifesto-quote-text { color: rgba(255,255,255,.85); }
.manifesto-section--red   .manifesto-quote-text { color: rgba(255,255,255,.85); }
.manifesto-section--light .manifesto-quote-text { color: #4a6480; }

/* Quote bottom divider */
.manifesto-quote::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--color-red);
    margin: 24px auto 0;
    opacity: 0.6;
}

.manifesto-quote-author {
    font-size: var(--text-sm);
    font-style: normal;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 16px;
    display: block;
}

.manifesto-section--dark  .manifesto-quote-author { color: var(--text-dim); }
.manifesto-section--red   .manifesto-quote-author { color: rgba(255,255,255,.6); }
.manifesto-section--light .manifesto-quote-author { color: #4a6480; }

/* ── Text ────────────────────────────────────────────────── */
.manifesto-text {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin: 0 0 40px;
    max-width: 680px;
}

.manifesto-text p { color: inherit; margin: 0 0 16px; }
.manifesto-text p:last-child { margin-bottom: 0; }

.manifesto-section--dark  .manifesto-text { color: var(--text-muted); }
.manifesto-section--red   .manifesto-text { color: rgba(255,255,255,.8); }
.manifesto-section--light .manifesto-text { color: #4a6480; }

/* ── Points ──────────────────────────────────────────────── */
.manifesto-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 48px;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.manifesto-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.5;
}

.manifesto-section--dark  .manifesto-point { color: var(--text-muted); }
.manifesto-section--red   .manifesto-point { color: rgba(255,255,255,.85); }
.manifesto-section--light .manifesto-point { color: var(--color-navy); }

.manifesto-point-bullet {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--color-red);
}

.manifesto-section--red .manifesto-point-bullet { color: rgba(255,255,255,.7); }

/* ── CTA group ───────────────────────────────────────────── */
.manifesto-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* LinkedIn button */
.btn--linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    transition: background var(--duration-normal) var(--ease-out),
                color var(--duration-normal) var(--ease-out),
                transform var(--duration-fast) var(--ease-out),
                box-shadow var(--duration-normal) var(--ease-out);
    background: rgba(10, 102, 194, 0.15);
    color: rgba(255,255,255,.80);
    border: 1px solid rgba(10, 102, 194, 0.35);
}

.btn--linkedin:hover {
    background: rgba(10, 102, 194, 0.30);
    color: #ffffff;
    border-color: rgba(10, 102, 194, 0.65);
    box-shadow: 0 0 24px rgba(10, 102, 194, 0.25);
    transform: translateY(-1px);
}

.btn--linkedin .btn-icon {
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity var(--duration-normal);
}

.btn--linkedin:hover .btn-icon {
    opacity: 1;
}

/* Badge on red bg */
.section-badge--on-red {
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.9);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1023px) {
    .manifesto-section { padding: 100px 0 88px; }
}

@media (max-width: 767px) {
    .manifesto-section { padding: 72px 0 64px; }
    .manifesto-quote { padding: 40px 20px 0; }
    .manifesto-quote::before { font-size: 96px; top: -8px; }
    .manifesto-quote-text { font-size: 1.2rem; }
    .manifesto-cta-group { flex-direction: column; }
    .manifesto-cta-group .btn,
    .manifesto-cta-group .btn--linkedin { text-align: center; justify-content: center; }
}
