/* Sorat Engenharia — Landing */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #ff5c01;
  --orange-deep: #d94a00;
  --orange-dark: #a33800;
  --orange-cta: #c24500;
  --orange-soft: #ff8a3d;
  --orange-mist: #fff0e6;
  --ink: #1c1612;
  --ink-soft: #3d342c;
  --muted: #6e635a;
  --stone: #ebe4dc;
  --paper: #f8f4ef;
  --white: #ffffff;
  --charcoal: #171210;
  --charcoal-elevated: #241e19;
  --charcoal-card: #2c241e;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Blueprint atmosphere */
.blueprint {
  position: relative;
  isolation: isolate;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 92, 1, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 92, 1, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, transparent 38%, rgba(255, 92, 1, 0.15) 39%, transparent 40%),
    radial-gradient(circle at 75% 65%, transparent 28%, rgba(255, 92, 1, 0.12) 29%, transparent 30%);
  background-size: 48px 48px, 48px 48px, 420px 420px, 320px 320px;
  background-position: center;
}

.blueprint > * {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

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

.btn-primary {
  background: var(--orange-cta);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(255, 92, 1, 0.28);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 3px;
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--orange-mist);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 22, 18, 0.14);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
}

.badge-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
}

.badge svg {
  width: 14px;
  height: 14px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0 0;
  transition: padding 0.35s var(--ease);
}

.site-header.is-scrolled {
  padding-top: 0.55rem;
}

.header-shell {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(23, 18, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease;
}

.site-header.is-scrolled .header-shell {
  background: rgba(23, 18, 16, 0.94);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--white);
  background: rgba(255, 92, 1, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(23, 18, 16, 0.55) 0%, rgba(23, 18, 16, 0.72) 45%, rgba(23, 18, 16, 0.92) 100%),
    url("../assets/obras/hero-casa-noturna-mobile.webp")
      center / cover no-repeat;
}

@media (min-width: 761px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(23, 18, 16, 0.55) 0%, rgba(23, 18, 16, 0.72) 45%, rgba(23, 18, 16, 0.92) 100%),
      url("../assets/obras/hero-casa-noturna.webp")
        center / cover no-repeat;
  }
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  text-align: center;
  padding-bottom: 2.5rem;
}

.hero-brand {
  display: inline-flex;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-brand img {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.8vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 16ch;
  margin: 0 auto 1.1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
  margin: 0 auto 1.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero-cta {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

/* Feature strip under hero */
.feature-strip {
  background: var(--charcoal);
  padding: 0 0 3.5rem;
  margin-top: -1px;
}

.feature-grid {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
  gap: 1rem;
}

.feature-media,
.feature-panel {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.feature-media {
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}

.js .feature-media,
.js .feature-panel {
  transform: translateY(18px);
  opacity: 0;
}

.js .feature-media.is-visible,
.js .feature-panel.is-visible {
  transform: none;
  opacity: 1;
}

.feature-media-1 {
  background-image: url("../assets/obras/faixa-fachada-pedra.webp");
}

.feature-media-2 {
  background-image: url("../assets/obras/faixa-bar-madeira.webp");
}

.feature-panel {
  background: linear-gradient(160deg, var(--charcoal-elevated), var(--charcoal-card));
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  transition: transform 0.8s var(--ease) 0.1s, opacity 0.8s var(--ease) 0.1s;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 92, 1, 0.15);
  color: var(--orange);
  flex-shrink: 0;
}

.icon-box svg {
  width: 22px;
  height: 22px;
}

.feature-item h2 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

/* About */
.about {
  padding: 5.5rem 0;
  background:
    linear-gradient(180deg, rgba(248, 244, 239, 0.92), rgba(248, 244, 239, 0.96)),
    url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23ff5c01' stroke-opacity='0.06'/%3E%3C/svg%3E");
}

.about-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.about-head .badge {
  margin-bottom: 1rem;
}

.about-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 14ch;
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panel {
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--charcoal);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.panel-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.35rem 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-row span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 92, 1, 0.18);
  color: var(--white);
  transition: background 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.stat-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(23, 18, 16, 0.15), rgba(23, 18, 16, 0.88)),
    url("../assets/obras/painel-casa-branca.webp")
      center / cover;
}

.stat-panel .stat-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.04em;
}

.stat-panel .stat-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.about-photo {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    url("../assets/obras/sobre-cozinha.webp")
      center / cover;
}

.about-lower {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.method-panel,
.diff-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.method-panel h3,
.diff-panel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.method-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.method-card {
  background: var(--charcoal-card);
  border-radius: var(--radius-sm);
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.method-card .icon-box {
  margin-bottom: 0.85rem;
}

.method-card h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.method-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.diff-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.65rem;
  flex: 1;
  align-content: center;
  justify-items: center;
}

.diff-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
  color: inherit;
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  transition: transform 0.3s var(--ease);
}

.diff-icon-card:focus-visible {
  outline: 2px solid var(--orange-soft);
  outline-offset: 4px;
  border-radius: 12px;
}

.diff-icon-tile {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(155deg, #e8681a 0%, #c24500 100%);
  border: 1px solid rgba(255, 210, 170, 0.18);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(194, 69, 0, 0.28);
  transition: background 0.3s ease, transform 0.35s var(--ease), box-shadow 0.3s ease;
}

.diff-icon-card:hover .diff-icon-tile,
.diff-icon-card:focus-visible .diff-icon-tile {
  background: linear-gradient(155deg, #ff5c01 0%, #d94a00 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 92, 1, 0.35);
}

.diff-icon-card:active .diff-icon-tile {
  transform: translateY(-1px);
}

.diff-icon-tile svg {
  width: 30px;
  height: 30px;
}

.diff-icon-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.25;
  max-width: 11ch;
}

/* Diff detail modal */
.diff-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.diff-modal[hidden] {
  display: none;
}

.diff-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.diff-modal-dialog {
  position: relative;
  width: min(100%, 420px);
  background: linear-gradient(165deg, var(--charcoal-elevated), var(--charcoal));
  border: 1px solid rgba(255, 92, 1, 0.28);
  border-radius: 22px;
  padding: 2rem 1.75rem 1.75rem;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: rise 0.35s var(--ease);
}

.diff-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.25s ease, color 0.25s ease;
}

.diff-modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.diff-modal-close svg {
  width: 18px;
  height: 18px;
}

.diff-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(155deg, #e8681a 0%, #c24500 100%);
  color: var(--white);
}

.diff-modal-icon svg {
  width: 26px;
  height: 26px;
}

.diff-modal-dialog h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.diff-modal-dialog p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.diff-modal-dialog .btn {
  width: 100%;
}

body.diff-modal-open {
  overflow: hidden;
}

.email-modal-address {
  display: block;
  margin-top: 0.2rem;
  color: var(--orange-soft);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.email-options {
  display: grid;
  gap: 0.6rem;
}

.email-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.email-option:hover,
.email-option:focus-visible {
  background: rgba(255, 92, 1, 0.14);
  border-color: rgba(255, 92, 1, 0.5);
  transform: translateY(-1px);
}

.email-option-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--badge, var(--orange));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.email-option-badge.is-gmail {
  --badge: #ea4335;
}

.email-option-badge.is-outlook {
  --badge: #0a64d0;
}

.email-option-badge.is-yahoo {
  --badge: #6001d2;
}

.email-option-badge.is-copy {
  --badge: #5a4f46;
}

.email-option-badge svg {
  width: 18px;
  height: 18px;
}

.timeline {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.timeline-item {
  background: rgba(255, 92, 1, 0.1);
  border: 1px solid rgba(255, 92, 1, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--orange);
  margin-bottom: 0.2rem;
}

.timeline-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Projects */
.projects {
  padding: 5rem 0 4rem;
  background: var(--paper);
  overflow: hidden;
}

.projects-track-wrap {
  position: relative;
}

.projects-viewport {
  position: relative;
}

.projects-track,
.testimonials-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.25rem 0 1.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.projects-track::-webkit-scrollbar,
.testimonials-track::-webkit-scrollbar {
  display: none;
}

.projects-track:focus-visible,
.testimonials-track:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.projects-track.is-dragging,
.testimonials-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.carousel-arrow {
  position: absolute;
  top: calc(50% - 0.625rem);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(23, 18, 16, 0.28);
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.carousel-arrow.is-prev {
  left: 0.85rem;
}

.carousel-arrow.is-next {
  right: 0.85rem;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.carousel-arrow:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.carousel-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.project-card {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  height: 460px;
  position: relative;
  background: var(--charcoal);
}

.project-card.is-intro {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(165deg, var(--charcoal-elevated), #3a2418 55%, var(--orange-dark));
}

.project-card.is-intro h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.project-card.is-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  -webkit-user-drag: none;
}

.project-card:hover img {
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dots button {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 22, 18, 0.2);
  transition: width 0.3s ease, background 0.3s ease;
}

.carousel-dots button::after {
  content: "";
  position: absolute;
  inset: -10px -4px;
}

.carousel-dots button.is-active {
  width: 22px;
  background: var(--orange);
}

/* Services */
.services {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, #f3ebe3, #f8f4ef),
    radial-gradient(circle at 85% 20%, rgba(255, 92, 1, 0.08), transparent 40%);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.services-copy .badge {
  margin-bottom: 1.1rem;
}

.services-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  max-width: 14ch;
}

.services-copy p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 36rem;
}

.services-copy .btn {
  margin-top: 1rem;
}

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

.service-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--ease), background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--charcoal-elevated);
}

.service-card .icon-box {
  margin: 0 auto 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.service-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--charcoal);
  color: var(--white);
}

.testimonials-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.testimonials-head .badge {
  margin-bottom: 1rem;
}

.testimonials-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.testimonials-head p {
  color: rgba(255, 255, 255, 0.65);
}

.testimonials-viewport {
  position: relative;
}

.testimonials-track {
  padding-top: 0.5rem;
}

.testimonials-track .testimonial-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
}

.testimonials .carousel-arrow {
  width: 44px;
  height: 44px;
}

.testimonials .carousel-arrow.is-prev {
  left: -1.25rem;
}

.testimonials .carousel-arrow.is-next {
  right: -1.25rem;
}

.testimonials .carousel-dots button {
  background: rgba(255, 255, 255, 0.22);
}

.testimonials .carousel-dots button.is-active {
  background: var(--orange);
}

.testimonials-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-card {
  background: var(--charcoal-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 280px;
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 92, 1, 0.35);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--orange);
  font-weight: 700;
}

.testimonial-card blockquote {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  flex: 1;
}

.testimonial-card blockquote.is-short {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 92, 1, 0.18);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.author-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}

.author-meta span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.stars {
  display: flex;
  gap: 0.15rem;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.stars svg {
  width: 14px;
  height: 14px;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, rgba(23, 18, 16, 0.88), rgba(169, 56, 0, 0.85)),
    url("../assets/obras/contato-ambiente-branco.webp")
      center / cover;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 34rem;
  margin: 0 auto 1.6rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1.1rem;
}

.footer-logo img {
  height: 64px;
  width: auto;
  border-radius: 14px;
}

.footer-brand p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.1rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--orange-soft);
}

.footer-contact {
  font-style: normal;
  display: grid;
  gap: 1.1rem;
}

.footer-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(255, 92, 1, 0.5);
  text-underline-offset: 4px;
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--orange-soft);
  text-decoration-color: var(--orange-soft);
}

.footer-contact-link svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  padding-right: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* E-mail FAB */
.email-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(255, 92, 1, 0.4);
  transition: transform 0.3s var(--ease);
}

.email-fab:hover {
  transform: scale(1.06);
}

.email-fab svg {
  width: 28px;
  height: 28px;
}

/* Reveal */
.reveal {
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal,
  .js .feature-media,
  .js .feature-panel {
    opacity: 1;
    transform: none;
  }

  .project-card:hover img {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .feature-grid,
  .about-grid,
  .about-lower,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .testimonials-track .testimonial-card {
    flex-basis: calc((100% - 1rem) / 2);
  }

  .about-head {
    grid-template-columns: 1fr;
  }

  .about-head .btn {
    justify-self: start;
  }

  .feature-media {
    min-height: 220px;
  }

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

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

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    border-radius: 18px;
    background: rgba(23, 18, 16, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .nav.is-open {
    visibility: visible;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .header-shell {
    position: relative;
    border-radius: 20px;
  }

  .hero {
    justify-content: center;
    padding-top: calc(var(--header-h) + 2rem);
  }

  .method-cards,
  .timeline,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
  }

  .carousel-arrow.is-prev {
    left: 0.5rem;
  }

  .carousel-arrow.is-next {
    right: 0.5rem;
  }

  .testimonials-track .testimonial-card {
    flex-basis: 85%;
  }

  .testimonials .carousel-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
