:root {
  --ink: #1a1612;
  --bg: #14110e;
  --bg-2: #1f1a16;
  --paper: #f3ebe1;
  --paper-2: #e8ddd0;
  --cream: #faf6f0;
  --muted: #6d645b;
  --muted-light: #c4b8ab;
  --line: rgba(26, 22, 18, 0.1);
  --line-light: rgba(250, 246, 240, 0.12);
  --copper: #d4783a;
  --copper-2: #e89a5c;
  --wa: #1fad5a;
  --wa-2: #16994b;
  --white: #faf6f0;
  --shadow: 0 18px 40px rgba(20, 17, 14, 0.2);
  --radius: 18px;
  --header: 76px;
  --wrap: 1120px;
  --font: "Instrument Sans", system-ui, sans-serif;
  --display: "Instrument Serif", "Georgia", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

address {
  font-style: normal;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--copper);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: min(calc(100% - 40px), var(--wrap));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(20, 17, 14, 0.94);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  border-bottom-color: var(--line-light);
  background: #14110e;
}

.header-inner {
  width: min(calc(100% - 40px), var(--wrap));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--ink);
  border: 1.5px solid var(--copper);
  color: var(--copper-2);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.logo-text small {
  color: var(--muted-light);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:not(.btn):hover {
  color: var(--copper-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn:focus-visible,
.nav a:focus-visible,
.wa-float:focus-visible,
.faq-q:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
}

.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 173, 90, 0.28);
}

.btn-wa:hover {
  background: var(--wa-2);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 246, 240, 0.28);
}

.btn-ghost:hover {
  background: rgba(250, 246, 240, 0.08);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
}

.icon {
  width: 20px;
  height: 20px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.52);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, 0.92) 0%, rgba(14, 11, 9, 0.7) 46%, rgba(14, 11, 9, 0.28) 100%),
    linear-gradient(180deg, rgba(14, 11, 9, 0.15) 0%, rgba(14, 11, 9, 0.62) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--wrap));
  margin: 0 auto;
  padding: 48px 0 72px;
  max-width: 760px;
  justify-self: start;
  margin-left: max(20px, calc((100% - var(--wrap)) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

.lead {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: var(--muted-light);
  max-width: 52ch;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 28px;
  color: var(--muted-light);
  font-size: 0.92rem;
}

.wa-line {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
}

.wa-line a {
  color: var(--copper-2);
  text-decoration: none;
}

.hours {
  margin: 0;
}

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

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 36px 0;
}

.strip article {
  padding-right: 12px;
}

.strip strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.strip p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 88px 0;
  scroll-margin-top: calc(var(--header) + 12px);
}

.section-alt {
  background: var(--paper);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head p:last-child {
  color: var(--muted);
  margin: 12px 0 0;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.services li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  min-height: 220px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.services li:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--copper-2);
  margin-bottom: 16px;
}

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

.services h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  font-family: var(--font);
  letter-spacing: 0;
  font-weight: 700;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.prova {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.prova-copy p {
  color: var(--muted);
}

.score-card {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.score-brand {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted-light);
}

.score-value {
  font-family: var(--display);
  font-size: 5rem;
  line-height: 0.9;
  margin: 8px 0 0;
  letter-spacing: -0.04em;
}

.score-stars {
  margin: 6px 0 0;
  font-size: 1.05rem;
  color: var(--copper-2);
}

.score-count {
  margin: 6px 0 18px;
  color: var(--muted-light);
}

.score-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-light);
}

.score-points li + li {
  margin-top: 6px;
}

.prova-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.prova-facts article {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 1px solid var(--line);
}

.proof-num {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--copper);
}

.prova-facts h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  letter-spacing: 0;
  font-weight: 700;
  margin: 4px 0 8px;
}

.prova-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.prova-facts a {
  color: var(--ink);
  font-weight: 700;
}

.prova-photo {
  margin-top: 40px;
}

.prova-photo figure {
  margin: 0;
}

.prova-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
}

.prova-photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

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

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
  font-family: var(--font);
  letter-spacing: 0;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 36px 18px 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  color: var(--copper);
  font-size: 1.3rem;
}

.faq-item.is-open .faq-q::after {
  content: "–";
}

.faq-a {
  display: none;
  padding: 0 8px 18px 0;
  color: var(--muted);
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a p {
  margin: 0;
}

.faq-a a {
  color: var(--ink);
  font-weight: 700;
}

.section-dark {
  background: var(--bg);
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--copper);
}

.section-dark .btn-ghost {
  color: var(--white);
}

.contato {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}

.contato address {
  margin: 18px 0;
  font-size: 1.15rem;
}

.contato address p {
  margin: 0 0 8px;
}

.contato address p:last-child {
  color: var(--muted-light);
  font-size: 0.98rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-list li {
  margin-bottom: 14px;
}

.contact-list span {
  display: block;
  color: var(--muted-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-list a {
  color: var(--copper-2);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.15rem;
}

.contact-list p {
  margin: 0;
}

.map-wrap {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-light);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.cta-final {
  background:
    radial-gradient(800px 280px at 80% 0%, rgba(212, 120, 58, 0.2), transparent 60%),
    var(--bg-2);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
}

.cta-final h2 {
  max-width: 16ch;
  margin: 0 auto;
}

.cta-final p {
  max-width: 48ch;
  margin: 16px auto 8px;
  color: var(--muted-light);
}

.cta-final .hero-actions {
  justify-content: center;
}

.footer {
  background: var(--bg);
  color: var(--muted-light);
  padding: 36px 0 110px;
  font-size: 0.9rem;
  border-top: 1px solid var(--line-light);
}

.footer-inner p {
  margin: 0 0 6px;
}

.footer a {
  color: var(--copper-2);
  text-decoration: none;
}

.fineprint {
  margin-top: 16px !important;
  font-size: 0.78rem;
  opacity: 0.8;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(31, 173, 90, 0.4);
  animation: pulse 2.6s ease-out infinite;
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 173, 90, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(31, 173, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 173, 90, 0); }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .services,
  .prova-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .prova,
  .faq-grid,
  .contato,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: calc(100dvh - var(--header));
    background: #14110e;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 28px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 45;
  }

  .nav.is-open {
    transform: none;
  }

  .nav a {
    font-size: 1.15rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 36px 0 48px;
  }

  h1 {
    max-width: none;
  }

  .section,
  .cta-final {
    padding: 64px 0;
  }

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

  .services li {
    min-height: 0;
  }

  .prova-photo img {
    height: 240px;
  }

  .wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .wa-float {
    padding: 14px;
    border-radius: 50%;
  }
}

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

  .wa-float,
  .btn,
  .services li {
    animation: none;
    transition: none;
  }
}
