:root {
  --bg: #0f1318;
  --surface: #ffffff;
  --surface-soft: #f3f5f7;
  --text: #18202a;
  --muted: #5f6b79;
  --line: #dde3ea;
  --yellow: #f2c21b;
  --yellow-strong: #e8b700;
  --navy: #1d2b5f;
  --shadow: 0 18px 42px rgba(14, 25, 38, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 16, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { flex-shrink: 0; }
.brand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  padding: 10px 24px;
  border: 4px solid #dbe6ff;
  border-radius: 999px;
  background: #203cc8;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3);
}
.brand-main {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand-sub {
  color: rgba(255,255,255,0.95);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 2px;
}
.small-badge { min-width: 132px; padding: 8px 18px; transform: scale(.92); transform-origin: left center; }

.nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--yellow); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
}
.header-cta {
  padding: 12px 18px;
  background: var(--yellow);
  color: #0f1318;
  box-shadow: 0 10px 25px rgba(242,194,27,.22);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  color: #fff;
  background: none;
  border: 0;
  font-size: 1.7rem;
}

.hero {
  position: relative;
  min-height: min(860px, 92vh);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #0b1016;
}
.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(8, 12, 17, 0.86) 0%, rgba(8, 12, 17, 0.66) 42%, rgba(8, 12, 17, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
  padding: 110px 0 56px;
}
.hero-copy {
  max-width: 700px;
  color: #fff;
}
.eyebrow, .section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,0.86); margin-bottom: 18px; }
.hero h1, h2, h3 { font-family: 'Manrope', sans-serif; margin: 0; }
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.75rem);
  line-height: .96;
  letter-spacing: -0.05em;
  margin-bottom: 26px;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 1.08rem;
  max-width: 630px;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn { padding: 15px 24px; border: 1px solid transparent; }
.btn-primary { background: var(--yellow); color: #12161c; box-shadow: 0 12px 30px rgba(242,194,27,.2); }
.btn-primary:hover { background: var(--yellow-strong); transform: translateY(-1px); }
.btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.26); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: end;
}
.stat-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
}
.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}
.stat-card span {
  display: block;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

.section { padding: 108px 0; }
.section-intro { background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%); }
.intro-grid, .highlight-grid, .contact-grid, .clients-grid, .fleet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.section-tag {
  color: #91710a;
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 860px;
}
h2 span { color: var(--navy); }
.intro-text p, .highlight-copy > p, .section-summary, .fleet-copy p, .project-body p, .client-list, .contact-section p {
  color: var(--muted);
  font-size: 1.02rem;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}
.section-summary { max-width: 430px; margin: 0; }
.compact-head { margin-bottom: 26px; }

.card-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-frame img { height: 100%; object-fit: cover; }
.highlight-media { min-height: 560px; }
.highlight-media img { object-position: center 18%; }
.bullet-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.bullet-list div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 20px;
}
.bullet-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}
.bullet-list p { margin: 0; color: var(--muted); }

.services-section { background: #0f1318; }
.services-section h2, .services-section .section-summary, .services-section .section-tag { color: #fff; }
.services-section .section-tag { color: var(--yellow); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.service-card span { color: var(--yellow); font-weight: 800; }
.service-card h3 { font-size: 1.28rem; margin: 14px 0 10px; }
.service-card p { margin: 0; color: rgba(255,255,255,0.82); }

.fleet-gallery {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}
.fleet-gallery .tall { min-height: 520px; }
.fleet-gallery figure { position: relative; }
.fleet-gallery figcaption, .gallery-grid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 19, 24, 0.72);
  color: #fff;
  font-size: 0.92rem;
  backdrop-filter: blur(8px);
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 700;
}

.projects-section { background: #f7f9fb; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-card.featured { grid-column: span 2; }
.project-image { aspect-ratio: 16 / 10; background: #d9e1ea; }
.project-image img { height: 100%; object-fit: cover; }
.project-body { padding: 24px; }
.project-location {
  display: inline-block;
  font-size: .76rem;
  letter-spacing: .14em;
  color: #9b7c17;
  font-weight: 800;
  margin-bottom: 10px;
}
.project-body h3 { font-size: 1.38rem; margin-bottom: 10px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-grid figure { min-height: 280px; position: relative; }
.gallery-grid img { height: 100%; object-fit: cover; }

.clients-section {
  background: linear-gradient(180deg, #fff 0%, #f4f7fb 100%);
}
.clients-grid { align-items: start; }
.dark-copy { margin-top: 16px; }
.client-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.client-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(14,25,38,0.06);
}
.portfolio-clients { padding: 12px; }
.portfolio-clients img { border-radius: 16px; border: 1px solid var(--line); height: auto; object-fit: contain; }

.contact-section {
  background: #0f1318;
  color: #fff;
}
.contact-section .section-tag { color: var(--yellow); }
.contact-section p { color: rgba(255,255,255,0.82); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.contact-note { margin-top: 18px; font-size: 0.94rem; }
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 30px;
}
.contact-block + .contact-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-block small {
  display: inline-block;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.contact-block h3 { font-size: 1.35rem; margin-bottom: 6px; }
.contact-block p { margin: 0; color: #fff; }

.site-footer {
  background: #0b1016;
  color: rgba(255,255,255,0.8);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-inner p { margin: 0; text-align: center; }
.site-footer a { color: #fff; }

@media (max-width: 1100px) {
  .hero-content,
  .intro-grid,
  .highlight-grid,
  .fleet-grid,
  .clients-grid,
  .contact-grid,
  .section-head { grid-template-columns: 1fr; display: grid; }
  .hero-content { padding-top: 102px; }
  .hero-panel { max-width: 760px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card.featured { grid-column: span 2; }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #0f1318;
    padding: 18px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .hero { min-height: auto; }
  .hero-content { padding: 90px 0 34px; }
  .hero-panel, .fleet-gallery, .gallery-grid, .services-grid, .projects-grid, .client-list { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: auto; }
  .section { padding: 76px 0; }
  .highlight-media { min-height: 380px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 72px; gap: 14px; }
  .brand-badge { min-width: 126px; padding: 8px 16px; border-width: 3px; }
  .brand-main { font-size: 1.25rem; }
  .brand-sub { font-size: .45rem; }
  .hero-overlay { background: linear-gradient(180deg, rgba(8, 12, 17, 0.72) 0%, rgba(8, 12, 17, 0.84) 60%, rgba(8, 12, 17, 0.92) 100%); }
  .hero-bg img { object-position: center 38%; }
  .hero-copy p, .intro-text p, .section-summary, .project-body p, .contact-section p { font-size: 0.98rem; }
  .hero h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .hero-panel { gap: 12px; }
  .stat-card { padding: 18px; }
  .btn, .header-cta { width: 100%; }
  .hero-actions, .contact-actions { width: 100%; }
  .footer-inner { flex-direction: column; justify-content: center; padding: 28px 0; text-align: center; }
}

/* Client marks: consistent alignment without distortions */
.client-logo-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:42px}
.client-logo-card{background:#fff;border:1px solid #e0e6ed;border-radius:16px;min-width:0;padding:17px 12px;text-align:center;box-shadow:0 7px 22px rgba(14,25,38,.045);display:flex;flex-direction:column;justify-content:center;gap:13px}
.logo-window{height:112px;display:flex;justify-content:center;align-items:center;overflow:hidden}
.logo-window img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.client-logo-card span{font-size:.84rem;line-height:1.4;color:#475261;font-weight:600;min-height:2.8em}
@media(max-width:1050px){.client-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:660px){.client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:26px}.client-logo-card{padding:12px 8px}.logo-window{height:88px}.client-logo-card span{font-size:.73rem}.hero-bg img{object-position:64% 40%}.hero-content{padding:65px 0 34px}}
@media(max-width:380px){.hero h1{font-size:2.28rem}.stat-card{padding:13px}.stat-card span{font-size:.79rem}}

/* Ajustes finais de identidade original e enquadramento */
.brand-badge,.small-badge {background:transparent;border:0;box-shadow:none;min-width:0;padding:0;border-radius:0;transform:none}
.brand .logo-original{width:180px;max-width:100%;height:69px;object-fit:contain;display:block}
.footer-brand .logo-original{width:170px;height:68px;object-fit:contain}
.project-image,.gallery-grid figure,.fleet-gallery figure {display:flex;align-items:center;justify-content:center;overflow:hidden}
.project-image img,.gallery-grid figure img,.fleet-gallery figure img {width:100%;height:100%;object-fit:contain!important;object-position:center!important;background:#eff2f5}
.project-image {aspect-ratio: 16/10}
.gallery-grid figure {height:280px;min-height:0}
.gallery-grid figure img {padding:7px}
.highlight-media img {object-fit:contain!important;object-position:center!important;background:#eef1f4}
.zoomable {cursor:zoom-in;transition:filter .2s ease}
.zoomable:hover {filter:brightness(.96)}
.zoomable:focus-visible {outline:3px solid #eac02a;outline-offset:-3px}
.foto-modal[hidden]{display:none}
.foto-modal{position:fixed;inset:0;z-index:999;background:rgba(5,8,12,.94);display:flex;justify-content:center;align-items:center;padding:5rem 1rem 1rem;cursor:zoom-out}
.foto-modal .modal-image{width:auto;height:auto;max-width:96vw;max-height:85vh;object-fit:contain;cursor:default}
.modal-close{position:absolute;top:12px;right:22px;font-size:46px;color:white;background:none;border:0;cursor:pointer}
@media(max-width:820px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid figure{height:210px}.brand .logo-original{width:145px;height:55px}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr}.gallery-grid figure{height:280px}.project-image{aspect-ratio:4/3}.hero-bg img{object-position:50% 55%}.hero h1{font-size:clamp(2.1rem,9.2vw,2.8rem);line-height:1.05}.container{width:calc(100% - 32px)}.hero-content{padding:80px 0 36px}.section{padding:64px 0}.header-inner{min-height:70px}.brand .logo-original{width:138px;height:52px}}

/* Ajuste final da logomarca: oval isolada, sem fundo quadrado e maior no cabeçalho */
.brand-badge,.small-badge {display:inline-flex!important;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0!important;padding:0!important;border-radius:0!important;transform:none!important;}
.brand .logo-original {display:block!important;width:246px!important;height:auto!important;max-width:100%!important;object-fit:contain!important;}
.footer-brand .logo-original {width:195px!important;height:auto!important;object-fit:contain!important;}
.site-header .header-inner {min-height:104px;}
@media(max-width:1050px) {.brand .logo-original{width:205px!important;} .site-header .header-inner{min-height:92px;}}
@media(max-width:640px) {.brand .logo-original{width:164px!important;} .site-header .header-inner{min-height:78px;} .footer-brand .logo-original{width:165px!important;}}
