/* Virtual Salão — cores do app (lib/ui/styles/colors.dart) */
:root {
  --azul: #106680;
  --teal: #0d4b5c;
  --marinho: #040b15;
  --azul-claro: #d7eef4;
  --ambar: #f5a524;
  --texto: #1d2939;
  --texto-suave: #667085;
  --borda: #e6e8ec;
  --fundo: #ffffff;
  --fundo-alt: #f7f8fa;
  --largura: 1120px;
  --raio: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azul); }

h1, h2, h3 { line-height: 1.2; color: var(--marinho); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
}
.topo .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--marinho); font-weight: 800; font-size: 1.1rem; }
.marca img { width: 38px; height: 38px; }
.menu { display: flex; gap: 24px; }
.menu a { text-decoration: none; color: var(--texto); font-weight: 600; font-size: .95rem; }
.menu a:hover { color: var(--azul); }
@media (max-width: 760px) { .menu { display: none; } }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.botao-claro { background: #fff; color: var(--teal); }
.botao-contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.botao-contorno:hover { background: rgba(255, 255, 255, .1); }
.botao-primario { background: var(--teal); color: #fff; }
.botao-primario:hover { background: var(--azul); }

.loja {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 12px;
  background: var(--marinho); color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  cursor: default;
}
.loja svg { width: 26px; height: 26px; flex: none; }
.loja small { display: block; font-size: .7rem; opacity: .75; line-height: 1.2; }
.loja strong { display: block; font-size: 1rem; line-height: 1.2; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(215, 238, 244, .18), transparent 45%),
    linear-gradient(135deg, var(--teal) 0%, var(--azul) 60%, #1a86a3 100%);
  color: #fff;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 34em; }
.selo {
  display: inline-block; margin-bottom: 18px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(245, 165, 36, .18); color: #ffd58a;
  font-weight: 700; font-size: .85rem;
}
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-foto { justify-self: center; width: min(440px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-foto { width: 100%; max-width: 420px; justify-self: start; }
}

/* ---------- Seções ---------- */
.secao { padding: 88px 0; }
.secao-alt { background: var(--fundo-alt); }
.cabeca { max-width: 680px; margin-bottom: 44px; }
.cabeca p { color: var(--texto-suave); font-size: 1.05rem; }
.rotulo { display: block; color: var(--azul); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }

.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grade-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grade, .grade-2 { grid-template-columns: 1fr; } }

.cartao {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 28px;
}
.cartao p { color: var(--texto-suave); margin: 0; }
.icone {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--azul-claro); color: var(--teal);
  margin-bottom: 18px;
}
.icone svg { width: 24px; height: 24px; }
.cartao-destaque { border-color: var(--teal); box-shadow: 0 10px 30px rgba(13, 75, 92, .12); }

.lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.lista li { display: flex; gap: 14px; align-items: flex-start; }
.lista li > span:first-child {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: #fff; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; margin-top: 2px;
}
.lista strong { display: block; color: var(--marinho); }
.lista p { color: var(--texto-suave); margin: 0; }

/* ---------- Profissionais ---------- */
.faixa-pro { background: var(--marinho); color: #fff; }
.faixa-pro h2, .faixa-pro strong { color: #fff; }
.faixa-pro .cabeca p, .faixa-pro .lista p { color: rgba(255, 255, 255, .72); }
.faixa-pro .rotulo { color: var(--ambar); }
.faixa-pro .lista li > span:first-child { background: var(--ambar); color: var(--marinho); }
.pro-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pro-chamada {
  background: linear-gradient(135deg, var(--teal), var(--azul));
  border-radius: 20px; padding: 36px;
}
.pro-chamada p { color: rgba(255, 255, 255, .85); }
@media (max-width: 860px) { .pro-grade { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Dúvidas ---------- */
.duvidas { max-width: 760px; }
.duvidas details {
  border: 1px solid var(--borda); border-radius: 12px;
  background: #fff; margin-bottom: 12px;
}
.duvidas summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--marinho);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; color: var(--azul); font-size: 1.3rem; line-height: 1; }
.duvidas details[open] summary::after { content: "−"; }
.duvidas details p { padding: 0 22px 18px; margin: 0; color: var(--texto-suave); }

/* ---------- Contato ---------- */
.contato {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--azul-claro); border-radius: 20px; padding: 40px;
}
.contato h2 { margin-bottom: .25em; }
.contato p { margin: 0; color: var(--teal); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--marinho); color: rgba(255, 255, 255, .7); padding: 40px 0; font-size: .9rem; }
.rodape .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape nav { display: flex; gap: 20px; flex-wrap: wrap; }
.rodape p { margin: 0; }

/* ---------- Páginas de texto (privacidade, termos) ---------- */
.documento { max-width: 780px; padding: 56px 20px 88px; }
.documento h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.documento h2 { font-size: 1.3rem; margin-top: 2em; }
.documento .data { color: var(--texto-suave); }
.documento li { margin-bottom: .4em; }
.documento table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .95rem; }
.documento th, .documento td { text-align: left; padding: 10px; border-bottom: 1px solid var(--borda); vertical-align: top; }
.documento th { color: var(--marinho); }
@media (max-width: 600px) { .documento table, .documento thead, .documento tbody, .documento tr, .documento th, .documento td { display: block; } .documento thead { display: none; } .documento td { border: 0; padding: 4px 0; } .documento tr { border-bottom: 1px solid var(--borda); padding: 10px 0; } }
.documento td:first-child { font-weight: 700; color: var(--marinho); }
[id] { scroll-margin-top: 84px; }
