:root {
    --gold: #cca043;
    --blue: #1e3a60;
    --ink: #17263b;
    --muted: #596778;
    --line: #e1e6ec;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #8a641a;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 5px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.wrap {
    width: min(1120px, calc(100% - 64px));
    margin: auto;
}

header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.header {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: block;
    flex-shrink: 0;
}

.brand img {
    width: 194px;
    height: auto;
}

nav {
    display: flex;
    gap: 29px;
    font-size: 14px;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
    text-underline-offset: 7px;
}

.menu {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: var(--blue);
}

.skip {
    position: absolute;
    left: 20px;
    top: -100px;
    background: #fff;
    padding: 10px;
    z-index: 9;
}

.skip:focus {
    top: 10px;
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8, 18, 32, .96),
            rgba(8, 18, 32, .7) 45%,
            rgba(8, 18, 32, .06)
        ),
        url('/arquivos/imagens/background/background-tecnologia.webp') center 52% / cover;
    color: #fff;
}

.hero-inner {
    padding-top: 78px;
    padding-bottom: 36px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.2px;
    font-weight: 700;
    color: #9b761e;
}

.hero .eyebrow {
    color: var(--gold);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(36px, 5.6vw, 72px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 20px 0 25px;
}

h2 {
    font-size: 32px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero p {
    font-size: 19px;
    line-height: 1.6;
    color: #e0e5ed;
    margin-bottom: 30px;
}

.button,
.outline {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    background: var(--gold);
    color: var(--ink);;
}

.button:hover {
    background: #dfb75e;
    color: var(--ink);;
}

.hero-note {
    margin-top: 65px;
    padding-top: 21px;
    border-top: 1px solid #ffffff36;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--gold);
}

.hero-note span {
    letter-spacing: 0;
    color: #fff;
    margin-left: 22px;
    font-size: 14px;
}

.latest {
    padding-top: 62px;
    padding-bottom: 66px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
}

.section-head span {
    color: var(--muted);
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px;
}

.photo {
    display: block;
    overflow: hidden;
    border-radius: 9px;
}

.photo img {
    width: 100%;
    aspect-ratio: 1.767;
    object-fit: cover;
    transition: transform .35s;
}

.photo:hover img {
    transform: scale(1.025);
}

.meta {
    font-size: 12px;
    color: #846015;
    font-weight: bold;
    letter-spacing: 1.2px;
    margin: 19px 0 9px;
}

.meta span {
    color: var(--muted);
    font-weight: normal;
    letter-spacing: 0;
    margin-left: 10px;
}

.card h3 {
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -.6px;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    margin-bottom: 0;
}

.focus {
    background: var(--blue);
    color: #fff;
    text-align: center;
}

.focus-inner {
    padding: 54px 0;
}

.focus .eyebrow {
    color: #e2bd67;
}

.focus h2 {
    font-size: 42px;
    margin: 15px 0;
}

.focus p {
    color: #dbe4ef;
}

.outline {
    background: none;
    color: white;
    border: 1px solid var(--gold);;
}

.outline:hover {
    background: var(--gold);
    color: var(--ink);
}

footer {
    background: #112640;
    color: #e6edf5;
    padding: 50px 0 0;
}

.foot {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
}

footer .brand {
    background: white;
    width: 200px;
    padding: 8px;
    border-radius: 3px;
}

footer .brand img {
    width: 184px;
}

footer h2 {
    font-size: 14px;
    letter-spacing: .5px;
    margin: 0 0 18px;
    color: var(--gold);
}

footer p {
    font-size: 14px;
    color: #bfcada;
    margin: 18px 0;
}

footer a {
    display: block;
    font-size: 14px;
    margin-bottom: 9px;
}

footer a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid #ffffff1c;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 12px;
    color: #bfcada;
}

.archive {
    min-height: 65vh;
}

.archive h1 {
    margin-bottom: 45px;
}

.article {
    max-width: 820px;
    padding: 50px 0 75px;
}

.article h1 {
    font-size: clamp(36px, 5vw, 58px);
    margin-top: 18px;
}

.breadcrumb {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 30px;
    gap: 10px;
    color: var(--muted);
}

.lead {
    font-size: 21px;
    color: var(--muted);
    line-height: 1.6;
}

.byline {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 30px;
}

.article-image {
    width: 100%;
    border-radius: 8px;
    margin: 30px 0;
    aspect-ratio: 1.767;
    object-fit: cover;
}

.article section {
    scroll-margin-top: 30px;
}

.article section h2,
.article > h2 {
    margin: 35px 0 17px;
    font-size: 29px;
}

.article section p {
    font-size: 18px;
    line-height: 1.85;
}

.toc {
    border-left: 3px solid var(--gold);
    padding: 16px 24px;
    background: #f3f6fa;
    margin: 35px 0;
}

.toc h2 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.toc a,
.related a {
    display: block;
    color: var(--blue);
    margin: 7px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.related {
    border-top: 1px solid var(--line);
    margin-top: 45px;
    padding-top: 30px;
}

.related h2 {
    font-size: 24px;
}

@media (max-width: 700px) {
    .wrap {
        width: calc(100% - 36px);
    }

    .header {
        height: 74px;
    }

    .brand img {
        width: 160px;
    }

    .menu {
        display: block;
        cursor: pointer;
    }

    header {
        position: relative;
    }

    .header nav {
        display: none;
        position: absolute;
        top: 73px;
        left: 0;
        right: 0;
        background: #fff;
        z-index: 5;
        padding: 24px;
        box-shadow: 0 12px 15px #0002;
        flex-direction: column;
        gap: 16px;
    }

    .header nav.open {
        display: flex;
    }

    .hero-inner {
        padding-top: 62px;
        padding-bottom: 27px;
    }

    .hero {
        background-position: 60% center;
    }

    .hero h1 {
        font-size: 54px;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-note {
        margin-top: 46px;
    }

    .hero-note span {
        display: block;
        margin: 8px 0 0;
    }

    .latest {
        padding: 40px 0;
    }

    .section-head {
        display: block;
    }

    .section-head h2 {
        margin-bottom: 9px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .card h3 {
        font-size: 24px;
    }

    .focus-inner {
        padding: 42px 0;
    }

    .focus h2 {
        font-size: 34px;
    }

    .foot {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .foot > div:first-child {
        grid-column: 1 / -1;
    }

    .article {
        padding-top: 30px;
    }

    .lead {
        font-size: 19px;
    }

    .article section p {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .photo img {
        transition: none;
    }
}

/* Shared utility and sister-site cards */
.section-intro {
    color:var(--muted); 
    margin:0 0 30px; 
    max-width:700px; 
}
.tool-link { 
    display:inline-block; 
    margin-top:12px; 
    font-weight:700; 
    color:var(--blue); 
    text-decoration:underline; 
    text-decoration-color:var(--gold); text-underline-offset:5px; 
}
