/*  ==================== BASE GLOBAL — GESTÃO DE OBRAS ====================  */

:root {
    --black: #1b1b1b;
    --dark: #282828;
    --text: #f5f5f5;
    --muted: #ddd;
    --line: rgba(255, 255, 255, .28);
    --container: 1180px;
}

.botcheck {
    display: none !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a {
    font-size: 13px;
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}

.site-header,
.site-header-index {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 1000;
}

.service-icon {
    display: block;
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    object-fit: contain;
}

.differential-icon {
    width: 100px;
}

.site-header {
    background: var(--black);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* Header da Home no topo */

.site-header.site-header-index {
    background: linear-gradient(180deg,
            rgba(40, 40, 40, 0.95) 0%,
            rgba(40, 40, 40, 0.65) 45%,
            rgba(40, 40, 40, 0) 100%);

    box-shadow: none;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Header da Home depois da rolagem */

.site-header.site-header-index.is-scrolled {
    background: #1b1b1b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.logo {
    position: relative;
    z-index: 0;
    display: inline-flex;
    width: max-content;
    align-items: center;
    font-family: Georgia, serif;
    font-size: 29px;
    letter-spacing: -2px;
    color: #eee;
}

.logo::before {
    content: "";
    position: absolute;
    left: 26px;
    z-index: -1;
    width: 45px;
    height: 18px;
    border: 8px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    transform: rotate(-48deg);
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 29px;
}

.main-nav a {
    position: relative;
    padding: 30px 0 26px;
    font-size: 13px;
    text-transform: uppercase;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform .2s;
}

.main-nav a:hover::after,
.main-nav .active::after {
    transform: scaleX(1);
}

.button {
    min-height: 44px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background .2s, color .2s, transform .2s;
}

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

.button-outline:hover {
    background: #fff;
    color: #171717;
}

.button-light {
    background: #fff;
    color: #1b1b1b;
    border-color: #fff;
}

.header-cta {
    min-height: 34px;
}

.eyebrow {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.line-icon {
    width: 53px;
    height: 53px;
    margin: 0 auto 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.section-heading {
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 34px;
    font-size: 30px;
    font-weight: 300;
}

.cta {
    min-height: 205px;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    background: url("img/vecteezy_person-s-engineer-hand-drawing-plan-on-blue-print-with_7359670.webp") center/cover no-repeat;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(12, 20, 27, .66);
    min-height: 205px;
}

.cta-inner {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.cta h2 {
    margin-bottom: 8px;
    font-size: 30px;
    font-weight: 300;
    text-transform: uppercase;
}

.cta p {
    margin-bottom: 27px;
    font-size: 15px;
}

.site-footer {
    padding: 35px 0;
    background: var(--black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 0.7fr;
    gap: 70px;
    align-items: start;
    padding-bottom: 35px;
}

.footer-logo {
    margin-top: 35px;
    font-size: 40px;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 120px;
    object-fit: contain;
}

.site-footer h2 {
    margin-bottom: 14px;
    font-size: 13px;
    text-transform: uppercase;
}

.site-footer nav,
.site-footer address,
.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-style: normal;
    font-size: 10px;
}

.footer-navigation a {
    color: inherit;
    text-decoration: none;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
}

.footer-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    object-fit: contain;
}

.copy-button {
    color: inherit;
}

.site-footer a,
.site-footer button {
    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.site-footer a:hover,
.site-footer button:hover {
    opacity: 0.7;
}

.copyright {
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    text-align: center;
    color: #ccc;
    font-size: 13px
}

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

.logo-header {
    height: 65px;
}

.logo:has(img)::before {
    display: none;
}

/* Títulos de abertura padronizados conforme Gestão de Obras. */

.values-intro h1,
.portfolio-heading h1,
.courses-heading h1,
.contact-heading h1,
.budget-heading h1 {
    margin-bottom: 13px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 300;
    text-transform: uppercase;
}

.values-intro p:last-child,
.portfolio-heading>p:last-child,
.courses-heading>p:last-child,
.contact-heading>p:last-child,
.budget-heading>p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.55;
}

/* A página de Valores mantém sua própria imagem de chamada. */

main:has(.values-intro) .contact-cta {
    background-image: url("assets/values-cta.jpg");
}

/*  ==================== HOME ====================  */

.section-black {
    background: var(--black);
}

.section-dark {
    background: var(--dark);
}

.hero {
    min-height: 650px;
    position: relative;
    isolation: isolate;
    background: var(--black);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    z-index: -2;
    background: url("img/hero2.webp") center / cover no-repeat;
    filter: saturate(.65) brightness(.9);
    background-position: center 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #242424 0%, rgba(36, 36, 36, .98) 33%, rgba(36, 36, 36, .68) 58%, rgba(36, 36, 36, .14) 100%), linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .05));
}

.hero-content {
    padding-top: 200px;
}

.hero h1 {
    margin-bottom: 24px;
    max-width: 660px;
    font-size: clamp(38px, 3.4vw, 64px);
    line-height: 1.12;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -.8px;
}

.hero-content>p {
    max-width: 360px;
    margin-bottom: 34px;
    color: #e2e2e2;
    font-size: 15px;
}

.button-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.services {
    padding: 68px 0 84px;
}

.section-heading-center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service-item {
    min-height: 235px;
    padding: 0 34px;
    text-align: center;
    border-left: 1px solid var(--line);
}

.service-item:first-child {
    border-left: 0;
}

.service-item h3 {
    font-size: 13px;
    line-height: 1.15;
    text-transform: uppercase;
}

.service-item p {
    margin: 0 auto;
    max-width: 220px;
    color: #ededed;
    font-size: 13px;
}

.projects {
    padding: 88px 0 64px;
}

.projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.projects .project-card {
    background: #292929;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .3);
    overflow: hidden;
}

.projects .project-card img {
    width: 100%;
    aspect-ratio: 1.32;
    object-fit: cover;
}

.projects .project-card-body {
    padding: 16px 17px 17px;
}

.projects .project-card h3 {
    margin-bottom: 5px;
    font-size: 13px;
    text-transform: uppercase;
}

.projects .project-card p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: #ddd;
    font-size: 13px;
}

.projects .project-card p span {
    font-size: 17px;
    line-height: .7;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.courses {
    padding: 74px 0 80px;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 120px;
    align-items: start;
}

.courses h2,
.about h2 {
    margin-bottom: 24px;
    font-size: 30px;
    line-height: 1.04;
    font-weight: 300;
}

.muted {
    max-width: 480px;
    color: #ddd;
    font-size: 15px;
}

.tools {
    padding-left: 40px;
}

.tools ul {
    margin: 0 0 40px;
    padding-left: 16px;
    line-height: 1.7;
}

.tools li {
    font-size: 15px;
}

.about {
    padding: 30px 0 66px;
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 85px;
    align-items: center;
}

.about-copy {
    padding-top: 60px;
}

.about-copy>p:not(.eyebrow) {
    max-width: 430px;
    margin-bottom: 34px;
    color: #ddd;
    font-size: 15px;
}

.differentials-title {
    text-align: center;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.differential-card {
    min-height: 190px;
    padding: 21px 13px 18px;
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.differential-card .line-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
}

.differential-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}



/*  ==================== VALORES ====================  */

.values-intro {
    min-height: 230px;
    padding: 154px 0 34px;
    background: var(--dark);
}

.values-intro .container {
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.value-row {
    min-height: 330px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.value-one,
.value-three,
.value-five {
    background-color: var(--dark);
}

.value-two,
.value-four {
    background-color: var(--black);
}

.value-row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -2;
    width: 62%;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    filter: brightness(0.72) saturate(0.75);
}

.value-row::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.photo-right::before {
    right: 0;
}

.photo-left::before {
    left: 0;
}

/* Imagem localizada à direita */

.photo-right::after {
    background: linear-gradient(
        90deg,
        var(--dark) 0%,
        var(--dark) 38%,
        rgba(40, 40, 40, 0.98) 45%,
        rgba(40, 40, 40, 0.82) 55%,
        rgba(40, 40, 40, 0.38) 72%,
        rgba(40, 40, 40, 0.08) 100%
    );
}

/* Imagem localizada à esquerda */

.photo-left::after {
    background: linear-gradient(
        90deg,
        rgba(27, 27, 27, 0.08) 0%,
        rgba(27, 27, 27, 0.25) 28%,
        rgba(27, 27, 27, 0.72) 45%,
        rgba(27, 27, 27, 0.96) 56%,
        var(--black) 64%,
        var(--black) 100%
    );
}

.value-one::before {
    background-image: url("img/1.webp");
    
}

.value-two::before {
    background-image: url("img/2.webp");
}

.value-three::before {
    background-image: url("img/3.webp");
}

.value-four::before {
    background-image: url("img/4.webp");
}

.value-five::before {
    background-image: url("img/5.webp");
}

.value-layout {
    min-height: 330px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.value-main {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0;
    align-items: center;
    padding: 38px 60px 38px 0;
}

.photo-left .value-main {
    padding-right: 0;
    padding-left: 60px;
}

.value-number {
    font-size: 38px;
    line-height: 1;
    font-weight: 300;
}

.value-copy {
    max-width: 390px;
}

.value-copy h2 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 300;
}

.value-copy p,
.practice-card p {
    margin-bottom: 0;
    color: #f0f0f0;
    font-size: 13px;
    line-height: 1.55;
}

.practice-card {
    width: calc(100% - 44px);
    justify-self: end;
    padding: 24px 18px;
    background: rgba(27, 27, 27, .68);
    border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(2px);
}

.photo-left .practice-card {
    justify-self: start;
}

.practice-card h3 {
    margin-bottom: 13px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/*  ==================== GESTÃO DE OBRAS ====================  */

.management-intro {
    padding: 154px 0 50px;
    background: var(--dark);
}

.management-icon {
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.intro-copy {
    padding-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.intro-copy h1 {
    margin-bottom: 13px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 300;
    text-transform: uppercase;
}

.intro-copy>p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 15px;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-top: 45px;
}

.management-card {
    min-height: 300px;
    padding: 0 28px;
    text-align: center;
    border-left: 1px solid var(--line);
}

.management-card:first-child {
    border-left: 0;
}

.management-card h2 {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
}

.management-card p {
    margin: 0 auto;
    max-width: 245px;
    font-size: 13px;
    line-height: 1.65;
}

.technology {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.technology-grid {
    min-height: 335px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.technology-copy {
    padding: 66px 70px 55px 0;
}

.technology-copy h2 {
    margin-bottom: 16px;
    font-size: 30px;
    font-weight: 300;
}

.technology-copy p:not(.eyebrow) {
    max-width: 500px;
    margin-bottom: 22px;
    font-size: 15px;
}

.technology-image {
    min-height: 335px;
    background: linear-gradient(90deg, var(--black) 0%, rgba(27, 27, 27, .38) 28%, rgba(27, 27, 27, .1) 100%), url("img/gestao.webp") center/cover no-repeat;
}

.timeline-section {
    padding: 54px 0 44px;
    overflow: hidden;
    background: var(--dark);
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 51px;
    right: 10%;
    left: 10%;
    height: 1px;
    background: rgba(255, 255, 255, .55);
}

.timeline-step {
    position: relative;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.timeline-number {
    display: block;
    margin-bottom: 14px;
    text-align: center;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
    color: #888;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    display: block;
    width: 13px;
    height: 13px;
    margin: 0 auto 31px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--dark);
    box-shadow: inset 0 0 0 3px var(--dark);
}

.timeline-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #fff;
}

.timeline-step h3 {
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
}

.timeline-step p {
    margin: 0 auto;
    max-width: 180px;
    font-size: 13px;
    line-height: 1.65;
}

.bim-highlight {
    position: relative;
    padding: 60px 0 60px;
    background: var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}



.bim-highlight::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 30px;
    height: 30px;
    background: #282828;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: translate(-50%, -50%) rotate(45deg);
}

.bim-inner {
    position: relative;
    text-align: center;
}

.bim-icon {
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.bim-inner .eyebrow {
    position: relative;
    margin-bottom: 12px;
}

.bim-inner>p:last-child {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.result-section {
    padding: 67px 0;
    background: var(--dark);
}

.result-card {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .23);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}

.result-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.result-copy h2 {
    margin-bottom: 12px;
    font-size: 25px;
    font-weight: 300;
}

.result-copy p {
    max-width: 430px;
    margin-bottom: 0;
    font-size: 15px;
}

/*  ==================== PROJETOS ====================  */

.portfolio {
    min-height: 620px;
    padding: 154px 0 50px;
    background: var(--dark);
}

.portfolio-heading {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.portfolio .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 26px;
    padding: 27px 0 0;
}

.portfolio .project-card {
    overflow: hidden;
    background: var(--black);
    box-shadow: 0 5px 12px rgba(0, 0, 0, .22);
}

.portfolio .project-image {
    position: relative;
}

.portfolio .project-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.79;
    object-fit: cover;
}

.portfolio .arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(20, 20, 20, .78);
    color: #fff;
    font: 300 28px/1 Arial;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s, transform .2s;
}

.portfolio .arrow:hover {
    background: #000;
    transform: translateY(-50%) scale(1.08);
}

.portfolio .arrow-left {
    left: 7px;
}

.portfolio .arrow-right {
    right: 7px;
}

.portfolio .project-info {
    padding: 16px 25px 18px;
}

.portfolio .project-info h2 {
    margin-bottom: 5px;
    font-size: 15px;
    text-transform: uppercase;
}

.portfolio .project-info p {
    margin-bottom: 0;
    font-size: 13px;
    color: #ddd;
}

/*  ==================== CURSOS ====================  */

.courses-section {
    padding: 154px 0 50px;
    background: var(--dark);
}

.courses-heading {
    padding: 0 0px 34px;
    border-bottom: 1px solid var(--line);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
    padding: 50px 0 0 0;
}

.course-card {
    min-width: 0;
    background: var(--black);
    box-shadow: 0 9px 18px rgba(0, 0, 0, .22);
}

.course-art {
    height: 160px;
    display: grid;
    place-items: center;
    background: #050505;
}

.course-art img {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.course-copy {
    min-height: 168px;
    padding: 20px 20px 17px;
    display: flex;
    flex-direction: column;
}

.course-copy h2 {
    margin-bottom: 9px;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
}

.course-copy p {
    margin-bottom: 22px;
    color: #ddd;
    font-size: 13px;
    line-height: 1.8;
}

.course-copy a {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
}

.course-copy a:hover {
    opacity: .65;
}

.course-copy span {
    margin-left: 10px;
}

.guarantee {
    padding: 30px 0 34px;
    background: var(--black);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.guarantee-grid>div:first-child {
    padding: 0 44px 0 8px;
    border-right: 1px solid var(--line);
}

.guarantee-label {
    margin-bottom: 9px;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
}

.guarantee-grid p:last-child {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.75;
}

.guarantee-score {
    text-align: center;
}

.guarantee-score strong {
    display: block;
    font-size: 38px;
    font-weight: 300;
}

.whats {
    width: 20px;
}

.guarantee-score span {
    font-size: 15px;
}

.whatsapp-cta {
    min-height: 205px;
    display: grid;
    place-items: center;
    background: linear-gradient(rgba(10, 18, 25, .68), rgba(10, 18, 25, .68)), url("assets/cta.jpg") center 57%/cover no-repeat;
}

.whatsapp-button {
    min-width: 240px;
    min-height: 54px;
    background: rgba(17, 27, 35, .26);
    border-color: #fff;
}

/*  ==================== CONTATO ====================  */

.contact-page {
    min-height: 395px;
    padding: 154px 0 50px;
    background: var(--dark);
}

.contact-heading {
    padding: 0 0px 34px;
    border-bottom: 1px solid var(--line);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.3fr .85fr;
    gap: 0;
    padding: 35px 8px 0;
}

.contact-options {
    padding-right: 43px;
    border-right: 1px solid var(--line);
}

.contact-options>h2 {
    margin-bottom: 26px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    column-gap: 38px;
    row-gap: 26px;
}

.contact-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.contact-icon img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.contact-item:hover .contact-icon img {
    filter: brightness(0);
}

.icon-mail {
    font-size: 20px;
}

.social-symbol {
    font-size: 27px;
}

.linkedin-symbol {
    font-size: 16px;
    font-weight: 700;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-item small {
    display: block;
    overflow-wrap: anywhere;
    color: #eee;
    font-size: 13px;
}

.contact-item:hover .contact-icon {
    background: #fff;
    color: #1b1b1b;
}

.budget-callout {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.budget-callout .eyebrow {
    margin-bottom: 25px;
}

.budget-callout>p:nth-child(2) {
    margin-bottom: 25px;
    font-size: 13px;
    line-height: 1.75;
    text-align: center;
}

/*  ==================== ORÇAMENTO ====================  */

.budget-page {
    padding: 154px 0 50px;
    background: var(--dark);
}

.budget-heading {
    padding: 0 0 34px;
    border-bottom: 1px solid var(--line);
}

.budget-layout {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 0;
    padding: 35px 8px 0;
}

.process {
    padding-right: 42px;
    border-right: 1px solid var(--line);
}

.process h2 {
    margin-bottom: 18px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.process ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process li {
    min-height: 104px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 12px;
}

.process li:first-child {
    padding-top: 18px;
}

.step-number {
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.process strong {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 500;
}

.process p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.budget-form {
    padding-left: 28px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.botcheck {
    display: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.form-grid label > span {
    position: static;
    display: block;
    color: #eeeeee;
    font-size: 13px;
    line-height: 1.3;
    pointer-events: none;
}

.form-grid input,
.form-grid select {
    width: 100%;
    height: 38px;
    padding: 0 4px 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    font: 13px "Montserrat", sans-serif;
    transition: border-color 0.2s ease;
}

.form-grid input::placeholder {
    color: #777777;
    opacity: 1;
}

.form-grid input:focus,
.form-grid select:focus {
    border-bottom-color: #ffffff;
}

.form-grid select {
    cursor: pointer;
    color: #777777;
}

.form-grid select:valid {
    color: #ffffff;
}

.form-grid select option {
    background: #282828;
    color: #ffffff;
}

.form-grid .full {
    grid-column: 1 / -1;
}

/* Remove o fundo claro aplicado pelo preenchimento automático do Chrome */

.form-grid input:-webkit-autofill,
.form-grid input:-webkit-autofill:hover,
.form-grid input:-webkit-autofill:focus,
.form-grid input:-webkit-autofill:active {
    border-bottom: 1px solid var(--line);
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    box-shadow: 0 0 0 1000px #282828 inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* Campo de mensagem */

.message-field {
    margin-top: 4px;
}

.message-field > span {
    position: static;
    margin-bottom: 0;
}

.message-field textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 6px;
    outline: none;
    resize: vertical;
    background: #f5f5f5;
    color: #1b1b1b;
    font: 13px "Montserrat", sans-serif;
    line-height: 1.6;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.message-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Ações do formulário */

.form-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 28px;
}

.submit-button {
    min-width: 215px;
}

.form-actions p {
    margin: 0;
    font-size: 13px;
}

/*  ==================== RESPONSIVIDADE — HOME ====================  */

@media (max-width: 980px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }

    .service-item:nth-child(3) {
        border-left: 0;
    }

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

    .courses-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-copy {
        padding-top: 20px;
    }

    .tools {
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 620px;
    }

    .hero::before {
        left: 14%;
        opacity: .75;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(27, 27, 27, .96), rgba(27, 27, 27, .45));
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item,
    .service-item:nth-child(3) {
        min-height: auto;
        padding: 34px 16px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-item:first-child {
        border-top: 0;
    }

    .projects .projects-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 520px) {
    .hero h1 {
        font-size: 34px;
    }

    .button-row {
        gap: 12px;
    }

    .courses h2,
    .about h2,
    .section-heading h2,
    .cta h2 {
        font-size: 23px;
    }

    .differentials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .differential-card {
        min-height: 170px;
    }
}

/*  ==================== RESPONSIVIDADE — VALORES ====================  */

@media (max-width: 980px) {
    .value-main {
        grid-template-columns: 70px 1fr;
        padding-right: 30px;
    }

    .photo-left .value-main {
        padding-left: 30px;
    }

    .practice-card {
        width: calc(100% - 24px);
    }
}

@media (max-width: 760px) {

    .value-row,
    .value-layout {
        min-height: auto;
    }

    .value-row::before {
        width: 100%;
        opacity: .52;
    }

    .photo-right::after,
    .photo-left::after {
        background: rgba(27, 27, 27, .74);
    }

    .value-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 55px;
    }

    .photo-left .practice-card {
        order: 2;
    }

    .photo-left .value-main {
        order: 1;
    }

    .value-main,
    .photo-left .value-main {
        grid-template-columns: 58px 1fr;
        padding: 0;
    }

    .value-number {
        font-size: 30px;
    }

    .practice-card,
    .photo-left .practice-card {
        width: min(100%, 520px);
        justify-self: end;
    }
}

@media (max-width: 520px) {

    .value-main,
    .photo-left .value-main {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .value-copy h2 {
        font-size: 22px;
    }
}

/*  ==================== RESPONSIVIDADE — GESTÃO DE OBRAS ====================  */

@media (max-width:980px) {
    .management-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 44px;
    }

    .management-card:nth-child(3) {
        border-left: 0;
    }

    .technology-copy {
        padding-right: 35px;
    }

    .timeline-step {
        padding-inline: 8px;
    }

    .timeline-step p {
        font-size: 8px;
    }
}

@media (max-width:760px) {
    .management-grid {
        grid-template-columns: 1fr;
    }

    .management-card,
    .management-card:nth-child(3) {
        min-height: auto;
        padding: 34px 15px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .management-card:first-child {
        border-top: 0;
    }

    .technology-grid {
        grid-template-columns: 1fr;
    }

    .technology-copy {
        padding: 55px 0 35px;
    }

    .technology-image {
        min-height: 280px;
    }

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

    .timeline::before {
        display: none;
    }

    .timeline-step {
        display: grid;
        grid-template-columns: 58px 1fr;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        text-align: left;
    }

    .timeline-step:last-child {
        border-bottom: 0;
    }

    .timeline-number {
        grid-row: 1/3;
        margin: 0;
        font-size: 27px;
        text-align: left;
    }

    .timeline-dot {
        display: none;
    }

    .timeline-step h3 {
        margin-bottom: 6px;
    }

    .timeline-step p {
        max-width: none;
        margin: 0;
        font-size: 9px;
    }

    .result-card {
        grid-template-columns: 1fr;
    }

    .result-card img {
        min-height: 260px;
    }
}

@media (max-width:520px) {
    .intro-copy h1 {
        font-size: 32px;
    }

    .technology-copy h2,
    .result-copy h2,
    .contact-cta h2 {
        font-size: 22px;
    }

    .result-copy {
        padding: 34px 24px;
    }
}

/*  ==================== RESPONSIVIDADE — PROJETOS ====================  */

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

@media (max-width:480px) {
    .portfolio .project-info {
        padding-inline: 18px;
    }
}

/*  ==================== RESPONSIVIDADE — CURSOS ====================  */

@media (max-width:900px) {
    .course-grid {
        gap: 22px;
    }
}

@media (max-width:700px) {
    .courses-heading br {
        display: none;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

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

    .guarantee-grid>div:first-child {
        padding: 0 0 24px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width:480px) {
    .course-grid {
        grid-template-columns: 1fr;
    }

    .course-art {
        height: 165px;
    }
}

/*  ==================== RESPONSIVIDADE — CONTATO ====================  */

@media (max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .budget-callout {
        padding-left: 38px;
    }
}

@media (max-width:700px) {
    .contact-heading br {
        display: none;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-options {
        padding: 0 0 34px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .budget-callout {
        padding: 35px 0 0;
    }
}

@media (max-width:480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/*  ==================== RESPONSIVIDADE — ORÇAMENTO ====================  */

@media (max-width:900px) {
    .budget-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width:700px) {
    .budget-heading br {
        display: none;
    }

    .budget-layout {
        grid-template-columns: 1fr;
    }

    .process {
        padding: 0 0 34px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process ol {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .process li {
        display: block;
        min-height: 0;
        border: 0;
    }

    .step-number {
        display: block;
        margin-bottom: 12px;
    }

    .budget-form {
        padding: 35px 0 0;
    }
}

@media (max-width:520px) {
    .process ol {
        grid-template-columns: 1fr;
    }

    .process li {
        display: grid;
        grid-template-columns: 54px 1fr;
        padding: 16px 0;
        border-bottom: 1px solid var(--line);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .full {
        grid-column: auto;
    }

    .form-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/*  ==================== RESPONSIVIDADE COMUM — GESTÃO DE OBRAS ====================  */

@media (max-width:980px) {
    .header-inner {
        grid-template-columns: 135px 1fr auto;
    }

    .main-nav {
        gap: 15px;
    }

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

@media (max-width:760px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .site-header {
        height: auto;
        padding: 18px 0;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .main-nav {
        grid-column: 1/-1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        padding-top: 12px;
    }

    .main-nav a {
        padding: 5px 0 8px;
        white-space: nowrap;
    }

    .main-nav a::after {
        bottom: 2px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px 24px;
    }
}

@media (max-width:520px) {
    .header-cta {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .values-intro h1,
    .portfolio-heading h1,
    .courses-heading h1,
    .contact-heading h1,
    .budget-heading h1 {
        font-size: 32px;
    }
}

/* ==================== PÁGINA NOSSA HISTÓRIA ==================== */

.history-intro {
    padding: 154px 0 0;
    background: var(--dark);
}

.history-intro-inner {
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.history-intro h1 {
    margin-bottom: 14px;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.1;
    text-transform: uppercase;
}

.history-intro-inner>p:last-child {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--text);
    font-size: 15px;
}

.history-content {
    padding: 22px 0 12px;
    background: #282828;
}

.history-container {
    width: min(calc(100% - 64px), var(--container));
    margin-inline: auto;
}

.history-section {
    padding: 46px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.history-section:last-child {
    border-bottom: 0;
}

.history-section h2 {
    margin-bottom: 22px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.history-section p {
    max-width: 820px;
    margin-bottom: 17px;
    color: #e4e4e4;
    font-size: 15px;
    line-height: 1.8;
}

.history-section p:last-child {
    margin-bottom: 0;
}

.history-quote {
    max-width: 760px;
    margin: 30px 0;
    padding: 8px 0 8px 24px;
    border-left: 2px solid #168cff;
    color: #60adff;
    font-size: 17px;
    font-style: italic;
    line-height: 1.65;
}

/* Seção do fundador */

.founder-section {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 48px;
    align-items: center;
}

.founder-photo {
    margin: 0;
    overflow: hidden;
    background: var(--dark);
}

.founder-photo img {
    display: block;
    width: 100%;
    height: 410px;
    object-fit: cover;
    object-position: center 63%;
}

.founder-copy h2 {
    margin-top: 0;
}

.founder-copy p {
    font-size: 14px;
    line-height: 1.75;
}

/* Final da história */

.history-final-section {
    padding-bottom: 58px;
}

.history-cta {
    min-height: 165px;
    background: var(--dark);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.history-cta::before {
    display: none;
}

.history-cta h2 {
    margin-bottom: 23px;
}

/* ==================== RESPONSIVIDADE ==================== */

@media (max-width: 760px) {

    .history-container {
        max-width: none;
    }

    .history-section {
        padding: 38px 0;
    }

    .history-section h2 {
        font-size: 23px;
    }

    .founder-section {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .founder-photo img {
        height: 350px;
    }
}

@media (max-width: 620px) {
    .founder-section {
        grid-template-columns: 1fr;
    }

    .founder-photo {
        width: min(100%, 360px);
    }

    .founder-photo img {
        height: auto;
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 520px) {
    .history-intro h1 {
        font-size: 32px;
    }

    .history-section p {
        font-size: 14px;
        line-height: 1.75;
    }

    .history-quote {
        padding-left: 18px;
        font-size: 15px;
    }

    .history-cta h2 {
        font-size: 23px;
    }
}

/*  ==================== CORREÇÃO MOBILE — HEADER E HOME ====================  */

@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    .site-header,
    .site-header-index {
        height: 118px;
        padding: 8px 0 0;
    }

    .site-header,
    .site-header.site-header-index,
    .site-header.site-header-index.is-scrolled {
        background: #1b1b1b;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
    }

    .header-inner {
        width: 100%;
        height: 110px;
        grid-template-columns: 1fr auto;
        grid-template-rows: 52px 50px;
        gap: 0 16px;
        padding-inline: 16px;
    }

    .logo-header {
        width: auto;
        height: 50px;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-content: flex-start;
        gap: 22px;
        padding: 5px 0 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        overscroll-behavior-inline: contain;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        padding: 7px 0 9px;
        font-size: 11px;
        white-space: nowrap;
    }

    .main-nav a::after {
        bottom: 3px;
    }

    .header-cta {
        min-height: 38px;
        padding-inline: 13px;
        font-size: 10px;
    }

    .hero {
        min-height: 590px;
    }

    .hero::before {
        left: 0;
        background-position: 58% center;
        opacity: 0.72;
    }

    .hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(27, 27, 27, 0.97) 0%,
                rgba(27, 27, 27, 0.82) 48%,
                rgba(27, 27, 27, 0.28) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.18),
                rgba(0, 0, 0, 0.08)
            );
    }

    .hero-content {
        padding-top: 178px;
        padding-bottom: 64px;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.08;
        letter-spacing: -0.5px;
        overflow-wrap: break-word;
    }

    .hero-content > p {
        max-width: 430px;
        margin-bottom: 28px;
        font-size: 14px;
    }

    .services {
        padding: 54px 0 64px;
    }

    .services-grid {
        width: 100%;
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .service-item,
    .service-item:nth-child(3) {
        width: 100%;
        min-height: 0;
        padding: 34px 12px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

@media (max-width: 520px) {
    .site-header,
    .site-header-index {
        height: 112px;
    }

    .header-inner {
        height: 104px;
        grid-template-columns: 1fr;
        grid-template-rows: 50px 46px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-content {
        padding-top: 158px;
        padding-bottom: 54px;
    }

    .hero h1 {
        font-size: clamp(28px, 8.7vw, 34px);
        line-height: 1.07;
    }

    .hero-content > p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.6;
    }

    .button-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .button-row .button {
        width: auto;
        max-width: 100%;
    }

    .section-heading h2 {
        font-size: 22px;
        line-height: 1.25;
    }
}

/* Corrige o header sobre o título apenas na página de história */

@media (max-width: 760px) {
    .history-intro {
        padding-top: 150px;
    }
}

@media (max-width: 520px) {
    .history-intro {
        padding-top: 140px;
    }
}

@media (max-width: 760px) {
    .site-header,
    .site-header.site-header-index,
    .site-header.site-header-index.is-scrolled {
        background: #1b1b1b !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
        isolation: isolate;
    }

    .site-header::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: #1b1b1b;
    }

    .footer-logo {
        display: none;
    }
}

.botcheck {
    display: none !important;
}

.form-result {
    display: none;
}

.form-result-success {
    display: block;
    padding: 38px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    text-align: center;
}

.form-result-success strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.form-result-success p {
    max-width: 500px;
    margin: 0 auto;
    color: #e2e2e2;
    font-size: 14px;
    line-height: 1.6;
}

.form-result-error {
    display: block;
    margin-top: 20px;
    color: #ffb4b4;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.budget-form.is-sent .form-grid,
.budget-form.is-sent .form-actions {
    display: none;
}

@media (max-width: 520px) {
    .form-result-success {
        padding: 30px 20px;
    }

    .form-result-success strong {
        font-size: 18px;
    }
}

/* ==================== MENU HAMBÚRGUER ==================== */

.menu-toggle {
    display: none;
}

@media (max-width: 1150px) {
    .site-header,
    .site-header-index,
    .site-header.site-header-index.is-scrolled {
        height: 72px !important;
        padding: 0 !important;
        overflow: visible;
        background: #1b1b1b !important;
    }

    .header-inner {
        position: relative;
        display: grid;
        width: min(calc(100% - 32px), var(--container));
        height: 72px !important;
        grid-template-columns: 1fr auto;
        grid-template-rows: 72px;
        gap: 16px;
        padding: 0;
    }

    .logo-header {
        width: auto;
        height: 50px;
    }

    .menu-toggle {
        position: relative;
        z-index: 10002;
        display: inline-flex;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 4px;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .menu-toggle-lines,
    .menu-toggle-lines::before,
    .menu-toggle-lines::after {
        display: block;
        width: 21px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .menu-toggle-lines {
        position: relative;
    }

    .menu-toggle-lines::before,
    .menu-toggle-lines::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .menu-toggle-lines::before {
        top: -7px;
    }

    .menu-toggle-lines::after {
        top: 7px;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        z-index: 10001;
        display: flex;
        width: 100%;
        max-width: none;
        max-height: 0;
        padding: 0 24px;
        border-top: 1px solid transparent;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        visibility: hidden;
        background: #1b1b1b;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
        opacity: 0;
        transform: translateY(-8px);
        transition:
            max-height 0.35s ease,
            padding 0.35s ease,
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.35s;
    }

    .main-nav.is-open {
        max-height: calc(100vh - 72px);
        padding-top: 12px;
        padding-bottom: 18px;
        border-top-color: rgba(255, 255, 255, 0.12);
        overflow-y: auto;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 13px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 12px;
        text-align: left;
        white-space: normal;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}

.project-image {
    --carousel-background: none;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #151515;
}

/* Fundo preenchendo todo o retângulo */

.project-image::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: -2;
    background-image: var(--carousel-background);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(18px) brightness(0.55);
    transform: scale(1.08);
}

/* Escurecimento para destacar a imagem principal */

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.14);
    pointer-events: none;
}

/* A imagem sempre aparece inteira */

.project-main-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
    cursor: zoom-in;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.18s ease,
        transform 0.25s ease;
}

.project-main-image.is-changing {
    opacity: 0;
    transform: scale(0.985);
}

/* Setas do card */

.project-image .arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.72);
    color: #ffffff;
    font: 300 34px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.project-image .arrow:hover {
    border-color: #ffffff;
    background: rgba(20, 20, 20, 0.95);
}

.project-image .arrow-left {
    left: 14px;
}

.project-image .arrow-right {
    right: 14px;
}

.carousel-counter {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    padding: 5px 9px;
    border-radius: 20px;
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
}

/* Visualização ampliada */

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.image-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-modal-content {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    user-select: none;
}

.image-modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: 300 48px/1 Arial, sans-serif;
    cursor: pointer;
}

.image-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.7);
    color: #ffffff;
    font: 300 38px/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
}

.image-modal-previous {
    left: 22px;
}

.image-modal-next {
    right: 22px;
}

.image-modal-counter {
    position: absolute;
    right: 24px;
    bottom: 20px;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgba(25, 25, 25, 0.8);
    color: #ffffff;
    font-size: 12px;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .project-image .arrow {
        width: 38px;
        height: 38px;
        font-size: 29px;
    }

    .project-image .arrow-left {
        left: 10px;
    }

    .project-image .arrow-right {
        right: 10px;
    }

    .carousel-counter {
        right: 10px;
        bottom: 10px;
    }

    .image-modal {
        padding: 70px 15px;
    }

    .image-modal-content {
        max-height: calc(100vh - 140px);
    }

    .image-modal-close {
        top: 12px;
        right: 12px;
    }

    .image-modal-arrow {
        top: auto;
        bottom: 16px;
        width: 42px;
        height: 42px;
        font-size: 31px;
        transform: none;
    }

    .image-modal-previous {
        left: 15px;
    }

    .image-modal-next {
        right: 15px;
    }

    .image-modal-counter {
        right: 50%;
        bottom: 28px;
        transform: translateX(50%);
    }
}

/* ==================== POLÍTICA DE PRIVACIDADE ==================== */

.privacy-page {
    min-height: 100vh;
    padding: 155px 0 90px;
    background: var(--dark);
}

.privacy-container {
    max-width: 1050px;
}

.privacy-heading {
    padding-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.privacy-heading h1 {
    margin: 10px 0 14px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    font-weight: 300;
    text-transform: uppercase;
}

.privacy-heading > p:last-child {
    margin: 0;
    color: #bdbdbd;
    font-size: 13px;
}

.privacy-content {
    max-width: 860px;
    padding-top: 42px;
}

.privacy-content section {
    margin-bottom: 44px;
}

.privacy-content h2 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.privacy-content h3 {
    margin: 24px 0 10px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.privacy-content p,
.privacy-content li {
    color: #d5d5d5;
    font-size: 14px;
    line-height: 1.8;
}

.privacy-content p {
    margin: 0 0 14px;
}

.privacy-content ul {
    margin: 16px 0 20px;
    padding-left: 22px;
}

.privacy-content li {
    margin-bottom: 7px;
}

.privacy-content a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-contact-box {
    margin-top: 20px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.035);
}

.privacy-contact-box p {
    margin-bottom: 8px;
}

.privacy-contact-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .privacy-page {
        padding: 125px 0 65px;
    }

    .privacy-heading {
        padding-bottom: 28px;
    }

    .privacy-heading h1 {
        font-size: 34px;
    }

    .privacy-content {
        padding-top: 32px;
    }

    .privacy-content section {
        margin-bottom: 36px;
    }

    .privacy-content h2 {
        font-size: 18px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 13px;
        line-height: 1.75;
    }

    .privacy-contact-box {
        padding: 18px;
    }
}