/* Luz Escalante Ateliê — estilos compartilhados */
:root {
  --bg: #f6fbff;
  --bg-2: #eaf5fd;
  --card: #ffffff;
  --sky: #8fd0f2;
  --sky-soft: #cfeafa;
  --accent: #1672ae;
  --accent-hover: #0f5e93;
  --ink: #0f2740;
  --muted: #4d6379;
  --line: #d3e6f3;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
img { background: linear-gradient(135deg, var(--bg-2), var(--sky-soft)); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 16px; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* rótulo pequeno em caixa alta */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; border-top: 2px dashed var(--sky); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* pesponto: a linha tracejada que é a assinatura visual do ateliê */
.stitch { border: 0; border-top: 2px dashed var(--sky); margin: 0; opacity: .8; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(22, 114, 174, .7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.link {
  color: var(--accent); font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 100% 2px; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 251, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: auto; height: 40px; flex: none; background: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--display); font-style: italic; font-size: 1.35rem; font-weight: 500; }
.logo-sub { font-size: .66rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-top: 5px; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px; transition: background-size .35s var(--ease), color .35s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--accent); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }

.burger { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; color: var(--ink); }
.burger svg { width: 24px; height: 24px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; padding: 20px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px dashed var(--line); }
.mobile-menu li a { display: block; padding: 18px 0; font-family: var(--display); font-size: 1.7rem; text-decoration: none; }
.mobile-menu .btn { margin-top: 32px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
}

/* ---------- Seções ---------- */
section { padding-block: 64px; }
@media (min-width: 768px) { section { padding-block: 96px; } }
@media (min-width: 1024px) { section { padding-block: 128px; } }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-copy .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.hero-media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px dashed var(--sky); border-radius: 34px; z-index: -1;
}
.hero-tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); border-radius: 16px; padding: 14px 18px; font-size: .92rem; line-height: 1.4;
}
.hero-tag svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.frase-efeito { max-width: 820px; margin: 0 auto 40px; padding-inline: 20px; text-align: center; }
.frase-efeito p { margin: 0; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.02rem, 1.7vw, 1.25rem); line-height: 1.65; color: var(--accent); }
.frase-efeito::after { content: ""; display: block; width: 64px; margin: 24px auto 0; border-top: 2px dashed var(--sky); }
.hero-thread { position: absolute; right: -60px; top: 40px; width: 420px; color: var(--sky); opacity: .45; z-index: -2; pointer-events: none; }
.hero-thread path { stroke-dasharray: 8 10; }
@media (min-width: 900px) {
  .hero { padding-block: 64px 112px; }
  .frase-efeito { margin-bottom: 56px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .hero-tag { right: auto; max-width: 320px; left: -32px; bottom: 40px; box-shadow: 0 20px 40px -24px rgba(15, 39, 64, .35); }
}

/* hero das páginas de serviço */
.page-hero { padding-block: 40px 64px; }
.page-hero .wrap { display: grid; gap: 40px; align-items: center; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
@media (min-width: 900px) {
  .page-hero { padding-block: 64px 96px; }
  .page-hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .page-hero img { aspect-ratio: 4 / 5; }
}
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Faixa de diferenciais ---------- */
.facts { padding-block: 0; }
.facts ul { list-style: none; margin: 0; padding: 32px 0; display: grid; gap: 24px; border-block: 2px dashed var(--line); }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts svg { width: 24px; height: 24px; color: var(--accent); opacity: .8; flex: none; margin-top: 2px; }
.facts strong { display: block; font-size: 1rem; }
.facts span { color: var(--muted); font-size: .92rem; }
@media (min-width: 768px) { .facts ul { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- Cards de serviço ---------- */
.services { display: grid; gap: 24px; }
@media (min-width: 900px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.service:hover { border-color: var(--sky); box-shadow: 0 24px 48px -28px rgba(22, 114, 174, .45); transform: translateY(-4px); }
.service figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.service img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.service:hover img { transform: scale(1.05); filter: brightness(.95); }
.service-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service-body .num { font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 12px; }
.service-body p { color: var(--muted); }
.service-body .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.service-body .go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.service:hover .go svg { transform: translateX(4px); }

/* ---------- Sobre / split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.reverse > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .mini {
  position: absolute; width: 42%; right: -12px; bottom: -28px; aspect-ratio: 3 / 4; border: 6px solid var(--bg); border-radius: 18px;
}
.section-alt .split-media .mini { border-color: var(--bg-2); }
.quote { font-family: var(--display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; border-left: 3px solid var(--sky); padding-left: 20px; margin: 28px 0; }

/* listas com check */
.checks { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; opacity: .85; }
@media (min-width: 600px) { .checks.two { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: border-color .4s var(--ease); }
.steps li:hover { border-color: var(--sky); }
.steps li::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--sky); margin-bottom: 20px;
}
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Galeria ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; position: relative; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .8s var(--ease); }
.gallery figure:hover img, .gallery figure:hover video { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery .wide img { aspect-ratio: auto; }
  .gallery .tall { grid-row: span 2; }
  .gallery .tall img, .gallery .tall video { aspect-ratio: auto; }
}
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 6px 14px; font-size: .8rem; font-weight: 600;
}

/* ---------- Vídeo ---------- */
.video-frame { max-width: 360px; margin-inline: auto; position: relative; }
.video-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; background: var(--bg-2); }
.video-frame::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 2px dashed var(--sky); border-radius: 34px; z-index: -1; }
.video-frame { isolation: isolate; }

/* ---------- Cards simples ---------- */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.card:hover { border-color: var(--sky); transform: translateY(-3px); }
.card svg { width: 24px; height: 24px; color: var(--accent); opacity: .8; margin-bottom: 20px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px dashed var(--line); }
.faq details:first-child { border-top: 1px dashed var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-weight: 700; font-size: 1.05rem; transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 24px; margin: 0; max-width: 68ch; }

/* ---------- CTA final ---------- */
.cta-box {
  background: var(--ink); color: #fff; border-radius: 28px; padding: 56px 28px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(143, 208, 242, .35); border-radius: 20px; pointer-events: none; }
.cta-box h2 { color: #fff; }
.cta-box h2 em { color: var(--sky); }
.cta-box p { color: #c3d6e6; max-width: 56ch; margin: 0 auto 32px; }
.cta-box .btn-primary { background: var(--sky); color: var(--ink); }
.cta-box .btn-primary:hover { background: #fff; }
@media (min-width: 768px) { .cta-box { padding: 88px 56px; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-decoration: none; display: block; transition: border-color .4s var(--ease), transform .4s var(--ease); }
a.contact-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-item svg { width: 24px; height: 24px; color: var(--accent); opacity: .8; margin-bottom: 16px; }
.contact-item small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.contact-item strong { font-size: 1.1rem; }
.contact-item span { display: block; margin-top: 4px; font-size: .95rem; color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #c3d6e6; padding-block: 64px 32px; font-size: .95rem; }
.footer .logo-name { color: #fff; }
.footer .logo-sub { color: var(--sky); }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .3s var(--ease); }
.footer a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px dashed rgba(195, 214, 230, .25); padding-top: 24px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Revelar ao rolar (só com JS ativo) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .1s; } .js .reveal.d2 { transition-delay: .2s; } .js .reveal.d3 { transition-delay: .3s; }
.hero-thread path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero-thread path { animation: stitch 18s linear infinite; }
}
@keyframes stitch { to { stroke-dashoffset: -360; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
@media (max-width: 899px) {
  .gallery .m-wide { grid-column: span 2; }
  .gallery .m-wide img { aspect-ratio: 4 / 3; }
}
