/* Solution Music — layout de 2026 (aprovado a partir do protótipo).
   Verde da marca só como destaque; texto verde usa o tom escuro para passar contraste. */
:root {
  --fundo: #f6f6f2;          /* página */
  --superficie: #ffffff;     /* cartões */
  --texto: #16191a;          /* 16,9:1 sobre --fundo */
  --texto-2: #52585b;        /* apoio — 6,9:1 sobre --fundo */
  --borda: #e2e2dc;
  --borda-campo: #8b9094;    /* 3,2:1 sobre --superficie */
  --verde: #54c247;          /* marca: preenchimento e destaque sobre escuro */
  --verde-texto: #2b7a22;    /* verde como texto sobre claro — 5,3:1 */
  --sobre-verde: #0d1a0b;    /* texto sobre botão verde — 9:1 */
  --escuro: #121514;         /* seções invertidas */
  --escuro-2: #1c201e;       /* cartões sobre escuro */
  --sobre-escuro: #f2f3ef;   /* texto sobre escuro — 16:1 */
  --sobre-escuro-2: #a9b0ac; /* apoio sobre escuro — 8,4:1 */
  --linha-escuro: #2c322f;
  --fonte: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --margem: 20px;
  --largura: 1160px;
  --raio-cartao: 14px;
  --raio-campo: 8px;
  --tempo: 180ms;
}
@media (min-width: 900px) { :root { --margem: 40px; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { :root { --tempo: 0ms; } }

* { box-sizing: border-box; }
html { scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--fonte); font-size: 17px; line-height: 1.6; color: var(--texto); background: var(--fundo); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--verde-texto); outline-offset: 3px; border-radius: 4px; }
.escuro :focus-visible { outline-color: var(--sobre-escuro); }
.miolo { max-width: var(--largura); margin: 0 auto; padding: 0 var(--margem); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.rotulo { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-texto); margin: 0 0 12px; }
.escuro .rotulo { color: var(--verde); }
.escuro { background: var(--escuro); color: var(--sobre-escuro); }
section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.titulo-secao { font-size: clamp(30px, 4vw, 44px); font-weight: 800; max-width: 18ch; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform var(--tempo), background var(--tempo);
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao-verde { background: var(--verde); color: var(--sobre-verde); }
.botao-verde:hover { transform: translateY(-1px); background: #63d156; }
.botao-contorno { border-color: currentColor; color: inherit; background: transparent; }
.botao-contorno:hover { background: rgba(255,255,255,.08); }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.topo .miolo { display: flex; align-items: center; gap: 24px; height: 72px; }
.topo .marca img { width: 176px; height: auto; }
.topo nav { margin-left: auto; }
.topo ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.topo nav a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--texto-2); }
.topo nav a:hover { color: var(--texto); background: var(--fundo); }
.topo .idioma { font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--borda-campo); border-radius: 999px; padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; }
.topo .botao { min-height: 44px; padding: 8px 18px; font-size: 15px; }
@media (max-width: 960px) { .topo nav, .topo .so-desktop { display: none; } .topo .idioma { margin-left: auto; } }

/* Abertura */
.abertura { position: relative; padding: 0; overflow: hidden; }
.abertura::before { content: ""; position: absolute; inset: 0; background: url("../img/desktop-bg.webp") center 30% / cover; opacity: .38; }
.abertura .miolo { position: relative; padding-top: 112px; padding-bottom: 72px; }
.abertura h1 { font-size: clamp(40px, 7vw, 84px); font-weight: 800; max-width: 13ch; letter-spacing: -0.03em; }
.abertura h1 em { font-style: normal; color: var(--verde); }
.abertura .apoio { font-size: clamp(17px, 2vw, 20px); color: var(--sobre-escuro-2); max-width: 58ch; margin: 24px 0 0; }
.publico { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.publico li { border: 1px solid var(--linha-escuro); background: rgba(18,21,20,.6); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.prova { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--linha-escuro); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--sobre-escuro-2); font-size: 15px; }
.prova .rostos { display: flex; }
.prova .rostos img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid var(--escuro); margin-left: -10px; background: var(--escuro-2); }
.prova .rostos img:first-child { margin-left: 0; }
.prova strong { color: var(--sobre-escuro); }
.prova p { margin: 0; }
.prova a { color: var(--verde); }
@media (max-width: 600px) { .acoes .botao { width: 100%; } }

/* Empresa */
.empresa .grade { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.empresa .destaque { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
.empresa .destaque span { color: var(--verde-texto); }
.empresa p { margin: 0 0 18px; color: var(--texto-2); max-width: 62ch; }
@media (max-width: 860px) { .empresa .grade { grid-template-columns: 1fr; gap: 32px; } }

/* Serviços */
.servicos { background: var(--superficie); border-block: 1px solid var(--borda); }
.servicos .cabeca { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 48px; }
.servicos .cabeca > p { color: var(--texto-2); margin: 0; max-width: 40ch; }
.lista-servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--borda); }
.lista-servicos li { display: flex; gap: 18px; align-items: flex-start; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--borda); }
.lista-servicos .icone { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--fundo); display: grid; place-items: center; color: var(--verde-texto); }
.lista-servicos .icone svg { width: 26px; height: 26px; }
.lista-servicos .num { display: block; font-size: 13px; font-weight: 700; color: var(--texto-2); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.lista-servicos h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 960px) { .lista-servicos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lista-servicos { grid-template-columns: 1fr; } .lista-servicos li { padding-right: 0; } }

/* Clientes */
.clientes .cabeca { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 40px; }
.clientes .cabeca > p { margin: 0; color: var(--sobre-escuro-2); }
.grade-clientes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.grade-clientes button {
  width: 100%; padding: 0; border: 1px solid var(--linha-escuro); border-radius: var(--raio-cartao); overflow: hidden;
  background: var(--escuro-2); color: var(--sobre-escuro); font: inherit; text-align: left; cursor: pointer;
  transition: transform var(--tempo), border-color var(--tempo);
}
.grade-clientes button:hover { transform: translateY(-3px); border-color: var(--verde); }
.grade-clientes img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 20%; background: #2a2f2c; }
.grade-clientes .nome { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.grade-clientes .nome svg { width: 16px; height: 16px; color: var(--verde); flex: none; }
@media (max-width: 480px) { .grade-clientes { grid-template-columns: repeat(2, 1fr); gap: 10px; } .grade-clientes .nome { font-size: 14px; padding: 10px; } }

/* Ficha do cliente */
dialog { border: 0; padding: 0; border-radius: 18px; max-width: 760px; width: calc(100% - 32px); background: var(--superficie); color: var(--texto); }
dialog::backdrop { background: rgba(18,21,20,.7); }
.ficha { display: grid; grid-template-columns: 260px 1fr; }
.ficha img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; min-height: 300px; background: #ddd; }
.ficha .texto { padding: 28px 28px 24px; max-height: 80vh; overflow: auto; }
.ficha h3 { font-size: 30px; font-weight: 800; margin: 0 0 14px; }
.ficha p { margin: 0 0 12px; color: var(--texto-2); font-size: 16px; }
.ficha .navega { display: flex; gap: 8px; margin-top: 20px; }
.ficha .navega button, .fechar { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--borda-campo); background: var(--superficie); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fechar { position: absolute; top: 12px; right: 12px; width: 44px; padding: 0; display: grid; place-items: center; }
@media (max-width: 640px) { .ficha { grid-template-columns: 1fr; } .ficha img { min-height: 0; aspect-ratio: 4/3; } .ficha .texto { max-height: none; } }

/* FAQ */
.faq .grade { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq .grade > div:first-child { position: sticky; top: 100px; }
.faq .grade > div:first-child p { color: var(--texto-2); }
.faq details { border-bottom: 1px solid var(--borda); }
.faq details:first-child { border-top: 1px solid var(--borda); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 24px; height: 24px; color: var(--verde-texto); transition: transform var(--tempo); margin-top: 2px; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--texto-2); max-width: 65ch; }
.faq details p { margin: 0 0 12px; }
@media (max-width: 860px) { .faq .grade { grid-template-columns: 1fr; gap: 24px; } .faq .grade > div:first-child { position: static; } }

/* Contato */
.contato .grade { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.canais { display: grid; gap: 12px; margin-top: 32px; }
.canal { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--linha-escuro); border-radius: var(--raio-cartao); background: var(--escuro-2); text-decoration: none; }
a.canal:hover { border-color: var(--verde); }
.canal svg { width: 26px; height: 26px; color: var(--verde); flex: none; }
.canal small { display: block; color: var(--sobre-escuro-2); font-size: 14px; }
.canal strong { font-size: 18px; }
form { background: var(--superficie); color: var(--texto); border-radius: 18px; padding: 32px; display: grid; gap: 16px; align-self: start; }
form h3 { font-size: 24px; font-weight: 800; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input, textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--borda-campo); border-radius: var(--raio-campo); background: var(--superficie); color: var(--texto); }
textarea { min-height: 140px; resize: vertical; }
form .aviso { margin: 0; font-size: 14px; color: var(--texto-2); }
@media (max-width: 860px) { .contato .grade { grid-template-columns: 1fr; gap: 40px; } form { padding: 24px; } }

/* Rodapé */
footer { background: var(--escuro); color: var(--sobre-escuro-2); border-top: 1px solid var(--linha-escuro); padding: 28px 0; font-size: 14px; }
footer .miolo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.whatsapp svg { width: 32px; height: 32px; fill: #fff; }

/* Rótulo verde vence as regras de parágrafo das seções */
.empresa .grade p.rotulo, .faq .grade > div:first-child p.rotulo { color: var(--verde-texto); }

