:root {
  --primary: #f4a6a6; /* rosa suave */
  --secondary: #8fd3c7; /* verde água */
  --accent: #f9d98c; /* amarelo pastel */
  --background-light: #ffffff;
  --background-soft: #fff3e8;
  --text-primary: #4a3a4f; /* roxo acinzentado */
  --text-secondary: #7a6f85;
  --border: rgba(74, 58, 79, 0.14);
  --shadow: 0 14px 40px rgba(28, 18, 32, 0.12);
  --shadow-soft: 0 10px 24px rgba(28, 18, 32, 0.08);
  --radius: 18px;
  --radius-sm: 14px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans",
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text-primary);
  background: radial-gradient(900px 380px at 10% 10%, rgba(244, 166, 166, 0.28), transparent 60%),
    radial-gradient(760px 340px at 70% 0%, rgba(143, 211, 199, 0.24), transparent 55%),
    radial-gradient(900px 420px at 80% 65%, rgba(249, 217, 140, 0.16), transparent 55%),
    var(--background-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

h1,
h2 {
  margin: 0 0 24px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(34px, 4.4vw, 56px);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.container {
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--text-primary);
  color: #fff;
}
.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background 180ms ease-out, color 180ms ease-out;
}
.nav-link:hover {
  background: rgba(244, 166, 166, 0.14);
  color: var(--text-primary);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.menu-btn__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text-primary);
  border-radius: 999px;
}

.mobile-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}
.mobile-nav__inner {
  display: grid;
  gap: 12px;
  padding: 16px 24px 22px;
}
.mobile-link {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text-primary);
  background: rgba(143, 211, 199, 0.12);
  border: 1px solid rgba(143, 211, 199, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 200ms ease-out, background 200ms ease-out,
    border-color 200ms ease-out;
  will-change: transform;
  user-select: none;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  color: #2f1e34;
  background: linear-gradient(135deg, rgba(244, 166, 166, 1), rgba(249, 217, 140, 0.95));
  box-shadow: 0 14px 30px rgba(244, 166, 166, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(244, 166, 166, 0.34);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(74, 58, 79, 0.18);
  color: var(--text-primary);
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(74, 58, 79, 0.24);
  box-shadow: var(--shadow-soft);
}
.btn-sm {
  padding: 10px 12px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

.section {
  padding: 80px 0;
}
.section-soft {
  background: linear-gradient(180deg, rgba(255, 243, 232, 0.78), rgba(255, 255, 255, 0.65));
  border-top: 1px solid rgba(74, 58, 79, 0.06);
  border-bottom: 1px solid rgba(74, 58, 79, 0.06);
}

.section-head {
  max-width: 760px;
}

.hero {
  padding: 70px 0 24px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(74, 58, 79, 0.92);
  background: rgba(143, 211, 199, 0.16);
  border: 1px solid rgba(143, 211, 199, 0.28);
  margin-bottom: 14px;
}

.lead {
  font-size: 16px;
  max-width: 54ch;
}

.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-pills {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pill {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(74, 58, 79, 0.12);
  color: rgba(74, 58, 79, 0.88);
}

.hero-art {
  display: grid;
  justify-items: end;
}

.hero-card {
  width: min(520px, 100%);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(74, 58, 79, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(400px 200px at 20% 15%, rgba(244, 166, 166, 0.24), transparent 70%),
    radial-gradient(420px 220px at 90% 60%, rgba(143, 211, 199, 0.18), transparent 65%),
    radial-gradient(420px 260px at 20% 90%, rgba(249, 217, 140, 0.18), transparent 68%);
  pointer-events: none;
}
.hero-logo {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(74, 58, 79, 0.1);
  background: rgba(255, 255, 255, 0.56);
  width: 100%;
  height: auto;
  object-fit: contain;
}
.hero-stats {
  position: relative;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.stat {
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(74, 58, 79, 0.1);
  background: rgba(255, 255, 255, 0.74);
}
.stat__num {
  display: block;
  font-weight: 900;
  font-size: 18px;
  color: rgba(74, 58, 79, 0.92);
}
.stat__label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.services-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 58, 79, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 16px;
}
.service-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(244, 166, 166, 0.16);
  border: 1px solid rgba(244, 166, 166, 0.22);
  font-size: 18px;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(74, 58, 79, 0.9);
}
.list li {
  margin: 0 0 8px;
  color: rgba(74, 58, 79, 0.86);
}

.portfolio-controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  border: 1px solid rgba(74, 58, 79, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: rgba(74, 58, 79, 0.9);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out;
}
.tab:hover {
  background: #fff;
  border-color: rgba(74, 58, 79, 0.22);
}
.tab:active {
  transform: translateY(1px);
}
.tab.is-active {
  border-color: rgba(244, 166, 166, 0.46);
  background: rgba(244, 166, 166, 0.16);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  font-weight: 800;
  font-size: 13px;
  color: rgba(74, 58, 79, 0.9);
}
.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.toggle-ui {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: rgba(74, 58, 79, 0.14);
  border: 1px solid rgba(74, 58, 79, 0.12);
  position: relative;
  transition: background 180ms ease-out;
}
.toggle-ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 10px 20px rgba(28, 18, 32, 0.12);
  transition: transform 180ms ease-out;
}
.toggle input:checked + .toggle-ui {
  background: rgba(143, 211, 199, 0.7);
}
.toggle input:checked + .toggle-ui::after {
  transform: translate(18px, -50%);
}
.toggle-text {
  color: var(--text-secondary);
  font-weight: 800;
}

.carousel {
  margin-top: 16px;
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(74, 58, 79, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.carousel-viewport {
  overflow: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
}
.carousel-viewport::-webkit-scrollbar {
  display: none;
}
.carousel-viewport {
  scrollbar-width: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(180px, 22vw, 260px);
  gap: 12px;
}

.work {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(74, 58, 79, 0.12);
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 18, 32, 0.08);
}
.work button {
  all: unset;
  display: block;
  cursor: zoom-in;
}
.work button:focus-visible {
  outline: 3px solid rgba(143, 211, 199, 0.7);
  outline-offset: 2px;
  border-radius: 18px;
}
.work img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(74, 58, 79, 0.16);
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(28, 18, 32, 0.12);
  transition: transform 120ms ease-out, background 160ms ease-out, opacity 160ms ease-out;
  z-index: 2;
}
.carousel-btn:hover {
  background: #fff;
}
.carousel-btn:active {
  transform: translateY(-50%) translateY(1px);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}
.carousel-btn span {
  font-size: 28px;
  line-height: 1;
  color: rgba(74, 58, 79, 0.92);
}

.hint {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(74, 58, 79, 0.72);
}

.why-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.why-card {
  border-radius: var(--radius);
  border: 1px solid rgba(74, 58, 79, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.why-ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(249, 217, 140, 0.18);
  border: 1px solid rgba(249, 217, 140, 0.26);
}
.why-card p {
  margin-bottom: 0;
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: start;
}
.about-card {
  border-radius: 22px;
  border: 1px solid rgba(74, 58, 79, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.steps {
  margin: 0 0 16px;
  padding-left: 18px;
  color: rgba(74, 58, 79, 0.86);
}
.steps li {
  margin-bottom: 10px;
}
.steps strong {
  color: rgba(74, 58, 79, 0.98);
}

.cta-final {
  background: radial-gradient(900px 480px at 10% 10%, rgba(244, 166, 166, 0.24), transparent 58%),
    radial-gradient(800px 420px at 90% 0%, rgba(143, 211, 199, 0.2), transparent 55%),
    radial-gradient(800px 520px at 60% 90%, rgba(249, 217, 140, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(74, 58, 79, 0.08);
}
.cta-box {
  border-radius: 24px;
  border: 1px solid rgba(74, 58, 79, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  align-items: center;
}
.cta-actions {
  display: grid;
  gap: 10px;
}

.site-footer {
  padding: 18px 0 24px;
  border-top: 1px solid rgba(74, 58, 79, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-left {
  display: none;
}
.footer-copy {
  font-size: 13px;
  color: rgba(74, 58, 79, 0.86);
  text-align: center;
}
.footer-dev {
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}
.btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 22, 0.72);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 200;
}
.lightbox-img {
  max-width: min(980px, 96vw);
  max-height: 82vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}
.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Reveal animations (suaves) */
.reveal {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-items: start;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
    place-items: center;
  }
  .section {
    padding: 56px 0;
  }
  .hero {
    padding: 56px 0 10px;
  }
  .carousel-btn {
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
