/* ==========================================================
   Consultoria de Anúncios para Fotógrafos — estilos
   Para mudar as cores, altere apenas as variáveis abaixo.
   ========================================================== */

:root {
  --bg: #0b0b0c;          /* fundo escuro principal */
  --bg-soft: #151517;     /* cards no fundo escuro */
  --line: #26262a;        /* bordas no fundo escuro */
  --text: #f4f4f5;        /* texto principal no escuro */
  --muted: #a1a1aa;       /* texto secundário no escuro */

  --light-bg: #f7f7f5;    /* fundo claro (seção "Como funciona") */
  --light-text: #111113;
  --light-muted: #55555c;
  --light-line: #e3e3df;

  --accent: #ff6a3d;      /* cor de destaque dos botões */
  --accent-hover: #ff8259;
  --accent-ink: #120a06;  /* texto dentro do botão */

  --radius: 14px;
  --container: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(255, 106, 61, .6);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.btn--lg { min-height: 60px; padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn__arrow {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Seção 1 — Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 72svh;
  display: flex;
  align-items: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}

.hero__inner { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 800;
}

.hero__subtitle {
  margin-top: 20px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
}

.hero__cta { margin-top: 36px; }
.hero__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero__glow {
  position: absolute;
  right: -20vmax; top: -20vmax;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, .18), transparent 60%);
  pointer-events: none;
}

/* ---------- Seções ---------- */
.section { padding: 56px 0; }

/* Linha divisória entre duas seções escuras seguidas */
.section:not(.section--light) + .section:not(.section--light) { border-top: 1px solid var(--line); }

.section__title {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  font-weight: 800;
}

.section__lead {
  max-width: 680px;
  margin: -16px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section__cta { margin-top: 28px; }

.section--light {
  background: var(--light-bg);
  color: var(--light-text);
}
.section--light .section__lead { color: var(--light-muted); }

/* ---------- Para quem é ---------- */
.cards {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.card:hover { border-color: #3a3a40; }
.card p { font-size: 1.02rem; }

.card__icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 106, 61, .12);
  color: var(--accent);
}
.card__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- O que vamos analisar juntos ---------- */
.topics {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.topic {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
}
.topic .card__icon { margin-bottom: 16px; }
.topic__title {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}
.topic p { color: var(--light-muted); }

/* ---------- Como funciona ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.step {
  padding: 26px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.step__title {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}
.step p { color: var(--muted); }

/* ---------- Resultados ---------- */
.cases {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: 16px;
}

.case {
  padding: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case--featured { border-color: rgba(255, 106, 61, .45); }

.case__head { margin-bottom: 14px; }
.case__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 106, 61, .12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case__title { font-size: 1.15rem; font-weight: 700; }

.case__shots { display: grid; gap: 8px; }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.shot img { width: 100%; }

.case__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
}
.case__stats div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.case__stats dt { color: var(--muted); font-size: 0.78rem; }
.case__stats dd { margin: 2px 0 0; font-size: 1.1rem; font-weight: 700; }

.case__revenue {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}
.case__revenue-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case__revenue strong { font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.case__revenue span:last-child { font-size: 0.9rem; font-weight: 600; }

/* ---------- Seção 5 — CTA final ---------- */
.cta-final {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 106, 61, .16), transparent 60%),
    var(--bg);
}
.cta-final__inner {
  max-width: 760px;
  text-align: center;
}
.cta-final__title {
  font-size: clamp(1.8rem, 5.4vw, 3rem);
  font-weight: 800;
}
.cta-final__text {
  margin: 16px auto 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-final__tags {
  list-style: none;
  margin: 24px 0 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}
.cta-final__tags li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cta-final__tags li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Rodapé ---------- */
.footer {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: #6b6b73;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Botão fixo no celular ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11, 11, 12, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .92);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-height: 88vh;
  width: auto;
  border-radius: 10px;
}
.lightbox__close {
  position: absolute;
  top: 12px; right: 16px;
  width: 48px; height: 48px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Animação de entrada (discreta) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn__arrow, .sticky-cta { transition: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .container { padding: 0 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .case { padding: 22px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .topics { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .topic { padding: 30px 28px; }
  .hero { min-height: 0; padding: 104px 0 96px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { padding: 34px 28px; }
  .sticky-cta { display: none; }
}

/* ---------- Oferta ---------- */
.offer {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .25);
}

.offer__details { padding: 26px 22px; }

.offer__facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 26px;
}
.offer__facts div {
  padding: 14px 16px;
  background: var(--light-bg);
  border-radius: 12px;
}
.offer__facts dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--light-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.offer__facts dt svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.offer__facts dd { margin: 4px 0 0; font-weight: 600; }

.offer__subtitle { margin-bottom: 14px; font-size: 1.15rem; font-weight: 700; }

.offer__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.offer__list li {
  position: relative;
  padding-left: 30px;
  color: var(--light-muted);
}
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 106, 61, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.offer__price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255, 106, 61, .22), transparent 60%),
    var(--bg);
  color: var(--text);
  text-align: center;
}
.offer__price-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.offer__value {
  margin: 6px 0 10px;
  color: var(--accent);
  font-size: clamp(2.8rem, 12vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.offer__value span { font-size: 0.5em; }
.offer__price-note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}
.offer__price .btn { font-size: 0.9rem; padding-left: 18px; padding-right: 18px; }
.offer__foot {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .offer { grid-template-columns: 1.35fr 1fr; }
  .offer__details { padding: 40px 40px; }
  .offer__facts { grid-template-columns: 1fr 1fr; }
  .offer__price { padding: 40px 36px; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .5);
  transition: transform .2s ease, bottom .3s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Rodapé não fica embaixo do botão flutuante */
.footer .container { padding: 0 80px; }

/* Sobe o botão quando a barra fixa do celular está visível */
.has-sticky .whatsapp-float { bottom: calc(92px + env(safe-area-inset-bottom)); }

@media (min-width: 900px) {
  .whatsapp-float { right: 24px; bottom: 24px; width: 60px; height: 60px; }
}
