@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap');

:root {
    --ink: #1c1c1c;
    --ink-2: #3d3d3d;
    --paper: #ffffff;
    --stone: #f7f6f3;
    --steel: #5f5f5f;
    --steel-light: #8a8a8a;
    --line: #e6e4de;
    --line-soft: #eeebe4;
    --red: #d30a14;
    --red-dark: #b00810;
    --navy: #1c1c1c;
    --navy-2: #3d3d3d;
    --navy-3: #1c1c1c;
    --amber: #d30a14;
    --amber-dark: #b00810;
    --yellow: #d30a14;
    --logo-red: #d30a14;
    --logo-black: #1c1c1c;
    --paper-2: #f7f6f3;
    --bg: #f7f6f3;
    --primary: #d30a14;
    --primary-dark: #b00810;
    --text-primary: #1c1c1c;
    --text-secondary: #5f5f5f;
    --font-head: 'Source Serif 4', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --maxw: 1120px;
    --radius: 4px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(28, 28, 28, 0.06);
    --shadow-md: 0 10px 30px rgba(28, 28, 28, 0.1);
    --shadow-lg: 0 24px 60px rgba(28, 28, 28, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #f4f4f2;
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 550;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: none;
}
img { max-width: 100%; display: block; }
::selection { background: #d30a14; color: #fff; }
.topbar { display: none; }

/* Header */
.spc-masthead { position: sticky; top: 0; z-index: 100; }
.spc-utility { display: none; }

.navbar-hp {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.navbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.navbar-logo {
    display: flex;
    align-items: center;
    background: none;
    padding: 0;
    text-decoration: none;
}
.navbar-logo img,
.navbar-logo .logo-img {
    height: 64px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}
.navbar-wordmark { display: none; }

.navbar-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 4px;
    margin: 0 0 0 auto;
}
.navbar-links > li { position: relative; }
.navbar-links a,
.nav-dropdown-toggle {
    text-decoration: none;
    color: #3d3d3d;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.navbar-links a:hover,
.navbar-links a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown.is-active .nav-dropdown-toggle {
    color: #d30a14;
    box-shadow: none;
}
.navbar-links a::after { display: none; }

.navbar-links .nav-cta a {
    background: #d30a14;
    color: #fff !important;
    padding: 8px 16px;
    margin-left: 8px;
    font-weight: 600;
    border-radius: 4px;
}
.navbar-links .nav-cta a:hover { background: #b00810; }

.nav-dropdown-chevron { width: 11px; height: 11px; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    list-style: none;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    z-index: 110;
    box-shadow: var(--shadow-md);
}
.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.nav-dropdown-menu a { display: block; padding: 8px 16px; }
.nav-dropdown-menu a:hover { background: var(--stone); }

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
}
.navbar-toggle-bar { display: block; width: 18px; height: 1.5px; background: #1c1c1c; margin: 0 auto; }
.navbar-toggle.open .navbar-toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar-toggle.open .navbar-toggle-bar:nth-child(2) { opacity: 0; }
.navbar-toggle.open .navbar-toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.navbar-overlay { display: none; }

@media (max-width: 860px) {
    .navbar-toggle { display: flex; }
    .navbar-logo img { height: 52px; }
    .navbar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: 70px;
        background: rgba(0, 0, 0, 0.2);
        z-index: 98;
    }
    .navbar-overlay.open { display: block; }
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        background: #fff;
        padding: 8px 0 16px;
        z-index: 99;
        display: none;
        border-bottom: 1px solid var(--line);
    }
    .navbar-links.open { display: flex; transform: none; }
    .navbar-links a,
    .nav-dropdown-toggle { display: block; width: 100%; padding: 12px 24px; }
    .navbar-links .nav-cta { margin: 8px 24px 0; }
    .navbar-links .nav-cta a { display: block; text-align: center; margin: 0; }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        border: none;
        box-shadow: none;
    }
    .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
}

/* Shared buttons (used by inner pages too) */
.btn, .btn-hero, .btn-hero-ghost, .btn-solid, .btn-ink, .btn-line,
.spc-btn, .spc-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-solid, .btn-hero, .spc-btn { background: #d30a14; color: #fff; border-color: #d30a14; }
.btn-solid:hover, .btn-hero:hover, .spc-btn:hover { background: #b00810; }
.btn-ink { background: #1c1c1c; color: #fff; border-color: #1c1c1c; }
.btn-line, .btn-hero-ghost, .spc-btn-ghost {
    background: transparent;
    color: #1c1c1c;
    border-color: #cfcbc3;
}
.btn-line:hover, .btn-hero-ghost:hover, .spc-btn-ghost:hover {
    border-color: #1c1c1c;
    color: #1c1c1c;
}

.section-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #d30a14;
    margin-bottom: 8px;
}
.section-kicker::before { display: none; }

/* Shared page intro — matches Resources */
.spc-intro {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 44px 24px 28px;
}
.spc-intro-rule {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    padding: 11px 0;
}
.spc-intro h1 {
    margin: 28px 0 16px;
    font-size: clamp(2.8rem, 9vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    font-weight: 500;
}
.spc-intro p {
    margin: 0;
    max-width: 36em;
    font-size: 1.08rem;
    color: #3d3d3d;
}
@media (max-width: 560px) {
    .spc-intro { padding-left: 20px; padding-right: 20px; }
}

/* ==========================================================================
   Homepage — editorial index
   ========================================================================== */

.hp-home { background: #f3f1ea; }

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    padding: 13px 20px;
    background: #1c1c1c;
    color: #fff;
    border: 1px solid #1c1c1c;
}
.hp-btn:hover { background: #d30a14; border-color: #d30a14; color: #fff; }
.hp-btn-on-red { background: #fff; color: #d30a14; border-color: #fff; }
.hp-btn-on-red:hover { background: #1c1c1c; color: #fff; border-color: #1c1c1c; }
.hp-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1c1c1c;
    text-decoration: none;
    border-bottom: 1px solid #1c1c1c;
    padding-bottom: 2px;
}
.hp-link:hover { color: #d30a14; border-bottom-color: #d30a14; }
.hp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.hp-mast {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 24px 0;
}
.hp-mast-rule {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    padding: 11px 0;
}
.hp-mast h1 {
    margin: 28px 0 28px;
    font-size: clamp(2.8rem, 9vw, 6.4rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
    font-weight: 500;
}
.hp-mast-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) auto;
    gap: 28px 40px;
    align-items: end;
    padding-bottom: 36px;
}
.hp-mast-bar p {
    margin: 0;
    max-width: 38em;
    font-size: 1.08rem;
    color: #3d3d3d;
}

.hp-photo { margin: 0; }
.hp-photo img {
    width: 100%;
    height: min(42vw, 460px);
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.hp-marks {
    max-width: 1240px;
    margin: -40px auto 0;
    position: relative;
    z-index: 2;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.hp-marks article {
    background: #fff;
    padding: 18px 18px 16px;
    border-top: 3px solid #d30a14;
    box-shadow: 0 10px 28px rgba(28, 28, 28, 0.1);
}
.hp-marks strong {
    display: block;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 550;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.hp-marks span {
    display: block;
    font-size: 0.86rem;
    line-height: 1.4;
    color: #5f5f5f;
}

.hp-routes {
    max-width: 1240px;
    margin: 0 auto;
    padding: 56px 24px 24px;
}
.hp-routes-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
}
.hp-routes-head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.hp-routes-head a {
    font-size: 0.92rem;
    font-weight: 700;
    color: #d30a14;
    text-decoration: none;
    white-space: nowrap;
}
.hp-routes-head a:hover { text-decoration: underline; }

.hp-bento {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    min-height: 540px;
}
.hp-bento-lead { grid-row: span 2; }
.hp-bento-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 250px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #1c1c1c;
}
.hp-bento-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.hp-bento-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.05) 20%, rgba(12, 12, 12, 0.82) 100%);
}
.hp-bento-tile:hover img { transform: scale(1.05); }
.hp-bento-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 22px 24px;
}
.hp-bento-body em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffb3b7;
}
.hp-bento-body strong {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 550;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.hp-bento-body span {
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
    max-width: 36em;
}

.hp-cep {
    max-width: 1240px;
    margin: 28px auto 0;
    padding: 12px 24px 8px;
}
.hp-cep-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1.35fr) minmax(240px, 0.95fr);
    background: #fff;
    box-shadow: 0 10px 28px rgba(28, 28, 28, 0.08);
    overflow: hidden;
}
.hp-cep-figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 28px 26px 24px;
    background: #d30a14;
    color: #fff;
}
.hp-cep-stat {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(5rem, 9vw, 7.2rem);
    line-height: 0.78;
    letter-spacing: -0.06em;
    color: #fff;
}
.hp-cep-stat-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}
.hp-cep-pill {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 8px;
    padding: 0;
    background: none;
    color: #d30a14;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.hp-cep-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 36px 32px 32px;
    border-right: 1px solid var(--line);
}
.hp-cep-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.12;
}
.hp-cep-copy > p {
    margin: 0;
    max-width: 34em;
    color: #5f5f5f;
}
.hp-cep-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
.hp-cep-facts li {
    position: relative;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1c1c1c;
}
.hp-cep-facts li + li::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 0.45em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d30a14;
}
.hp-cep-aside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 28px 28px 26px;
}
.hp-cep-aside-label {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d30a14;
}
.hp-cep-modules {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.hp-cep-modules li + li {
    border-top: 1px solid var(--line-soft);
}
.hp-cep-modules a {
    display: block;
    padding: 7px 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1c1c1c;
    text-decoration: none;
}
.hp-cep-modules a:hover { color: #d30a14; }
.hp-cep-aside .hp-btn {
    align-self: flex-start;
    margin-top: 4px;
}

.spc-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.spc-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .spc-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 980px) {
    .hp-cep-card { grid-template-columns: 160px minmax(0, 1fr); }
    .hp-cep-aside {
        grid-column: 1 / -1;
        border-top: 1px solid var(--line);
        padding: 22px 26px 26px;
    }
    .hp-cep-copy { border-right: none; }
}
@media (max-width: 860px) {
    .hp-mast-bar,
    .hp-bento { grid-template-columns: 1fr; }
    .hp-bento { grid-template-rows: none; min-height: 0; }
    .hp-bento-lead { grid-row: auto; min-height: 320px; }
    .hp-marks { grid-template-columns: 1fr 1fr; margin-top: -28px; }
    .hp-cep { padding-top: 20px; }
    .hp-cep-card { grid-template-columns: 1fr; }
    .hp-cep-figure {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding: 22px 24px 18px;
    }
    .hp-cep-stat { font-size: 4.4rem; }
    .hp-cep-copy { padding: 24px 24px 8px; }
}
@media (max-width: 560px) {
    .hp-marks { grid-template-columns: 1fr; }
}

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}
.whatsapp-float:hover { background: #1ebe5d; color: #fff; }
.whatsapp-float svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
    .whatsapp-float { padding: 16px; font-size: 0; gap: 0; }
}
