:root {
    --coffee: #6c4f47;
    --sand: #f2d6b0;
    --ink: #2a1f1c;
    --paper: #fffaf3;
    --muted: rgba(42, 31, 28, .72);
    --ring: rgba(108, 79, 71, .25);
    --shadow: 0 12px 30px rgba(42, 31, 28, .14);
    --radius: 18px;
    --max: 1120px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    /* background: linear-gradient(180deg, #6c4f47 0%, #a67c6d 15%, #f2d6b0 50%, #fffaf3 100%); */
    background: #fffaf3;
    background-attachment: fixed;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* background: rgba(255, 250, 243, 0.5); */
    background: rgba(108, 79, 71, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(108, 79, 71, .14);
}

.topbar-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--coffee), #8a6a60);
    box-shadow: 0 10px 24px rgba(108, 79, 71, .25);
    position: relative;
    flex: 0 0 auto;
}

.mark:after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(242, 214, 176, .95), rgba(242, 214, 176, .5));
    mix-blend-mode: screen;
    opacity: .55;
}

.brand h1 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--coffee);
    line-height: 1.15;
    font-weight: 800;
}

.brand span {
    display: block;
    font-size: 15px;
    letter-spacing: .02em;
    color: var(--muted);
    text-transform: none;
    margin-top: 3px;
    font-weight: 600;
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(108, 79, 71, .20);
    background: rgba(242, 214, 176, .35);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-weight: 800;
    font-size: 16px;
    /* color: var(--coffee); */
    color: #000;
    white-space: nowrap;
}

.chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(42, 31, 28, .10);
    background: rgba(242, 214, 176, .55);
}

.chip:focus {
    outline: none;
    box-shadow: 0 0 0 5px var(--ring)
}

.icon {
    width: 18px;
    height: 18px;
    display: inline-block
}

/* Hero */
.hero {
    padding: 44px 0 14px
}

.hero-grid {
    display: grid;
    /* grid-template-columns: 1.15fr .85fr; */
    gap: 22px;
    align-items: stretch;
}

.card {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(108, 79, 71, .14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-main {
    padding: 28px 26px
}

main#topo {
    padding-top: 75px;
    /* Ajuste este valor de acordo com a altura do seu cabeçalho */
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(108, 79, 71, .08);
    border: 1px solid rgba(108, 79, 71, .16);
    color: var(--coffee);
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: 15px;
}

.hero h2 {
    margin: 14px 0 10px;
    font-size: 48px;
    line-height: 1.07;
    letter-spacing: -.02em;
    color: var(--ink);
}

.hero p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.7;
    font-weight: 650;
}

.thesis {
    margin-top: 14px;
    padding: 14px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(242, 214, 176, .55), rgba(242, 214, 176, .20));
    border: 1px solid rgba(108, 79, 71, .14);
}

.thesis strong {
    display: block;
    color: var(--coffee);
    font-weight: 950;
    letter-spacing: .02em;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.thesis .lines {
    margin: 0;
    color: var(--ink);
    font-weight: 950;
    font-size: 19px;
    line-height: 1.5;
}

.cta-row {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: stretch;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(108, 79, 71, .22);
    font-weight: 950;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-size: 18px;
}

.btn-primary {
    background: var(--coffee);
    color: var(--paper);
    border-color: rgba(108, 79, 71, .35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(42, 31, 28, .20);
}

.btn-ghost {
    background: rgba(242, 214, 176, .35);
    color: var(--coffee);
}

.btn-ghost:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(42, 31, 28, .10);
    background: rgba(242, 214, 176, .55);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 5px var(--ring)
}

.hero-side {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        radial-gradient(700px 240px at 40% -10%, rgba(242, 214, 176, .60), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .82));
}

.side-box {
    border-radius: 16px;
    border: 1px solid rgba(108, 79, 71, .14);
    background: rgba(242, 214, 176, .22);
    padding: 14px 14px;
}

.side-box h3 {
    margin: 0 0 8px;
    font-size: 31px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--coffee);
    font-weight: 950;
}

.side-box ul {
    margin: 0;
    padding-left: 18px;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.55;
    font-size: 25px;
}

.note {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 650;
    margin: 0;
}

/* Content */
section {
    padding: 20px 0;
    scroll-margin-top: 80px;
}

.section-card {
    padding: 22px 22px
}

.section-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--coffee);
    font-weight: 950;
    letter-spacing: .02em;
}

.section-card p,
.section-card li {
    color: var(--muted);
    font-weight: 650;
    line-height: 1.75;
    font-size: 22px;
}

.section-card .title {
    font-size: 29px;
}

.section-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.hl {
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(108, 79, 71, .18);
    background: rgba(108, 79, 71, .06);
    color: var(--ink);
    font-weight: 750;
    line-height: 1.65;
    margin-top: 12px;
}

/* Contact */
#contato .contact-inner {
    padding: 22px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    align-items: stretch;
}

.contact-inner h3 {
    margin: 0 0 10px;
    color: var(--coffee);
    font-weight: 950;
    font-size: 22px;
}

.contact-inner p {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.7;
}

.contact-box {
    border-radius: 16px;
    border: 1px solid rgba(108, 79, 71, .14);
    background: rgba(242, 214, 176, .20);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.contact-link {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(108, 79, 71, .16);
    font-weight: 950;
    color: var(--coffee);
    transition: transform .15s ease, box-shadow .15s ease;
    word-break: break-word;
}

.contact-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(42, 31, 28, .12);
}

.small {
    font-size: 15px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.55;
    margin-top: 10px
}


/* Footer */
footer {
    padding: 26px 0 34px;
    color: var(--muted);
    font-weight: 650;
    font-size: 15px;
    line-height: 1.6;
}

.foot {
    border-top: 1px solid rgba(108, 79, 71, 1);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    display: block;
}


/* ===== Responsividade reforçada ===== */
@media (max-width: 920px) {
    .hero {
        padding: 30px 0 10px
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    #contato .contact-inner {
        grid-template-columns: 1fr
    }

    .hero h2 {
        font-size: 40px
    }

    .hero-main {
        padding: 22px 18px
    }

    .hero-side {
        padding: 18px
    }

    .section-card {
        padding: 18px
    }
}

@media (max-width: 600px) {
    main#topo {
        padding-top: 200px;
    }

    .wrap {
        padding: 0 16px
    }

    .topbar-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }

    .brand {
        justify-content: center;
        min-width: auto;
    }

    .actions {
        width: 100%;
        justify-content: center;
    }

    .chip {
        width: 100%;
        justify-content: center
    }

    .cta-row {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .hero h2 {
        font-size: 35px
    }

    .thesis .lines {
        font-size: 18px
    }
}

@media (max-width: 380px) {
    .hero h2 {
        font-size: 30px
    }

    .brand h1 {
        font-size: 16px
    }

    .brand span {
        font-size: 14px
    }

    .chip {
        font-size: 15px
    }

    .btn {
        font-size: 16px
    }
}