:root {
  --red: #aa252a;
  --dark: #252020;
  --muted: #696060;
  --paper: #faf8f5;
  --line: #e4ddd8;
  --white: #fff;
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

button,
summary {
  cursor: pointer;
}

a,
button,
summary,
input,
select,
textarea {
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2165ae;
  outline-offset: 5px;
}

header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1240px;
  margin: auto;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1;
  color: var(--red);
}

.brand span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-top: 7px;
}

.brand:hover {
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

nav [aria-current="page"] {
  color: var(--red);
  font-weight: bold;
}

.header-cta {
  background: var(--red);
  color: white;
  padding: 13px 18px;
  border-radius: var(--radius);
}

#main-menu {
  position: relative;
}

#main-menu summary {
  list-style: none;
  padding: 10px 0;
}

#main-menu summary::-webkit-details-marker {
  display: none;
}

.submenu {
  position: absolute;
  right: 0;
  top: 50px;
  z-index: 10;
  background: white;
  box-shadow: 0 10px 30px #25202015;
  border: 1px solid var(--line);
  min-width: 210px;
  padding: 12px;
}

.submenu a {
  display: block;
  padding: 10px 14px;
}

.submenu a:hover {
  background: var(--paper);
}

main {
  max-width: 1240px;
  margin: auto;
  padding: 0 40px;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -1.5px;
}

h1 {
  font-size: clamp(40px, 4.9vw, 66px);
  margin-bottom: 27px;
}

h1 span {
  color: var(--red);
}

h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin-bottom: 22px;
}

h3 {
  font-size: 25px;
  letter-spacing: -0.7px;
}

p {
  color: var(--muted);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 24px;
}

.lead {
  font-size: 17px;
  line-height: 1.8;
  max-width: 620px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 65px;
  padding: 80px 0;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--red);
  color: white;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 600;
  min-height: 50px;
}

.button:hover {
  background: #8c1d22;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--dark);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--red);
}

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

.hero-note {
  font-size: 12px;
  margin: 25px 0 0;
  max-width: 400px;
}

.hero-panel {
  background: var(--red);
  color: #fff;
  padding: 35px 32px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
}

.panel-kicker {
  font-size: 11px;
  letter-spacing: 1px;
}

.need {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #ffffff40;
}

.need span {
  font-size: 11px;
  color: #ffdcdd;
  padding-top: 5px;
}

.need p {
  font-size: 23px;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-panel a {
  font-size: 12px;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.section {
  padding: 65px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 35px;
}

.section-head h2 {
  margin-bottom: 0;
}

.text-link {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  display: inline-block;
  text-underline-offset: 5px;
}

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

.intro-grid article {
  padding: 18px 0;
}

.small-num {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--red);
  display: block;
  margin-bottom: 25px;
}

.intro-grid p {
  font-size: 15px;
}

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

.project {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}

.project-art {
  height: 260px;
  padding: 24px 30px;
  position: relative;
  background: #eadfd5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.art-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-art strong {
  font-size: 36px;
  letter-spacing: -1px;
  line-height: 1.1;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.art-lines {
  position: absolute;
  right: 25px;
  top: 90px;
  transform: rotate(-10deg);
}

.art-lines i {
  display: block;
  width: 110px;
  height: 33px;
  background: #fff9;
  border: 1px solid #fff;
  margin: 10px;
  box-shadow: 0 5px 15px #00000008;
}

.art-caption {
  font-size: 9px;
  opacity: 0.75;
}

.central {
  background: #e5e7e3;
}

.central .art-lines {
  transform: rotate(8deg);
}

.project-body {
  padding: 30px;
}

.project-body .eyebrow {
  margin-bottom: 13px;
}

.project-body h2 {
  font-size: 29px;
}

.project-body p {
  font-size: 14px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.tags span {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 10px;
  color: var(--muted);
}

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

.process ol {
  margin: 0;
  padding-left: 22px;
}

.process li {
  padding-left: 15px;
  margin-bottom: 22px;
}

.process li::marker {
  color: var(--red);
}

.process strong {
  font-size: 18px;
  font-weight: 500;
}

.process p {
  font-size: 14px;
  margin: 8px 0;
}

.cta {
  background: #eee7e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px;
  margin: 35px 0 75px;
  border-radius: var(--radius);
}

.cta h2 {
  font-size: 31px;
  margin: 0;
}

.cta .button {
  flex-shrink: 0;
}

.page-heading {
  padding: 70px 0 40px;
}

.page-heading h1 {
  font-size: clamp(40px, 5vw, 64px);
}

.services {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 55px 1fr 170px;
  gap: 30px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  color: var(--red);
  font-size: 13px;
  padding-top: 7px;
}

.service h2 {
  font-size: 29px;
  margin-bottom: 14px;
}

.service p {
  max-width: 620px;
  font-size: 15px;
}

.service > .text-link {
  padding-top: 10px;
  text-align: right;
}

.service details summary {
  font-size: 13px;
  color: var(--red);
  padding: 6px 0;
}

.service details p {
  margin: 18px 0 10px;
}

.service li {
  font-size: 14px;
  color: var(--muted);
}

.scope-note {
  font-size: 13px;
  padding: 25px 0;
  max-width: 760px;
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 65px;
  margin-bottom: 80px;
}

.contact-note {
  background: #eee7e1;
  padding: 35px;
  align-self: start;
}

.contact-note h2 {
  font-size: 31px;
}

.contact-note p,
.contact-note li {
  font-size: 14px;
}

.contact-note ol {
  padding-left: 20px;
}

.contact-note li {
  padding: 8px;
}

.contact-note .small {
  margin-top: 35px;
}

.field {
  margin-bottom: 22px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #b9aeaa;
  border-radius: var(--radius);
  padding: 13px;
  background: #fff;
  color: var(--dark);
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--red);
}

.error {
  display: block;
  color: var(--red);
  font-size: 12px;
  margin-top: 5px;
}

.privacy,
.small {
  font-size: 12px;
  color: var(--muted);
}

#form-status {
  color: var(--red);
  font-size: 14px;
}

form > .small {
  margin-top: 15px;
}

footer {
  max-width: 1160px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 30px;
}

footer p {
  font-size: 13px;
}

footer > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

footer small {
  font-size: 10px;
  color: var(--muted);
  grid-column: 1 / -1;
}

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

.skip:focus {
  position: fixed;
  z-index: 100;
  background: white;
  padding: 15px;
}

@media (max-width: 950px) {
  .hero {
    gap: 30px;
  }

  .hero-panel {
    padding: 25px;
  }

  .need p {
    font-size: 20px;
  }

  .actions .button {
    width: 100%;
  }

  .header-inner {
    padding: 20px 25px;
  }

  main {
    padding: 0 25px;
  }

  footer {
    margin: 0 25px;
  }

  .contact-grid {
    gap: 30px;
  }

  .intro-grid {
    gap: 25px;
  }

  .cta {
    padding: 30px;
  }

  .cta h2 {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 90px;
    padding: 18px 20px;
  }

  .brand {
    font-size: 34px;
  }

  .brand span {
    font-size: 9px;
    letter-spacing: 2px;
  }

  nav {
    gap: 16px;
    font-size: 13px;
  }

  .desktop-link {
    display: none;
  }

  .header-cta {
    font-size: 11px;
    padding: 11px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 35px;
  }

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

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

  .section {
    padding: 40px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .intro-grid,
  .projects,
  .process,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 12px;
  }

  .intro-grid article {
    border-bottom: 1px solid var(--line);
  }

  .process {
    gap: 20px;
  }

  .cta {
    flex-direction: column;
    align-items: start;
    padding: 25px;
    margin-bottom: 40px;
  }

  .page-heading {
    padding: 45px 0 25px;
  }

  .service {
    grid-template-columns: 28px 1fr;
    gap: 15px;
  }

  .service > .text-link {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }

  .service h2 {
    font-size: 26px;
  }

  .project-art {
    height: 230px;
  }

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

  .contact-note {
    padding: 25px;
  }

  .contact-grid {
    gap: 30px;
    margin-bottom: 40px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 30px 0;
  }

  footer p {
    grid-column: 2;
  }

  footer > div {
    grid-column: 1 / -1;
  }

  main {
    padding: 0 20px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .lead {
    font-size: 16px;
  }

  h2 {
    font-size: 31px;
  }

  .art-lines {
    right: 6px;
  }

  .art-lines i {
    width: 80px;
  }

  .project-body {
    padding: 25px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition: background-color 0.15s, border-color 0.15s;
  }
}

/* Adaptação visual do protótipo */

:root {
  --red: #b32630;
  --dark: #171717;
  --muted: #626262;
  --paper: #faf9f7;
  --line: #e6e2e0;
  --radius: 12px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

.header-inner {
  min-height: 85px;
  max-width: 1220px;
}

.brand {
  font-style: italic;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -2px;
}

.brand span {
  font-style: normal;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 2px;
}

.header-cta {
  background: #fff;
  border: 1px solid var(--red);
  border-radius: 50px;
  color: var(--red);
  font-weight: 700;
}

.desktop-link {
  padding: 10px 13px;
  border-radius: 12px;
}

nav {
  gap: 15px;
}

nav a[aria-current="page"] {
  background: var(--red);
  color: white;
}

.submenu {
  border-radius: 12px;
}

.submenu a {
  border-radius: 8px;
}

main {
  max-width: 1220px;
}

.hero {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  padding: 85px 0 60px;
}

.hero h1 {
  font-size: clamp(48px, 5.8vw, 78px);
  letter-spacing: -4px;
  font-weight: 750;
  line-height: 1.03;
  max-width: 650px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(
    transparent 73%,
    #f1b8bc 73%
  );
}

.hero .lead {
  font-size: 18px;
  line-height: 1.65;
}

.button {
  border-radius: 12px;
  padding: 16px 22px;
  font-weight: 700;
}

.button.secondary {
  border-color: var(--dark);
}

.hero-panel {
  background: var(--red);
  border-radius: 28px;
  box-shadow: 16px 16px 0 #eedddd;
  padding: 28px;
  min-height: 380px;
  justify-content: flex-start;
  align-self: center;
}

.panel-kicker {
  align-self: start;
  background: #fff;
  color: var(--red);
  border-radius: 20px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-panel h2 {
  font-weight: 650;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 34px 0 0;
}

.flow-window {
  background: #ffffff12;
  border: 1px solid #ffffff55;
  padding: 15px;
  border-radius: 15px;
  margin-top: 28px;
}

.window-dots {
  color: #f3b6bc;
  letter-spacing: 4px;
  font-size: 12px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 25px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.flow > div {
  padding: 18px 6px;
  border-radius: 12px;
  background: #fff;
  color: var(--dark);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.flow small {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.flow > span {
  text-align: center;
  font-size: 24px;
}

.intro-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: #f3dedf;
  border-radius: 24px;
  padding: 32px;
  margin: 0 0 55px;
}

.intro-banner h2 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.intro-banner p {
  margin: 0;
  font-size: 14px;
}

.intro-banner .button {
  flex-shrink: 0;
}

.section {
  border-top: 0;
  padding: 45px 0;
}

.section h2,
.page-heading h1 {
  font-weight: 700;
}

.page-heading h1 {
  letter-spacing: -2.5px;
  font-size: clamp(40px, 5vw, 60px);
}

.intro-grid {
  gap: 18px;
}

.intro-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 27px;
}

.intro-grid h3 {
  font-weight: 650;
}

.projects {
  gap: 20px;
}

.project {
  border-radius: 23px;
}

.project-art {
  background: #f3dedf;
  height: 220px;
}

.central {
  background: #b32630;
  color: white;
}

.project-art strong {
  font-weight: 750;
}

.project-body h2 {
  font-weight: 700;
}

.cta {
  border-radius: 24px;
  background: #f3dedf;
}

.cta h2 {
  font-weight: 650;
  font-size: 28px;
}

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

.service {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
}

.service-num {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
}

.service h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.service > .text-link {
  margin-top: auto;
  text-align: left;
  padding-top: 16px;
}

.service p {
  font-size: 14px;
}

.service details summary {
  font-size: 12px;
}

.contact-note {
  background: var(--red);
  color: #fff;
  border-radius: 23px;
}

.contact-note p,
.contact-note .small {
  color: #fff;
}

.contact-note h2 {
  font-weight: 650;
}

#quote-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: #fff;
}

input,
textarea,
select {
  border-radius: 10px;
  background: #fafafa;
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 35px;
}

footer {
  max-width: 1140px;
}

.project-art .art-caption {
  opacity: 1;
}

.eyebrow {
  font-weight: 800;
}

.service details ul {
  padding-left: 18px;
}

@media (max-width: 950px) {
  .hero {
    gap: 28px;
  }

  .hero h1 {
    font-size: 57px;
    letter-spacing: -3px;
  }

  .hero-panel {
    padding: 22px;
    box-shadow: 10px 10px 0 #eedddd;
  }

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

  .hero .actions .button {
    width: auto;
  }

  .flow > div {
    font-size: 14px;
  }

  .hero-panel h2 {
    font-size: 29px;
  }

  .panel-kicker {
    font-size: 9px;
  }

  .intro-banner {
    padding: 26px;
  }

  .intro-banner h2 {
    font-size: 24px;
  }
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 40px;
    gap: 30px;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 64px);
    letter-spacing: -2.5px;
  }

  .hero-panel {
    width: 100%;
    box-shadow: none;
    min-height: 320px;
    padding: 26px;
  }

  .hero-panel h2 {
    font-size: 32px;
    margin-top: 24px;
  }

  .hero .lead {
    font-size: 17px;
  }

  .hero .actions .button {
    width: 100%;
  }

  .flow-window {
    margin-top: 22px;
  }

  .intro-banner {
    flex-direction: column;
    align-items: start;
    margin-bottom: 25px;
  }

  .intro-banner .button {
    width: 100%;
  }

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

  .service {
    gap: 12px;
  }

  .service h2 {
    font-size: 26px;
  }

  .service > .text-link {
    margin-top: 5px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #quote-form {
    padding: 22px;
  }

  .header-inner {
    min-height: 78px;
    padding: 15px 18px;
  }

  .brand {
    font-size: 32px;
  }

  nav {
    gap: 14px;
  }

  .header-cta {
    font-size: 10px;
    padding: 10px;
  }

  .intro-grid article {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 30px 0;
  }

  .cta {
    margin-top: 25px;
  }

  .page-heading h1 {
    letter-spacing: -1.5px;
  }
}

/* Menu hambúrguer: três linhas vermelhas */

#main-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  list-style: none;
}

#main-menu > summary::-webkit-details-marker {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger > span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

#main-menu > summary:hover {
  background: #f3dedf;
}
