:root {
    --maxw: 1200px;
    --container-x: 1rem;
    --radius-lg: 12px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, .10);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, .06);

    /* cores */
    --ink: #0F172A;
    --ink-2: #334155;
    --muted: #6B7280;
    --line: rgba(15, 23, 42, .12);
    --bg: #FFFFFF;
    --bg-alt: #F6F7F9;

    --brand: #2563EB;
    --accent: #0F172A;
}

/* ===== Reset / base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-left: var(--container-x);
    padding-right: var(--container-x);
}

/* ===== Header (mesmo estilo das outras páginas) ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
}

.logo {
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 1.3rem;
}

.main-nav {
    display: flex;
    gap: 22px;
}

.main-nav a {
    color: var(--ink-2);
    font-size: .95rem;
}

.main-nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--brand);
}

.header-icons {
    display: flex;
    gap: 14px;
    font-size: 1.1rem;
}

.header-icons .icon {
    padding: 6px 8px;
    border-radius: var(--radius-sm);
}

.header-icons .icon:hover {
    background: rgba(15, 23, 42, .06);
}

@media (max-width:550px) {
    .header-inner {
        padding: 12px 0;
    }

    .main-nav {
        display: none;
    }
}

/* ===== HERO ===== */
.about-hero {
    background: var(--bg-alt) url('about-hero.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--line);
}

.about-hero .container {
    padding: 48px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 6px;
}

.breadcrumb a {
    color: var(--muted);
}

.about-hero h1 {
    font-size: 2rem;
    margin: 6px 0 4px;
}

.hero-sub {
    color: #475569;
}

@media (max-width:550px) {
    .about-hero .container {
        padding: 28px 0;
    }

    .about-hero h1 {
        font-size: 1.6rem;
    }
}

/* ===== INTRO (texto + imagem) ===== */
.about-intro {
    background: #fff;
    padding: 36px 0 56px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-weight: 800;
    letter-spacing: .3px;
    font-size: .8rem;
    color: var(--brand);
    margin-bottom: 8px;
}

.intro-text h2 {
    font-size: 1.9rem;
    margin: 6px 0 10px;
}

.intro-text p {
    color: var(--ink-2);
    margin-bottom: 10px;
}

.bullets {
    margin: 8px 0 16px 18px;
    color: var(--ink);
}

.bullets li {
    margin: 4px 0;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-weight: 800;
    transition: background .2s ease, transform .1s ease;
}

.btn-primary:hover {
    background: var(--brand);
}

.btn-primary:active {
    transform: translateY(1px);
}

.intro-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (max-width:1100px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== VALORES ===== */
.about-values {
    background: #fff;
    padding: 10px 0 40px;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.v-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.v-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.v-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.v-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.v-card p {
    color: var(--ink-2);
}

@media (max-width:1100px) {
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:550px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== STATS ===== */
.about-stats {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 0;
}

.stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
}

.stat strong {
    font-size: 1.6rem;
    display: block;
}

.stat span {
    color: var(--muted);
    font-size: .95rem;
}

@media (max-width:1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:550px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TIMELINE ===== */
.about-timeline {
    background: #fff;
    padding: 40px 0;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    position: relative;
}

.timeline li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
}

.t-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
    margin-top: 6px;
}

.t-content {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
}

.t-content h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.t-content p {
    color: var(--ink-2);
}

/* ===== TEAM ===== */
.about-team {
    background: #fff;
    padding: 10px 0 56px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.member {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.member:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.member img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #E5E7EB;
}

.member h3 {
    margin: 10px 12px 2px;
    font-size: 1rem;
}

.member .role {
    margin: 0 12px 8px;
    color: var(--muted);
    font-size: .92rem;
}

.member p {
    margin: 0 12px 14px;
    color: var(--ink-2);
}

@media (max-width:1100px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:550px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA BANNER ===== */
.about-cta {
    background: #FFF;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 20px;
    align-items: center;
    padding: 26px 0;
}

.cta-text h2 {
    font-size: 1.6rem;
    margin: 8px 0 8px;
}

.cta-text p {
    color: var(--ink-2);
    margin-bottom: 12px;
}

.cta-media {
    height: 220px;
    border-radius: var(--radius-lg);
    background: url('about-cta.jpg') center/cover no-repeat, #111;
}

@media (max-width:1100px) {
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-media {
        height: 200px;
    }
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: #fff;
    padding: 60px 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.newsletter-content {
    text-align: center;
    max-width: 520px;
    margin-inline: auto;
}

.newsletter-content h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.newsletter-content p {
    color: var(--muted);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius-md);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 12px 14px;
}

.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 800;
}

.newsletter-form button:hover {
    background: var(--brand);
}

@media (max-width:1100px) {
    .newsletter-inner {
        flex-direction: column;
    }
}

@media (max-width:550px) {
    .newsletter {
        padding: 44px 0;
    }

    .newsletter-content {
        max-width: 92%;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--ink);
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-brand .logo {
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
}

.footer-brand span {
    color: #cbd5e1;
    margin-left: 8px;
}

.footer-nav {
    display: flex;
    gap: 20px;
}

.footer-nav a {
    color: #fff;
}

.footer-nav a:hover {
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #cbd5e1;
    margin-left: 16px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social a {
    margin-left: 14px;
    color: #fff;
    font-size: 1.15rem;
}

.footer-social a:hover {
    color: #cbd5e1;
}

@media (max-width:550px) {

    .footer-inner,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a,
    .footer-social a {
        margin-left: 10px;
    }
}

/* ===== Acessibilidade/estados ===== */
::selection {
    background: rgba(37, 99, 235, .2);
}

input:invalid,
textarea:invalid {
    border-color: rgba(220, 38, 38, .85);
}

input:invalid:focus,
textarea:invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .15);
}