/*
Theme Name: B2Green Custom
Theme URI: https://example.com
Author: B2Green
Author URI: https://example.com
Description: Tema custom da B2Green
Version: 1.0.0
Text Domain: b2green-custom
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Noto+Serif:wght@400;600;700&display=swap');

:root {
    --b2g-deep: #003b3b;
    --b2g-primary: #00574a;
    --b2g-secondary: #079a66;
    --b2g-accent: #10b974;
    --b2g-bg: #f5f8f7;
    --b2g-surface: #ffffff;
    --b2g-text: #143232;
    --b2g-muted: #5b7470;
    --b2g-line: #d4ddda;
    --shadow-soft: 0 14px 30px rgba(0, 59, 59, 0.08);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--b2g-text);
    background: radial-gradient(circle at top right, #edf6f3 0%, var(--b2g-bg) 45%, #f8faf9 100%);
    line-height: 1.6;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: var(--b2g-deep);
    font-family: "Noto Serif", Georgia, serif;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
}

p {
    margin-top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 0.69rem;
    color: var(--b2g-secondary);
    margin-bottom: 0.6rem;
}

.site-header {
    position: relative;
    z-index: 40;
    padding: 1rem 0;
}

.header-inner {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: auto;
    height: clamp(42px, 4vw, 58px);
    max-width: min(220px, 32vw);
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--b2g-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 700;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
    color: var(--b2g-primary);
    border-bottom-color: rgba(0, 87, 74, 0.4);
}

.site-main {
    padding-bottom: 4rem;
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-card,
.card,
.project,
.contacts-form-wrap,
.contacts-aside article {
    background: var(--b2g-surface);
    border: 1px solid rgba(0, 87, 74, 0.08);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.hero-card {
    padding: 1.4rem;
    border-left: 4px solid var(--b2g-secondary);
}

.hero-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.hero-actions {
    margin-top: 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.section {
    padding: 3.2rem 0;
}

.section-alt {
    background: linear-gradient(to bottom, #edf4f1, #f4f8f6);
    border-top: 1px solid rgba(0, 87, 74, 0.08);
    border-bottom: 1px solid rgba(0, 87, 74, 0.08);
}

.section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.2rem;
    align-items: end;
}

.cards,
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card,
.project {
    padding: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.92rem 1.4rem;
    border: 1px solid #063a33;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.69rem;
    font-weight: 700;
    color: #eef4f2;
    background: #005142;
}

.btn:hover,
.btn:focus-visible {
    background: #003f34;
}

.btn-outline {
    background: transparent;
    color: var(--b2g-primary);
}

.btn-small {
    padding: 0.54rem 0.92rem;
    font-size: 0.63rem;
}

.cta {
    padding-top: 1.4rem;
}

.cta-inner {
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(130deg, #003b3b, #00574a);
    color: #ecf7f4;
}

.cta-inner h2,
.cta-inner p {
    color: inherit;
}

.site-footer {
    border-top: 1px solid rgba(0, 87, 74, 0.12);
    padding: 1.8rem 0 2.8rem;
    font-size: 0.95rem;
    color: var(--b2g-muted);
}

.footer-editorial {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-family: "Noto Serif", Georgia, serif;
    color: var(--b2g-text);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-meta {
    max-width: 18rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.64rem;
    line-height: 1.45;
}

.footer-col h3 {
    font-size: 0.71rem;
    font-family: "Manrope", "Segoe UI", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    color: var(--b2g-primary);
}

.footer-col a,
.footer-col p {
    display: block;
    margin: 0 0 0.7rem;
    color: var(--b2g-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.74rem;
}

.site-footer a:hover {
    color: var(--b2g-primary);
}

/* Contactos */
.contacts-page {
    padding: 0.6rem 0 0;
}

.contacts-hero {
    padding-bottom: 4rem;
}

.contacts-hero-grid,
.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: clamp(1.4rem, 4vw, 3.6rem);
}

.contacts-kicker {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.67rem;
    color: var(--b2g-muted);
}

.contacts-hero-copy p {
    max-width: 36rem;
    font-size: clamp(1.35rem, 2vw, 2.05rem);
    line-height: 1.45;
    color: #233735;
}

.contacts-hero-image {
    min-height: 290px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 87, 74, 0.12);
}

.contacts-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 87, 74, 0.2), rgba(5, 26, 24, 0.06));
    pointer-events: none;
}

.contacts-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 290px;
    object-fit: cover;
    display: block;
}

.contacts-content {
    padding-bottom: 5.4rem;
}

.contacts-form-wrap {
    padding: clamp(1.4rem, 2.5vw, 2.6rem);
    background: #f1f2f1;
    border: 1px solid rgba(0, 87, 74, 0.06);
    box-shadow: none;
    border-radius: 0;
}

.contacts-form {
    display: grid;
    gap: 1.35rem;
}

.contact-form-notice {
    margin: 0 0 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-form-notice--success {
    color: #0c5132;
    background: #e9f8ef;
    border: 1px solid #bde4cb;
}

.contact-form-notice--error {
    color: #7f1f2a;
    background: #fdeff1;
    border: 1px solid #f2c3ca;
}

.contacts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-weight: 700;
    font-size: 0.62rem;
    color: #818985;
}

.field input,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #d4d8d5;
    border-radius: 0;
    padding: 0.62rem 0;
    font: inherit;
    color: var(--b2g-text);
    background: transparent;
}

.contacts-form .field textarea {
    resize: none;
    min-height: 8.5rem;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--b2g-primary);
}

.contacts-aside {
    display: grid;
    gap: 1.4rem;
    align-content: start;
}

.contacts-block h3 {
    margin-bottom: 0.9rem;
}

.contacts-aside article {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.contacts-aside p {
    font-size: 1.06rem;
}

.contacts-aside a {
    color: var(--b2g-text);
    text-decoration: none;
}

.map-card {
    min-height: 320px;
    text-decoration: none;
    display: flex;
    align-items: end;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 87, 74, 0.08);
    transition: border-color 0.28s ease;
}

.map-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 16, 15, 0.06), rgba(6, 16, 15, 0.4));
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.map-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.map-card span {
    background: #f5f5f5;
    color: var(--b2g-deep);
    border-radius: 0;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.45rem 0.62rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.map-card:hover {
    border-color: rgba(0, 87, 74, 0.32);
}

.map-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 87, 74, 0.2), rgba(0, 87, 74, 0.5));
}

.map-card:hover img {
    transform: scale(1.04);
}

.map-card:hover span {
    background: var(--b2g-primary);
    color: #f4f8f7;
}


.map-card--embed {
    display: block;
    padding: 0;
}

.map-card--embed::before {
    content: none;
}

.map-card--embed iframe {
    width: 100%;
    min-height: 320px;
    height: 100%;
    display: block;
}

.map-card--embed:hover {
    border-color: rgba(0, 87, 74, 0.08);
}

.contacts-signature {
    padding: 4.2rem 0 4.6rem;
    border-top: 1px solid rgba(0, 87, 74, 0.08);
}

.contacts-signature-inner {
    display: grid;
    grid-template-columns: 1.3fr auto;
    justify-content: space-between;
    gap: 1.4rem;
    align-items: start;
}

.contacts-signature p {
    color: #3c4947;
    max-width: 48rem;
    font-size: 1.08rem;
}

.contacts-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contacts-social a {
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.66rem;
    color: var(--b2g-text);
    border-bottom: 1px solid rgba(0, 59, 59, 0.5);
    padding-bottom: 0.2rem;
}

.btn-premium {
    min-width: 16rem;
    margin-top: 0.6rem;
}

/* Sobre Nós */
.about-page .section {
    padding: clamp(4.2rem, 7vw, 7rem) 0;
}

.about-kicker {
    margin: 0 0 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--b2g-muted);
}

.about-kicker-light {
    color: rgba(230, 242, 237, 0.8);
}

.about-hero {
    padding-top: clamp(2.2rem, 4vw, 4.2rem);
}

.about-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.6rem, 4vw, 4.1rem);
    align-items: center;
    max-width: 100%;
}

.about-hero-layout > * {
    min-width: 0;
}

.about-hero-copy {
    min-width: 0;
}

.about-hero-copy h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.9rem, 7.2vw, 5.8rem);
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.about-lead {
    margin: 0;
    max-width: 34rem;
    font-size: clamp(1.16rem, 2vw, 1.52rem);
    line-height: 1.6;
    color: #2d4541;
}

.about-intro-note {
    margin: 1.35rem 0 0;
    max-width: 33rem;
    color: #47605c;
}

.about-hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: clamp(360px, 46vw, 580px);
    aspect-ratio: 5 / 4;
    border: 1px solid rgba(0, 59, 59, 0.16);
    overflow: hidden;
    display: grid;
    align-items: end;
    padding: clamp(0.9rem, 2.2vw, 1.4rem);
    background: linear-gradient(180deg, rgba(237, 243, 240, 0.6), rgba(245, 248, 247, 0.92));
}

.about-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        115deg,
        rgba(0, 59, 59, 0.05) 0,
        rgba(0, 59, 59, 0.05) 1px,
        transparent 1px,
        transparent 18px
    );
    pointer-events: none;
}

.about-hero-main-media {
    position: absolute;
    inset: clamp(0.9rem, 2.2vw, 1.4rem);
    max-width: 100%;
    border: 1px solid rgba(0, 59, 59, 0.12);
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 1025px) {
    .about-hero-visual {
        justify-self: end;
        width: min(100%, 540px);
        min-height: clamp(320px, 38vw, 500px);
    }
}

.about-hero-main-media img,
.about-process-visual img,
.about-sustainability-visual img,
.about-craft-media img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-hero-caption {
    position: relative;
    z-index: 2;
    justify-self: end;
    margin: 0;
    padding: 0.42rem 0.64rem;
    background: rgba(0, 59, 59, 0.78);
    color: #ecf6f3;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.61rem;
    font-weight: 700;
}

.about-narrative {
    border-top: 1px solid rgba(0, 87, 74, 0.08);
    border-bottom: 1px solid rgba(0, 87, 74, 0.08);
    background: linear-gradient(180deg, rgba(237, 243, 240, 0.7), rgba(245, 248, 247, 0.94));
}

.about-narrative-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(1.4rem, 4vw, 3.8rem);
}

.about-narrative-head h2 {
    margin-bottom: 0;
    max-width: 22rem;
}

.about-narrative-copy {
    display: grid;
    gap: 1.25rem;
}

.about-narrative-copy p {
    margin: 0;
    color: #304542;
    max-width: 44rem;
}

.about-philosophy {
    padding-top: clamp(3.2rem, 6vw, 5rem);
    padding-bottom: clamp(3.8rem, 6vw, 5.6rem);
}

.about-philosophy-inner {
    max-width: 54rem;
}

.about-philosophy blockquote {
    margin: 0;
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(1.45rem, 3.4vw, 2.7rem);
    line-height: 1.28;
    color: var(--b2g-deep);
    letter-spacing: -0.01em;
}

.about-philosophy p {
    margin: 1rem 0 0;
    color: #506663;
}

.about-media-frame {
    position: relative;
    overflow: hidden;
}

.about-process-head {
    max-width: 42rem;
}

.about-process-editorial {
    --about-process-card-height: clamp(190px, 18vw, 220px);
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas:
        "featured featured featured featured featured featured featured visual visual visual visual visual"
        "step2 step2 step2 step3 step3 step3 step4 step4 step4 step5 step5 step5";
    gap: 1.05rem;
    align-items: stretch;
}

.about-process-editorial > * {
    min-width: 0;
}

.about-process-card {
    grid-column: span 3;
    background: #eef3f1;
    border: 1px solid rgba(0, 59, 59, 0.08);
    padding: 1.35rem;
    min-height: var(--about-process-card-height);
    transition: transform 220ms ease, border-color 220ms ease;
}

.about-process-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 74, 0.2);
}

.about-process-featured {
    grid-area: featured;
    height: var(--about-process-card-height);
    min-height: var(--about-process-card-height);
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: clamp(1.5rem, 2.7vw, 2.2rem);
    background:
        linear-gradient(168deg, rgba(0, 54, 54, 0.97), rgba(0, 87, 74, 0.9)),
        linear-gradient(45deg, rgba(16, 185, 116, 0.18), rgba(16, 185, 116, 0));
    color: #eef7f4;
    border-color: rgba(16, 185, 116, 0.24);
    position: relative;
    overflow: hidden;
}

.about-process-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 41, 41, 0.28) 0%, rgba(0, 41, 41, 0) 55%);
    pointer-events: none;
}

.about-process-featured .about-step-index,
.about-process-featured h3,
.about-process-featured p {
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.about-process-featured h3 {
    margin-bottom: 0.75rem;
}

.about-process-featured p {
    max-width: 31rem;
    color: #f3fbf8;
    font-weight: 500;
    line-height: 1.55;
}

.about-process-visual {
    grid-area: visual;
    height: var(--about-process-card-height);
    min-height: var(--about-process-card-height);
    position: relative;
    overflow: hidden;
    padding: 0;
    border-color: rgba(0, 59, 59, 0.13);
}

.about-process-media {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
}

.about-process-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(210deg, rgba(0, 59, 59, 0.02) 28%, rgba(0, 59, 59, 0.24) 100%);
}

.about-process-visual img {
    object-position: center 45%;
}

.about-process-compact {
    min-height: var(--about-process-card-height);
}

.about-process-compact:nth-of-type(2) {
    grid-area: step2;
}

.about-process-compact:nth-of-type(3) {
    grid-area: step3;
}

.about-process-tail:nth-of-type(5) {
    grid-area: step4;
}

.about-process-tail:nth-of-type(6) {
    grid-area: step5;
}

.about-step-index {
    display: inline-block;
    margin-bottom: 0.82rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--b2g-muted);
}

.about-process-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.72rem);
    margin-bottom: 0.8rem;
}

.about-process-card p {
    margin: 0;
    color: #324844;
}

.about-process-card.about-process-featured .about-step-index,
.about-process-card.about-process-featured h3,
.about-process-card.about-process-featured p {
    color: #ffffff;
}

.about-sustainability {
    background: linear-gradient(130deg, #002f2f 0%, #003b3b 52%, #095245 100%);
    color: #e4f1ec;
    position: relative;
    overflow: hidden;
}

.about-sustainability::before {
    content: "";
    position: absolute;
    width: clamp(220px, 42vw, 460px);
    aspect-ratio: 1 / 1;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 116, 0.24) 0%, rgba(16, 185, 116, 0) 68%);
}

.about-sustainability h2,
.about-sustainability p {
    color: inherit;
}

.about-sustainability-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
    gap: clamp(1.6rem, 4vw, 4.4rem);
    align-items: start;
}

.about-sustainability-copy p {
    max-width: 35rem;
}


.about-principles {
    margin: 0;
    padding: 1.4rem;
    list-style: none;
    display: grid;
    gap: 0.95rem;
    background: rgba(0, 0, 0, 0.11);
    border: 1px solid rgba(224, 244, 238, 0.22);
}

.about-principles li {
    position: relative;
    padding-left: 1.15rem;
}

.about-principles li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--b2g-accent);
    position: absolute;
    left: 0;
    top: 0.63rem;
}

.about-craft {
    background: #f7faf8;
}

.about-craft-head {
    max-width: 52rem;
}

.about-craft-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-craft-card {
    background: #edf2f0;
    padding: 1rem;
    border: 1px solid rgba(0, 59, 59, 0.06);
}

.about-craft-media {
    min-height: 210px;
    aspect-ratio: 4 / 5;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #dce6e2;
}

.about-craft-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.26rem;
}

.about-craft-card p {
    margin: 0;
    color: #3f5552;
}

.about-craft {
    padding-bottom: clamp(2.2rem, 4.4vw, 3.8rem);
}

.about-cta {
    padding-top: clamp(1rem, 2.6vw, 2rem);
    padding-bottom: clamp(2.2rem, 4.2vw, 3.6rem);
}

.about-cta-inner {
    background: linear-gradient(145deg, #edf3f1, #e2ebe8);
    border: 1px solid rgba(0, 59, 59, 0.1);
    display: grid;
    gap: 1rem;
    justify-items: center;
    text-align: center;
    padding: clamp(1.8rem, 4vw, 3rem);
}

.about-cta-inner h2 {
    margin: 0;
    max-width: 34rem;
}

@media (max-width: 980px) {
    .hero-grid,
    .section-grid,
    .cards,
    .project-grid,
    .contacts-hero-grid,
    .contacts-grid,
    .contacts-row {
        grid-template-columns: 1fr;
    }

    .header-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 0.9rem;
    }

    .main-nav {
        gap: 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .brand-logo {
        height: 44px;
        max-width: 180px;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contacts-signature-inner,
    .footer-editorial {
        grid-template-columns: 1fr;
    }

    .map-card {
        min-height: 250px;
    }

    .about-hero-layout,
    .about-narrative-grid,
    .about-sustainability-grid,
    .about-craft-grid,
    .about-cta-inner {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        width: 100%;
        max-width: 100%;
        min-height: 300px;
        aspect-ratio: auto;
    }

    .about-hero-main-media {
        inset: clamp(0.75rem, 4vw, 1.1rem);
    }

    .about-process-editorial {
        grid-template-areas: none;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-process-card,
    .about-process-featured,
    .about-process-visual {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: auto;
    }

    .about-process-media {
        aspect-ratio: 4 / 3;
    }

    .about-process-visual,
    .about-craft-media {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 640px) {
    .about-hero-layout {
        gap: 1.2rem;
    }

    .about-hero-copy h1 {
        font-size: clamp(2.1rem, 10vw, 2.8rem);
    }

    .about-hero-visual {
        min-height: clamp(220px, 62vw, 320px);
        padding: 0.7rem;
    }

    .about-hero-main-media {
        inset: 0.7rem;
    }
}

/* Projetos */
.projects-page .section {
    padding: clamp(3.6rem, 6vw, 6.8rem) 0;
}

.projects-page {
    background: linear-gradient(180deg, #f6f8f7 0%, #f1f4f3 100%);
}

.projects-kicker {
    margin: 0 0 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.63rem;
    font-weight: 700;
    color: #566c68;
}

.projects-hero {
    padding-top: clamp(1.4rem, 3.8vw, 3.1rem);
    padding-bottom: clamp(1.6rem, 3.4vw, 2.8rem);
}

.projects-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.1rem, 3vw, 2.8rem);
    align-items: center;
}

.projects-hero-copy {
    align-self: center;
    margin-top: clamp(-2.2rem, -3.8vw, -1rem);
    padding-top: clamp(0.2rem, 0.8vw, 0.7rem);
}

.projects-hero-copy h1 {
    margin-bottom: 1rem;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.035em;
}

.projects-hero-lead {
    margin: 0;
    max-width: 30rem;
    color: #304643;
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    line-height: 1.65;
}

.media-frame {
    overflow: hidden;
    border: 1px solid rgba(0, 59, 59, 0.14);
    background: #dfe7e4;
}

.projects-media-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.projects-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background:
        linear-gradient(145deg, rgba(0, 59, 59, 0.08), rgba(0, 59, 59, 0.01)),
        repeating-linear-gradient(135deg, #dbe2df 0, #dbe2df 12px, #e7ecea 12px, #e7ecea 24px);
}

.projects-hero-visual {
    position: relative;
    width: min(100%, 560px);
    margin-left: auto;
    min-height: clamp(300px, 40vw, 520px);
}

.projects-hero-main {
    height: 100%;
    min-height: clamp(295px, 38vw, 500px);
}

.projects-hero-detail {
    position: absolute;
    left: -7%;
    bottom: 6%;
    width: min(40%, 220px);
    aspect-ratio: 4 / 5;
    border-color: rgba(0, 59, 59, 0.2);
}

.projects-hero-detail figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.48rem 0.62rem;
    font-size: 0.57rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: #edf5f3;
    background: rgba(0, 45, 43, 0.78);
}

.projects-filter-nav {
    border-top: 1px solid rgba(0, 87, 74, 0.1);
    border-bottom: 1px solid rgba(0, 87, 74, 0.1);
    padding: 1.15rem 0;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.projects-filter {
    border: 1px solid rgba(0, 59, 59, 0.16);
    background: transparent;
    color: #324845;
    padding: 0.44rem 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.63rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.projects-filter:hover,
.projects-filter:focus-visible,
.projects-filter.is-active {
    background: #003f3f;
    color: #f2f8f6;
    border-color: #003f3f;
}

.projects-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.4rem, 3vw, 2.7rem);
    align-items: stretch;
}

.projects-featured-media {
    min-height: clamp(330px, 46vw, 590px);
}

.projects-featured-copy {
    background: #edf2f0;
    border: 1px solid rgba(0, 59, 59, 0.1);
    padding: clamp(1.2rem, 3vw, 2.2rem);
}

.projects-featured-copy p {
    color: #324845;
}

.projects-featured-copy ul,
.projects-value ul,
.projects-notes {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.projects-featured-copy li,
.projects-value li,
.projects-notes li {
    position: relative;
    padding-left: 1rem;
}

.projects-featured-copy li::before,
.projects-value li::before,
.projects-notes li::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #0d6b57;
    position: absolute;
    left: 0;
    top: 0.7rem;
}

.projects-inline-link {
    display: inline-flex;
    margin-top: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.64rem;
    font-weight: 700;
    color: #1f403d;
    border-bottom: 1px solid rgba(0, 59, 59, 0.45);
    padding-bottom: 0.15rem;
}

.projects-inline-link:hover,
.projects-inline-link:focus-visible {
    color: #003f3f;
}

.projects-grid-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.projects-grid-head h2 {
    margin: 0;
}

.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.projects-card {
    border: 1px solid rgba(0, 59, 59, 0.1);
    background: #f1f4f3;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 250ms ease, border-color 250ms ease;
}

.projects-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 87, 74, 0.32);
}

.projects-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.projects-card-body {
    padding: 1rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.projects-card-category {
    margin: 0 0 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.6rem;
    font-weight: 700;
    color: #58706b;
}

.projects-card h3 {
    margin-bottom: 0.62rem;
    font-size: clamp(1.18rem, 2vw, 1.58rem);
}

.projects-card p {
    margin: 0;
    color: #3a514d;
}

.projects-card .projects-notes {
    margin-top: 1rem;
}

.projects-card .projects-inline-link {
    margin-top: 1.35rem;
    align-self: flex-start;
}

.projects-card.is-hidden {
    display: none;
}

.projects-featured.is-hidden {
    display: none;
}

.projects-value {
    background: linear-gradient(135deg, #002f2f, #004646);
    color: #e7f2ef;
}

.projects-value h2,
.projects-value p,
.projects-value li {
    color: inherit;
}

.projects-value-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.2rem, 3vw, 2.6rem);
    align-items: start;
}

.projects-value .projects-kicker {
    color: rgba(231, 242, 239, 0.8);
}

.projects-cta {
    padding-top: clamp(3rem, 5vw, 4.8rem);
    padding-bottom: clamp(3.4rem, 6vw, 5.5rem);
}

.projects-cta-inner {
    padding: clamp(1.8rem, 4vw, 3rem);
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1rem;
    border: 1px solid rgba(0, 59, 59, 0.12);
    background: #edf2f0;
}

@media (max-width: 980px) {
    .projects-hero-layout,
    .projects-featured-grid,
    .projects-value-grid {
        grid-template-columns: 1fr;
    }

    .projects-hero-visual {
        width: 100%;
        min-height: 300px;
    }

    .projects-hero-main {
        min-height: 300px;
    }

    .projects-hero-detail {
        left: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        width: min(44%, 190px);
    }

    .projects-grid-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 700px) {
    .projects-editorial-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage Premium */
.home-premium {
    background: linear-gradient(180deg, #f4f7f6 0%, #f1f4f3 100%);
}

.home-premium-image,
.home-premium-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-premium-placeholder {
    background:
        linear-gradient(160deg, rgba(0, 34, 34, 0.62), rgba(0, 18, 18, 0.48)),
        repeating-linear-gradient(90deg, rgba(182, 129, 76, 0.36) 0, rgba(182, 129, 76, 0.36) 2px, rgba(28, 18, 8, 0.22) 2px, rgba(28, 18, 8, 0.22) 10px);
}

.home-premium-kicker {
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.64rem;
    font-weight: 700;
    color: rgba(245, 252, 249, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.home-premium-kicker-light {
    color: rgba(231, 242, 239, 0.82);
}

.home-premium-intro .home-premium-kicker,
.home-premium-process-head .home-premium-kicker,
.home-premium-portfolio-head .home-premium-kicker,
.home-premium-cta .home-premium-kicker {
    color: #1f3f3a;
    text-shadow: none;
}

.home-premium-hero {
    position: relative;
    min-height: clamp(560px, 86vh, 900px);
    display: grid;
    align-items: end;
    overflow: hidden;
    border-top: 1px solid rgba(0, 59, 59, 0.12);
    border-bottom: 1px solid rgba(0, 59, 59, 0.12);
}

.home-premium-hero {
    background-image:
        linear-gradient(108deg, rgba(4, 11, 12, 0.62) 14%, rgba(4, 11, 12, 0.5) 42%, rgba(4, 11, 12, 0.3) 70%, rgba(4, 11, 12, 0.44) 100%),
        linear-gradient(180deg, rgba(2, 9, 10, 0.2) 0%, rgba(2, 9, 10, 0.44) 100%),
        url('assets/images/home-hero-main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-premium-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(1, 8, 8, 0.04) 0%, rgba(1, 8, 8, 0.22) 100%);
    z-index: 1;
}

.home-premium-hero-content {
    position: relative;
    z-index: 2;
    padding-top: clamp(5rem, 10vh, 7.5rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
    color: #f4f9f7;
    max-width: 48rem;
}

.home-premium-hero-content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 5.2vw, 4.7rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 16ch;
    margin-bottom: 1.1rem;
}

.home-premium-hero-lead {
    margin: 0;
    font-size: clamp(1.08rem, 1.8vw, 1.36rem);
    color: #d8e7e2;
    max-width: 34rem;
}

.home-premium-hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.home-premium-hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.04);
}

.home-premium-hero .btn-outline:hover,
.home-premium-hero .btn-outline:focus-visible {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.home-premium .section {
    padding: clamp(3.4rem, 7vw, 6rem) 0;
}

.home-premium-intro {
    border-bottom: 1px solid rgba(0, 59, 59, 0.09);
}

.home-premium-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.4rem, 3.4vw, 2.8rem);
    align-items: start;
}

.home-premium-intro-copy {
    display: grid;
    gap: 1rem;
}

.home-premium-intro-copy p {
    margin: 0;
    color: #334845;
    max-width: 43rem;
}

.home-premium-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1rem, 2.4vw, 1.8rem);
    align-items: stretch;
}

.home-premium-feature-media {
    width: min(100%, 560px);
    aspect-ratio: 5 / 4;
    justify-self: start;
    overflow: hidden;
    border: 1px solid rgba(0, 59, 59, 0.12);
}

.home-premium-feature-copy {
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(0, 59, 59, 0.1);
    background: #ebf0ee;
}

.home-premium-feature-copy p {
    color: #354a46;
}

.home-premium-process {
    background: linear-gradient(180deg, #eef3f1 0%, #f4f7f6 100%);
    border-top: 1px solid rgba(0, 59, 59, 0.08);
    border-bottom: 1px solid rgba(0, 59, 59, 0.08);
}

.home-premium-process-head {
    max-width: 46rem;
}

.home-premium-process-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-premium-process-card {
    border: 1px solid rgba(0, 59, 59, 0.12);
    background: #f7faf9;
    padding: 1rem;
}

.home-premium-process-card span {
    display: inline-block;
    margin-bottom: 0.65rem;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: #607772;
}

.home-premium-process-card h3 {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    margin-bottom: 0.55rem;
}

.home-premium-process-card p {
    margin: 0;
    color: #3d534f;
    font-size: 0.95rem;
}

.home-premium-portfolio-head {
    margin-bottom: 1.4rem;
    max-width: 46rem;
}

.home-premium-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.8rem, 1.8vw, 1.1rem);
    align-items: start;
}

.home-premium-portfolio-card {
    border: 1px solid rgba(0, 59, 59, 0.12);
    background: #f0f4f2;
}

.home-premium-portfolio-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-premium-portfolio-card--wide .home-premium-portfolio-media {
    aspect-ratio: 4 / 3;
}

.home-premium-portfolio-body {
    padding: 0.9rem 0.9rem 1rem;
}

.home-premium-portfolio-body h3 {
    margin-bottom: 0.4rem;
}

.home-premium-portfolio-body p {
    margin: 0;
    color: #3a504c;
}

.home-premium-commitment {
    background: linear-gradient(135deg, #002f2f, #004646);
    color: #e7f2ef;
}

.home-premium-commitment h2,
.home-premium-commitment p {
    color: inherit;
}

.home-premium-commitment-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.2rem, 3vw, 2.6rem);
}

.home-premium-commitment-grid p {
    margin: 0;
    align-self: end;
    max-width: 42rem;
}

.home-premium-cta {
    padding-top: clamp(2.8rem, 5vw, 4.5rem);
    padding-bottom: clamp(3.2rem, 5.5vw, 5rem);
}

.home-premium-cta-inner {
    background: #e9efec;
    border: 1px solid rgba(0, 59, 59, 0.1);
    padding: clamp(1.8rem, 4vw, 3rem);
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.home-premium-cta-inner h2 {
    margin: 0;
    max-width: 33rem;
}

@media (max-width: 1080px) {
    .home-premium-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-premium-process-card:last-child,
    .home-premium-process-card:nth-last-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 980px) {
    .home-premium-intro-grid,
    .home-premium-feature-grid,
    .home-premium-commitment-grid {
        grid-template-columns: 1fr;
    }

    .home-premium-feature-media {
        width: 100%;
        max-width: 620px;
    }

    .home-premium-hero {
        min-height: clamp(500px, 78vh, 760px);
    }

    .home-premium-hero-content {
        max-width: 100%;
    }

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

@media (max-width: 640px) {
    .home-premium-hero {
        min-height: 78vh;
    }

    .home-premium-hero-content h1 {
        max-width: 100%;
    }

    .home-premium-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .home-premium-process-grid {
        grid-template-columns: 1fr;
    }

    .home-premium-hero-actions .btn {
        width: 100%;
    }
}

/* História */
.history-page .section {
    padding: clamp(3rem, 5.5vw, 5.5rem) 0;
}

.history-kicker {
    margin: 0 0 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.63rem;
    font-weight: 700;
    color: #526864;
}

.history-page h1,
.history-page h2 {
    letter-spacing: -0.025em;
}

.history-media-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #dde5e2, #e8eeeb);
}

.history-media-image,
.history-image-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.history-image-placeholder {
    min-height: 100%;
    background:
        linear-gradient(140deg, rgba(0, 59, 59, 0.06), rgba(0, 59, 59, 0.01)),
        repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32) 2px, transparent 2px, transparent 17px);
}

.history-image-placeholder::after {
    content: "Imagem editorial B2Green";
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.38rem 0.52rem;
    background: rgba(0, 59, 59, 0.72);
    color: #edf5f2;
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.history-media-hover {
    isolation: isolate;
}

.history-media-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 19, 18, 0) 48%, rgba(5, 19, 18, 0.18) 100%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 320ms ease;
}

.history-media-hover .history-media-image {
    filter: grayscale(100%) saturate(72%);
    transform: scale(1);
    transition: transform 500ms ease, filter 420ms ease;
}

.history-media-hover:hover .history-media-image,
.history-media-hover:focus-within .history-media-image {
    filter: grayscale(0) saturate(108%);
    transform: scale(1.03);
}

.history-media-hover:hover::before,
.history-media-hover:focus-within::before {
    opacity: 0.45;
}

.history-hero {
    padding-top: clamp(2rem, 3.8vw, 3.8rem);
}

.history-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(1.6rem, 4vw, 4.4rem);
    align-items: center;
}

.history-hero-copy h1 {
    font-size: clamp(2.7rem, 7vw, 6rem);
    line-height: 1.03;
    margin-bottom: 1.4rem;
    max-width: 15ch;
}

.history-hero-lead {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(1.08rem, 1.9vw, 1.42rem);
    line-height: 1.65;
    color: #314743;
}

.history-hero-visual {
    position: relative;
    display: grid;
    justify-items: end;
}

.history-hero-main {
    width: min(100%, 470px);
    aspect-ratio: 5 / 6;
    border: 1px solid rgba(0, 59, 59, 0.12);
}

.history-stat-card {
    position: absolute;
    left: 0;
    bottom: clamp(-1.1rem, -1.5vw, -0.4rem);
    width: min(230px, 72%);
    padding: 1rem 1.05rem;
    background: linear-gradient(145deg, #003b3b, #00574a);
    color: #edf6f3;
}

.history-stat-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: clamp(1.28rem, 2vw, 1.7rem);
    font-family: "Noto Serif", Georgia, serif;
}

.history-stat-card span {
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    line-height: 1.45;
}

.history-origin {
    background: linear-gradient(180deg, rgba(237, 243, 240, 0.74), rgba(245, 248, 247, 0.95));
}

.history-origin-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(1.4rem, 4vw, 4rem);
    align-items: center;
}

.history-origin-copy h2,
.history-growth-head h2,
.history-milestones-head h2,
.history-continuity-copy h2 {
    max-width: 17ch;
}

.history-origin-copy p,
.history-growth-copy p,
.history-continuity-copy p {
    margin: 0;
    color: #344845;
}

.history-origin-copy {
    display: grid;
    gap: 1rem;
}

.history-origin-media {
    width: min(100%, 620px);
    justify-self: end;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(0, 59, 59, 0.11);
}

.history-growth-grid {
    display: grid;
    gap: clamp(0.85rem, 2vw, 1.4rem);
}

.history-growth {
    padding-top: clamp(2.4rem, 4.2vw, 3.6rem);
    padding-bottom: clamp(2.6rem, 4.6vw, 3.9rem);
}

.history-growth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr) minmax(0, 1fr);
    gap: clamp(0.95rem, 2.3vw, 1.65rem);
    align-items: center;
}

.history-growth-head {
    max-width: 34rem;
}

.history-growth-copy {
    display: grid;
    gap: 0.95rem;
    align-content: center;
    max-width: 34ch;
    margin: 0 auto;
}

.history-growth-visual {
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(0, 59, 59, 0.12);
}

.history-growth-media {
    justify-self: stretch;
}

.history-growth-detail {
    justify-self: stretch;
}

.history-milestones {
    background: linear-gradient(130deg, #002f2f 0%, #003b3b 52%, #07493e 100%);
    color: #e3f1ec;
}

.history-milestones h2,
.history-milestones p,
.history-milestones .history-kicker,
.history-milestones .history-year {
    color: inherit;
}

.history-timeline {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.history-timeline li {
    padding: 0.9rem 0.85rem 0.88rem;
    background: rgba(0, 0, 0, 0.13);
}

.history-year {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.history-timeline p {
    margin: 0;
    color: rgba(230, 244, 239, 0.92);
}

.history-timeline-media {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.history-timeline-media .history-media-block {
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(228, 244, 239, 0.24);
}

.history-continuity {
    background: #f7faf8;
}

.history-continuity-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: clamp(1.3rem, 3.6vw, 3.4rem);
    align-items: center;
}

.history-continuity-media {
    min-height: clamp(320px, 38vw, 520px);
    border: 1px solid rgba(0, 59, 59, 0.12);
}

.history-continuity-copy ul {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.82rem;
}

.history-continuity-copy li {
    position: relative;
    padding-left: 1.02rem;
    color: #2f4541;
}

.history-continuity-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 6px;
    height: 6px;
    background: var(--b2g-secondary);
}

.history-cta {
    padding-top: clamp(1.2rem, 2.6vw, 2rem);
    padding-bottom: clamp(2rem, 4vw, 3.4rem);
}

.history-cta-inner {
    background: linear-gradient(150deg, #edf3f1, #e3ece9);
    border: 1px solid rgba(0, 59, 59, 0.1);
    padding: clamp(1.5rem, 3.4vw, 2.4rem);
    display: grid;
    gap: 0.8rem;
}

.history-cta-inner h2 {
    margin: 0;
    max-width: 19ch;
}

.history-cta-inner p {
    margin: 0;
    max-width: 46rem;
    color: #3f5552;
}

@media (max-width: 1080px) {
    .history-growth-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "media detail"
            "copy copy";
        align-items: start;
    }

    .history-growth-media {
        grid-area: media;
    }

    .history-growth-detail {
        grid-area: detail;
    }

    .history-growth-copy {
        grid-area: copy;
        max-width: 52ch;
    }

    .history-timeline {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 860px) {
    .history-hero-grid,
    .history-origin-grid,
    .history-continuity-grid,
    .history-timeline-media,
    .history-growth-layout {
        grid-template-columns: 1fr;
    }

    .history-hero-visual {
        justify-items: stretch;
    }

    .history-hero-main,
    .history-origin-media,
    .history-continuity-media,
    .history-growth-media,
    .history-growth-detail,
    .history-timeline-media .history-media-block {
        width: 100%;
    }

    .history-hero-main {
        aspect-ratio: 4 / 5;
    }

    .history-stat-card {
        position: static;
        margin-top: 0.75rem;
    }

    .history-media-hover .history-media-image {
        filter: grayscale(28%) saturate(92%);
    }

    .history-growth-media,
    .history-growth-detail,
    .history-growth-copy {
        grid-area: auto;
    }

    .history-growth-copy {
        max-width: 100%;
        margin: 0;
    }
}

/* Termos de Uso + Privacidade */
.legal-page {
    padding: 1.1rem 0 0;
}

.legal-hero {
    padding: clamp(2.2rem, 4.5vw, 3.8rem) 0 clamp(1.8rem, 3vw, 2.8rem);
    border-bottom: 1px solid rgba(0, 59, 59, 0.1);
}

.legal-hero-inner,
.legal-content-inner {
    width: min(860px, 100%);
    margin: 0 auto;
}

.legal-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.64rem;
    font-weight: 700;
    color: #5f7773;
}

.legal-hero h1 {
    margin: 0.55rem 0 0;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    letter-spacing: -0.02em;
}

.legal-intro {
    margin: 0.95rem 0 0;
    max-width: 62ch;
    font-size: clamp(1.02rem, 1.65vw, 1.16rem);
    line-height: 1.72;
    color: #3c5551;
}

.legal-content {
    padding: clamp(2.3rem, 5vw, 4.4rem) 0 clamp(3.2rem, 6vw, 5.2rem);
}

.legal-article {
    max-width: none;
}

.legal-article > :first-child {
    margin-top: 0;
}

.legal-article h2,
.legal-article h3,
.legal-article h4 {
    margin-top: clamp(2.2rem, 4vw, 3.1rem);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.legal-article h2 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.legal-article h3 {
    font-size: clamp(1.18rem, 2vw, 1.48rem);
}

.legal-article p,
.legal-article li {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.9;
    color: #23423e;
}

.legal-article p + p,
.legal-article p + ul,
.legal-article p + ol,
.legal-article ul + p,
.legal-article ol + p,
.legal-article ul + ul,
.legal-article ol + ol,
.legal-article ul + ol,
.legal-article ol + ul {
    margin-top: 1rem;
}

.legal-article ul,
.legal-article ol {
    margin: 0;
    padding-left: 1.25rem;
}

.legal-article li + li {
    margin-top: 0.45rem;
}

.legal-article strong {
    color: #143434;
}

.legal-article a {
    color: var(--b2g-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.legal-note {
    margin: clamp(2.2rem, 4vw, 3rem) 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(0, 87, 74, 0.16);
    font-size: 0.84rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #59716d;
}

.legal-note a {
    color: inherit;
    text-underline-offset: 0.2em;
}

@media (max-width: 700px) {
    .legal-page {
        padding-top: 0.4rem;
    }

    .legal-article p,
    .legal-article li {
        font-size: 0.96rem;
        line-height: 1.8;
    }

    .legal-note {
        letter-spacing: 0.03em;
    }
}
