/* DIPLAY — cores medidas no logo oficial (branding/diplay-tokens.css, relatório em diplay-contraste.md) */
:root {
  --azul: #143FF4;          /* contorno do logo: cor dona */
  --azul-sombra: #2647B9;   /* sombra das letras do logo */
  --roxo: #744DDC;          /* mancha de trás */
  --lima: #C3D430;          /* mancha da frente */
  --tinta: #0B1B5E;         /* azul escurecido: texto corrido */
  --neutro: #4A5378;
  --superficie: #F4F6FF;
  --papel: #FFFFFF;
  --bola-vermelha: #E32155;
  --bola-laranja: #FEA52E;
  --bola-amarela: #FECF37;
  --bola-verde: #0ACB54;
  --bola-ciano: #2CD9C8;
  --bola-magenta: #E53BA6;
  --bola-lilas: #CC60FE;
  --whats: #25D366;

  --display: "Lilita One", system-ui, sans-serif;
  --corpo: "Nunito", system-ui, sans-serif;
  --raio: 28px;
  --mola: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--corpo); font-size: 1.0625rem; line-height: 1.6; color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--azul); }
h3 { font-size: 1.5rem; color: var(--tinta); }

.dentro { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* Botões */
.botao { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.6rem; border-radius: 999px; background: var(--azul); color: #fff; font-weight: 900; text-decoration: none; font-size: 1.05rem; box-shadow: 0 6px 0 var(--azul-sombra); transition: transform .25s var(--mola), box-shadow .25s; }
.botao:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--azul-sombra); }
.botao:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--azul-sombra); }
.botao:focus-visible, a:focus-visible { outline: 3px solid var(--bola-laranja); outline-offset: 3px; }
.botao-pequeno { padding: .6rem 1.1rem; font-size: .95rem; box-shadow: 0 4px 0 var(--azul-sombra); }
.botao-lima { background: var(--lima); color: var(--tinta); box-shadow: 0 6px 0 #8E9A1C; }
.botao-lima:hover { box-shadow: 0 9px 0 #8E9A1C; }
.ico-whats { width: 1.4em; height: 1.4em; fill: currentColor; flex: none; }

.selo { display: inline-block; font-weight: 900; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--roxo); padding: .35rem .9rem; border-radius: 999px; }
.selo-escuro { background: var(--azul); }
.selo-tinta { background: var(--tinta); }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 3px solid var(--superficie); }
.topo-dentro { width: min(1180px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 2rem; height: 88px; }
.marca img { width: 128px; height: auto; margin-top: 6px; }
.menu { display: flex; gap: 1.8rem; margin-left: auto; font-weight: 800; }
.menu a { text-decoration: none; color: var(--tinta); }
.menu a:hover { color: var(--azul); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5.5rem, 9vw, 7.5rem); background:
  radial-gradient(circle at 8% 18%, var(--superficie) 0 140px, transparent 141px),
  var(--papel); }
.hero-dentro { width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-texto { position: relative; z-index: 2; }
.titulo-logo { font-size: clamp(2.7rem, 6.4vw, 5.4rem); color: #fff; -webkit-text-stroke: .2em var(--azul); paint-order: stroke fill; text-shadow: 0 .14em 0 var(--azul-sombra); margin: 1.1rem 0 1.4rem; line-height: 1.12; letter-spacing: .015em; }
.hero-sub { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--neutro); max-width: 34rem; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.hero-fone { font-family: var(--display); font-size: 1.5rem; color: var(--azul); text-decoration: none; }
.hero-fone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.hero-foto { position: relative; aspect-ratio: 1 / 1; }
.hero-foto img { position: absolute; inset: 7% 4% 4% 7%; width: 89%; height: 89%; object-fit: cover; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; border: 8px solid #fff; box-shadow: 0 0 0 6px var(--azul), 0 22px 0 6px var(--azul-sombra); z-index: 2; }
.mancha { position: absolute; display: block; }
.mancha-roxo { inset: -2% 0 18% 22%; background: var(--roxo); border-radius: 62% 38% 46% 54% / 55% 42% 58% 45%; }
.mancha-lima { inset: 30% 24% -4% -6%; background: var(--lima); border-radius: 46% 54% 38% 62% / 58% 40% 60% 42%; }

/* Elemento assinatura: piscina de bolinhas que cai no fim do hero */
.piscina { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; pointer-events: none; z-index: 3; }
.piscina i { position: absolute; bottom: 6px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0 11%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 50% 45%, var(--c) 0 55%, color-mix(in srgb, var(--c), #000 28%) 100%);
  box-shadow: 0 6px 6px -4px rgba(11, 27, 94, .35);
  animation: cair 1.1s var(--d) cubic-bezier(.3, 0, .3, 1) both; }
@keyframes cair {
  0% { transform: translateY(-110vh); }
  62% { transform: translateY(0) scale(1.08, .9); }
  76% { transform: translateY(-22px) scale(.97, 1.04); }
  88% { transform: translateY(0) scale(1.03, .97); }
  100% { transform: translateY(0); }
}

/* Cabeçalho de seção */
.cabeca { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cabeca h2 { margin-top: .9rem; }
.cabeca-sub { margin-top: 1rem; color: var(--neutro); font-size: 1.12rem; }

/* Serviços */
.servicos { padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--superficie); }
.lista-servicos { list-style: none; display: grid; gap: 1.1rem; }
.lista-servicos li { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; background: #fff; border-radius: var(--raio); padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3.4vw, 2.6rem); border: 3px solid #fff; box-shadow: 0 6px 0 #DCE2FF; transition: transform .3s var(--mola); }
.lista-servicos li:hover { transform: translateX(8px); }
.lista-servicos .num { display: grid; place-items: center; width: clamp(64px, 8vw, 92px); aspect-ratio: 1; border-radius: 50%; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; -webkit-text-stroke: 6px var(--tinta); paint-order: stroke fill;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8) 0 10%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 50% 45%, var(--c) 0 55%, color-mix(in srgb, var(--c), #000 25%) 100%); }
.lista-servicos h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--azul); margin-bottom: .35rem; }
.lista-servicos p { color: var(--neutro); max-width: 44rem; }

/* Obra */
.obra { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.galeria { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-areas: "g1 g2" "g1 g3" "g4 g4"; gap: 1rem; }
.galeria figure { position: relative; border-radius: var(--raio); overflow: hidden; background: var(--superficie); }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.g1 { grid-area: g1; } .g2 { grid-area: g2; } .g3 { grid-area: g3; } .g4 { grid-area: g4; aspect-ratio: 21 / 8; }
.g4 img { object-position: 50% 40%; }
.galeria figcaption { position: absolute; left: 1rem; bottom: 1rem; background: var(--tinta); color: #fff; font-weight: 800; font-size: .9rem; padding: .35rem .85rem; border-radius: 999px; }

/* Como funciona */
.como { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; background: var(--lima); overflow: hidden; }
.como::before { content: ""; position: absolute; width: 520px; height: 420px; right: -160px; top: -140px; background: var(--roxo); border-radius: 62% 38% 46% 54% / 55% 42% 58% 45%; opacity: .95; }
.como .dentro { position: relative; }
.como h2 { color: var(--tinta); }
.passos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.passos li { background: #fff; border-radius: var(--raio); padding: 1.6rem 1.4rem 1.8rem; box-shadow: 0 6px 0 #8E9A1C; }
.passos .bolinha { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--display); font-size: 1.6rem; color: #fff; margin-bottom: 1rem;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .75) 0 10%, rgba(255, 255, 255, 0) 24%), var(--c); }
.passos h3 { margin-bottom: .45rem; }
.passos p { color: var(--neutro); font-size: 1rem; }

/* Para quem */
.para-quem { padding: clamp(3.5rem, 7vw, 5rem) 0; text-align: left; }
.para-quem h2 { margin-bottom: 1.6rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; }
.chips li { font-weight: 800; padding: .7rem 1.25rem; border-radius: 999px; border: 3px solid var(--azul); color: var(--azul); background: #fff; }
.chips li:nth-child(3n+2) { border-color: var(--roxo); color: var(--roxo); }
.chips li:nth-child(3n) { border-color: var(--tinta); color: var(--tinta); }

/* Chamada final */
.chamada { position: relative; padding: clamp(4rem, 8vw, 6rem) 0; background: var(--azul); color: #fff; overflow: hidden; }
.chamada::before { content: ""; position: absolute; width: 640px; height: 520px; left: -220px; bottom: -260px; background: var(--roxo); border-radius: 46% 54% 38% 62% / 58% 40% 60% 42%; }
.chamada-dentro { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.chamada-logo { width: 100%; max-width: 480px; filter: drop-shadow(0 18px 24px rgba(11, 27, 94, .35)); }
.chamada h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.fone-logo { display: inline-block; margin: 1.4rem 0 1.8rem; font-family: var(--display); font-size: clamp(2.3rem, 5.6vw, 4.4rem); color: #fff; -webkit-text-stroke: .2em var(--tinta); paint-order: stroke fill; text-shadow: 0 .12em 0 var(--tinta); text-decoration: none; letter-spacing: .02em; line-height: 1.2; }

/* Rodapé */
.rodape { background: var(--tinta); color: #DDE3FF; padding: 2.6rem 0 1.6rem; }
.rodape-linha { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.rodape-logo { width: 120px; }
.rodape-contato { list-style: none; text-align: right; font-weight: 600; }
.rodape-contato a { text-decoration: none; font-weight: 800; color: #fff; }
.rodape-contato a:hover { text-decoration: underline; }
.assinatura-studio { padding-top: 1.2rem; border-top: 1px solid rgba(221, 227, 255, .18); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .68rem; letter-spacing: .06em; color: #8E98C4; }
.assinatura-studio a { color: inherit; text-decoration: underline; text-decoration-color: rgba(221, 227, 255, .3); text-underline-offset: .25em; }
.assinatura-studio a:hover { color: #fff; }

/* WhatsApp flutuante */
.whats-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--whats); box-shadow: 0 0 0 4px #fff, 0 10px 22px rgba(11, 27, 94, .3); transition: transform .25s var(--mola); }
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 32px; height: 32px; fill: #fff; }

/* Telas menores */
@media (max-width: 1000px) {
  .passos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .topo-dentro { justify-content: space-between; }
  .hero-dentro { grid-template-columns: 1fr; }
  .hero-foto { max-width: 520px; width: 100%; justify-self: center; }
  .galeria { grid-template-columns: 1fr; grid-template-areas: "g1" "g2" "g3" "g4"; }
  .g4 { aspect-ratio: 4 / 3; }
  .chamada-dentro { grid-template-columns: 1fr; text-align: center; }
  .como::before { width: 240px; height: 200px; right: -120px; top: -110px; }
  .chamada-logo { margin-inline: auto; max-width: 360px; }
  .rodape-contato { text-align: left; }
}
@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; }
  .marca img { width: 104px; }
  .hero-acoes .botao { width: 100%; justify-content: center; }
  .piscina i { width: calc(var(--s) * .72); height: calc(var(--s) * .72); }
  .lista-servicos li { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
