/**
 * SEIGAN Modelo 1 - Home institucional completa
 * Paleta clara baseada na referência enviada: areia/taupe premium.
 */

:root {
    --accent: #B78F69;
    --accent-dark: #8C674A;
    --accent-deep: #6E4F39;
    --accent-soft: #E8D4C1;
    --accent-ultra: #F5E9DC;
    --ink: #1F2527;
    --muted: #6F6A64;
    --paper: #FBF7F1;
    --paper-2: #F4EEE6;
    --white: #FFFFFF;
    --green: #5F7865;
    --line: rgba(31, 37, 39, .10);
    --line-strong: rgba(183, 143, 105, .28);
    --shadow: 0 24px 70px rgba(31, 37, 39, .12);
    --shadow-soft: 0 16px 42px rgba(31, 37, 39, .08);
    --radius: 30px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(251, 247, 241, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

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

.brand-logo {
    width: 150px;
    max-height: 92px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    transition: color .25s ease, transform .25s ease;
}

.main-nav a:hover {
    color: var(--accent-dark);
    transform: translateY(-1px);
}

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-light,
.btn-outline-light,
button.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 16px 40px rgba(183, 143, 105, .28);
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.nav-cta {
    min-height: 44px;
    padding: 0 20px;
}

.btn-primary:hover,
.nav-cta:hover,
.btn-light:hover,
.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(183, 143, 105, .35);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink) !important;
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
}

.btn-light {
    background: var(--white);
    color: var(--accent-deep) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,.5);
    color: var(--white) !important;
    box-shadow: none;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--white);
    border-radius: 14px;
    width: 48px;
    height: 48px;
    font-size: 24px;
    color: var(--accent-dark);
}

.hero-home {
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
    min-height: calc(100vh - 96px);
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 80% 15%, rgba(183, 143, 105, .18), transparent 34%),
        linear-gradient(135deg, #FBF7F1 0%, #F4EEE6 58%, #EEE0D1 100%);
}

.hero-home::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% 45%;
    height: 58%;
    border-radius: 999px 0 0 0;
    background: rgba(183, 143, 105, .14);
    transform: rotate(-8deg);
}

.hero-home-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 62px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    color: var(--accent-dark);
    border: 1px solid var(--line-strong);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.eyebrow.light {
    background: rgba(255,255,255,.14);
    color: var(--white);
    border-color: rgba(255,255,255,.28);
}

.hero-home h1,
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: .96;
    margin: 24px 0;
    letter-spacing: -2px;
}

.hero-home h1 span,
.section-title span {
    color: var(--accent-dark);
}

.hero-lead,
.section-text,
.section-header p {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.9;
    color: var(--muted);
    font-weight: 500;
}

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

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 34px;
    color: var(--muted);
}

.hero-note strong {
    color: var(--accent-dark);
}

.hero-showcase {
    position: relative;
    min-height: 560px;
}

.hero-image-main {
    position: absolute;
    inset: 24px 0 0 40px;
    border-radius: 44px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 12px solid rgba(255,255,255,.68);
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    width: 230px;
    border-radius: 24px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.8);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.floating-card strong {
    display: block;
    color: var(--accent-dark);
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    line-height: 1;
}

.floating-card span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-card-top {
    top: 0;
    left: 0;
}

.floating-card-bottom {
    right: -10px;
    bottom: 20px;
}

.feature-strip {
    position: relative;
    z-index: 5;
    margin-top: -34px;
    padding: 0 0 36px;
}

.feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.feature-icon,
.portal-icon,
.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--accent-ultra);
    color: var(--accent-dark);
    font-weight: 900;
    flex: 0 0 auto;
}

.feature-item h3,
.solution-card h3,
.tech-card h3,
.portal-card h3,
.knowledge-cards h3,
.steps-grid h3 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--ink);
}

.feature-item p,
.solution-card p,
.tech-card p,
.portal-card p,
.knowledge-cards p,
.steps-grid p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header.align-left {
    text-align: left;
}

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

.solution-grid-seven .solution-card:first-child,
.solution-grid-seven .solution-card:nth-child(7) {
    grid-column: span 2;
}

.solution-card,
.portal-card,
.tech-card,
.stat-card,
.structure-card,
.highlight-box,
.lead-card,
.contact-info-card,
.intelligence-panel,
.prime-control-card,
.market-card,
.simulator-visual-card {
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.74);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.solution-card {
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.solution-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.solution-image {
    min-height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.solution-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(31,37,39,.05), rgba(31,37,39,.46));
}

.solution-image span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: rgba(255,255,255,.9);
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-content {
    padding: 24px;
}

.solution-content a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent-dark);
    font-weight: 900;
    text-decoration: none;
}

.about-section {
    background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.about-grid,
.knowledge-grid,
.investment-grid,
.intelligence-grid,
.simulation-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.highlight-box,
.structure-card {
    padding: 34px;
}

.highlight-box {
    border-left: 6px solid var(--accent);
    margin-top: 26px;
}

.highlight-box h3,
.structure-card h3,
.intelligence-panel h2,
.prime-control-card h3,
.market-head strong,
.cta-wide h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    line-height: 1.08;
    margin: 0 0 16px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 900;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    padding: 34px 20px;
}

.stat-card strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--accent-dark);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.tech-grid,
.portal-card-grid,
.steps-grid,
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 24px;
}

.tech-card,
.portal-card {
    padding: 34px;
}

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

.project-tabs,
.gallery-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.tab-button,
.gallery-button {
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.tab-button.active,
.gallery-button.active {
    background: var(--accent-dark);
    color: var(--white);
    border-color: var(--accent-dark);
}

.tab-button.disabled {
    opacity: .42;
    cursor: not-allowed;
}

.portfolio-panel,
.gallery-grid {
    display: none;
}

.portfolio-panel.active,
.gallery-grid.active {
    display: grid;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-grid-internos {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

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

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease, filter .45s ease;
}

.gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.03);
}

.gallery-grid-two .gallery-item {
    aspect-ratio: 16 / 10;
}

.gallery-grid-two .gallery-item img {
    object-fit: contain;
    background: #F4EFE7;
}

.knowledge-section {
    background: linear-gradient(135deg, #F7F0E8, #EFE0D1);
}

.knowledge-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.knowledge-cards article,
.steps-grid article,
.process-list div,
.portal-grid.compact article {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 24px;
    padding: 24px;
}

.knowledge-cards strong,
.steps-grid strong {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-ultra);
    color: var(--accent-dark);
    margin-bottom: 16px;
}

.cta-wide {
    padding: 86px 0;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(110,79,57,.94), rgba(183,143,105,.90)),
        url('https://seiganconstrutora.com.br/wp-content/uploads/2022/09/cta_bg.jpg') center/cover no-repeat;
}

.cta-wide-inner {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.cta-wide h2 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    max-width: 850px;
}

.cta-wide p {
    font-size: 18px;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
    max-width: 720px;
}

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

.process-list {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.process-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    align-items: center;
}

.process-list strong {
    color: var(--accent-dark);
    font-weight: 900;
}

.process-list span {
    color: var(--muted);
}

.market-card {
    padding: 34px;
    background: linear-gradient(180deg, #25211F, #463629);
    color: var(--white);
}

.market-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.market-head span,
.market-line span {
    color: rgba(255,255,255,.66);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.market-head strong {
    color: var(--white);
    text-align: right;
}

.market-line {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.market-line strong {
    color: #BFE6C9;
}

.market-chart {
    height: 210px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin: 30px 0;
}

.market-chart span {
    flex: 1;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #E8D4C1, #B78F69);
    min-height: 44px;
}

.market-chart span:nth-child(1) { height: 44%; }
.market-chart span:nth-child(2) { height: 60%; }
.market-chart span:nth-child(3) { height: 50%; }
.market-chart span:nth-child(4) { height: 76%; }
.market-chart span:nth-child(5) { height: 64%; }
.market-chart span:nth-child(6) { height: 90%; }

.market-card p {
    color: rgba(255,255,255,.78);
    line-height: 1.8;
}

.intelligence-section {
    background: linear-gradient(135deg, var(--white), var(--paper-2));
}

.intelligence-panel,
.prime-control-card {
    padding: 38px;
}

.intelligence-panel h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
}

.intelligence-panel p,
.prime-control-card p {
    color: var(--muted);
    line-height: 1.85;
}

.prime-control-card > span {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.portal-grid.compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
}

.portal-grid.compact article {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    box-shadow: none;
}

.portal-grid.compact strong {
    color: var(--accent-dark);
}

.portal-grid.compact span {
    color: var(--muted);
}

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

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

.partners-grid {
    grid-template-columns: repeat(6, 1fr);
}

.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.partner-card img {
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .78;
}

.simulation-section {
    background: linear-gradient(135deg, #F7F0E8, #EFE0D1);
}

.simulator-visual-card {
    position: relative;
    padding: 42px;
    min-height: 500px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.simulator-visual-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(183,143,105,.14);
}

.mini-house {
    position: relative;
    width: 310px;
    height: 260px;
    transform: perspective(900px) rotateX(58deg) rotateZ(-35deg);
    transform-style: preserve-3d;
    z-index: 2;
}

.mini-house .body,
.mini-house .roof,
.mini-house .door,
.mini-house .window {
    position: absolute;
    display: block;
}

.mini-house .body {
    left: 40px;
    top: 78px;
    width: 230px;
    height: 150px;
    background: #F3E5D8;
    border: 8px solid #FFFFFF;
    box-shadow: 35px 35px 0 rgba(31,37,39,.08);
}

.mini-house .roof {
    left: 24px;
    top: 26px;
    width: 260px;
    height: 90px;
    background: var(--accent);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mini-house .door {
    left: 142px;
    top: 150px;
    width: 36px;
    height: 78px;
    background: var(--accent-dark);
}

.mini-house .window {
    top: 130px;
    width: 42px;
    height: 34px;
    background: #BBD8E3;
    border: 5px solid #FFFFFF;
}

.mini-house .window-one { left: 76px; }
.mini-house .window-two { right: 72px; }

.simulator-small-cards {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 28px;
}

.simulator-small-cards span {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 14px;
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    color: var(--accent-dark);
    text-transform: uppercase;
    text-align: center;
}

.steps-grid {
    margin: 28px 0 0;
}

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

.contact-grid {
    align-items: start;
}

.contact-info-card {
    padding: 28px;
    margin-top: 24px;
}

.contact-info-card p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.lead-card {
    padding: 34px;
}

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

label {
    display: block;
    margin: 14px 0 8px;
    font-size: 12px;
    font-weight: 900;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    padding: 15px 16px;
    font: inherit;
    color: var(--ink);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(183,143,105,.13);
}

.lead-card button {
    margin-top: 18px;
    width: 100%;
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-weight: 800;
}

.alert-success {
    background: #E9F8ED;
    color: #1C6936;
}

.alert-error {
    background: #FFE5E5;
    color: #8A1E1E;
}

.site-footer {
    background: #211C19;
    color: var(--white);
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1fr;
    gap: 34px;
}

.footer-logo {
    filter: brightness(1.2);
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,.72);
    line-height: 1.8;
    font-size: 14px;
}

.site-footer a {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.site-footer h4 {
    margin: 0 0 16px;
    color: var(--white);
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer-socials a {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 8px 14px;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 26px;
    margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.58);
    font-size: 12px;
}

@media (max-width: 1180px) {
    .main-nav {
        position: fixed;
        inset: 96px 18px auto 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(251,247,241,.98);
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 22px;
        box-shadow: var(--shadow);
    }

    body.menu-open .main-nav {
        display: flex;
    }

    .main-nav a {
        padding: 14px 12px;
        border-radius: 14px;
        background: rgba(255,255,255,.62);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .hero-home-grid,
    .about-grid,
    .knowledge-grid,
    .investment-grid,
    .intelligence-grid,
    .simulation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 460px;
    }

    .feature-strip-grid,
    .stats-grid,
    .gallery-grid,
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-grid,
    .tech-grid,
    .portal-card-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .solution-grid-seven .solution-card:first-child,
    .solution-grid-seven .solution-card:nth-child(7) {
        grid-column: span 1;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1220px);
    }

    .header-inner {
        height: 82px;
    }

    .brand-logo {
        width: 124px;
        max-height: 80px;
    }

    .main-nav {
        inset: 82px 14px auto 14px;
    }

    .hero-home {
        padding: 58px 0 44px;
    }

    .hero-home h1,
    .section-title {
        font-size: clamp(2.55rem, 14vw, 3.5rem);
    }

    .hero-showcase {
        min-height: 380px;
    }

    .hero-image-main {
        inset: 34px 0 0 0;
        border-width: 8px;
        border-radius: 32px;
    }

    .floating-card {
        width: 180px;
        padding: 16px;
    }

    .floating-card strong {
        font-size: 30px;
    }

    .floating-card-bottom {
        right: 8px;
        bottom: 0;
    }

    .feature-strip-grid,
    .solution-grid,
    .tech-grid,
    .portal-card-grid,
    .stats-grid,
    .knowledge-cards,
    .gallery-grid,
    .gallery-grid-two,
    .steps-grid,
    .partners-grid,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .gallery-grid,
    .gallery-grid-internos,
    .gallery-grid-two {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item,
    .gallery-grid-two .gallery-item {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .gallery-grid-two .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .process-list div,
    .portal-grid.compact article {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* =========================================================
   LOGIN / PORTAL - correção visual
========================================================= */
.login-page {
    min-height: 100vh;
    padding: 42px 18px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 12% 12%, rgba(183, 143, 105, .18), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(95, 120, 101, .16), transparent 28%),
        linear-gradient(135deg, #FBF7F1 0%, #F1E7DC 100%);
}

.login-card {
    width: min(100%, 560px);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 34px;
    padding: clamp(28px, 5vw, 48px);
    box-shadow: 0 28px 90px rgba(31, 37, 39, .16);
    backdrop-filter: blur(18px);
}

.login-card .brand {
    margin-bottom: 28px;
    gap: 14px;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.login-card .brand strong {
    display: block;
    font-size: 18px;
    letter-spacing: 1.4px;
}

.login-card .brand small {
    color: var(--muted);
    letter-spacing: .5px;
}

.login-card h1 {
    margin-top: 0;
}

.login-card input {
    min-height: 56px;
}

.login-card .hero-actions {
    margin-top: 26px;
}

/* =========================================================
   REALIDADE VIRTUAL / 3D - vitrine da home
========================================================= */
.virtual-section {
    background:
        linear-gradient(135deg, #061014 0%, #0C1B20 52%, #071115 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.virtual-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px),
        radial-gradient(circle at 78% 78%, rgba(89, 220, 232, .22), transparent 24%);
    background-size: 60px 60px, 60px 60px, auto;
    opacity: .76;
    pointer-events: none;
}

.virtual-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 48px;
    align-items: center;
}

.virtual-copy .section-title,
.virtual-copy .section-text {
    color: #fff;
}

.virtual-copy .section-text {
    color: rgba(255, 255, 255, .78);
}

.virtual-card {
    background: #F8F8F5;
    color: #071115;
    border-radius: 36px;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    box-shadow: 0 36px 90px rgba(0, 0, 0, .34);
}

.virtual-topline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
    color: #182A33;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    font-weight: 900;
}

.virtual-topline span {
    width: 82px;
    height: 1px;
    background: #2B78FF;
}

.virtual-card h3 {
    margin: 0 0 24px;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(2.4rem, 7vw, 5.2rem);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #06112A;
}

.virtual-stage {
    min-height: 430px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10, 24, 32, .06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(10, 24, 32, .06) 1px, transparent 1px),
        radial-gradient(circle at 88% 88%, rgba(88, 225, 236, .30), transparent 22%),
        #FCFCFA;
    background-size: 42px 42px, 42px 42px, auto, auto;
    display: grid;
    place-items: center;
}

.virtual-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 0 48%, rgba(17, 33, 42, .05) 49% 51%, transparent 52%),
        linear-gradient(45deg, transparent 0 48%, rgba(17, 33, 42, .035) 49% 51%, transparent 52%);
    background-size: 120px 120px;
    opacity: .9;
}

.virtual-project-image {
    position: relative;
    z-index: 2;
    width: min(88%, 760px);
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .22));
}

.virtual-building {
    position: relative;
    z-index: 2;
    width: min(72%, 560px);
    height: 330px;
    transform: perspective(920px) rotateX(58deg) rotateZ(-34deg);
    transform-style: preserve-3d;
    filter: drop-shadow(36px 48px 16px rgba(0, 0, 0, .18));
}

.virtual-building span {
    position: absolute;
    display: block;
    border: 1px solid rgba(0, 0, 0, .08);
}

.virtual-building .level {
    width: 300px;
    height: 175px;
    left: 120px;
    background: #D9C8B8;
    transform-style: preserve-3d;
}

.virtual-building .level::before,
.virtual-building .level::after {
    content: "";
    position: absolute;
    background: #C7B09E;
}

.virtual-building .level::before {
    width: 100%;
    height: 42px;
    left: 0;
    bottom: -42px;
    transform-origin: top;
    transform: rotateX(-90deg);
}

.virtual-building .level::after {
    width: 42px;
    height: 100%;
    right: -42px;
    top: 0;
    transform-origin: left;
    transform: rotateY(90deg);
}

.level-one { top: 142px; }
.level-two { top: 74px; transform: translateZ(58px) scale(.86); }
.level-three { top: 20px; transform: translateZ(112px) scale(.68); }

.roof-one {
    width: 356px;
    height: 68px;
    left: 92px;
    top: 76px;
    background: #E4D3C4;
    transform: translateZ(166px);
}

.glass {
    width: 48px;
    height: 54px;
    background: #0F6974;
    transform: translateZ(172px);
}

.glass-one { left: 166px; top: 132px; }
.glass-two { left: 250px; top: 132px; }
.glass-three { left: 166px; top: 214px; }
.glass-four { left: 250px; top: 214px; }

.fullscreen-button {
    position: absolute;
    z-index: 5;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: #071115;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

.virtual-stage:fullscreen {
    border-radius: 0;
    min-height: 100vh;
}

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

@media (max-width: 640px) {
    .virtual-stage {
        min-height: 330px;
    }

    .virtual-building {
        width: 96%;
        transform: perspective(850px) rotateX(58deg) rotateZ(-34deg) scale(.72);
    }

    .virtual-topline span {
        width: 36px;
    }
}

/* =========================================================
   PÁGINAS INDIVIDUAIS DE SOLUÇÕES
========================================================= */
.service-hero {
    padding: 86px 0 54px;
    background:
        radial-gradient(circle at 12% 12%, rgba(183,143,105,.20), transparent 30%),
        linear-gradient(135deg, #FBF7F1 0%, #F4EADF 100%);
    position: relative;
    overflow: hidden;
}

.service-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -38% 42%;
    height: 360px;
    background: radial-gradient(circle, rgba(95,120,101,.18), transparent 70%);
    pointer-events: none;
}

.service-hero-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 54px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.breadcrumb-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--accent-dark);
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.service-hero-copy h1 {
    margin: 12px 0 20px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.1rem, 6vw, 6.2rem);
    line-height: .96;
    letter-spacing: -2px;
    color: var(--ink);
}

.service-subtitle {
    margin: 0 0 18px;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.55;
    color: var(--accent-deep);
    font-weight: 800;
}

.service-lead {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 720px;
}

.service-hero-media {
    position: relative;
    min-height: 520px;
    border-radius: 42px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.service-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.service-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.32));
    pointer-events: none;
}

.service-media-badge {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 2;
    max-width: 300px;
    padding: 18px 22px;
    border-radius: 22px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.service-media-badge strong,
.service-media-badge span {
    display: block;
}

.service-media-badge strong {
    color: var(--accent-dark);
    letter-spacing: 1.5px;
    font-weight: 900;
}

.service-media-badge span {
    margin-top: 6px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 800;
}

.service-highlight-strip {
    padding: 22px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.service-highlight-grid article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.service-highlight-grid span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--accent-ultra);
    color: var(--accent-dark);
    font-weight: 900;
}

.service-highlight-grid strong {
    font-size: 13px;
    line-height: 1.35;
}

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

.service-overview-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 42px;
    align-items: start;
}

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

.service-process-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.service-process-card strong {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--accent-dark);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1;
}

.service-process-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.service-process-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.service-gallery-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FBF7F1 100%);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-gallery-item {
    min-height: 260px;
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: zoom-in;
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-gallery-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.42));
    opacity: .92;
}

.service-gallery-item span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.empty-gallery-card {
    padding: 42px;
    border-radius: 30px;
    background: var(--white);
    border: 1px dashed var(--line-strong);
    text-align: center;
}

.service-virtual-section {
    background: #061014;
    color: #fff;
}

.service-virtual-section .section-title,
.service-virtual-section .section-text {
    color: #fff;
}

.service-virtual-section .section-text {
    color: rgba(255,255,255,.74);
}

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

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

.related-service-card {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 26px;
    border-radius: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease;
}

.related-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.related-service-card span {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-service-card strong {
    margin: 12px 0 auto;
    font-size: 1.15rem;
    line-height: 1.35;
}

.related-service-card small {
    margin-top: 18px;
    color: var(--muted);
    font-weight: 900;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0,0,0,.88);
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    width: min(100%, 1180px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.service-hero-minimal {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

@media (max-width: 1100px) {
    .service-hero-grid,
    .service-overview-grid,
    .virtual-grid {
        grid-template-columns: 1fr;
    }

    .service-highlight-grid,
    .service-gallery-grid,
    .related-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .service-hero {
        padding: 54px 0 34px;
    }

    .service-hero-copy h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    .service-hero-media,
    .service-hero-media img {
        min-height: 360px;
    }

    .service-highlight-grid,
    .service-process-grid,
    .service-gallery-grid,
    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .service-gallery-item {
        min-height: 280px;
    }

    .service-process-card,
    .related-service-card {
        padding: 24px;
    }
}


/* Ajuste especial para as imagens quadradas dos ambientes internos enviados. */
@media(max-width:520px){
    .gallery-grid,
    .gallery-grid-internos,
    .gallery-grid-two{
        grid-template-columns: 1fr;
    }
}
/* .gallery-grid-internos-mobile-fix */

/* =========================================================
   HOME V6 - Wireframe enviado pela cliente
   Direção: branco + preto + dourado, luxo visual, ícones finos.
========================================================= */
main {
    padding-top: 96px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 252, 248, .94);
    box-shadow: 0 10px 34px rgba(31, 37, 39, .06);
}

.header-inner {
    height: 96px;
}

.main-nav {
    gap: 15px;
}

.main-nav a {
    font-size: 10.5px;
    letter-spacing: 1.3px;
}

.nav-cta {
    min-height: 48px;
    padding: 0 26px;
    background: linear-gradient(135deg, #C69B72, #A87A55);
}

.dark-button {
    background: #171717 !important;
    color: #fff !important;
    border-color: #171717 !important;
}

.center-actions {
    justify-content: center;
}

.wire-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 96px);
    display: grid;
    align-items: center;
    padding: 92px 0 82px;
    background:
        radial-gradient(circle at 86% 10%, rgba(198, 155, 114, .18), transparent 28%),
        linear-gradient(135deg, #fffdf9 0%, #f5eee6 54%, #ede1d3 100%);
}

.wire-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31,37,39,.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(31,37,39,.035) 1px, transparent 1px);
    background-size: 76px 76px;
    opacity: .7;
    pointer-events: none;
}

.wire-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    gap: 64px;
    align-items: center;
}

.wire-hero-copy h1 {
    margin: 24px 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 6.6vw, 6.8rem);
    line-height: .92;
    letter-spacing: -2.4px;
    color: #101010;
}

.wire-hero-copy h1 span {
    display: block;
    color: var(--accent-dark);
}

.wire-hero-media {
    position: relative;
    border-radius: 42px;
    overflow: hidden;
    min-height: 600px;
    box-shadow: 0 30px 90px rgba(31, 37, 39, .17);
    border: 12px solid rgba(255,255,255,.78);
}

.wire-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
}

.wire-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(0,0,0,.42));
}

.hero-seal {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    width: 230px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.hero-seal strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--accent-dark);
}

.hero-seal span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.belief-section {
    padding: 42px 0 70px;
    background: #111;
    color: #fff;
}

.belief-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.belief-card {
    min-height: 210px;
    padding: 26px;
    border-radius: 30px;
    background: linear-gradient(180deg, #23201E, #171717);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.belief-icon,
.solution-v2-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: rgba(198, 155, 114, .18);
    color: #E5C29C;
    font-size: 24px;
    margin-bottom: 18px;
}

.belief-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.belief-card p {
    margin: 0;
    color: rgba(255,255,255,.68);
    line-height: 1.7;
    font-size: 13px;
}

.belief-footer {
    width: fit-content;
    margin: 30px auto 0;
    padding: 16px 30px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.prime-section {
    background: linear-gradient(135deg, #fff 0%, #F5EEE7 100%);
}

.prime-grid,
.about-institutional-grid,
.investment-deep-grid,
.terrain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
}

.phone-mockup {
    display: grid;
    place-items: center;
}

.phone-frame {
    width: min(100%, 390px);
    min-height: 760px;
    border-radius: 48px;
    padding: 18px;
    background: #111;
    box-shadow: 0 34px 100px rgba(0,0,0,.20);
    transform: rotate(-2deg);
}

.phone-speaker {
    width: 118px;
    height: 8px;
    border-radius: 999px;
    background: #2a2a2a;
    margin: 0 auto 14px;
}

.phone-screen {
    min-height: 705px;
    border-radius: 34px;
    padding: 28px;
    background:
        radial-gradient(circle at 88% 0%, rgba(198,155,114,.28), transparent 34%),
        linear-gradient(180deg, #FFFCF8, #F3E8DC);
}

.phone-label {
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.phone-screen h3 {
    margin: 18px 0;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    line-height: 1;
}

.progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    font-size: 13px;
}

.progress-row span {
    font-size: 34px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--accent-dark);
}

.progress-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(31,37,39,.10);
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}

.phone-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    margin: 18px 0;
}

.phone-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.phone-data-grid div {
    background: #fff;
    border: 1px solid rgba(31,37,39,.08);
    border-radius: 18px;
    padding: 16px;
}

.phone-data-grid small {
    color: var(--muted);
    font-weight: 800;
}

.phone-data-grid strong {
    display: block;
    margin-top: 6px;
    color: #111;
}

.prime-copy h3 {
    margin: -10px 0 18px;
    font-size: clamp(1.55rem, 3vw, 2.4rem);
    line-height: 1.25;
}

.prime-list {
    margin-bottom: 26px;
}

.prime-phrase {
    margin: 30px 0;
    padding: 30px;
    border-radius: 30px;
    background: #111;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.03;
    box-shadow: 0 24px 70px rgba(0,0,0,.14);
}

.about-institutional {
    background: #fff;
}

.premium-box {
    margin-top: 28px;
    padding: 28px;
    border-radius: 28px;
    background: #111;
    color: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.12);
}

.premium-box strong {
    display: block;
    font-size: 20px;
    color: #E5C29C;
    margin-bottom: 10px;
}

.premium-box span {
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.about-photo-card,
.terrain-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    min-height: 520px;
    box-shadow: var(--shadow);
    border: 10px solid rgba(255,255,255,.9);
}

.about-photo-card img,
.terrain-image-card img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.about-floating-stat {
    position: absolute;
    left: 28px;
    bottom: 28px;
    padding: 20px 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
}

.about-floating-stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--accent-dark);
}

.about-floating-stat span {
    display: block;
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

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

.solution-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-v2-card {
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 34px;
    padding: 28px;
    text-decoration: none;
    color: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .3s ease, box-shadow .3s ease;
}

.solution-v2-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.solution-v2-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.solution-v2-card:hover img {
    transform: scale(1.06);
}

.solution-v2-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.78));
}

.solution-v2-card > *:not(img) {
    position: relative;
    z-index: 2;
}

.solution-v2-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    line-height: 1;
}

.solution-v2-card p {
    margin: 0;
    color: rgba(255,255,255,.78);
    line-height: 1.7;
    font-weight: 600;
}

.project-section {
    background: #fff;
}

.investment-deep {
    color: #fff;
    background:
        radial-gradient(circle at 84% 8%, rgba(198,155,114,.24), transparent 30%),
        linear-gradient(135deg, #0F0F0F, #26211D 55%, #111);
}

.investment-deep .section-title,
.investment-deep .section-text {
    color: #fff;
}

.investment-deep .section-title span {
    color: #E5C29C;
}

.investment-deep .section-text {
    color: rgba(255,255,255,.74);
}

.investment-checks {
    display: grid;
    gap: 12px;
    margin: 28px 0;
}

.investment-checks span {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    font-weight: 900;
}

.growth-card {
    padding: 34px;
    border-radius: 38px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.return-badge {
    display: inline-flex;
    padding: 14px 20px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-weight: 900;
    margin-bottom: 24px;
}

.growth-graph {
    height: 330px;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,.055) 1px, transparent 1px),
        rgba(255,255,255,.06);
    background-size: 44px 44px;
}

.growth-graph span {
    flex: 1;
    min-height: 46px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, #F2D9BE, #B78F69);
}

.growth-card p {
    color: rgba(255,255,255,.72);
    line-height: 1.8;
}

.terrain-section {
    background: #fff;
}

.terrain-benefits {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.terrain-benefits article {
    padding: 24px;
    border-radius: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.terrain-benefits strong {
    display: block;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.terrain-benefits span {
    color: var(--muted);
    line-height: 1.7;
}

.differential-section {
    background: linear-gradient(135deg, #F7F0E8, #EFE0D1);
}

.differential-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 42px;
    align-items: center;
    padding: 56px;
    border-radius: 42px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.differential-list {
    display: grid;
    gap: 16px;
}

.differential-list p,
.differential-list strong {
    margin: 0;
    padding: 20px 22px;
    border-radius: 22px;
    background: var(--paper);
    color: var(--muted);
    font-weight: 800;
}

.differential-list strong {
    background: #111;
    color: #fff;
    font-size: 22px;
}

.final-cta-section {
    padding: 100px 0;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(0,0,0,.74), rgba(23,23,23,.55)),
        url('https://seiganconstrutora.com.br/wp-content/uploads/2026/05/Construcao-no-seu-Terreno.jpeg') center/cover no-repeat;
}

.final-cta-inner h2 {
    margin: 24px auto 34px;
    max-width: 960px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: .98;
    letter-spacing: -2px;
}

.site-footer {
    background: #111;
}

@media (max-width: 1180px) {
    .main-nav {
        inset: 96px 18px auto 18px;
    }
}

@media (max-width: 1080px) {
    .belief-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 980px) {
    .wire-hero-grid,
    .prime-grid,
    .about-institutional-grid,
    .investment-deep-grid,
    .terrain-grid,
    .differential-box {
        grid-template-columns: 1fr;
    }

    .wire-hero-media,
    .wire-hero-media img,
    .about-photo-card,
    .about-photo-card img,
    .terrain-image-card,
    .terrain-image-card img {
        min-height: 430px;
    }

    .phone-frame {
        transform: none;
    }
}

@media (max-width: 640px) {
    main {
        padding-top: 82px;
    }

    .wire-hero {
        padding: 58px 0 52px;
    }

    .wire-hero-copy h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    .wire-hero-media,
    .wire-hero-media img {
        min-height: 360px;
    }

    .belief-grid,
    .solution-v2-grid,
    .phone-data-grid {
        grid-template-columns: 1fr;
    }

    .belief-card {
        min-height: auto;
    }

    .phone-frame {
        width: 100%;
        min-height: auto;
        border-radius: 34px;
        padding: 12px;
    }

    .phone-screen {
        min-height: auto;
        border-radius: 24px;
        padding: 22px;
    }

    .solution-v2-card {
        min-height: 360px;
    }

    .differential-box {
        padding: 28px;
        border-radius: 30px;
    }

    .growth-graph {
        height: 240px;
        gap: 12px;
    }
}
