/* ---------------------------------------------------------------------------
   VittaElo — site institucional

   CSS escrito à mão, sem build. É o que torna o setup uma cópia de pasta: quem
   publica não instala Node, não roda comando nenhum e não precisa lembrar de
   recompilar nada ao mexer numa classe.

   A paleta é a mesma do aplicativo (src/constants/theme.ts do app):
   verde #22C55E e azul #38BDF8 sobre creme #F6FAF7.
   --------------------------------------------------------------------------- */

:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-deep: #15803d;
  --green-soft: #dcfce7;
  --blue: #38bdf8;
  --blue-dark: #0ea5e9;
  --blue-soft: #e0f2fe;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #64748b;
  --subtle: #94a3b8;
  --line: #e2e8f0;
  --cream: #f6faf7;
  --white: #fff;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, 0.45);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Quem pediu menos movimento no sistema não recebe rolagem animada nem
   transição — e, de quebra, é o que faz a página se comportar em qualquer
   ferramenta que a percorra automaticamente. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
}

h3 {
  font-size: 22px;
  font-weight: 800;
}

p {
  margin: 0;
}

.lead {
  color: var(--slate);
  font-size: 18px;
  max-width: 62ch;
}

/* --- botões ------------------------------------------------------------- */

.btn {
  display: inline-block;
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

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

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px -12px rgba(34, 197, 94, 0.7);
}

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

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
}

.btn-ghost:hover {
  border-color: var(--green);
}

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

.btn-dark:hover {
  background: #1e293b;
}

/* --- cabeçalho ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 250, 247, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand .a {
  color: var(--green);
}

.brand .b {
  color: var(--blue-dark);
}

.site-nav {
  display: none;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  padding: 9px 18px;
  font-size: 14px;
}

.header-actions .quiet {
  display: none;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
}

@media (min-width: 900px) {
  .site-nav,
  .header-actions .quiet {
    display: flex;
  }
}

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  background: rgba(56, 189, 248, 0.28);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 160px;
  background: rgba(34, 197, 94, 0.26);
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 64px;
}

@media (min-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 96px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green-deep);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(34px, 5.2vw, 54px);
  font-weight: 800;
}

.gradient {
  background: linear-gradient(120deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  margin-top: 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
  max-width: 460px;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--green-dark);
}

.stat:nth-child(2) b {
  color: var(--blue-dark);
}

.stat:nth-child(3) b {
  color: var(--ink);
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

/* --- moldura de celular -------------------------------------------------- */

.phone {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

.phone .frame {
  border: 10px solid var(--ink);
  border-radius: 36px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.phone .screen {
  position: relative;
  border-radius: 27px;
  overflow: hidden;
  background: var(--cream);
}

.phone .notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  z-index: 2;
}

.phone figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
}

.hero-phones .phone:first-child {
  display: none;
}

@media (min-width: 640px) {
  .hero-phones .phone:first-child {
    display: block;
    max-width: 210px;
    transform: translateY(28px) rotate(-6deg);
  }
}

/* --- seções -------------------------------------------------------------- */

section {
  padding: 64px 0;
}

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

.section-head h2 {
  margin-top: 8px;
}

.section-head p {
  margin-top: 12px;
  color: var(--slate);
}

.on-white {
  background: var(--white);
}

/* --- passos -------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12), var(--white) 65%);
  border: 1px solid var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.step:nth-child(even) {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), var(--white) 65%);
}

.step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.step h3 {
  margin-top: 16px;
  font-size: 17px;
}

.step p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

/* --- blocos de funcionalidade ------------------------------------------- */

.feature {
  display: grid;
  gap: 36px;
  align-items: center;
  margin-bottom: 72px;
}

.feature:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .feature.flip .feature-text {
    order: 2;
  }
}

.feature h3 {
  margin-top: 12px;
  font-size: clamp(24px, 3vw, 30px);
}

.feature p {
  margin-top: 14px;
  color: var(--slate);
}

.feature ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.feature li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-art {
  border-radius: 32px;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
}

.feature-art.two {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.feature-art.two .phone {
  max-width: 200px;
}

/* --- galeria ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery .phone {
  max-width: 100%;
}

.gallery .phone .frame {
  border-width: 7px;
  border-radius: 26px;
}

.gallery .phone .screen {
  border-radius: 20px;
}

/* --- plano --------------------------------------------------------------- */

.plan {
  background: var(--ink);
  color: var(--white);
  border-radius: 32px;
  padding: 40px 28px;
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .plan {
    grid-template-columns: 1.15fr 1fr;
    padding: 56px 48px;
    gap: 48px;
    align-items: center;
  }
}

.plan h2 {
  color: var(--white);
}

.plan p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 14px;
}

.plan ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.plan li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.plan-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.plan-box small {
  color: rgba(255, 255, 255, 0.6);
}

.plan-box .price {
  font-size: 46px;
  font-weight: 800;
  margin-top: 6px;
  line-height: 1;
}

.plan-box .price em {
  font-style: normal;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
}

.plan-box .note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.plan-box .btn {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

/* --- avaliações ---------------------------------------------------------- */

.reviews {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.review .stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 15px;
}

.review blockquote {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--ink);
}

.review footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review .who {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.review .who.g {
  background: var(--green-soft);
  color: var(--green-deep);
}

.review cite {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
}

.review cite span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}

/* Marca de EXEMPLO: enquanto os depoimentos forem de mentira, a página diz
   isso. Publicar avaliação inventada sem aviso é enganar quem lê. */
.review[data-exemplo]::after {
  content: "exemplo";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
}

/* --- profissional -------------------------------------------------------- */

.pro {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .pro {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}

.pro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.pro-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--white);
}

.pro-card b {
  font-size: 14px;
}

.pro-card span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.pro-art {
  background: var(--cream);
  border-radius: 32px;
  padding: 32px 24px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.pro-art .phone {
  max-width: 200px;
}

.on-white .pro-art {
  background: var(--cream);
}

/* --- mapa ---------------------------------------------------------------- */

#mapa-profissionais {
  height: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.map-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.leaflet-popup-content {
  font-family: inherit;
  font-size: 13px;
}

/* --- fechamento e rodapé ------------------------------------------------- */

.closing {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  border-radius: 32px;
  padding: 48px 28px;
  text-align: center;
  color: var(--white);
}

.closing h2 {
  color: var(--white);
}

.closing p {
  margin: 14px auto 0;
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
}

.closing .cta-row {
  justify-content: center;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-deep);
}

.footer-links {
  display: flex;
  gap: 20px;
}
