/* ==========================================================
   KODLAB — TEMA DO WEBSITE

   GUIA RÁPIDO
   • Cores, fontes e largura global: alterar em :root.
   • Estrutura visual: organizada por secções numeradas.
   • Responsividade: concentrada nos blocos @media.
   • Unidades clamp(): permitem tipografia fluida entre ecrãs.
   • Variáveis var(--nome): reutilizam os mesmos valores no site.
   • Sem dependências externas/CDN para as fontes declaradas aqui.

   Objetivo desta organização: tornar alterações futuras mais
   rápidas e reduzir o risco de editar a regra errada.
   ========================================================== */

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope.woff") format("woff");
    font-weight: 200 800;
    font-display: swap;
}

/* Consentimento opcional: botões equivalentes e texto legível em mobile. */
.cookie-preferences { border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 0; min-height: 44px; }
.analytics-consent { position: fixed; z-index: 1000; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px; border: 1px solid #b9c4a6; border-radius: 16px; background: #f6f6ee; color: #171a16; box-shadow: 0 12px 70px #15171340; }
.analytics-consent h2 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.analytics-consent p { font-size: 13px; line-height: 1.65; margin: 0; }
.analytics-consent p a { text-decoration: underline; }
.analytics-consent [data-consent-status]:not(:empty) { margin-top: 8px; font-weight: 650; }
.analytics-consent-actions { display: grid; gap: 8px; }
.analytics-consent-actions .button { min-height: 44px; width: 100%; justify-content: center; }
@media (max-width: 700px) {
    .analytics-consent { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
    .analytics-consent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-consent-actions .button { padding-inline: 10px; font-size: 12px; white-space: normal; }
    .analytics-consent-actions .cookie-preferences { grid-column: 1 / -1; }
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk.woff") format("woff");
    font-weight: 300 700;
    font-display: swap;
}

:root {
    /* Paleta principal */
    --ink: #171a16;
    --dark: #151713;
    --dark-soft: #20231e;
    --paper: #f6f6ee;
    --white: #ffffff;
    --lime: #c1f66b;
    --green: #4b7030;
    --muted: #6c7066;
    --line: #dcdfd3;
    --line-dark: #383c32;

    /* Tipografia global */
    --font-body: "Manrope", Arial, sans-serif;
    --font-heading: "Space Grotesk", Arial, sans-serif;

    /* Largura máxima do conteúdo */
    --container: 1280px;
}

/* ==========================================================
   01. BASE, RESET E UTILITÁRIOS
   Regras globais usadas em todo o website.
   Aqui ficam o reset básico, tipografia, contentor principal,
   botões, links, acessibilidade e pequenas classes auxiliares.
   ========================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--dark);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
}

::selection {
    background: var(--lime);
    color: var(--dark);
}

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

button, input, textarea, select {
    font: inherit;
}

button, a, input, textarea, select, summary {
    -webkit-tap-highlight-color: transparent;
}

button, a {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

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

button:disabled {
    opacity: .65;
    cursor: wait;
}

button, input, select, textarea {
    border-radius: 0;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 3px solid #76a937;
    outline-offset: 5px;
}

input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 3px;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.055em;
}

h1 {
    font-size: clamp(54px, 6vw, 86px);
}

h2 {
    font-size: clamp(35px, 4vw, 56px);
}

h3 {
    font-size: 27px;
    letter-spacing: -.035em;
}

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

.section-padding {
    padding-block: 112px;
}

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

.section-light {
    background: var(--paper);
    color: var(--ink);
}

.icon {
    flex-shrink: 0;
    vertical-align: middle;
}

.lime {
    color: var(--lime);
}

.rotate-down {
    transform: rotate(90deg);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.5;
}

.section-number {
    padding-right: 13px;
    border-right: 1px solid currentColor;
    opacity: .55;
}

.tiny-cross {
    font-size: 25px;
    line-height: 1;
    color: var(--green);
}

/* O símbolo é um desenho vetorial, sem substituição por emoji no iOS. */
.brand-asterisk {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -.12em;
    overflow: visible;
}

.section-dark .tiny-cross {
    color: var(--lime);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 52px;
}

.section-intro {
    flex: 0 1 320px;
    color: var(--muted);
    line-height: 1.85;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 18px 25px;
    min-height: 58px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
    transition: background .2s, transform .2s;
}

.button .icon {
    width: 20px;
    height: 20px;
    transition: transform .2s;
}

.button:hover .icon {
    transform: translate(2px, -2px);
}

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

.button--lime {
    background: var(--lime);
    color: var(--dark);
}

.button--lime:hover {
    background: #d2ff8c;
}

.button--dark {
    background: var(--ink);
    color: var(--paper);
}

.button--dark:hover {
    background: #303728;
}

.button--outline {
    border-color: #c6cbbf;
    color: var(--ink);
    background: transparent;
}

.button--outline:hover {
    background: #e9ecdf;
}

.button--small {
    padding: 11px 18px;
    min-height: 45px;
    gap: 17px;
    font-size: 12px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    font-size: 13px;
    font-weight: 750;
}

.text-link .icon {
    width: 20px;
    height: 20px;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

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

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 10px 20px;
    background: var(--lime);
    color: var(--dark);
}

.skip-link:focus {
    top: 12px;
}

[hidden] {
    display: none !important;
}

/* ==========================================================
   02. CABEÇALHO E NAVEGAÇÃO
   Estrutura do header, logótipo, menu principal e CTA.
   As adaptações para tablet e telemóvel ficam nos breakpoints
   responsivos mais abaixo, para manter esta zona fácil de ler.
   ========================================================== */

.site-header {
    position: relative;
    z-index: 30;
    background: var(--dark);
    color: var(--paper);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 104px;
    border-bottom: 1px solid var(--line-dark);
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.brand-mark {
    font-family: var(--font-heading);
    font-size: 39px;
    letter-spacing: -.075em;
    font-weight: 700;
}

.brand-mark > span:first-child {
    color: var(--lime);
}

.brand-mark .brand-lab {
    font-weight: 400;
}

.brand-mark b {
    display: inline-block;
    vertical-align: top;
    margin: 5px 0 0 5px;
    font-size: 11px;
    letter-spacing: 0;
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 31px;
    font-size: 12px;
    font-weight: 600;
}

.main-nav > a:not(.button) {
    color: #c4c7bd;
    transition: color .2s;
}

.main-nav > a:hover {
    color: var(--lime);
}

.main-nav > .button:hover {
    color: var(--ink);
}

.main-nav .nav-cta {
    margin-left: 12px;
}

.menu-toggle {
    display: none;
}

/* ==========================================================
   03. HERO / PRIMEIRO ECRÃ
   Composição principal da homepage: título, descrição, CTA,
   imagem, órbita decorativa, selo, estado e linha inferior.
   A imagem mantém a composição original do portfólio Kodlab.
   ========================================================== */

.hero {
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 12px;
    min-height: 662px;
    padding-top: 75px;
    padding-bottom: 45px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy .eyebrow {
    color: #b9bdae;
    margin-bottom: 28px;
}

.hero h1 {
    position: relative;
    font-size: clamp(58px, 5.65vw, 83px);
    max-width: 710px;
    line-height: 1.06;
    letter-spacing: -.063em;
}

.hero h1 > span:first-of-type {
    color: var(--lime);
}

.hero-dot {
    display: inline-block;
    color: var(--lime);
    font-size: .6em;
    vertical-align: super;
    margin-left: 5px;
    line-height: 0;
}

.hero-description {
    max-width: 425px;
    color: #aaafa3;
    font-size: 15px;
    line-height: 1.9;
    margin: 28px 0;
}

.hero-copy .button {
    margin-top: 4px;
}

.microcopy {
    margin-top: 14px;
    color: #9ca392;
    font-size: 11px;
}

.hero-stage {
    min-width: 0;
    height: 532px;
    position: relative;
}

.status-pill {
    position: absolute;
    top: 1px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border: 1px solid #424b35;
    border-radius: 30px;
    color: #c9d5b4;
    font-size: 10px;
    z-index: 3;
    background: var(--dark);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lime);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #c1f66b0e;
}

.hero-orbit {
    position: absolute;
    width: 410px;
    height: 410px;
    top: 68px;
    right: 5px;
    border: 1px solid #343c29;
    border-radius: 50%;
    transform: rotate(-20deg);
    background: radial-gradient(ellipse, #c1f66b0b, transparent 70%);
}

.hero-orbit::before {
    content: "";
    position: absolute;
    inset: 28px -45px;
    border-radius: 50%;
    border: 1px dashed #344027;
    transform: rotate(55deg);
}

.hero-image-wrap {
    position: absolute;
    inset: 18px -48px 0 -55px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    width: 137%;
    max-width: none;
    left: -36%;
    filter: drop-shadow(0 20px 22px #0005);
    transform: rotate(-5deg);
}

.hero-sticker {
    position: absolute;
    left: 17px;
    top: 87px;
    z-index: 2;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--lime);
    color: var(--dark);
    font-size: 9px;
    line-height: 1.5;
    font-weight: 800;
    text-align: center;
    letter-spacing: .055em;
    transform: rotate(-15deg);
    box-shadow: 0 5px 20px #0002;
}

.hero-sticker > span {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stage-caption {
    position: absolute;
    bottom: 0;
    left: 22px;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    color: #aab19f;
}

.stage-caption > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stage-caption > span:last-child {
    font-size: 8px;
    letter-spacing: .08em;
}

.stage-caption .icon {
    width: 16px;
    transform: rotate(90deg);
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 45px;
    border-top: 1px solid var(--line-dark);
    padding-block: 26px;
    font-size: 11px;
    color: #c1c5b9;
}

.hero-bottom p {
    display: flex;
    gap: 13px;
}

.hero-bottom p > span {
    color: #728263;
    font-size: 10px;
}

.hero-bottom > a {
    margin-left: auto;
}

.hero-bottom .icon {
    width: 18px;
}

/* ==========================================================
   04. SERVIÇOS
   Grelha e cartões da secção de serviços.
   Controla ícones, títulos, texto, divisórias e estados hover.
   ========================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 33px;
    transition: background .2s;
}

.service-card + .service-card {
    border-left: 1px solid var(--line);
}

.service-card:hover {
    background: #edefe3;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.service-icon {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border: 1px solid #cdd5bd;
    border-radius: 11px;
    background: #e9eddd;
    color: #426623;
}

.service-icon .icon {
    width: 25px;
    height: 25px;
}

.card-index {
    color: #a2a898;
    font-family: var(--font-heading);
    font-size: 12px;
}

.service-card h3 {
    font-size: 25px;
    margin-bottom: 18px;
    letter-spacing: -.05em;
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.service-card .text-link {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* ==========================================================
   05. PORTFÓLIO / PROJETOS
   Grelha de projetos, previews visuais, etiquetas, filtros e CTA.
   Cada variação de projeto tem classes próprias para permitir
   composições diferentes sem alterar a estrutura base do card.
   ========================================================== */

.portfolio-section {
    padding-top: 0;
}

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

.project-preview {
    display: block;
    position: relative;
    aspect-ratio: 1.4;
    overflow: hidden;
    border-radius: 8px;
}

.project-preview--pecta {
    background: #e8e9dd;
}

.project-preview--villa {
    background: #c7d5c5;
}

.project-preview--config {
    background: #e2e4e0;
}

.project-preview--desafios {
    background: #d0dbe8;
}

.project-open {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--paper);
    border-radius: 50%;
    transition: background .2s, transform .2s;
}

.project-preview:hover .project-open {
    background: var(--lime);
    transform: rotate(45deg);
}

.project-uploaded {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.project-preview:hover .project-uploaded {
    transform: scale(1.035);
}

.project-art {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.project-art-name {
    position: absolute;
    top: 21px;
    left: 30px;
    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 600;
    letter-spacing: -.04em;
    z-index: 2;
}

.project-art-detail {
    position: absolute;
    bottom: 26px;
    left: 30px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
}

.project-screenshot {
    position: absolute;
    top: 20%;
    left: 15%;
    right: 15%;
    height: 67%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 15px 40px #0002;
    background: #fff;
    transform: rotate(-5deg);
    transition: transform .5s;
}

.project-preview:hover .project-screenshot {
    transform: rotate(-3deg) translateY(-5px);
}

.project-screenshot img {
    position: absolute;
    width: 323%;
    max-width: none;
    left: -175.5%;
    top: -49%;
}

.project-preview--villa .project-art-name {
    font-family: Georgia, serif;
    font-weight: 400;
    color: #254b35;
}

.project-preview--villa .project-screenshot {
    transform: rotate(5deg);
    left: 12%;
    right: 12%;
    top: 23%;
    height: 62%;
}

.project-preview--villa .project-screenshot img {
    width: 422%;
    left: -147.5%;
    top: -144%;
}

.project-preview--villa:hover .project-screenshot {
    transform: rotate(3deg) translateY(-5px);
}

.project-preview--config .project-screenshot {
    top: 25%;
    height: 58%;
}

.project-preview--config .project-screenshot img {
    width: 325%;
    left: -101.5%;
    top: -234%;
}

.project-art--type {
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-art--type > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
}

.project-art--type strong {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 85px);
    font-weight: 500;
    letter-spacing: -.07em;
}

.project-art--type strong span {
    color: #426399;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-top: 23px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.project-info p {
    color: var(--muted);
    font-size: 12px;
    max-width: 320px;
}

.tag {
    display: inline-flex;
    border: 1px solid #cfd5c6;
    border-radius: 30px;
    padding: 5px 11px;
    white-space: nowrap;
    font-size: 9px;
    color: #676f5c;
}

.portfolio-footnote {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 43px;
    color: var(--muted);
    font-size: 12px;
}

.portfolio-footnote .tiny-cross {
    font-size: 19px;
}

.project-filters {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.js .project-filters {
    display: flex;
}

.filter-button {
    border: 1px solid var(--line);
    border-radius: 40px;
    padding: 10px 19px;
    color: var(--ink);
    background: transparent;
    font-size: 12px;
}

.filter-button.is-active {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--paper);
}

.portfolio-cta {
    margin-top: 90px;
    padding-top: 45px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.portfolio-cta h2 {
    font-size: 38px;
}

/* ==========================================================
   06. FAIXA TIPOGRÁFICA E PROCESSO
   Faixa de destaque e secção que explica as etapas de trabalho.
   ========================================================== */

.statement-strip {
    overflow: hidden;
    background: var(--lime);
    padding: 24px 0;
}

.statement-strip > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 39px;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -.045em;
}

.statement-strip span {
    font-size: 37px;
    line-height: 1;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    gap: 100px;
}

.process-intro > p:not(.eyebrow) {
    max-width: 350px;
    margin-top: 23px;
    color: #a8ae9f;
    font-size: 14px;
}

.process-intro .text-link {
    margin-top: 26px;
    color: var(--lime);
}

.process-asterisk {
    font-size: 135px;
    line-height: 1;
    color: var(--lime);
    margin-top: 42px;
    transform: rotate(-12deg);
    display: inline-block;
}

.process-steps {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}

.process-steps li {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 0;
    border-top: 1px solid var(--line-dark);
}

.process-steps li:last-child {
    border-bottom: 1px solid var(--line-dark);
}

.step-number {
    color: var(--lime);
    font-family: var(--font-heading);
    font-size: 13px;
    margin-top: 3px;
}

.process-steps h3 {
    font-size: 25px;
    margin-bottom: 13px;
}

.process-steps p {
    color: #a8ae9f;
    font-size: 12px;
    line-height: 1.9;
    max-width: 330px;
}

.process-steps li > .icon {
    width: 17px;
    color: #738365;
    margin-left: auto;
}

/* ==========================================================
   07. PLANOS E PREÇOS
   Cartões de preços, plano destacado, listas de funcionalidades
   e bloco para propostas personalizadas.
   ========================================================== */

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

.price-card {
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.price-card--featured {
    background: var(--lime);
    border-color: var(--lime);
}

.price-card-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 29px;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .1em;
}

.price-card-label .icon {
    width: 20px;
    height: 20px;
}

.price-card h3 {
    font-size: 30px;
    margin-bottom: 13px;
}

.plan-description {
    font-size: 12px;
    color: var(--muted);
    min-height: 48px;
    max-width: 220px;
}

.price-card--featured .plan-description {
    color: #455734;
}

.price {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 20px 0 25px;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.price strong {
    font-size: 75px;
    font-weight: 500;
    letter-spacing: -.07em;
}

.price > span {
    font-size: 29px;
    padding-top: 9px;
}

.price-card .button {
    width: 100%;
    padding: 14px;
    font-size: 11px;
    justify-content: space-between;
    min-height: 49px;
}

.includes-label {
    margin: 28px 0 17px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.feature-list .icon {
    width: 15px;
    height: 17px;
    color: #517032;
}

.pricing-note {
    margin-top: 24px;
    text-align: center;
    font-size: 10px;
    color: var(--muted);
}

.custom-plan {
    margin-top: 39px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.custom-plan > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.custom-plan strong {
    font-size: 13px;
}

.custom-plan span {
    font-size: 11px;
    color: var(--muted);
}

/* ==========================================================
   08. ESTÚDIO E FAQ
   Bloco institucional do estúdio e acordeão de perguntas frequentes.
   ========================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
    padding-top: 40px;
}

.about-visual {
    position: relative;
    min-height: 390px;
    background: #dfe6d4;
    overflow: hidden;
    border-radius: 8px;
    padding: 40px;
}

.about-wordmark {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    line-height: .77;
    letter-spacing: -.09em;
    position: relative;
    z-index: 1;
}

.about-wordmark > span:first-child {
    color: #85a466;
}

.about-wordmark > span:last-child {
    font-size: 25px;
    vertical-align: super;
    margin-left: 10px;
}

.about-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.7;
}

.about-star {
    position: absolute;
    right: 20px;
    bottom: 21px;
    font-size: 100px;
    color: #79955b;
    line-height: 1;
}

.about-orbit {
    position: absolute;
    width: 340px;
    height: 340px;
    border: 1px solid #bdcbaa;
    border-radius: 50%;
    right: -100px;
    top: -35px;
}

.about-orbit::after {
    content: "";
    position: absolute;
    inset: 30px;
    border: 1px solid #bdcbaa;
    border-radius: 50%;
}

.about-copy h2 {
    font-size: clamp(33px, 3.5vw, 48px);
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.9;
}

.about-copy .text-link {
    margin-top: 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: .7fr 1fr;
    gap: 100px;
}

.faq-grid > div:first-child > p:last-child {
    color: var(--muted);
    margin-top: 20px;
    font-size: 13px;
}

.faq-list details {
    border-top: 1px solid var(--line);
}

.faq-list details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list .icon {
    width: 18px;
    height: 18px;
    transition: transform .2s;
}

.faq-list details[open] .icon {
    transform: rotate(45deg);
}

.faq-list details p {
    padding-bottom: 24px;
    padding-right: 35px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ==========================================================
   09. CONTACTO E FORMULÁRIOS
   Layout da secção de contacto, campos, checkbox, mensagens de
   sucesso/erro e elementos auxiliares do formulário.
   ========================================================== */

.contact {
    border-bottom: 1px solid var(--line-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .95fr;
    gap: 100px;
}

.contact-copy h2 {
    font-size: clamp(40px, 4.7vw, 65px);
}

.contact-copy h2 .lime {
    display: inline-block;
    margin-left: 4px;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 365px;
    font-size: 14px;
    line-height: 1.9;
    color: #a8ae9f;
    margin-top: 25px;
}

.contact-email {
    display: inline-flex;
    gap: 22px;
    align-items: center;
    margin-top: 39px;
    padding-bottom: 9px;
    border-bottom: 1px solid #667453;
    font-family: var(--font-heading);
    font-size: 25px;
    letter-spacing: -.025em;
}

.contact-email .icon {
    width: 21px;
    color: var(--lime);
}

.contact-signature {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 65px;
}

.contact-signature .tiny-cross {
    font-size: 46px;
}

.contact-signature p {
    font-size: 11px;
    color: #a8ae9f;
    line-height: 1.9;
}

.contact-signature strong {
    font-weight: 500;
    color: #dde1d4;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

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

.contact-form label {
    display: block;
    font-size: 11px;
    font-weight: 650;
}

.contact-form label > span:not(.optional) {
    color: #bac9a8;
}

.optional {
    color: #a1a897;
    font-weight: 400;
    font-size: 10px;
}

.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
    width: 100%;
    display: block;
    padding: 13px 15px;
    margin-top: 8px;
    border: 1px solid #3b4234;
    border-radius: 5px;
    background: #20241c;
    color: var(--paper);
    font-size: 12px;
    min-height: 48px;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #a3ab97;
    opacity: 1;
}

.contact-form textarea {
    resize: vertical;
    min-height: 125px;
    max-height: 500px;
}

.contact-form select {
    color-scheme: dark;
}

.contact-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.7;
}

.checkbox-label input {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: var(--lime);
}

.checkbox-label a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form .button {
    justify-content: space-between;
    width: 100%;
    margin-top: 5px;
}

.form-footnote {
    color: #a1a897;
    text-align: center;
    font-size: 10px;
    margin-top: -7px;
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    padding: 15px 18px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 22px;
    line-height: 1.7;
}

.notice--success {
    background: #e1f3cb;
    border-color: #a2c97b;
    color: #28430c;
}

.notice--error {
    background: #fff0e9;
    border-color: #deb6a2;
    color: #7c351c;
}

/* ==========================================================
   10. RODAPÉ E PÁGINAS SECUNDÁRIAS
   Footer, introduções de páginas internas, conteúdo editorial
   e página de erro.
   ========================================================== */

.site-footer {
    padding-top: 58px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr .7fr 1fr;
    gap: 50px;
    padding-bottom: 58px;
}

.footer-main .brand-mark {
    font-size: 39px;
}

.footer-main p {
    font-size: 12px;
    color: #a1a897;
    margin-top: 20px;
    line-height: 1.8;
}

.footer-main nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    align-content: start;
    font-size: 12px;
    padding-top: 10px;
}

.footer-main nav a:hover, .footer-bottom a:hover {
    color: var(--lime);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
}

.footer-contact > span {
    color: #a1a897;
    font-size: 9px;
    letter-spacing: .07em;
}

.footer-contact > a {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: -.02em;
    margin: 12px 0;
}

.footer-contact .icon {
    width: 18px;
    margin-left: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding: 24px 0;
    border-top: 1px solid var(--line-dark);
    font-size: 9px;
    color: #a1a897;
}

.footer-bottom > div {
    display: flex;
    gap: 25px;
}

.footer-bottom .back-top {
    color: #d2d9c6;
    margin-left: 25px;
}

.page-intro {
    padding: 45px 0 85px;
}

.back-link {
    display: inline-block;
    color: #a1a897;
    font-size: 12px;
    margin-bottom: 45px;
}

.page-intro h1 {
    font-size: clamp(42px, 6vw, 78px);
    max-width: 950px;
}

.page-intro .eyebrow {
    color: var(--lime);
}

.page-intro p:last-child {
    max-width: 540px;
    margin-top: 25px;
    color: #b1b9a5;
}

.prose {
    max-width: 820px;
}

.prose p {
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.9;
}

.prose p:first-child {
    font-size: 24px;
    color: var(--ink);
    font-family: var(--font-heading);
}

.error-page {
    padding: 120px 0;
}

.error-page .eyebrow {
    color: var(--lime);
}

.error-page p:not(.eyebrow) {
    margin: 25px 0;
    max-width: 430px;
    color: #b1b9a5;
}

/* ==========================================================
   11. RESPONSIVO — ECRÃS INTERMÉDIOS / TABLET
   Ajustes progressivos para larguras menores, preservando a
   estrutura desktop sempre que existe espaço suficiente.
   ========================================================== */

@media (min-width: 1500px) {
    .hero-grid {
        min-height: 725px;
    }

    .hero-stage {
        height: 565px;
    }
}

@media (max-width: 1100px) {
    .container {
        width: calc(100% - 64px);
    }

    .main-nav {
        gap: 20px;
    }

    .main-nav .nav-cta {
        margin-left: 0;
    }

    .hero-grid {
        min-height: 590px;
        padding-top: 55px;
    }

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

    .hero-stage {
        height: 470px;
    }

    .hero-image-wrap {
        top: 48px;
    }

    .hero-sticker {
        left: 0;
        top: 110px;
        width: 95px;
        height: 95px;
        font-size: 8px;
    }

    .hero-sticker > span {
        font-size: 26px;
    }

    .stage-caption > span:last-child {
        display: none;
    }

    .hero-bottom {
        gap: 25px;
        font-size: 10px;
    }

    .section-padding {
        padding-block: 85px;
    }

    .portfolio-section {
        padding-top: 0;
    }

    .service-card {
        padding: 25px;
    }

    .service-card h3 {
        font-size: 23px;
    }

    .process-grid, .contact-grid {
        gap: 50px;
    }

    .price-card {
        padding: 24px;
    }

    .about-grid {
        gap: 50px;
    }

    .custom-plan > div {
        display: block;
    }

    .custom-plan span {
        display: block;
        margin-top: 5px;
    }

    .faq-grid {
        gap: 65px;
    }
}

/* ==========================================================
   12. RESPONSIVO — TELEMÓVEL
   Reorganiza grelhas, navegação e espaçamentos para ecrãs pequenos.
   A navegação continua acessível mesmo quando JavaScript está
   desativado; com JS ativo, o botão controla a abertura do menu.
   ========================================================== */

@media (max-width: 800px) {
    .container {
        width: calc(100% - 40px);
    }

    .header-inner {
        min-height: 84px;
        flex-wrap: wrap;
    }

    .brand-mark {
        font-size: 34px;
    }

    .main-nav {
        width: 100%;
        padding: 20px 0;
        justify-content: space-between;
        gap: 14px;
        flex-wrap: wrap;
        font-size: 11px;
    }

    .main-nav .nav-cta {
        width: 100%;
    }

    .js .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 42px;
        height: 42px;
        border: 1px solid var(--line-dark);
        border-radius: 5px;
        background: transparent;
    }

    .menu-toggle span {
        width: 19px;
        height: 1px;
        background: var(--paper);
        display: block;
        margin-inline: auto;
    }

    .js .main-nav {
        display: none;
    }

    .js .main-nav.is-open {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 52px;
        padding-bottom: 20px;
        gap: 25px;
    }

    .hero h1 {
        font-size: clamp(48px, 9vw, 73px);
        max-width: 650px;
    }

    .hero-copy .eyebrow {
        font-size: 10px;
    }

    .hero-description {
        max-width: 460px;
        font-size: 14px;
        margin: 24px 0;
    }

    .hero-stage {
        width: min(570px, 100%);
        justify-self: center;
        height: 480px;
    }

    .hero-image-wrap {
        top: 0;
        bottom: 0;
        left: -12px;
        right: -12px;
    }

    .hero-sticker {
        top: 64px;
        left: 5px;
    }

    .hero-orbit {
        right: 25px;
        top: 40px;
    }

    .status-pill {
        right: 0;
        top: 5px;
        font-size: 9px;
    }

    .hero-bottom {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 11px;
        padding-block: 25px;
    }

    .hero-bottom p {
        grid-column: 1;
    }

    .hero-bottom > a {
        grid-column: 2;
        grid-row: 1 / 4;
    }

    .section-padding {
        padding-block: 70px;
    }

    .section-heading {
        display: block;
        margin-bottom: 32px;
    }

    .section-heading .section-intro {
        max-width: 420px;
        margin-top: 22px;
        font-size: 13px;
    }

    .section-heading .button {
        margin-top: 27px;
    }

    .eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
    }

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

    .service-card {
        padding: 30px;
    }

    .service-card + .service-card {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-card-top {
        margin-bottom: 25px;
    }

    .service-card p {
        max-width: 500px;
    }

    .portfolio-section {
        padding-top: 0;
    }

    .project-grid {
        gap: 35px 20px;
    }

    .project-info {
        flex-direction: column;
        gap: 12px;
    }

    .project-info h3 {
        font-size: 21px;
    }

    .project-art-name {
        left: 18px;
        top: 13px;
        font-size: 22px;
    }

    .project-art-detail {
        left: 18px;
        bottom: 18px;
        font-size: 6px;
    }

    .project-open {
        width: 33px;
        height: 33px;
        right: 12px;
        bottom: 12px;
    }

    .project-open .icon {
        width: 18px;
    }

    .statement-strip {
        padding-block: 19px;
    }

    .statement-strip > div {
        font-size: 22px;
        gap: 25px;
    }

    .statement-strip span {
        font-size: 29px;
    }

    .process-grid, .contact-grid, .faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-intro {
        position: relative;
    }

    .process-asterisk {
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 75px;
        opacity: .3;
        margin: 0;
    }

    .process-steps h3 {
        font-size: 23px;
    }

    .process-steps p {
        max-width: none;
    }

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

    .price-card {
        padding: 30px;
    }

    .plan-description {
        max-width: none;
        min-height: 0;
    }

    .price-card-label {
        margin-bottom: 23px;
    }

    .price {
        padding-block: 22px;
    }

    .feature-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .custom-plan {
        padding: 23px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: .8fr 1fr;
        gap: 30px;
    }

    .about-visual {
        min-height: 340px;
        padding: 30px 22px;
    }

    .about-wordmark {
        font-size: 90px;
    }

    .about-caption {
        left: 22px;
        font-size: 8px;
    }

    .about-star {
        font-size: 70px;
        bottom: 70px;
    }

    .about-copy h2 {
        font-size: 34px;
    }

    .about-copy > p:not(.eyebrow) {
        font-size: 12px;
    }

    .contact-grid {
        gap: 50px;
    }

    .contact-signature {
        display: none;
    }

    .contact-email {
        margin-top: 25px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
    }

    .footer-bottom > div {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom .back-top {
        margin-left: auto;
    }

    .page-intro {
        padding-bottom: 60px;
    }

    .portfolio-cta {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 60px;
    }
}

@media (max-width: 520px) {
    .hero-stage {
        height: 350px;
        margin-top: 10px;
    }

    .hero-image-wrap {
        top: 25px;
    }

    .hero-orbit {
        width: 270px;
        height: 270px;
        right: 10px;
    }

    .hero-sticker {
        width: 84px;
        height: 84px;
        font-size: 7px;
        left: 0;
        top: 50px;
    }

    .hero-sticker > span {
        font-size: 24px;
    }

    .status-pill {
        top: 0;
        font-size: 8px;
        padding: 8px 10px;
    }

    .stage-caption {
        left: 0;
    }

    .hero h1 {
        font-size: clamp(44px, 11.8vw, 60px);
    }

    .hero-description {
        font-size: 13px;
        max-width: 340px;
    }

    .hero-copy .button {
        gap: 15px;
        font-size: 12px;
        padding-inline: 20px;
    }

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

    .project-info {
        flex-direction: row;
    }

    .project-info p {
        font-size: 11px;
    }

    .project-info .tag {
        font-size: 8px;
        padding-inline: 8px;
    }

    .project-art-name {
        font-size: 28px;
        top: 20px;
        left: 25px;
    }

    .project-art-detail {
        font-size: 7px;
        left: 25px;
        bottom: 23px;
    }

    .project-art--type strong {
        font-size: 63px;
    }

    .feature-list {
        display: block;
    }

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

    .about-visual {
        min-height: 320px;
        padding: 35px;
    }

    .about-wordmark {
        font-size: 110px;
    }

    .about-caption {
        left: 35px;
        bottom: 25px;
    }

    .about-star {
        font-size: 90px;
        bottom: 25px;
        right: 30px;
    }

    .about-copy > p:not(.eyebrow) {
        font-size: 14px;
    }

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

    .contact-copy h2 {
        font-size: 45px;
    }

    .contact-email {
        font-size: 22px;
    }

    .footer-main {
        gap: 25px;
    }

    .footer-main nav {
        gap: 14px;
        font-size: 11px;
    }

    .footer-bottom {
        font-size: 8px;
    }

    .footer-bottom .back-top {
        margin-left: 0;
    }

    .process-asterisk {
        display: none;
    }
}

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

    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================
   13. CATÁLOGO DE SOLUÇÕES
   Cartões, filtros, promessas, detalhes de serviço e propostas.
   Preços e conteúdos reutilizam a mesma identidade da homepage.
   ========================================================== */

.main-nav [aria-current="page"] {
    color: var(--lime);
}

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

.solution-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fafbf4;
    transition: background .2s, border-color .2s;
}

.solution-card:hover {
    background: #edf2e1;
    border-color: #adbfa0;
}

.solution-card > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 29px;
}

.solution-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 28px;
}

.solution-category {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    text-align: right;
    color: #6c7b60;
    max-width: 130px;
}

.solution-card h3 {
    font-size: 27px;
    margin-bottom: 16px;
}

.solution-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    padding-bottom: 28px;
}

.solution-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 13px;
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 20px;
    font-size: 11px;
    font-weight: 700;
}

.solution-card-bottom .icon {
    width: 19px;
}

.section-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 32px;
}

.section-more p {
    color: var(--muted);
    font-size: 12px;
}

.section-more .button {
    font-size: 12px;
}

.catalog-intro h1 {
    max-width: 1100px;
}

.page-intro.catalog-intro > .container > p:not(.eyebrow) {
    color: #b1b9a5;
    max-width: 600px;
    margin-top: 25px;
}

.catalog-promises {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-top: 35px;
}

.catalog-promises > span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c6d2b8;
    font-size: 11px;
}

.catalog-promises .icon {
    width: 16px;
    height: 16px;
    color: var(--lime);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.catalog-toolbar .eyebrow {
    margin: 0;
}

.catalog-toolbar > span {
    font-size: 11px;
    color: var(--muted);
}

.catalog-filters {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.js .catalog-filters {
    display: flex;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
}

.infrastructure-grid h2 {
    font-size: clamp(32px, 3.5vw, 49px);
}

.infrastructure-grid > div > p:last-child {
    color: #a8ae9f;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 24px;
}

.cost-layers article {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-block: 24px;
    border-top: 1px solid var(--line-dark);
}

.cost-layers article > span {
    color: var(--lime);
    font-size: 12px;
}

.cost-layers h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.cost-layers p {
    color: #a8ae9f;
    font-size: 12px;
    line-height: 1.9;
}

.catalogue-cta {
    text-align: center;
}

.catalogue-cta .tiny-cross {
    font-size: 62px;
    display: block;
    margin-bottom: 30px;
}

.catalogue-cta h2 {
    font-size: clamp(30px, 4vw, 49px);
}

.catalogue-cta p {
    color: var(--muted);
    font-size: 14px;
    margin: 22px 0 30px;
}

.service-intro .eyebrow .icon {
    color: var(--lime);
    width: 22px;
    height: 22px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 45px;
    align-items: start;
}

.service-detail-copy h2 {
    font-size: clamp(30px, 3.3vw, 45px);
}

.service-detail-copy > p:not(.eyebrow) {
    margin-top: 26px;
    color: var(--muted);
    line-height: 1.9;
}

.audience-block {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    margin-top: 30px;
}

.audience-block h3 {
    font-size: 22px;
    margin-bottom: 13px;
}

.audience-block p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.service-reference {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 17px;
    padding: 26px;
    border-radius: 8px;
    border: 1px solid #cddaba;
    background: #e9f0df;
    margin-top: 10px;
}

.service-reference > span {
    color: #587b34;
}

.service-reference > div > p:first-child {
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .09em;
}

.service-reference h3 {
    font-size: 25px;
    margin: 10px 0;
}

.service-reference > div > p:last-child {
    font-size: 12px;
    color: var(--muted);
}

.service-reference > a {
    grid-column: 2;
    justify-self: start;
    font-size: 11px;
}

.service-proposal {
    background: var(--dark);
    color: var(--paper);
    border-radius: 10px;
    padding: 36px;
}

.service-proposal > .eyebrow {
    color: #bfd3a4;
    font-size: 9px;
}

.price-prefix {
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 20px;
}

.price-card .price {
    padding: 5px 0 10px;
}

.price-card .price strong {
    font-size: clamp(47px, 5.3vw, 75px);
}

.billing-caption {
    font-size: 10px;
    color: var(--muted);
    margin: 0 0 22px;
}

.price-card--featured .price-prefix, .price-card--featured .billing-caption {
    color: #455734;
}

.service-proposal .price-prefix, .service-proposal .billing-caption {
    color: #b7c5a4;
}

.service-proposal .price {
    padding: 7px 0 10px;
}

.service-proposal .price strong {
    font-size: clamp(52px, 5.5vw, 80px);
}

.service-proposal .feature-list {
    border-top: 1px solid var(--line-dark);
    padding-top: 15px;
}

.service-proposal .feature-list .icon {
    color: var(--lime);
}

.service-proposal .button {
    margin-top: 30px;
    width: 100%;
    justify-content: space-between;
}

.service-proposal .microcopy {
    text-align: center;
    font-size: 10px;
}

.quote-price {
    margin-block: 25px;
}

.service-scope {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 29px;
}

.service-scope h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-scope p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
    max-width: 930px;
}

.service-scope p + p {
    margin-top: 12px;
    font-size: 10px;
}

.related-services {
    padding-top: 30px;
    padding-bottom: 100px;
}

/* ==========================================================
   14. PORTFÓLIO — MR. ADOLY
   Variação visual específica do projeto Mr. Adoly, mantendo o
   sistema geral de cartões do portfólio.
   ========================================================== */

.project-preview--barber {
    background: #203c34;
    color: #f4e8d2;
}

.barber-art {
    position: absolute;
    inset: 0;
    padding: 30px;
    overflow: hidden;
}

.barber-art-caption {
    font-size: 8px;
    letter-spacing: .2em;
}

.barber-art > strong {
    display: block;
    position: relative;
    z-index: 2;
    font-family: Georgia, serif;
    font-size: clamp(35px, 4vw, 57px);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 14px;
    letter-spacing: -.04em;
}

.barber-art > strong > span {
    color: #dabf8e;
}

.barber-art > img {
    position: absolute;
    right: -22px;
    top: 8%;
    width: 51%;
    opacity: .95;
    transform: rotate(12deg);
}

.barber-booking {
    position: absolute;
    left: 30px;
    right: 24%;
    bottom: 21%;
    z-index: 2;
    padding: 18px 21px;
    background: #fcf6e8;
    color: #254137;
    border-radius: 7px;
    transform: rotate(-4deg);
    box-shadow: 0 12px 40px #0002;
}

.barber-booking > span {
    display: block;
    font-size: 10px;
    margin-bottom: 7px;
}

.barber-booking b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 500;
}

.barber-booking .icon {
    width: 18px;
}

.barber-art-footer {
    position: absolute;
    left: 30px;
    bottom: 27px;
    font-size: 7px;
    letter-spacing: .09em;
    font-weight: bold;
    color: #ffffff;
}

.project-progress {
    position: absolute;
    right: 20px;
    bottom: 20px;
    border: 1px solid #8295af;
    border-radius: 30px;
    padding: 6px 13px;
    background: #f5f7fc;
    color: #3e587c;
    font-size: 10px;
}

@media (max-width: 1100px) {
    .solutions-grid {
        gap: 16px;
    }

    .solution-card > a {
        padding: 24px;
    }

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

    .solution-card-bottom {
        font-size: 10px;
    }

    .service-detail-grid, .infrastructure-grid {
        gap: 45px;
    }

    .service-proposal {
        padding: 29px;
    }
}

@media (max-width: 800px) {
    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-more {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .service-detail-grid, .infrastructure-grid {
        grid-template-columns: 1fr;
    }

    .service-proposal .feature-list {
        display: block;
    }

    .service-detail-grid {
        gap: 30px;
    }

    .catalog-promises {
        gap: 15px;
    }

    .catalog-promises > span {
        font-size: 10px;
    }

    .catalog-toolbar {
        align-items: flex-start;
    }

    .catalog-toolbar > span {
        font-size: 9px;
        white-space: nowrap;
    }

    .barber-art {
        padding: 20px;
    }

    .barber-art-caption {
        font-size: 6px;
    }

    .barber-art > strong {
        font-size: 33px;
        margin-top: 8px;
    }

    .barber-booking {
        left: 20px;
        padding: 12px;
        right: 20%;
    }

    .barber-booking > span {
        font-size: 8px;
    }

    .barber-booking b {
        font-size: 11px;
        gap: 8px;
    }

    .barber-art-footer {
        font-size: 6px;
        left: 20px;
        bottom: 20px;
    }

    .related-services {
        padding-bottom: 65px;
    }
}

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

    .solution-card > a {
        padding: 28px;
    }

    .solution-card h3 {
        font-size: 27px;
    }

    .solution-card-bottom {
        font-size: 11px;
    }

    .catalog-toolbar {
        flex-direction: column;
    }

    .service-reference {
        padding: 20px;
        grid-template-columns: 25px 1fr;
    }

    .service-proposal {
        padding: 28px;
    }

    .barber-art {
        padding: 27px;
    }

    .barber-art > strong {
        font-size: 43px;
    }

    .barber-art-caption {
        font-size: 7px;
    }

    .barber-booking {
        left: 25px;
        padding: 17px;
    }

    .barber-booking b {
        font-size: 14px;
    }

    .barber-art-footer {
        left: 25px;
        font-size: 7px;
    }
}

/* ==========================================================
   15. LAB / DEMONSTRAÇÕES INTERATIVAS
   Área de demonstrações locais: tabs, mockups, configurações,
   seletores, resultados e exemplos de produtos/experiências.
   Mantém a mesma linguagem visual das soluções e preços.
   ========================================================== */

.anchor-target, #experimentar {
    scroll-margin-top: 105px;
}

.renewal-caption {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #526343;
    line-height: 1.6;
}

.solution-card--featured {
    background: #edf5e0;
    border-color: #b6cc9f;
}

.solution-badge {
    align-self: flex-start;
    padding: 5px 9px;
    background: var(--lime);
    color: var(--dark);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .07em;
    border-radius: 4px;
    margin-bottom: 13px;
}

.renewal-box {
    border: 1px solid #5a694b;
    border-radius: 7px;
    padding: 17px;
    margin-bottom: 24px;
}

.renewal-box strong {
    color: var(--lime);
    font-size: 15px;
}

.renewal-box p {
    color: #b7c5a4;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 10px;
}

/* Mantém a margem da demonstração dentro do fundo claro da página de serviço. */
.service-demo-section {
    display: flow-root;
}

.solution-lab {
    background: var(--dark);
    border-radius: 14px;
    color: var(--paper);
    padding: 34px;
    margin: 0 0 40px;
}

.lab-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.lab-heading .eyebrow {
    color: var(--lime);
    margin: 0;
    font-size: 9px;
}

.lab-heading > p:last-child {
    font-size: 11px;
    color: #bdc6b2;
}

.lab-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #46523b;
    padding-bottom: 22px;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.lab-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #252c20;
    border: 1px solid #46523b;
    border-radius: 30px;
    padding: 11px 15px;
    color: #d5decb;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.lab-tabs button .icon {
    width: 16px;
    height: 16px;
}

.lab-tabs [aria-selected="true"] {
    background: var(--lime);
    color: var(--dark);
    border-color: var(--lime);
}

.lab-panel {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 55px;
    align-items: center;
}

.lab-story h3 {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.13;
    margin: 22px 0;
    max-width: 420px;
}

.demo-badge {
    font-size: 8px;
    letter-spacing: .1em;
    color: #bfd3a4;
}

.lab-story > p {
    font-size: 13px;
    color: #bdc6b2;
    line-height: 1.9;
}

.lab-story .lab-benefit {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 24px;
    color: #dce7cf;
    font-size: 11px;
}

.lab-benefit .icon {
    flex: 0 0 18px;
    color: var(--lime);
    height: 18px;
}

.lab-price {
    display: grid;
    gap: 7px;
    margin: 27px 0;
}

.lab-price strong {
    font-size: 20px;
    font-family: var(--font-heading);
}

.lab-price span {
    font-size: 12px;
    color: #bdc6b2;
}

.lab-story .button {
    font-size: 11px;
}

.lab-real-project {
    display: block;
    font-size: 10px;
    line-height: 1.8;
    margin-top: 18px;
    color: #c6d6b6;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.demo-window {
    color: var(--dark);
    background: #f9faf3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 45px #0003;
    min-width: 0;
}

.demo-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 20px;
    border-bottom: 1px solid #dce2d3;
    color: #637155;
    font-size: 7px;
    letter-spacing: .08em;
}

.demo-window-bar > span:first-child {
    color: #aebba0;
    letter-spacing: 3px;
}

.demo-window-body {
    padding: 25px;
}

.demo-kicker {
    color: #637155;
    font-size: 8px;
    letter-spacing: .09em;
    margin-bottom: 12px;
}

.demo-window h4 {
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: -.03em;
}

.demo-window label {
    display: grid;
    gap: 8px;
    font-size: 10px;
    font-weight: 650;
    margin: 14px 0;
    min-width: 0;
}

.demo-window input, .demo-window select {
    border: 1px solid #cbd6bf;
    border-radius: 5px;
    background: #fff;
    color: var(--dark);
    padding: 11px;
    font: inherit;
    font-size: 12px;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    color-scheme: light;
}

.demo-window fieldset {
    border: 0;
    min-width: 0;
    padding: 0;
    margin: 17px 0;
}

.demo-window legend {
    font-size: 10px;
    font-weight: 650;
    margin-bottom: 10px;
}

.demo-slots > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.demo-slots button {
    padding: 10px;
    border: 1px solid #cbd6bf;
    border-radius: 5px;
    font: inherit;
    font-size: 11px;
    background: white;
    color: var(--dark);
    cursor: pointer;
}

.demo-slots button[aria-pressed="true"] {
    background: var(--dark);
    color: var(--lime);
    border-color: var(--dark);
}

.demo-slots button:disabled {
    color: #9ba392;
    text-decoration: line-through;
    background: #eef0e9;
    cursor: default;
}

.demo-result {
    padding: 13px;
    background: #e9efdf;
    border-radius: 5px;
    color: #344828;
    font-size: 12px;
    line-height: 1.7;
    margin: 17px 0;
}

.demo-window .button {
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
    min-height: 44px;
}

.demo-window .button:disabled {
    opacity: .55;
    cursor: default;
}

.demo-disclaimer {
    font-size: 9px;
    line-height: 1.7;
    color: #626e58;
    margin-top: 18px;
}

.demo-confirmation {
    color: #3a522d;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 15px;
}

.demo-confirmation:empty {
    display: none;
}

.demo-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-hint {
    color: #647358;
    font-size: 10px;
    line-height: 1.8;
    margin-top: 15px;
}

.product-preview {
    background: #eaf0e2;
    border-radius: 7px;
    display: grid;
    place-items: center;
    height: 190px;
    color: #2d3c28;
}

.product-preview svg {
    height: 175px;
    max-width: 100%;
    filter: drop-shadow(0 7px 3px #29332015);
}

.product-shirt {
    fill: #96ad84;
    transition: fill .2s;
}

.product-preview[data-color="ink"] .product-shirt {
    fill: #252c24;
}

.product-preview[data-color="sand"] .product-shirt {
    fill: #d9c6a0;
}

.product-print {
    fill: #233321;
    font-size: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.product-preview[data-color="ink"] .product-print {
    fill: #dfedce;
}

.product-print--embroidery {
    letter-spacing: 2px;
    font-size: 9px;
}

.demo-swatches > div {
    display: flex;
    gap: 10px;
}

.swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #f9faf3;
    outline: 1px solid #cbd6bf;
    cursor: pointer;
}

.swatch[aria-pressed="true"] {
    outline: 2px solid #24371c;
}

.swatch--sage {
    background: #96ad84;
}

.swatch--ink {
    background: #252c24;
}

.swatch--sand {
    background: #d9c6a0;
}

.stay-illustration {
    position: relative;
    overflow: hidden;
    min-height: 155px;
    border-radius: 7px;
    background: #d4dfbe;
    padding: 22px;
    display: grid;
    align-content: start;
    gap: 12px;
    margin-bottom: 22px;
}

.stay-illustration span {
    font-size: 8px;
    letter-spacing: .12em;
    color: #3c5330;
    position: relative;
    z-index: 1;
}

.stay-illustration b {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: 27px;
    max-width: 160px;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.stay-illustration::before {
    content: "";
    position: absolute;
    background: #9aaa7b;
    width: 190px;
    height: 150px;
    border-radius: 50%;
    right: -40px;
    bottom: -70px;
    transform: rotate(-20deg);
}

.stay-illustration::after {
    content: "";
    width: 90px;
    height: 105px;
    position: absolute;
    right: 27px;
    bottom: -10px;
    background: #efe3c1;
    clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 100%, 0 100%);
}

.menu-demo-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 10px;
}

.menu-demo-filters button {
    border: 1px solid #cbd6bf;
    background: transparent;
    border-radius: 25px;
    color: #435535;
    padding: 9px 13px;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.menu-demo-filters button[aria-pressed="true"] {
    background: #2b4022;
    color: #f3f7ee;
    border-color: #2b4022;
}

.demo-menu article {
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid #dce2d3;
    padding: 20px 0;
}

.demo-menu article > span {
    color: #819270;
    font-size: 10px;
}

.demo-menu article > div {
    flex: 1;
}

.demo-menu h5 {
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 7px;
}

.demo-menu p {
    color: #647358;
    font-size: 10px;
    line-height: 1.6;
}

.demo-menu strong {
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .lab-panel {
        gap: 25px;
    }

    .solution-lab {
        padding: 27px;
    }

    .lab-tabs button {
        font-size: 10px;
        padding: 10px 12px;
    }

    .lab-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 750px) {
    .lab-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .lab-story h3 {
        max-width: 540px;
        font-size: 34px;
    }

    .lab-story > p {
        max-width: 540px;
    }

    .lab-tabs {
        gap: 9px;
        margin-bottom: 25px;
    }

    .solution-lab {
        padding: 24px;
    }
}

@media (max-width: 430px) {
    .solution-lab {
        padding: 18px;
    }

    .lab-tabs button {
        justify-content: flex-start;
        width: calc(50% - 5px);
        border-radius: 8px;
        text-align: left;
        font-size: 9px;
    }

    .lab-tabs button .icon {
        flex: 0 0 15px;
    }

    .demo-window-body {
        padding: 18px;
    }

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

    .lab-story h3 {
        font-size: 29px;
    }
}
