/* HVAC ELECTRICAL ENGINEERING — Corporate engineering website */
:root {
    --navy: #28599b;
    --navy2: #1d477f;
    --ink: #172434;
    --muted: #667382;
    --orange: #e77b2e;
    --orange2: #f39a50;
    --paper: #f5f7f8;
    --line: #e2e7eb;
    --white: #fff;
    --font: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

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

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

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

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

.topbar {
    background: #1d477f;
    color: #aeb9c4;
    font-size: 11px;
    letter-spacing: .04em
}

.topbar-inner {
    height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.topbar a {
    color: #e3e9ee
}

.top-sep {
    padding: 0 12px;
    color: #536171
}

.site-header {
    height: 82px;
    background: #fff;
    position: relative;
    z-index: 20;
    border-bottom: 1px solid #edf0f2
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px
}

.brand-mark {
    height: 42px;
    width: 42px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: white;
    font: 800 26px var(--display);
    border-radius: 3px;
    position: relative
}

.brand-mark:after {
    content: "";
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy)
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-copy strong {
    font: 800 21px var(--display);
    letter-spacing: .08em;
    color: var(--navy)
}

.brand-copy small {
    font-size: 8px;
    letter-spacing: .3em;
    color: #7a8792;
    margin-top: 5px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 13px;
    font-weight: 600;
    color: #465363
}

.main-nav>a:not(.nav-cta) {
    transition: color .2s
}

.main-nav>a:hover,
.main-nav>a.active {
    color: var(--orange)
}

.nav-cta {
    background: var(--navy);
    color: white !important;
    padding: 13px 18px;
    border-radius: 2px
}

.nav-cta span {
    color: var(--orange);
    padding-left: 12px
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px
}

.hero {
    background: var(--navy);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 610px
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 78% 48%, rgba(244, 119, 50, .15), transparent 33%), linear-gradient(110deg, transparent 60%, rgba(255, 255, 255, .025) 60.1%, transparent 60.3%)
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, transparent, black)
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    align-items: center;
    min-height: 560px;
    padding-top: 32px;
    padding-bottom: 40px
}

.hero-copy {
    max-width: 610px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .17em;
    color: #7d8995;
    margin-bottom: 22px
}

.eyebrow.light {
    color: #aab7c3
}

.eyebrow-line {
    height: 2px;
    width: 25px;
    background: var(--orange);
    display: inline-block
}

.hero h1,
.page-hero h1 {
    font: 800 clamp(43px, 5.2vw, 68px)/1.1 var(--display);
    letter-spacing: -.055em;
    margin: 0 0 23px;
    max-width: 650px
}

.hero h1 em,
.page-hero h1 em,
.section h2 em,
.feature-copy h2 em,
.cta-inner h2 em {
    font-style: normal;
    color: var(--orange)
}

.hero-lead {
    color: #b9c4ce;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 34px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 15px 20px;
    border: 0;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .2s, background .2s
}

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

.btn-primary {
    background: var(--orange);
    color: #fff
}

.btn-primary:hover {
    background: #e76521
}

.btn-primary span {
    font-size: 18px
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-weight: 700;
    font-size: 12px;
    color: var(--navy)
}

.text-link span {
    color: var(--orange);
    font-size: 19px;
    transition: transform .2s
}

.text-link:hover span {
    transform: translateX(4px)
}

.light-link {
    color: white
}

.hero-note {
    margin-top: 48px;
    font-size: 10px;
    letter-spacing: .08em;
    color: #93a1ae;
    display: flex;
    align-items: center;
    gap: 10px
}

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 5px rgba(244, 119, 50, .14)
}

.hero-visual {
    height: 420px;
    position: relative;
    display: grid;
    place-items: center
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    transform: rotate(-25deg)
}

.orbit-one {
    width: 390px;
    height: 250px
}

.orbit-two {
    width: 320px;
    height: 390px;
    transform: rotate(42deg);
    border-color: rgba(244, 119, 50, .32)
}

.visual-core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(145deg, #376bb0, #28599b);
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 0 0 16px rgba(255, 255, 255, .025), 0 0 80px rgba(244, 119, 50, .18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2
}

.core-symbol {
    font: 800 92px/.9 var(--display);
    color: var(--orange)
}

.core-caption {
    font-size: 8px;
    letter-spacing: .2em;
    line-height: 1.6;
    text-align: center;
    color: #c4ced6;
    margin-top: 9px
}

.visual-tag {
    position: absolute;
    z-index: 3;
    font-size: 9px;
    letter-spacing: .15em;
    color: #e1e7ec;
    background: #244f8c;
    border: 1px solid #5a80b8;
    padding: 10px 13px
}

.tag-top {
    top: 35px;
    right: 4px
}

.tag-bottom {
    bottom: 25px;
    left: 5px
}

.tag-bottom b {
    color: var(--orange);
    margin-left: 7px
}

.tag-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    margin-right: 8px
}

.visual-line {
    height: 1px;
    background: var(--orange);
    position: absolute;
    opacity: .6
}

.line-a {
    width: 80px;
    right: 40px;
    top: 145px;
    transform: rotate(30deg)
}

.line-b {
    width: 95px;
    left: 30px;
    bottom: 142px;
    transform: rotate(-28deg)
}

.hero-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    color: #708091;
    font-size: 9px;
    letter-spacing: .16em;
    padding-bottom: 20px
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: #fff
}

.trust-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font: 700 10px var(--display);
    letter-spacing: .1em;
    color: #63707d
}

.trust-label {
    color: #9aa4ad;
    font: 600 9px var(--font);
    letter-spacing: .16em
}

.trust-inner i {
    height: 4px;
    width: 4px;
    background: var(--orange);
    border-radius: 50%
}

.section {
    padding: 108px 0
}

.intro-grid,
.about-lead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px
}

.section h2,
.dark-panel h2 {
    font: 800 clamp(34px, 4vw, 48px)/1.16 var(--display);
    letter-spacing: -.045em;
    margin: 0;
    color: var(--navy)
}

.intro-text {
    padding-top: 30px
}

.large-copy {
    font: 500 19px/1.65 var(--display);
    color: #273849;
    margin: 0 0 19px
}

.intro-text>p:not(.large-copy),
.about-lead p:not(.large-copy) {
    color: #6c7883;
    line-height: 1.9;
    margin-bottom: 24px
}

.intro-text .text-link {
    margin-top: 10px
}

.services-section {
    background: var(--paper);
    padding-top: 100px;
    padding-bottom: 110px
}

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

.heading-link {
    margin-bottom: 8px
}

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

.service-card {
    background: #fff;
    min-height: 270px;
    padding: 25px 23px 22px;
    position: relative;
    border: 1px solid #edf0f2;
    transition: transform .25s, box-shadow .25s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(20, 39, 58, .08)
}

.service-number {
    position: absolute;
    top: 24px;
    right: 22px;
    font-size: 10px;
    color: #aab4bc;
    letter-spacing: .1em
}

.service-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: #eaf1fb;
    color: var(--orange);
    font-size: 25px;
    margin: 15px 0 26px
}

.service-card h3 {
    font: 700 17px var(--display);
    margin: 0 0 10px;
    color: var(--navy)
}

.service-card p {
    font-size: 12px;
    color: #78838d;
    line-height: 1.8;
    margin: 0;
    max-width: 220px
}

.card-arrow {
    position: absolute;
    bottom: 20px;
    right: 22px;
    color: var(--orange);
    font-size: 19px
}

.feature-band {
    background: var(--navy);
    color: #fff;
    overflow: hidden
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 470px;
    align-items: center;
    gap: 80px
}

.feature-graphic {
    height: 380px;
    position: relative;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(244, 119, 50, .14), transparent 58%)
}

.feature-ring {
    width: 270px;
    height: 270px;
    border: 1px solid rgba(244, 119, 50, .7);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 75px rgba(255, 255, 255, .018);
    position: relative
}

.feature-ring:before,
.feature-ring:after {
    content: "";
    position: absolute;
    background: var(--orange)
}

.feature-ring:before {
    height: 1px;
    width: 390px;
    left: -61px;
    top: 50%;
    transform: rotate(45deg)
}

.feature-ring:after {
    height: 1px;
    width: 390px;
    left: -61px;
    top: 50%;
    transform: rotate(-45deg)
}

.feature-cross {
    position: absolute;
    font: 300 110px var(--display);
    color: var(--orange)
}

.feature-label {
    position: absolute;
    bottom: 32px;
    left: 20px;
    color: #8494a3;
    font-size: 9px;
    letter-spacing: .2em;
    line-height: 1.7
}

.feature-copy {
    padding: 60px 0
}

.feature-copy h2 {
    font: 800 42px/1.2 var(--display);
    letter-spacing: -.04em;
    margin: 0 0 20px
}

.feature-copy p {
    color: #aebbc7;
    max-width: 480px;
    line-height: 1.9;
    margin-bottom: 30px
}

.btn-outline {
    border: 1px solid #526172;
    color: #fff;
    background: transparent
}

.btn-outline span {
    color: var(--orange);
    font-size: 18px
}

.process-section {
    padding-top: 100px;
    padding-bottom: 115px
}

.section-intro {
    max-width: 330px;
    color: #7c8791;
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 8px
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 18px
}

.process-step {
    padding: 27px 28px 0 0;
    position: relative
}

.process-step:before {
    content: "";
    position: absolute;
    top: -4px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--orange);
    border-radius: 50%
}

.process-step>span {
    font: 700 11px var(--display);
    color: var(--orange)
}

.process-step h3 {
    font: 700 17px var(--display);
    margin: 17px 0 9px
}

.process-step p {
    font-size: 12px;
    line-height: 1.8;
    color: #7c8791;
    max-width: 220px
}

.cta-section {
    background: #1d477f;
    color: white;
    padding: 75px 0;
    position: relative;
    overflow: hidden
}

.cta-section:after {
    content: "H";
    position: absolute;
    right: 8%;
    top: -110px;
    font: 800 360px var(--display);
    color: rgba(255, 255, 255, .025)
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1
}

.cta-inner h2 {
    font: 800 43px/1.15 var(--display);
    letter-spacing: -.04em;
    margin: 0 0 15px
}

.cta-inner p {
    color: #aab8c5;
    max-width: 490px;
    margin: 0
}

.btn-large {
    padding: 19px 24px;
    white-space: nowrap
}

.site-footer {
    background: #1d477f;
    color: #9eabb7;
    padding-top: 65px
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.25fr 1fr;
    gap: 55px;
    padding-bottom: 55px
}

.brand-footer .brand-copy strong {
    color: white
}

.brand-footer .brand-copy small {
    color: #82909e
}

.footer-brand p {
    max-width: 240px;
    font-size: 12px;
    line-height: 1.8;
    color: #8493a1;
    margin-top: 22px
}

.footer-main h4 {
    font: 700 12px var(--display);
    color: #fff;
    margin: 6px 0 20px
}

.footer-main>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px
}

.footer-main a:hover {
    color: var(--orange)
}

.footer-bottom {
    border-top: 1px solid #24313e;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 9px;
    color: #667584;
    letter-spacing: .04em
}

.whatsapp-float {
    position: fixed;
    z-index: 30;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1fae65;
    color: white;
    display: grid;
    place-items: center;
    font-size: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    border: 3px solid white
}

.whatsapp-float:hover {
    transform: translateY(-3px)
}

/* Interior pages */
.page-hero {
    background: var(--navy);
    color: #fff;
    padding: 85px 0 50px;
    position: relative;
    overflow: hidden
}

.page-hero:after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(244, 119, 50, .2);
    border-radius: 50%;
    right: -90px;
    top: -250px;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, .02), 0 0 0 110px rgba(255, 255, 255, .015)
}

.page-hero .container {
    position: relative;
    z-index: 1
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 62px);
    margin-bottom: 17px
}

.page-hero p {
    color: #b4c0ca;
    max-width: 560px;
    margin: 0;
    font-size: 15px
}

.breadcrumbs {
    margin-top: 54px;
    font-size: 10px;
    color: #8392a0;
    letter-spacing: .08em
}

.breadcrumbs span {
    padding: 0 12px;
    color: var(--orange)
}

.breadcrumbs a {
    color: #d5dce2
}

.dark-panel {
    background: var(--navy);
    color: #fff;
    padding: 100px 0
}

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

.dark-panel h2 {
    color: white
}

.value-list article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #2d3b49
}

.value-list article:first-child {
    padding-top: 0
}

.value-list article>span {
    color: var(--orange);
    font: 700 12px var(--display)
}

.value-list h3 {
    margin: 0 0 5px;
    font: 700 16px var(--display)
}

.value-list p {
    margin: 0;
    color: #9eacb9;
    font-size: 12px;
    line-height: 1.8
}

.locations-section h2 {
    margin-bottom: 42px
}

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

.location-cards article {
    padding: 30px;
    background: var(--paper);
    border-left: 3px solid var(--orange)
}

.location-index {
    font-size: 9px;
    letter-spacing: .14em;
    color: #929da7
}

.location-cards h3 {
    font: 700 20px var(--display);
    margin: 15px 0 2px
}

.location-cards p {
    font-size: 12px;
    color: #7d8993;
    margin: 0
}

.service-detail-section {
    padding-top: 35px
}

.service-detail {
    display: grid;
    grid-template-columns: 70px 1fr 150px;
    gap: 28px;
    padding: 55px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 25px
}

.service-detail:first-child {
    padding-top: 30px
}

.detail-index {
    font: 700 13px var(--display);
    color: var(--orange);
    padding-top: 8px
}

.service-detail h2 {
    font: 800 32px var(--display);
    letter-spacing: -.04em;
    margin: 0 0 13px
}

.service-detail p {
    max-width: 680px;
    color: #6e7b86;
    line-height: 1.85
}

.check-list {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 25px;
    margin: 22px 0 0
}

.check-list li {
    font-size: 12px;
    color: #465665
}

.check-list li:before {
    content: "✓";
    color: var(--orange);
    font-weight: 700;
    margin-right: 9px
}

.detail-symbol {
    font-size: 80px;
    color: #e8eef8;
    display: grid;
    place-items: center
}

.provisional-note {
    display: inline-block;
    color: #a75a20;
    background: #fff2e9;
    padding: 6px 9px;
    font-size: 9px;
    letter-spacing: .1em;
    font-weight: 700;
    margin-top: 15px
}

.projects-intro {
    padding-bottom: 60px
}

.project-grid-section {
    background: var(--paper);
    padding-top: 70px
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.project-card {
    background: #fff;
    padding: 12px
}

.project-art {
    height: 280px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #182b3d;
    color: white
}

.project-art:before,
.project-art:after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 260px;
    height: 260px
}

.project-art:after {
    width: 360px;
    height: 360px;
    border-color: rgba(244, 119, 50, .35)
}

.art-electric {
    background-image: linear-gradient(135deg, #28599b, #4778b8)
}

.art-climate {
    background-image: linear-gradient(135deg, #2f66a7, #1d477f)
}

.art-solar {
    background-image: linear-gradient(135deg, #315f9d, #182b3d)
}

.art-security {
    background-image: linear-gradient(135deg, #244f8c, #4778b8)
}

.art-label {
    position: absolute;
    top: 20px;
    left: 22px;
    font-size: 9px;
    letter-spacing: .15em;
    color: #c1ccd5
}

.art-glyph {
    font-size: 100px;
    color: var(--orange);
    z-index: 1;
    font-weight: 300
}

.art-caption {
    position: absolute;
    bottom: 18px;
    right: 22px;
    text-align: right;
    font: 700 10px/1.5 var(--display);
    letter-spacing: .2em;
    color: #b2c0ca
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 10px 12px
}

.project-meta span {
    font-size: 9px;
    letter-spacing: .13em;
    color: #9aa5ae
}

.project-meta h3 {
    font: 700 17px var(--display);
    margin: 5px 0 0;
    color: var(--navy)
}

.project-arrow {
    color: var(--orange) !important;
    font-size: 20px !important
}

.project-warning {
    margin: 25px 0 0
}

.contact-section {
    padding-top: 85px
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px
}

.contact-info h2 {
    font: 800 40px/1.2 var(--display);
    letter-spacing: -.04em;
    margin: 0 0 18px
}

.contact-info>p {
    color: #71808c;
    line-height: 1.85
}

.contact-detail {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.contact-detail span {
    font-size: 9px;
    letter-spacing: .14em;
    color: #9aa5ad
}

.contact-detail strong {
    font: 700 15px var(--display);
    color: var(--navy)
}

.contact-detail small {
    color: #87939d;
    font-size: 11px
}

.contact-form {
    background: var(--paper);
    padding: 38px
}

.form-heading>span {
    font-size: 9px;
    letter-spacing: .15em;
    color: var(--orange);
    font-weight: 700
}

.form-heading h3 {
    font: 800 25px var(--display);
    margin: 8px 0 2px
}

.form-heading p {
    font-size: 11px;
    color: #84909a;
    margin: 0 0 24px
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    color: #40505f;
    margin-bottom: 17px
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #dfe5e9;
    background: #fff;
    padding: 12px 13px;
    outline: none;
    color: var(--ink);
    font-size: 12px;
    border-radius: 1px
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--orange)
}

.contact-form textarea {
    resize: vertical
}

.form-submit {
    width: 100%;
    margin-top: 4px
}

.form-disclaimer,
.form-status {
    font-size: 10px;
    color: #87939d;
    line-height: 1.6
}

.form-status {
    color: #2c7650;
    font-weight: 700
}

@media(max-width:900px) {
    .main-nav {
        gap: 19px
    }

    .hero-content {
        grid-template-columns: 1fr .8fr
    }

    .hero-visual {
        transform: scale(.85)
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .intro-grid,
    .about-lead {
        gap: 45px
    }

    .feature-grid {
        gap: 30px
    }

    .footer-main {
        gap: 28px
    }

    .contact-grid {
        gap: 40px
    }
}

@media(max-width:700px) {
    .container {
        width: min(100% - 36px, 560px)
    }

    .topbar-inner {
        height: 34px;
        font-size: 9px
    }

    .topbar-inner>span {
        max-width: 58%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .site-header {
        height: 72px
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--navy);
        transition: .2s
    }

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

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0
    }

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

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 18px 24px 25px;
        box-shadow: 0 15px 20px rgba(0, 0, 0, .1);
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

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

    .main-nav>a {
        padding: 13px 0;
        border-bottom: 1px solid #edf0f2
    }

    .main-nav .nav-cta {
        margin-top: 12px;
        padding: 13px 15px;
        text-align: center;
        border: 0
    }

    .hero {
        min-height: auto
    }

    .hero-content {
        display: block;
        min-height: auto;
        padding-top: 72px;
        padding-bottom: 20px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-lead {
        font-size: 14px
    }

    .hero-actions {
        gap: 18px;
        flex-wrap: wrap
    }

    .hero-note {
        margin-top: 30px
    }

    .hero-visual {
        height: 300px;
        transform: none;
        margin-top: 10px
    }

    .visual-core {
        width: 145px;
        height: 145px
    }

    .core-symbol {
        font-size: 70px
    }

    .orbit-one {
        width: 290px;
        height: 190px
    }

    .orbit-two {
        width: 250px;
        height: 300px
    }

     .tag-top {
        top: 0px;
        right: 0
    }

    .tag-bottom {
        bottom: 0px;
        left: 0
    }

    .hero-bottom {
        font-size: 8px
    }

    .trust-inner {
        padding: 18px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 13px 16px
    }

    .trust-label {
        width: 100%;
        text-align: center
    }

    .trust-inner div {
        font-size: 8px
    }

    .trust-inner i {
        display: none
    }

    .section {
        padding: 72px 0
    }

    .intro-grid,
    .about-lead,
    .values-grid,
    .feature-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .intro-text {
        padding-top: 0
    }

    .section h2 {
        font-size: 36px
    }

    .large-copy {
        font-size: 17px
    }

    .section-heading {
        display: block
    }

    .heading-link {
        margin-top: 24px
    }

    .service-grid {
        gap: 10px
    }

    .service-card {
        padding: 18px 15px;
        min-height: 250px
    }

    .service-card h3 {
        font-size: 15px
    }

    .service-card p {
        font-size: 11px
    }

    .service-icon {
        margin: 12px 0 22px
    }

    .feature-grid {
        padding: 35px 0 55px
    }

    .feature-graphic {
        height: 260px;
        order: 2
    }

    .feature-ring {
        width: 190px;
        height: 190px
    }

    .feature-ring:before,
    .feature-ring:after {
        width: 280px;
        left: -45px
    }

    .feature-copy {
        padding: 20px 0 0
    }

    .feature-copy h2 {
        font-size: 35px
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 25px
    }

    .process-step {
        padding-right: 15px
    }

    .cta-inner {
        display: block
    }

    .cta-inner h2 {
        font-size: 36px
    }

    .cta-inner .btn {
        margin-top: 27px
    }

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

    .footer-brand {
        grid-column: 1/-1
    }

    .footer-bottom {
        display: block;
        line-height: 1.8
    }

    .footer-bottom span {
        display: block
    }

    .page-hero {
        padding: 65px 0 38px
    }

    .page-hero h1 {
        font-size: 43px
    }

    .breadcrumbs {
        margin-top: 38px
    }

    .dark-panel {
        padding: 72px 0
    }

    .location-cards {
        grid-template-columns: 1fr
    }

    .service-detail {
        grid-template-columns: 34px 1fr;
        gap: 14px;
        padding: 38px 0
    }

    .service-detail h2 {
        font-size: 27px
    }

    .detail-symbol {
        display: none
    }

    .check-list {
        grid-template-columns: 1fr
    }

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

    .project-art {
        height: 230px
    }

    .contact-section {
        padding-top: 65px
    }

    .contact-info h2 {
        font-size: 35px
    }

    .contact-form {
        padding: 23px 18px
    }

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

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px
    }
}

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

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


/* ===== MELHORIAS VISUAIS: FOTOGRAFIA + MOVIMENTO ===== */
:root {
    --motion-ease: cubic-bezier(.2, .7, .2, 1)
}

/* Cartões de serviços: faixa fotográfica no topo, mantendo os textos e a identidade */
.service-card {
    padding-top: 222px;
    
    overflow: hidden;
    isolation: isolate
}

.service-card:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background-size: cover;
    background-position: center;
    transition: transform .65s var(--motion-ease), filter .45s
}

.service-card:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(90deg, rgba(12, 25, 39, .48), rgba(12, 25, 39, .05));
    pointer-events: none
}

.service-card:nth-child(1):before {
    background-image: url('../images/cards/avac.jpg')
}

.service-card:nth-child(2):before {
    background-image: url('../tev/Principal.jpg')
}

.service-card:nth-child(3):before {
    background-image: url('../tev/Quadro\ eletrico.jpg')
}

.service-card:nth-child(4):before {
    background-image: url('../images/cards/gerador.jpg')
}

.service-card:nth-child(5):before {
    background-image: url('../images/cards/seguranca.jpg')
}

.service-card:nth-child(6):before {
    background-image: url('../images/cards/canalizacao.jpg')
}

.service-card:nth-child(7):before {
    background-image: url('../images/cards/informatica.jpg')
}

.service-card:hover:before {
    transform: scale(1.06);
    filter: saturate(1.12)
}

.service-card .service-number {
    z-index: 2;
    color: #fff;
    top: 17px;
    right: 17px
}

.service-card .service-icon {
    position: absolute;
    top: 170px;
    left: 22px;
    margin: 0;
    width: 48px;
    height: 48px;
    border: 3px solid #fff;
    box-shadow: 0 5px 18px rgba(16, 28, 43, .12)
}

.service-card h3 {
    margin-top: 5px
}

/* Imagens de apoio na página de serviços. São imagens ilustrativas substituíveis. */
.service-detail {
    grid-template-columns: 55px minmax(0, 1fr) minmax(190px, 250px);
    align-items: center;
    gap: 28px
}

.detail-symbol {
    height: 190px;
    width: 100%;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    font-size: 58px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
    isolation: isolate
}

.detail-symbol:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(12, 25, 39, .18), rgba(12, 25, 39, .68));
    z-index: -1;
    transition: transform .7s var(--motion-ease)
}

.detail-symbol:after {
    content: "IMAGEM ILUSTRATIVA · SUBSTITUIR";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font: 700 8px var(--font);
    letter-spacing: .12em;
    text-align: left;
    text-shadow: 0 1px 5px #000
}

.service-detail:hover .detail-symbol:before {
    transform: scale(1.08)
}

/* Animações de entrada discretas */
.js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s var(--motion-ease), transform .75s var(--motion-ease);
    transition-delay: var(--reveal-delay, 0ms)
}

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

.hero-copy>* {
    animation: hero-rise .8s var(--motion-ease) both
}

.hero-copy>*:nth-child(2) {
    animation-delay: .1s
}

.hero-copy>*:nth-child(3) {
    animation-delay: .18s
}

.hero-copy>*:nth-child(4) {
    animation-delay: .26s
}

.hero-visual {
    animation: hero-fade 1.1s .15s both
}

.visual-orbit {
    animation: orbit-drift 18s linear infinite
}

.orbit-two {
    animation-direction: reverse;
    animation-duration: 24s
}

.pulse {
    animation: pulse-glow 2.2s ease-in-out infinite
}

.btn,
.nav-cta,
.whatsapp-float {
    transition: transform .25s var(--motion-ease), box-shadow .25s, background .25s
}

.btn:hover,
.nav-cta:hover {
    box-shadow: 0 10px 24px rgba(16, 28, 43, .16)
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04)
}

.feature-ring {
    animation: ring-breathe 6s ease-in-out infinite
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(18px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes hero-fade {
    from {
        opacity: 0;
        transform: scale(.96)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes orbit-drift {
    from {
        rotate: 0deg
    }

    to {
        rotate: 360deg
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(244, 119, 50, .14)
    }

    50% {
        box-shadow: 0 0 0 9px rgba(244, 119, 50, .04)
    }
}

@keyframes ring-breathe {

    0%,
    100% {
        transform: scale(1);
        opacity: .9
    }

    50% {
        transform: scale(1.035);
        opacity: 1
    }
}

@media(max-width:900px) {
    .service-detail {
        grid-template-columns: 42px minmax(0, 1fr) 190px;
        gap: 18px
    }
}

@media(max-width:700px) {
    .service-card {
        padding-top: 122px;
        min-height: 245px
    }

    .service-card:before,
    .service-card:after {
        height: 102px
    }

    .service-card .service-icon {
        top: 73px;
        left: 15px
    }

    .service-detail {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 14px
    }

    .detail-symbol {
        grid-column: 2;
        height: 155px;
        margin-top: 8px
    }

    .service-detail:first-child {
        padding-top: 24px
    }

    .detail-symbol {
        display: grid
    }
}

@media(prefers-reduced-motion:reduce) {
    .js-reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-copy>*,
    .hero-visual,
    .visual-orbit,
    .pulse,
    .feature-ring {
        animation: none !important
    }
}

/* Espaços fotográficos do portfólio */
.photo-slot {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #28599b, #183f78);
    color: #fff
}

.photo-slot:before {
    content: "FOTOGRAFIA DO PORTFÓLIO";
    position: absolute;
    left: 18px;
    bottom: 15px;
    font: 700 9px var(--font);
    letter-spacing: .13em;
    color: rgba(255, 255, 255, .85);
    z-index: 4
}

.service-detail .detail-symbol.photo-slot {
    height: 190px;
    min-height: 190px;
    border-radius: 3px;
    background: linear-gradient(135deg, #28599b, #4778b8);
    font: 700 10px var(--font);
    letter-spacing: .15em;
    color: #fff
}

.service-detail .detail-symbol.photo-slot:after {
    content: "ESPAÇO PARA FOTO REAL";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    text-align: center;
    font: 700 8px var(--font);
    letter-spacing: .1em;
    color: #fff
}

.brand-copy strong {
    font-size: 16px;
    letter-spacing: .015em
}

.brand-copy small {
    letter-spacing: .24em
}


/* ===== CLIENTES, GALERIA DE TRABALHOS E REDES SOCIAIS ===== */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0 18px
}

.client-logo-placeholder {
    min-height: 150px;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    border: 1px dashed rgba(40, 89, 155, .35);
    background: linear-gradient(145deg, #f8fafd, #eef3f9);
    color: var(--navy);
    border-radius: 4px
}

.client-logo-placeholder span {
    font-size: 8px;
    letter-spacing: .16em;
    font-weight: 800;
    color: #8a9ab0
}

.client-logo-placeholder strong {
    font: 700 14px var(--heading);
    line-height: 1.35
}

.client-logo-grid.compact .client-logo-placeholder {
    min-height: 125px
}

.client-list-grid {
   
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.client-entry {
    display: grid;
    grid-template-columns: minmax(130px, .75fr) 1.25fr;
    gap: 22px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--line);
    background: #fff
}

.client-logo-placeholder.large {
    min-height: 175px;
    margin: 0
}

.client-entry-copy>span,
.work-photo-card small {
    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 800;
    color: var(--orange)
}

.client-entry-copy h3,
.work-photo-card h3 {
    font: 700 18px var(--heading);
    color: var(--navy);
    margin: 8px 0
}

.client-entry-copy p {
    font-size: 12px;
    line-height: 1.75;
    color: #657386;
    margin: 0
}

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

.work-photo-card {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden
}

.work-photo-slot {
    height: 235px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #fff;
    background: linear-gradient(135deg, #28599b, #173d70);
    overflow: hidden
}

.work-photo-slot:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(13, 36, 67, .12), rgba(13, 36, 67, .62))
}

.work-photo-slot span,
.work-photo-slot strong {
    position: relative;
    z-index: 1
}

.work-photo-slot span {
    position: absolute;
    top: 17px;
    left: 18px;
    font: 800 12px var(--heading);
    color: #fff
}

.work-photo-slot strong {
    font-size: 9px;
    letter-spacing: .16em;
    text-align: center
}

.work-photo-card>div:last-child {
    padding: 20px 20px 23px
}

.work-photo-card h3 {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 0
}

.work-photo-slot.art-climate {
    background: linear-gradient(135deg, #386d9f, #142d50)
}

.work-photo-slot.art-electric {
    background: linear-gradient(135deg, #28599b, #182c49)
}

.work-photo-slot.art-solar {
    background: linear-gradient(135deg, #b86c32, #28599b)
}

.work-photo-slot.art-security {
    background: linear-gradient(135deg, #1d3d61, #6c829b)
}

.social-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 170px
}

.social-placeholder span {
    color: var(--orange)
}

.project-warning {
    margin-top: 28px
}

@media(max-width:900px) {
    .client-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .client-list-grid {
        grid-template-columns: 1fr
    }

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

@media(max-width:700px) {
    .client-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .client-logo-placeholder {
        min-height: 125px;
        padding: 15px 10px
    }

    .client-entry {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 17px
    }

    .client-logo-placeholder.large {
        min-height: 130px
    }

    .work-gallery-grid {
        grid-template-columns: 1fr
    }

    .work-photo-slot {
        height: 220px
    }

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

    .footer-main>div:last-child {
        grid-column: auto
    }
}

/* ===== Galeria do portfólio (2–4 fotos por trabalho) ===== */
.work-photo-slot {
    cursor: default
}

.work-photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .45s;
    z-index: 1
}

.work-photo-slot img.is-active {
    opacity: 1
}

.work-photo-slot.has-photos {
    cursor: zoom-in
}

.work-photo-slot.has-photos:before,
.work-photo-slot.has-photos>strong,
.work-photo-slot.has-photos>span {
    display: none
}

.wp-ui {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none
}

.wp-nav {
    pointer-events: auto;
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 36, 67, .62);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 3px
}

.wp-nav:hover {
    background: var(--orange)
}

.wp-prev {
    left: 10px
}

.wp-next {
    right: 10px
}

.work-photo-slot.multi .wp-nav {
    display: block
}

.wp-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    pointer-events: auto
}

.wp-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer
}

.wp-dots i.on {
    background: var(--orange);
    transform: scale(1.25)
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(8, 18, 32, .94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 14px 64px
}

.lightbox.open {
    display: flex
}

.lightbox>img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px
}

.lb-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0 0 4px
}

.lb-nav:hover {
    background: var(--orange)
}

.lb-prev {
    left: 12px
}

.lb-next {
    right: 12px
}

.lightbox.single .lb-nav {
    display: none
}

.lb-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #c8d3de;
    font-size: 12px;
    letter-spacing: .04em;
    padding: 0 20px
}

body.lb-lock {
    overflow: hidden
}

/* ===== Fotografias reais: serviços, clientes e página inicial ===== */
.service-detail .detail-symbol.photo-slot.has-img:before,
.service-detail .detail-symbol.photo-slot.has-img:after {
    display: none
}

.detail-symbol.has-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.client-logo-placeholder.has-logo {
    border: 1px solid var(--line);
    background: #fff;
    padding: 14px
}

.client-logo-placeholder.has-logo img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block
}

.client-logo-grid.compact .client-logo-placeholder.has-logo img {
    max-height: 80px
}

.hero-photo {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .18)
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 36, 67, .05), rgba(13, 36, 67, .45))
}

/* ===== Fotografias reais: serviços, clientes e página inicial ===== */
.service-detail .detail-symbol.photo-slot.has-img:before,
.service-detail .detail-symbol.photo-slot.has-img:after {
    display: none
}

.detail-symbol.has-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.client-logo-placeholder.has-logo {
    border: 1px solid var(--line);
    background: #fff;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center
}

.client-logo-placeholder.has-logo img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block
}

.client-logo-grid .client-logo-placeholder.has-logo img {
    max-height: 80px
}

.hero-photo {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .18)
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 36, 67, .05), rgba(13, 36, 67, .45))
}

.hero-photo .visual-tag {
    z-index: 3
}

/* ===== Logótipo e cartões com fotografias reais ===== */
.brand-logo {
    height: 58px;
    width: auto;
    display: block
}

.brand-footer .brand-logo {
    height: 70px
}

.service-card {
    padding-top: 222px;
    min-height: 360px
}

.service-card:before,
.service-card:after {
    height: 200px
}

.service-card .service-icon {
    top: 170px
}

@media(max-width:700px) {
    .site-header .brand-logo {
        height: 46px
    }

    .brand-footer .brand-logo {
        height: 60px
    }

    .service-card {
        padding-top: 180px;
        min-height: 300px
    }

    .service-card:before,
    .service-card:after {
        height: 160px
    }

    .service-card .service-icon {
        top: 130px;
        left: 15px
    }
}

/* ===== AJUSTES (nov 2026): clientes, fotos de serviços, botão WhatsApp ===== */

/* 1) Clientes: menos espaço entre "Clientes e Projectos" e o primeiro cliente */
.clients-intro { padding-bottom: 30px }
.client-list-section { padding-top: 30px }

/* 2) Página Serviços: fotografias maiores */
.service-detail { grid-template-columns: 55px minmax(0, 1fr) minmax(280px, 400px) }
.service-detail .detail-symbol,
.service-detail .detail-symbol.photo-slot { height: 290px; min-height: 290px }

/* 3) Botão flutuante do WhatsApp */
.whatsapp-float { background: #25d366; width: 58px; height: 58px; border: 3px solid #fff }
.whatsapp-float svg { width: 30px; height: 30px; display: block }
.whatsapp-float:hover { background: #1ebe5b }

@media(max-width:900px) {
    .service-detail { grid-template-columns: 42px minmax(0, 1fr) 260px }
    .service-detail .detail-symbol,
    .service-detail .detail-symbol.photo-slot { height: 240px; min-height: 240px }
}

@media(max-width:700px) {
    .clients-intro { padding-bottom: 20px }
    .client-list-section { padding-top: 20px }
    .service-detail { grid-template-columns: 34px minmax(0, 1fr) }
    .service-detail .detail-symbol,
    .service-detail .detail-symbol.photo-slot { height: 230px; min-height: 230px }
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px }
}


/* ===== AJUSTES (2): imagem de Informática inteira ===== */
#informatica .detail-symbol.photo-slot.has-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 578 / 531;
    background: #fff
}

#informatica .detail-symbol.has-img img {
    object-fit: contain
}


/* Missão, Visão e Valores na mesma área */
.feature-copy .mvv-list {
    display: grid;
    gap: 22px;
    margin-bottom: 30px
}

.mvv-item {
    border-left: 2px solid var(--orange);
    padding-left: 18px
}

.feature-copy .mvv-item h3 {
    font: 800 22px/1.2 var(--display);
    letter-spacing: -.02em;
    margin: 0 0 8px;
    color: #fff
}

.feature-copy .mvv-item p {
    margin: 0;
    max-width: 520px;
    line-height: 1.75;
    font-size: 15px
}

.mvv-values {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.mvv-values li {
    color: #dbe4ec;
    border: 1px solid #526172;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px
}


/* ===== Hero da página inicial: foto mais aberta (quase inteira) ===== */
.hero-visual.hero-photo {
    height: 540px
}

.hero-visual.hero-photo img {
    object-position: center 25%
}

/* ===== Hero da página Contactos: foto inteira, ao estilo da página inicial ===== */
.page-hero-photo .container {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 50px;
    align-items: center
}

.page-hero-photo .page-hero-copy .breadcrumbs {
    margin-top: 40px
}

.page-hero-photo .contact-hero-photo {
    height: auto;
    aspect-ratio: 1182 / 721;
    width: 100%
}

.page-hero-photo .contact-hero-photo img {
    object-fit: contain;
    object-position: center
}

@media(max-width:900px) {
    .page-hero-photo .container {
        grid-template-columns: 1fr;
        gap: 32px
    }
}

@media(max-width:700px) {
    .hero-visual.hero-photo {
        height: auto;
        aspect-ratio: 698 / 867;
        margin-top: 24px
    }

    .page-hero-photo .contact-hero-photo {
        transform: none
    }
}


/* ===== AJUSTES (nov 2026 – 3): Áreas de actuação, Missão/Visão/Valores, logótipos ===== */

/* Áreas de actuação: foto no topo, ícone, título e descrição (7 cartões: 4 + 3) */
.service-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px
}

.service-grid .service-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e6ebf0;
    box-shadow: 0 6px 22px rgba(16, 28, 43, .05);
    overflow: hidden
}

.service-grid .service-card:nth-child(n+5) {
    grid-column: span 4
}

.service-grid .service-card:before,
.service-grid .service-card:after {
    display: none
}

.service-thumb {
    display: block;
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #eaf1fb
}

.service-grid .service-card:nth-child(n+5) .service-thumb {
    height: 210px
}

.service-thumb:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 25, 39, .25), rgba(12, 25, 39, 0) 45%)
}

.service-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--motion-ease)
}

.service-card:hover .service-thumb img {
    transform: scale(1.06)
}

.service-grid .service-card .service-number {
    top: 14px;
    right: 16px;
    z-index: 2;
    color: #fff;
    font-weight: 700
}

.service-grid .service-card .service-icon {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 22px;
    background: #eaf1fb;
    border: 3px solid #fff;
    box-shadow: 0 5px 18px rgba(16, 28, 43, .14);
    font-size: 22px
}

.service-grid .service-card h3 {
    margin: 16px 22px 10px;
    font-size: 17px;
    line-height: 1.3
}

.service-grid .service-card p {
    margin: 0 22px 24px;
    max-width: none;
    font-size: 13px;
    line-height: 1.75
}

@media(max-width:1100px) {
    .service-grid .service-card,
    .service-grid .service-card:nth-child(n+5) {
        grid-column: span 6
    }

    .service-grid .service-card:last-child {
        grid-column: 4 / span 6
    }
}

@media(max-width:640px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .service-grid .service-card,
    .service-grid .service-card:nth-child(n+5),
    .service-grid .service-card:last-child {
        grid-column: auto
    }

    .service-thumb,
    .service-grid .service-card:nth-child(n+5) .service-thumb {
        height: 180px
    }
}

/* Missão, Visão e Valores: três cartões organizados */
.mvv-band {
    position: relative;
    padding: 80px 0 90px
}

.mvv-band:before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -140px;
    top: -200px;
    border: 1px solid rgba(244, 119, 50, .35);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255, 255, 255, .02), 0 0 0 90px rgba(255, 255, 255, .015);
    pointer-events: none
}

.mvv-band .container {
    position: relative
}

.mvv-head {
    margin-bottom: 38px
}

.mvv-head h2 {
    font: 800 42px/1.15 var(--display);
    letter-spacing: -.03em;
    margin: 10px 0 0;
    color: #fff
}

.mvv-head h2 em {
    color: var(--orange);
    font-style: normal
}

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

.mvv-card {
    position: relative;
    padding: 34px 28px 30px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-top: 3px solid var(--orange);
    transition: transform .25s, background .25s
}

.mvv-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .09)
}

.mvv-num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 12px;
    letter-spacing: .12em;
    color: #8ea2b6
}

.mvv-card h3 {
    font: 800 24px/1.2 var(--display);
    letter-spacing: -.02em;
    margin: 0 0 14px;
    color: #fff
}

.mvv-card p {
    margin: 0;
    max-width: none;
    font-size: 15px;
    line-height: 1.8;
    color: #c9d5e0
}

.mvv-card .mvv-values {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px
}

.mvv-card .mvv-values li {
    border: 0;
    border-radius: 0;
    padding: 0 0 0 22px;
    position: relative;
    font-size: 15px;
    color: #dbe4ec
}

.mvv-card .mvv-values li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%
}

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

    .mvv-band {
        padding: 55px 0 65px
    }

    .mvv-head h2 {
        font-size: 32px
    }
}

/* Logótipos dos clientes (início): todos visíveis, 3 por linha */
.client-logo-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

@media(max-width:700px) {
    .client-logo-grid.compact {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

/* Menu: "Galeria de projectos" é mais longo – evita quebra de linha */
.main-nav>a {
    white-space: nowrap
}


/* ===== AJUSTES (nov 2026 – 4): 8 cartões (4+4) e fotos nos heros ===== */
.service-grid .service-card,
.service-grid .service-card:nth-child(n+5) {
    grid-column: span 3
}

.service-grid .service-card:nth-child(n+5) .service-thumb {
    height: 190px
}

@media(max-width:1100px) {
    .service-grid .service-card,
    .service-grid .service-card:nth-child(n+5),
    .service-grid .service-card:last-child {
        grid-column: span 6
    }
}

@media(max-width:640px) {
    .service-grid .service-card,
    .service-grid .service-card:nth-child(n+5),
    .service-grid .service-card:last-child {
        grid-column: auto
    }
}

/* Foto inteira no hero, sem moldura, sem sombra e sem etiquetas */
.page-hero-photo .container {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 50px;
    align-items: center
}

.page-hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none
}

.page-hero-img img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

@media(max-width:900px) {
    .page-hero-photo .container {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .page-hero-img img {
        max-height: 360px
    }
}


/* Formulário de contacto: mensagens de estado */
.form-status {
    font-size: 13px
}

.form-status[data-state="error"] {
    color: #b3261e
}

.form-submit:disabled {
    opacity: .6;
    cursor: wait
}


/* ===== Correcção: página mais larga que o ecrã no telemóvel (rodapé com e-mails longos) ===== */
.footer-main > div {
    min-width: 0
}

.footer-main a,
.footer-main span {
    overflow-wrap: anywhere
}

@media(max-width:700px) {
    .footer-main {
        grid-template-columns: 1fr
    }
}

html,
body {
    max-width: 100%;
    overflow-x: clip
}

.footer-bottom span span {
    display: inline
}


/* ===== Heros: foto maior e inteira (sem cortes) ===== */
.page-hero-img img {
    max-height: 500px
}

@media(max-width:900px) {
    .page-hero-img img {
        max-height: 420px
    }
}

/* ===== Animações (desligadas para quem prefere movimento reduzido) ===== */
.scroll-progress {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #ffb347);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1000;
    pointer-events: none
}

.site-header {
    transition: box-shadow .3s ease
}

.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(16, 28, 43, .12)
}

@media(prefers-reduced-motion:no-preference) {
    @keyframes page-rise {
        from {
            opacity: 0;
            transform: translateY(26px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes page-photo-in {
        from {
            opacity: 0;
            transform: translateY(34px) scale(.95)
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1)
        }
    }

    @keyframes photo-float {
        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-8px)
        }
    }

    @keyframes ring-spin-slow {
        to {
            transform: rotate(360deg)
        }
    }

    .page-hero-copy > * {
        animation: page-rise .8s var(--motion-ease) both
    }

    .page-hero-copy > *:nth-child(2) {
        animation-delay: .12s
    }

    .page-hero-copy > *:nth-child(3) {
        animation-delay: .24s
    }

    .page-hero-copy > *:nth-child(4) {
        animation-delay: .36s
    }

    .page-hero-img img {
        animation: page-photo-in 1s var(--motion-ease) .2s both, photo-float 7s ease-in-out 1.4s infinite
    }

    .page-hero:after {
        animation: ring-spin-slow 90s linear infinite
    }

    .btn {
        transition: transform .25s var(--motion-ease), box-shadow .25s, background .25s
    }

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(244, 119, 50, .28)
    }

    .client-logo-placeholder {
        transition: transform .3s var(--motion-ease), box-shadow .3s, opacity .75s var(--motion-ease);
        transition-delay: var(--reveal-delay, 0ms)
    }

    .client-logo-placeholder.is-visible:hover {
        transition-delay: 0ms;
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(16, 28, 43, .12)
    }

    .work-photo-card {
        transition: transform .3s var(--motion-ease), box-shadow .3s, opacity .75s var(--motion-ease);
        transition-delay: var(--reveal-delay, 0ms)
    }

    .work-photo-card.is-visible:hover {
        transition-delay: 0ms;
        transform: translateY(-5px);
        box-shadow: 0 16px 34px rgba(16, 28, 43, .14)
    }

    .service-detail {
        transition: opacity .75s var(--motion-ease), transform .75s var(--motion-ease), box-shadow .3s
    }

    .service-detail.is-visible:hover {
        box-shadow: 0 12px 30px rgba(16, 28, 43, .08)
    }
}


/* ===== Heros: moldura decorativa e entrada elegante da foto ===== */
.hero-photo-frame {
    position: relative;
    display: block;
    max-width: 100%;
    line-height: 0
}

.hero-photo-frame:before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translate(18px, 18px);
    border: 2px solid var(--orange);
    border-radius: 20px;
    z-index: 0
}

.hero-photo-frame:after {
    content: "";
    position: absolute;
    left: -26px;
    top: -26px;
    width: 110px;
    height: 110px;
    background-image: radial-gradient(rgba(255, 255, 255, .55) 2px, transparent 2.5px);
    background-size: 14px 14px;
    z-index: 0
}

.hero-photo-frame img {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 28px 55px rgba(4, 14, 28, .45);
    animation: none
}

@media(prefers-reduced-motion:no-preference) {
    .hero-photo-frame {
        animation: page-photo-in 1s var(--motion-ease) .2s both, photo-float 7s ease-in-out 1.4s infinite
    }

    .hero-photo-frame:before {
        animation: frame-draw .9s var(--motion-ease) .7s both
    }

    @keyframes frame-draw {
        from {
            opacity: 0;
            transform: translate(0, 0)
        }

        to {
            opacity: 1;
            transform: translate(18px, 18px)
        }
    }
}

@media(max-width:900px) {
    .hero-photo-frame:before {
        transform: translate(10px, 10px);
        border-radius: 16px
    }

    .hero-photo-frame:after {
        left: -14px;
        top: -14px;
        width: 80px;
        height: 80px
    }

    .hero-photo-frame img {
        border-radius: 16px
    }

    @keyframes frame-draw {
        to {
            opacity: 1;
            transform: translate(10px, 10px)
        }
    }

    .page-hero-img {
        padding: 0 14px 14px 0
    }
}


/* ===== Hero da página inicial: mesmo estilo dos heros das outras páginas ===== */
.hero-visual.hero-photo-wrap {
    height: auto;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: none;
    padding: 0 18px 18px 0
}

.hero-photo-wrap .hero-photo-frame img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain
}

@media(max-width:900px) {
    .hero-visual.hero-photo-wrap {
        height: auto;
        margin-top: 26px;
        padding: 0 12px 12px 0
    }

    .hero-photo-wrap .hero-photo-frame img {
        max-height: 400px
    }
}


/* ===== Fornecedores (página Serviços): faixa animada de logótipos ===== */
.suppliers-section {
    background: #fff;
    border-top: 1px solid #e6ebf0;
    overflow: hidden
}

.supplier-marquee {
    position: relative;
    margin-top: 36px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}

.supplier-track {
    display: flex;
    width: max-content;
    animation: supplier-scroll 45s linear infinite
}

.supplier-marquee:hover .supplier-track {
    animation-play-state: paused
}

.supplier-set {
    display: flex;
    gap: 22px;
    padding-right: 22px
}

.supplier-logo {
    flex: 0 0 auto;
    width: 200px;
    height: 104px;
    display: grid;
    place-items: center;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid #e6ebf0;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(16, 28, 43, .05);
    transition: transform .3s var(--motion-ease), box-shadow .3s, border-color .3s
}

.supplier-logo:hover {
    transform: translateY(-6px) scale(1.04);
    border-color: var(--orange);
    box-shadow: 0 16px 32px rgba(16, 28, 43, .12)
}

.supplier-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain
}

@keyframes supplier-scroll {
    to {
        transform: translateX(-50%)
    }
}

@media(max-width:640px) {
    .supplier-logo {
        width: 150px;
        height: 84px;
        padding: 14px 16px
    }

    .supplier-set {
        gap: 14px;
        padding-right: 14px
    }

    .supplier-track {
        animation-duration: 38s
    }
}

@media(prefers-reduced-motion:reduce) {
    .supplier-marquee {
        -webkit-mask-image: none;
        mask-image: none
    }

    .supplier-track {
        width: auto;
        animation: none;
        justify-content: center
    }

    .supplier-set {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 20px
    }

    .supplier-set[aria-hidden="true"] {
        display: none
    }
}

/* Contactos: dois e-mails empilhados */
.contact-detail-multi a {
    display: block;
    overflow-wrap: anywhere
}

.contact-detail-multi a + a {
    margin-top: 10px
}
