:root {
    --green-950: #12261f;
    --green-900: #18372c;
    --green-800: #244738;
    --green-600: #486730;
    --sage-500: #87a96b;
    --sage-300: #c8d7bd;
    --sage-100: #eef3eb;
    --warm-100: #fbf4ec;
    --warm-200: #ead8c7;
    --clay: #b68462;
    --paper: #fbfaf5;
    --white: #ffffff;
    --ink: #171d19;
    --muted: #5e655c;
    --line: #e2ded4;
    --shadow: 0 24px 64px rgba(54, 45, 34, .11);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Inter", system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

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

.page {
    overflow: hidden;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: fixed;
    z-index: 50;
    inset: 0 0 auto;
    border-bottom: 1px solid rgba(217, 223, 210, .72);
    background: rgba(251, 250, 245, .78);
    backdrop-filter: blur(18px);
    transition: background .2s ease, box-shadow .2s ease;
}

.topbar.scrolled {
    background: rgba(251, 250, 245, .94);
    box-shadow: 0 14px 34px rgba(18, 38, 31, .07);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 26px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    min-width: 0;
    color: var(--green-800);
    font-family: var(--serif);
    font-size: 23px;
    line-height: 1;
    white-space: nowrap;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.navlinks {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.8vw, 26px);
    min-width: 0;
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.navlinks a {
    flex: 0 0 auto;
}

.navlinks a:not(.btn):hover {
    color: var(--green-800);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--green-800);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}

.menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-position .3s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--green-950), var(--green-600), var(--clay));
    background-size: 220% 220%;
    box-shadow: 0 18px 38px rgba(36, 71, 56, .22);
    animation: buttonGradient 7s ease-in-out infinite;
}

.btn-secondary {
    color: var(--green-800);
    border-color: rgba(36, 71, 56, .24);
    background: rgba(255, 255, 255, .46);
}

.section-action {
    margin-top: 32px;
}

.section-action.centered {
    text-align: center;
    margin-top: 40px;
}

.section {
    padding: 104px 0;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--green-600);
    font-size: 13px;
    font-weight: 600;
}

.section-kicker::before,
.eyebrow::before {
    content: "";
    width: 30px;
    height: 1px;
    background: var(--clay);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(280px, .46fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 46px;
}

.section-head.centered {
    display: block;
    max-width: 790px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head.centered .section-kicker {
    justify-content: center;
}

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

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--green-950);
}

.hero {
    position: relative;
    --hero-bg-position: right center;
    --hero-bg-size: cover;
    min-height: 92svh;
    display: flex;
    align-items: center;
    padding: 132px 0 64px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -30px;
    background-color: var(--paper);
    background-repeat: no-repeat;
    background-size: var(--hero-bg-size);
    background-position: var(--hero-bg-position);
    transform: scale(1.01);
    opacity: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(251, 250, 245, .98) 0%, rgba(251, 250, 245, .94) 32%, rgba(251, 250, 245, .58) 46%, rgba(251, 244, 236, .14) 58%, rgba(251, 244, 236, 0) 72%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, .72fr);
    gap: 70px;
    align-items: center;
}

.hero-copy h1 {
    max-width: 680px;
    margin-bottom: 24px;
    font-size: 74px;
    line-height: .98;
}

.hero-copy h1 span {
    display: block;
    color: var(--green-600);
    font-style: italic;
}

.hero-copy p {
    max-width: 640px;
    padding-left: 24px;
    border-left: 2px solid rgba(72, 103, 48, .22);
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    padding: 9px 12px;
    border: 1px solid rgba(72, 103, 48, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .48);
    color: var(--green-800);
    font-size: 13px;
    font-weight: 600;
}

.authority-strip {
    position: relative;
    z-index: 2;
    margin-top: -28px;
    padding-bottom: 38px;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow);
}

.authority-grid article {
    display: flex;
    gap: 14px;
    padding: 24px;
    border-right: 1px solid var(--line);
}

.authority-grid article:last-child {
    border-right: 0;
}

.material-symbols-outlined,
.bi {
    color: var(--green-600);
    font-size: 23px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.btn .material-symbols-outlined,
.floating-whatsapp .material-symbols-outlined,
.btn .bi,
.floating-whatsapp .bi {
    color: inherit;
    font-size: 18px;
}

.icon-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.btn .icon-svg,
.floating-whatsapp .icon-svg,
.btn .bi,
.floating-whatsapp .bi {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-whatsapp .bi {
    font-size: 20px;
}

.authority-grid h2 {
    margin-bottom: 5px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--green-900);
}

.authority-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.intro-section {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) minmax(280px, .58fr);
    gap: 48px;
    align-items: start;
}

.intro-grid-new {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-photo {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.intro-grid h2,
.section-head h2,
.technical-copy h2,
.faq-layout h2,
.cta-panel h2 {
    font-size: 48px;
    line-height: 1.05;
    margin-bottom: 0;
}

.intro-grid p,
.section-head p,
.technical-copy p,
.faq-layout p,
.cta-panel p {
    color: var(--muted);
    font-size: 17px;
}

.pain-section {
    background: linear-gradient(180deg, var(--sage-100), var(--warm-100));
}

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

.pain-card,
.technical-card,
.service-card,
details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.pain-card {
    min-height: 245px;
    padding: 24px;
}

.pain-card h3 {
    margin: 22px 0 10px;
    color: var(--green-900);
    font-size: 18px;
    line-height: 1.2;
}

.pain-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.technical-section {
    background: var(--white);
}

.technical-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(360px, 1fr);
    gap: 70px;
    align-items: center;
}

.technical-photo-container {
    margin-top: 28px;
    position: relative;
}

.technical-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(18, 38, 31, .06);
}

.technical-cards {
    display: grid;
    gap: 12px;
}

.technical-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 20px;
}

.technical-card h3 {
    margin-bottom: 5px;
    color: var(--green-900);
    font-size: 17px;
}

.technical-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.method-section {
    background: var(--paper);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.method-step {
    padding: 34px;
    border-right: 1px solid var(--line);
}

.method-step:last-child {
    border-right: 0;
}

.method-step span {
    display: block;
    margin-bottom: 28px;
    color: var(--sage-500);
    font-family: var(--serif);
    font-size: 42px;
}

.method-step h3 {
    margin-bottom: 12px;
    color: var(--green-900);
    font-size: 20px;
}

.method-step p {
    margin: 0;
    color: var(--muted);
}

.quote-band {
    position: relative;
    padding: 86px 0;
    color: var(--white);
    overflow: hidden;
}

.quote-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: 76% center;
    transform: scaleX(-1);
    filter: blur(14px);
    opacity: 0.9;
}

.quote-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23,49,40,.92) 0%, rgba(36,71,56,.78) 100%);
}

.quote-band blockquote {
    max-width: 870px;
    margin: 0;
    font-family: var(--serif);
    font-size: 60px;
    line-height: 1.02;
}

.quote-band p {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .76);
}

.services-section {
    background: var(--white);
}

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

.service-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(72, 103, 48, .34);
    box-shadow: 0 24px 56px rgba(18, 38, 31, .08);
}

.service-card h3 {
    margin: 22px 0 10px;
    color: var(--green-950);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.05;
    font-weight: 400;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-800);
    font-size: 14px;
    font-weight: 700;
}

.faq-section {
    background: linear-gradient(180deg, var(--sage-100), var(--warm-100));
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(320px, 1fr);
    gap: 70px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    padding: 22px 24px;
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    color: var(--green-900);
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--green-600);
    border-bottom: 2px solid var(--green-600);
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-right: 4px;
}

details[open] summary::after {
    transform: rotate(-135deg);
}

details p {
    margin: 14px 0 0;
    color: var(--muted);
}

.final-cta {
    padding: 104px 0;
    background: var(--paper);
}

.cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 58px;
    border: 1px solid rgba(72, 103, 48, .18);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--white), var(--warm-100));
    box-shadow: var(--shadow);
}

.footer {
    padding: 34px 0;
    border-top: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer strong,
.footer span {
    display: block;
}

.footer strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.footer nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.floating-whatsapp {
    position: fixed;
    z-index: 40;
    right: 20px;
    bottom: 20px;
    min-height: 52px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-950), var(--green-600));
    box-shadow: 0 18px 42px rgba(18, 38, 31, .24);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(18, 38, 31, .32);
}

.floating-whatsapp:active {
    transform: translateY(0);
}

/* Nova Seção Sobre */
.about-section {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 1.2fr;
    gap: 70px;
    align-items: center;
}

.about-photo {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-subtitle {
    display: block;
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 500;
    color: var(--green-600);
    margin: 8px 0 20px;
}

.about-bullets {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}

.about-bullets li {
    font-size: 15px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-bullets li i {
    color: var(--clay);
    font-size: 20px;
    flex-shrink: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes buttonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 1140px) {
    .hero {
        --hero-bg-position: 82% center;
    }

    .navlinks {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        display: flex;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px;
        background: rgba(251, 250, 245, .98);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        white-space: normal;
    }

    .navlinks a {
        flex: 0 1 auto;
    }

    .menu-open .navlinks {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navlinks a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .navlinks .btn {
        margin-top: 16px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-grid,
    .intro-grid,
    .intro-grid-new,
    .about-grid,
    .technical-grid,
    .faq-layout,
    .cta-panel,
    .section-head {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .intro-grid-new,
    .about-grid,
    .technical-grid,
    .faq-layout {
        gap: 36px;
    }

    .intro-photo {
        height: 380px;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-photo {
        height: 480px;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(251, 250, 245, .98) 0%, rgba(251, 250, 245, .88) 42%, rgba(251, 244, 236, .28) 64%, rgba(251, 244, 236, .06) 100%);
    }

    .hero-copy h1 {
        font-size: 58px;
    }

    .authority-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .authority-grid article {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .authority-grid article:nth-child(2n) {
        border-right: 0;
    }

    .authority-grid article:nth-child(n+3) {
        border-bottom: 0;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pain-grid article:last-child {
        grid-column: span 2;
    }

    .quote-band blockquote {
        font-size: 46px;
    }
}

@media (max-width: 680px) {
    .hero {
        --hero-bg-position: 73% top;
        --hero-bg-size: auto 74svh;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        height: 70px;
    }

    .brand {
        font-size: 20px;
        max-width: calc(100vw - 118px);
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .navlinks {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .navlinks a:not(.btn) {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

    .hero {
        min-height: 100svh;
        align-items: stretch;
        padding: 64svh 0 42px;
    }

    .hero-bg {
        inset: 0;
        transform: none;
    }

    .hero-grid {
        min-height: auto;
        align-content: start;
        gap: 34px;
    }

    .hero::after {
        background: linear-gradient(180deg, 
            rgba(251, 250, 245, 0) 0%, 
            rgba(251, 250, 245, 0) 42svh, 
            rgba(251, 250, 245, 0.4) 56svh,
            rgba(251, 250, 245, 0.85) 68svh,
            var(--paper) 73svh,
            var(--paper) 100%
        );
    }

    .intro-grid,
    .intro-grid-new,
    .about-grid,
    .technical-grid,
    .faq-layout,
    .section-head {
        gap: 24px;
    }

    .intro-photo {
        height: 300px;
    }

    .about-photo {
        height: 380px;
    }

    .about-bullets {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-copy {
        padding-top: 0;
    }

    .hero-copy h1 {
        font-size: 42px;
        line-height: 1.03;
    }

    .hero-copy h1 span {
        display: inline;
    }

    .hero-copy p {
        padding-left: 18px;
        font-size: 16px;
    }

    .hero-actions,
    .hero-actions .btn,
    .cta-panel .btn,
    .section-action,
    .section-action .btn {
        width: 100%;
    }

    .authority-grid,
    .pain-grid,
    .services-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .pain-grid article:last-child {
        grid-column: span 1;
    }

    .authority-grid article,
    .method-step {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .authority-grid article:last-child,
    .method-step:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 72px 0;
    }

    .intro-grid h2,
    .section-head h2,
    .technical-copy h2,
    .faq-layout h2,
    .cta-panel h2 {
        font-size: 36px;
    }

    .quote-band blockquote {
        font-size: 36px;
    }

    .cta-panel {
        padding: 34px;
    }

    .floating-whatsapp {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .floating-whatsapp:hover {
        transform: translateY(-2px);
    }

    .floating-whatsapp:active {
        transform: translateY(0);
    }

    .footer {
        padding-bottom: 90px;
    }
}
