/* Quartzo LAB — versão HTML/CSS (paridade visual com a versão React) */
:root {
  --ink: oklch(0.16 0.01 60);
  --bone: oklch(0.985 0.005 80);
  --cream: oklch(0.955 0.012 80);
  --sand: oklch(0.88 0.025 75);
  --clay: oklch(0.55 0.06 55);
  --cocoa: oklch(0.32 0.045 50);
  --border: oklch(0.85 0.015 70);
  --muted-fg: oklch(0.45 0.02 60);
  --shadow-soft: 0 1px 2px rgba(20,15,10,.04), 0 8px 24px rgba(20,15,10,.06);
  --shadow-elevated: 0 2px 4px rgba(20,15,10,.06), 0 24px 48px rgba(20,15,10,.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; color: var(--clay); }
strong { font-weight: 500; color: var(--ink); }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2.5rem; } }

.display { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.display-md { font-size: clamp(2rem, 4.5vw, 3.75rem); line-height: 1.05; }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--muted-fg); }
.lead-light { color: rgba(245,240,232,.7); }
.prose p + p { margin-top: 1.25rem; }
.prose { margin-top: 2rem; color: var(--muted-fg); line-height: 1.7; }
.eyebrow { display:inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cocoa); }
.eyebrow-light { color: var(--sand); }
.sand { color: var(--sand); }

.grid-12 { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.gap-y { row-gap: 3rem; }
.col-5 { grid-column: span 1; min-width: 0; }
.col-6 { grid-column: span 1; min-width: 0; }
.col-7 { grid-column: span 1; min-width: 0; }
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; border-radius: 999px; font: inherit; cursor: pointer; border: 0; transition: background-color .2s ease; text-decoration: none; }
.btn-dark { background: var(--ink); color: var(--bone); padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-dark:hover { background: var(--cocoa); }
.btn-light { background: var(--bone); color: var(--ink); padding: 0.5rem 0.5rem 0.5rem 1.5rem; }
.btn-light:hover { background: var(--sand); }
.btn-icon { padding: 0.5rem 0.5rem 0.5rem 1.5rem; font-size: 1rem; box-shadow: var(--shadow-elevated); }
.btn .arrow { display: inline-grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 999px; background: var(--clay); color: var(--bone); transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-block { width: 100%; justify-content: center; padding: 1rem; margin-top: 2.5rem; }
.link-muted { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px; color: var(--muted-fg); }
.link-muted:hover { color: var(--ink); }

/* NAV */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 40; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.nav-logo img { height: 2rem; width: auto; }
@media (min-width: 768px) { .nav-logo img { height: 2.5rem; } }
.nav-links { display: none; gap: 2rem; font-size: 0.875rem; color: var(--muted-fg); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 768px) { .nav-links, .nav-cta { display: inline-flex; } }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 90vh; display: flex; align-items: center; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; z-index: 0; }
.hero-overlay-1, .hero-overlay-2, .hero-overlay-3 { position: absolute; inset: 0; z-index: 1; }
.hero-overlay-1 { background: linear-gradient(to right, var(--bone), rgba(250,247,240,0.85), rgba(250,247,240,0.2)); }
.hero-overlay-2 { background: linear-gradient(to bottom, rgba(250,247,240,0.5), transparent, rgba(250,247,240,0.6)); }
.hero-overlay-3 { background: radial-gradient(ellipse at top left, var(--bone) 0%, transparent 55%); }
.hero-content { position: relative; z-index: 10; width: 100%; padding-top: 8rem; padding-bottom: 8rem; }
@media (min-width: 768px) { .hero-content { padding-top: 10rem; padding-bottom: 10rem; } }
.hero-copy { max-width: 42rem; }
.hero-copy .lead { margin-top: 2rem; max-width: 36rem; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .9s cubic-bezier(0.22,1,0.36,1) both; }

/* AUTHORITY */
.authority { padding: 5rem 0; background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .authority { padding: 8rem 0; } }
.authority-image { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.authority-image img { width: 100%; height: 100%; object-fit: contain; }
.quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.35; color: var(--cocoa); text-wrap: balance; }

/* SOLUTIONS */
.solutions { padding: 5rem 0; }
@media (min-width: 768px) { .solutions { padding: 8rem 0; } }
.wheel-card { background: white; padding: 1.5rem; border-radius: 2px; }
@media (min-width: 768px) { .wheel-card { padding: 2.5rem; } }
.wheel-mobile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.wheel-mobile-btn.wheel-btn { position: static; transform: none; width: 100%; padding: 1rem 0.75rem; text-align: center; }
.wheel-mobile-btn.wheel-btn .wheel-title { font-size: 1rem; }
.wheel-mobile-btn.wheel-btn.is-active { transform: scale(1.02); }
.wheel { display: none; }
@media (min-width: 640px) {
  .wheel-mobile { display: none; }
  .wheel { display: block; }
}
.wheel { position: relative; margin: 0 auto; width: 100%; max-width: 520px; aspect-ratio: 1/1; }
.wheel-symbol { position: absolute; inset: 14%; display: grid; place-items: center; }
.wheel-symbol img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(0.22,1,0.36,1); }
.wheel-btn { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 0.75rem 1rem; border-radius: 2px; border: 1px solid var(--border); background: rgba(250,247,240,0.8); backdrop-filter: blur(4px); cursor: pointer; font: inherit; color: var(--ink); transition: all .3s ease; }
.wheel-btn:hover { border-color: rgba(20,15,10,0.6); }
.wheel-btn.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); box-shadow: var(--shadow-elevated); transform: scale(1.05); }
.wheel-num { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; opacity: 0.6; min-height: 12px; }
.wheel-title { font-family: var(--font-display); font-size: 1.125rem; line-height: 1; }
@media (min-width: 768px) { .wheel-title { font-size: 1.25rem; } }
.wheel-pos-0 { top: 0; left: 50%; transform: translateX(-50%); }
.wheel-pos-0.is-active { transform: translateX(-50%) scale(1.05); }
.wheel-pos-1 { top: 50%; right: 0; transform: translateY(-50%); }
.wheel-pos-1.is-active { transform: translateY(-50%) scale(1.05); }
.wheel-pos-2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.wheel-pos-2.is-active { transform: translateX(-50%) scale(1.05); }
.wheel-pos-3 { top: 50%; left: 0; transform: translateY(-50%); }
.wheel-pos-3.is-active { transform: translateY(-50%) scale(1.05); }
.wheel-desc { margin-top: 2rem; border-top: 1px solid var(--border); padding-top: 1.5rem; min-height: 120px; }
.wheel-desc p { margin-top: 0.75rem; font-size: 1.125rem; line-height: 1.7; color: rgba(20,15,10,0.9); animation: fadeUp .5s ease both; }

/* RESULTS */
.results { position: relative; overflow: hidden; padding: 5rem 0; background: var(--ink); color: var(--bone); }
@media (min-width: 768px) { .results { padding: 8rem 0; } }
.results-dots { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(var(--bone) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.results .container { position: relative; }
.results-header { max-width: 48rem; }
.results-header .lead { margin-top: 1.5rem; max-width: 42rem; }
.results-grid { margin-top: 4rem; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }
.result-card { background: rgba(250,247,240,0.04); border: 1px solid rgba(250,247,240,0.15); padding: 1.75rem; transition: background-color .2s; }
.result-card:hover { background: rgba(250,247,240,0.08); }
.result-tag { color: rgba(250,247,240,0.6); font-size: 0.875rem; margin-top: 0.5rem; }
.result-title { font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.75rem; color: var(--bone); }
.result-card ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.result-card li { display: flex; gap: 0.75rem; font-size: 0.875rem; color: rgba(250,247,240,0.8); }
.dash { flex-shrink: 0; display: block; margin-top: 0.6rem; height: 1px; width: 1rem; background: var(--clay); }
.results-cta { margin-top: 3.5rem; }

/* CONTACT */
.contact { padding: 5rem 0; background: var(--cream); }
@media (min-width: 768px) { .contact { padding: 8rem 0; } }
.check-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; }
.contact-form { background: var(--bone); border: 1px solid var(--border); padding: 2rem; box-shadow: var(--shadow-soft); }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }
.form-title { font-family: var(--font-display); font-size: 1.5rem; }
.form-sub { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }
.form-fields { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(20,15,10,0.25);
  padding: 0.75rem 0; font: inherit; color: var(--ink); outline: none; border-radius: 0;
  transition: border-color .2s;
}
.contact-form input::placeholder { color: rgba(20,15,10,0.4); }
.contact-form input:focus, .contact-form select:focus { border-color: var(--ink); }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right center; }
.form-label { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.pill-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--ink); font: inherit; cursor: pointer; transition: all .2s; }
.pill:hover { border-color: rgba(20,15,10,0.5); }
.pill.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* FOOTER */
.footer { background: var(--ink); color: var(--bone); }
.footer .container { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .footer .container { padding-top: 5rem; padding-bottom: 5rem; } }
.footer-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; text-wrap: balance; max-width: 64rem; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(250,247,240,0.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; font-size: 0.875rem; color: rgba(250,247,240,0.6); align-items: flex-end; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-diamond { display: block; width: 10px; height: 10px; background: var(--clay); transform: rotate(45deg); }
.footer-name { font-family: var(--font-display); font-size: 1rem; color: var(--bone); }

/* FLOATING WHATSAPP */
.floating-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: inline-flex; align-items: center; gap: 0.5rem; background: var(--ink); color: var(--bone); padding: 0.5rem 0.5rem 0.5rem 1.25rem; border-radius: 999px; box-shadow: var(--shadow-elevated); transition: background-color .2s; font-size: 0.9rem; }
.floating-wa:hover { background: var(--cocoa); }
.wa-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--clay); border-radius: 999px; }

/* Success message page */
.msg-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.msg-card { max-width: 34rem; text-align: center; }
.msg-card h1 { font-family: var(--font-display); font-size: 2.25rem; margin-bottom: 1rem; }
.msg-card p { color: var(--muted-fg); margin-bottom: 1.5rem; }
