:root {
  color-scheme: light;
  --ink: #182127;
  --ink-soft: #536068;
  --night: #121a20;
  --night-2: #1c282f;
  --paper: #f5f4f0;
  --white: #fff;
  --accent: #d69b45;
  --accent-light: #e8b96d;
  --line: rgba(24, 33, 39, .14);
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", "DM Sans", Arial, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 16px; transform: translateY(-160%); background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--night); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.09); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; display: flex; align-items: end; gap: 3px; transform: skew(-20deg); }
.brand-mark span { display: block; width: 8px; background: var(--accent); }
.brand-mark span:nth-child(1) { height: 15px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 24px; }
.brand-mark span:nth-child(3) { height: 32px; opacity: .82; }
.brand-name { font: 800 12px/1.2 var(--font-display); letter-spacing: .14em; }
.brand-name small { display: block; margin-top: 5px; color: #a9b2b7; font: 600 8px/1 var(--font-body); letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.main-nav > a { color: #d0d5d7; text-decoration: none; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.main-nav > a:hover, .main-nav > a:focus-visible { color: var(--accent-light); }
.main-nav .nav-cta { padding: 14px 17px; background: var(--accent); color: var(--night); font-weight: 700; }
.nav-cta span { margin-left: 13px; font-size: 16px; }
.menu-toggle { display: none; }
.demo-banner { padding: 10px 18px; background: #f0d8ad; color: #493415; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .15em; }

/* Apresentação */
.hero { min-height: min(690px, calc(100svh - 82px)); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--night); color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=82") center 48% / cover no-repeat; transform: scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(12,19,23,.94) 0%, rgba(12,19,23,.82) 43%, rgba(12,19,23,.30) 100%), linear-gradient(0deg, rgba(12,19,23,.45), transparent 40%); }
.hero-content { position: relative; z-index: 1; padding-block: 100px 104px; }
.eyebrow { margin: 0 0 25px; color: var(--accent-light); font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.eyebrow-line { display: inline-block; width: 31px; height: 1px; margin: 0 12px 3px 0; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
.hero h1 { max-width: 790px; margin-bottom: 21px; font-size: clamp(45px, 6.8vw, 82px); line-height: 1.04; letter-spacing: -.065em; font-weight: 700; }
.hero h1 span { color: var(--accent-light); }
.hero-copy { max-width: 530px; margin-bottom: 34px; color: #d1d6d8; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; padding: 0 20px; text-decoration: none; font-size: 12px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: var(--night); }
.button-accent:hover { background: var(--accent-light); }
.button-outline { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button span { font-size: 16px; }
.hero-caption { margin-top: 76px; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.caption-dot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--accent); }
.hero-index { position: absolute; right: max(32px, calc((100vw - var(--container)) / 2)); bottom: 38px; color: var(--white); font: 700 12px var(--font-display); letter-spacing: .12em; }
.hero-index span { margin: 0 6px; color: var(--accent); }
.service-strip { background: var(--accent); color: #172026; }
.service-strip-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.service-strip span { font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.service-strip i { width: 4px; height: 4px; flex: 0 0 auto; border-radius: 50%; background: rgba(24,33,39,.55); }

/* Soluções */
.section { padding-block: 110px; }
.solutions-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 46px; }
.eyebrow-dark { color: #9b6924; }
.section-heading h2, .about-copy h2, .contact-lead h2 { margin-bottom: 0; font-size: clamp(36px, 4.7vw, 58px); line-height: 1.08; letter-spacing: -.06em; }
.section-heading h2 span { color: #8a9295; }
.section-intro { max-width: 370px; margin-bottom: 5px; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.solution-card { position: relative; min-height: 385px; overflow: hidden; background: #273239; color: var(--white); }
.solution-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(12,18,22,.96) 0%, rgba(12,18,22,.57) 45%, rgba(12,18,22,.04) 100%); }
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.solution-card:hover img { transform: scale(1.045); }
.solution-content { position: absolute; z-index: 1; inset: auto 22px 22px; }
.card-number { color: var(--accent-light); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.solution-content h3 { margin: 11px 0 9px; font-size: 21px; letter-spacing: -.04em; }
.solution-content p { min-height: 60px; margin-bottom: 18px; color: #d5d9da; font-size: 11px; line-height: 1.65; }
.solution-content a { display: inline-flex; align-items: center; gap: 18px; color: var(--white); text-decoration: none; font-size: 10px; font-weight: 700; }
.solution-content a span { color: var(--accent-light); font-size: 15px; }
.image-note { margin: 13px 0 0; color: #727c81; font-size: 9px; }

/* Sobre */
.about-section { min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; background: var(--night-2); color: var(--white); }
.about-photo { min-height: 590px; background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat; }
.about-copy { position: relative; align-self: center; max-width: 600px; padding: 90px clamp(45px, 7vw, 110px); }
.about-copy h2 { margin-bottom: 25px; font-size: clamp(42px, 5vw, 64px); }
.about-placeholder { max-width: 440px; margin-bottom: 28px; color: #c7ced1; font-size: 14px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 9px; border-bottom: 1px solid var(--accent); color: var(--white); text-decoration: none; font-size: 11px; font-weight: 700; }
.text-link span { color: var(--accent-light); font-size: 16px; }
.about-coordinates { position: absolute; right: 30px; bottom: 25px; color: #778187; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.about-coordinates span { margin: 0 7px; color: var(--accent); }

/* Projetos */
.projects-section { background: #ebe9e3; }
.project-heading { margin-bottom: 40px; }
.project-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 15px; }
.project-card { position: relative; min-height: 390px; overflow: hidden; background: #273239; color: var(--white); }
.project-card::after { position: absolute; inset: 35% 0 0; content: ""; background: linear-gradient(0deg, rgba(13,19,23,.91), transparent); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.035); }
.project-label { position: absolute; z-index: 1; right: 24px; bottom: 23px; left: 24px; }
.project-label > span { color: var(--accent-light); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.project-label h3 { margin: 10px 0 5px; font-size: 22px; }
.project-label p { margin: 0; color: #d2d7d9; font-size: 11px; }

/* Contato e rodapé */
.contact-section { padding-block: 100px; background: var(--night); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; }
.contact-lead h2 { margin-bottom: 17px; font-size: clamp(39px, 5vw, 62px); }
.contact-lead > p:not(.eyebrow):not(.contact-setup-note) { max-width: 440px; margin-bottom: 25px; color: #bac2c6; font-size: 14px; line-height: 1.75; }
.contact-setup-note { margin: 13px 0 0; color: #aab3b8; font-size: 10px; }
.contact-setup-note code { color: var(--accent-light); }
.contact-setup-note[hidden] { display: none; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 0 28px; border-top: 1px solid rgba(255,255,255,.15); }
.contact-detail { min-height: 90px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-detail > span { display: block; margin-bottom: 10px; color: var(--accent-light); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.contact-detail p, .contact-detail a { margin: 0; color: #e3e6e7; font-size: 12px; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; }
.contact-detail a:hover { color: var(--accent-light); }
.site-footer { background: #0c1216; color: #aeb7bb; }
.footer-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { color: var(--white); }
.footer-inner > p { margin: 0; font-size: 9px; }
.back-top { color: var(--accent-light); text-decoration: none; font-size: 8px; font-weight: 700; letter-spacing: .13em; }

:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 4px; }

@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .main-nav > a { font-size: 11px; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-card { min-height: 420px; }
  .about-copy { padding-inline: 50px; }
  .contact-layout { gap: 45px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .container { width: min(var(--container), calc(100% - 40px)); }
  .header-inner { min-height: 70px; }
  .menu-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: var(--white); cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 70px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: var(--night); border-top: 1px solid rgba(255,255,255,.09); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav > a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
  .main-nav .nav-cta { margin-top: 12px; padding: 15px; border: 0; text-align: center; }
  .hero { min-height: 650px; min-height: min(760px, calc(100svh - 70px)); align-items: end; }
  .hero-image { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(12,19,23,.97) 0%, rgba(12,19,23,.72) 57%, rgba(12,19,23,.26) 100%); }
  .hero-content { padding-block: 48px 44px; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero h1 { margin-bottom: 15px; font-size: clamp(41px, 10.5vw, 56px); }
  .hero-copy { max-width: 400px; margin-bottom: 20px; font-size: 13px; line-height: 1.55; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .hero-actions .button { justify-content: space-between; }
  .hero-caption { max-width: 290px; margin-top: 18px; font-size: 7px; line-height: 1.7; }
  .hero-index { right: 20px; bottom: 24px; }
  .service-strip-inner { min-height: unset; align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 20px; }
  .service-strip i { display: none; }
  .section { padding-block: 76px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 19px; margin-bottom: 30px; }
  .section-intro { max-width: 520px; margin: 0; font-size: 13px; }
  .solution-grid { gap: 10px; }
  .solution-card { min-height: 365px; }
  .solution-content { right: 15px; bottom: 17px; left: 15px; }
  .solution-content h3 { font-size: 17px; }
  .solution-content p { min-height: 72px; font-size: 10px; }
  .about-section { grid-template-columns: 1fr; }
  .about-photo { min-height: 310px; }
  .about-copy { padding: 63px 25px 85px; }
  .about-copy h2 { font-size: 48px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-large { min-height: 330px; }
  .contact-section { padding-block: 76px; }
  .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .contact-details { gap: 0 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 19px; padding-block: 28px; }
  .footer-inner > p { line-height: 1.5; }
}

@media (max-width: 390px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 390px; }
  .contact-details { grid-template-columns: 1fr; }
  .button { padding-inline: 15px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
