/* ==========================================================================
   Agência Lobo & Co — Estilos
   Identidade: fundo grafite/noturno + acento âmbar, tipografia Poppins.
   Mobile-first, acessível (contraste AA), Core Web Vitals em mente.
   ========================================================================== */

:root {
  --bg: #0E1217;
  --bg-alt: #131A22;
  --surface: #182029;
  --surface-2: #1E2833;
  --border: #2A3742;
  --text: #F2F5F8;
  --text-dim: #A9B6C2;
  --accent: #F2A007;      /* âmbar — faro do lobo */
  --accent-2: #FFC24B;
  --accent-ink: #1A1205;  /* texto sobre o âmbar (contraste alto) */
  --ok: #46C98B;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --shadow: 0 18px 40px -18px rgba(0,0,0,.7);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }

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

.accent { color: var(--accent); }

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}

/* Acessibilidade -------------------------------------------------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; z-index: 999;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* Botões ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px -10px rgba(242,160,7,.6); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,18,23,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand__logo { width: auto; height: 40px; }

.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.nav__list a { padding: 8px 14px; border-radius: 999px; color: var(--text-dim); font-weight: 500; transition: color .2s; }
.nav__list a:hover { color: var(--text); }
.nav__cta { background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; }
.nav__cta:hover { background: var(--accent-2); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s var(--ease); }

/* Hero ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 12vw, 128px) 0 clamp(48px, 8vw, 96px);
  background:
    linear-gradient(100deg, rgba(14,18,23,.96) 35%, rgba(14,18,23,.8) 65%, rgba(14,18,23,.55)),
    url("assets/img/hero-lobo.jpg") right center / cover no-repeat;
}
.hero__glow {
  position: absolute; inset: -20% 0 auto -10%;
  width: 70%; height: 520px;
  background: radial-gradient(closest-side, rgba(242,160,7,.22), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); font-weight: 900; margin-bottom: .3em; }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: var(--text-dim); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; color: var(--text-dim); font-size: .92rem; }
.hero__badges li { position: relative; padding-left: 20px; }
.hero__badges li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* Stats ----------------------------------------------------------- */
.stats { background: var(--bg-alt); border-block: 1px solid var(--border); padding: 44px 0 30px; }
.stats__grid { display: grid; grid-template-columns: 1fr; gap: 22px; text-align: center; }
.stat__num { display: block; font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 900; color: var(--accent); letter-spacing: -.03em; }
.stat__label { color: var(--text-dim); font-size: .96rem; }
.stats__note { text-align: center; color: var(--text-dim); font-size: .8rem; margin: 22px 0 0; opacity: .8; }

/* Seções genéricas ------------------------------------------------ */
.section { padding: clamp(60px, 9vw, 108px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.section__sub { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

/* Cards de serviço ------------------------------------------------ */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 1.18rem; margin-bottom: .35em; }
.card p { color: var(--text-dim); margin: 0; font-size: .96rem; }

/* Steps / método -------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step__num { display: inline-block; font-size: 1.6rem; font-weight: 900; color: var(--accent); margin-bottom: .3em; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--text-dim); margin: 0; font-size: .96rem; }

/* Planos ---------------------------------------------------------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.plan--featured { border-color: var(--accent); background: var(--surface-2); box-shadow: var(--shadow); }
.plan__tag {
  position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan__name { font-size: 1.4rem; margin-bottom: .1em; }
.plan__price { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; margin: .1em 0 .2em; }
.plan__price span { font-size: 1.1rem; font-weight: 600; color: var(--text-dim); vertical-align: super; margin-right: 2px; }
.plan__price small { font-size: .9rem; font-weight: 500; color: var(--text-dim); }
.plan__for { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.2rem; }
.plan__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan__list li { position: relative; padding-left: 26px; color: var(--text); font-size: .96rem; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(70,201,139,.18); background-image: none; }
.plan__list li::after { content: "✓"; position: absolute; left: 3px; top: .05em; color: var(--ok); font-weight: 700; font-size: .85rem; }
.plan__cta { width: 100%; }
.plans__custom { text-align: center; margin-top: 34px; display: grid; gap: 14px; justify-items: center; }
.plans__custom p { color: var(--text-dim); margin: 0; font-size: 1.05rem; }

/* Sobre ----------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.about__text p { color: var(--text-dim); }
.about__text h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.about__signature { color: var(--text) !important; font-style: italic; font-weight: 500; border-left: 3px solid var(--accent); padding-left: 16px; margin: 1.4rem 0; }
.about__mark { display: flex; justify-content: center; }
.about__mark img { width: min(480px, 100%); height: auto; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.5); }

/* Contato --------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
a.contact__card:hover { transform: translateY(-4px); border-color: var(--accent); }
.contact__label { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact__value { font-size: 1.25rem; font-weight: 700; overflow-wrap: anywhere; }
.contact__hint { color: var(--text-dim); font-size: .9rem; }
.contact__card--static { opacity: .95; }

/* Manifesto / O jeito Lobo ---------------------------------------- */
.manifesto {
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(242,160,7,.28), transparent 65%),
    linear-gradient(135deg, #10151c 0%, #1a1206 55%, #241703 100%);
  border-block: 1px solid var(--border);
  padding: clamp(64px, 10vw, 120px) 0;
}
.manifesto__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.manifesto__text h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; line-height: 1.25; margin-bottom: .9em; max-width: 21em; }
.manifesto__accent { color: var(--accent); }
.manifesto__strong { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.manifesto__text p { color: var(--text-dim); max-width: 46em; }
.manifesto__text p + p { margin-top: .8em; }
.manifesto__mark { display: flex; justify-content: center; }
.manifesto__mark img {
  width: min(420px, 100%); height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  aspect-ratio: 4 / 5; object-fit: cover;
}

/* Instagram ao vivo (iPhone) --------------------------------------- */
.ig { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; justify-items: center; }
.iphone {
  position: relative;
  width: min(370px, 92vw);
  background: #05070a;
  border-radius: 54px;
  border: 3px solid #2a3038;
  box-shadow:
    0 30px 60px -18px rgba(0,0,0,.7),
    0 0 0 1px rgba(255,255,255,.04);
  padding: 52px 12px 16px; /* bezel superior alto: a ilha fica aqui, sem cobrir o feed */
  overflow: hidden;
}
.iphone__island {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 26px; border-radius: 999px; background: #14181d;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07);
}
.iphone__screen {
  display: block;
  width: 100%; height: 420px; /* ajustada via JS pela altura real do embed */
  border: 0; border-radius: 30px;
  background: #fff;
  transition: height .3s var(--ease);
}
.ig__side { max-width: 420px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.ig__side h3 { font-size: 1.5rem; color: var(--accent); }
.ig__side p { color: var(--text-dim); margin: 0; }
.ig__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .ig__actions { justify-content: flex-start; } }

/* Formulários ------------------------------------------------------ */
.forms { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
.form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 26px; display: flex; flex-direction: column; gap: 16px;
}
.form__title { font-size: 1.45rem; }
.form__sub { color: var(--text-dim); font-size: .95rem; margin: -8px 0 0; }
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field label, .form__radios legend { font-size: .88rem; font-weight: 600; color: var(--text); }
.form__field input, .form__field textarea, .form__field select {
  background: var(--bg-alt); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font: inherit; width: 100%;
}
.form__field textarea { resize: vertical; min-height: 96px; }
.form__field input:focus-visible, .form__field textarea:focus-visible, .form__field select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form__field input.is-invalid, .form__field textarea.is-invalid { border-color: #e5484d; }
.form__promo {
  background: rgba(242,160,7,.1); color: var(--text);
  border: 1px dashed var(--accent); border-radius: 12px;
  padding: 14px 16px; font: inherit; font-size: .95rem; text-align: left;
  cursor: pointer; transition: background .2s var(--ease);
}
.form__promo:hover { background: rgba(242,160,7,.18); }
.form__promo[aria-pressed="true"] { background: rgba(242,160,7,.24); border-style: solid; }
.form__promo-note { color: var(--accent); font-size: .9rem; font-weight: 600; margin: -6px 0 0; }
.form__radios { border: 0; padding: 0; margin: 0; }
.form__radios legend { margin-bottom: 8px; }
.form__radios label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: .95rem; color: var(--text-dim);
  margin: 0 16px 8px 0; cursor: pointer;
}
.form__radios input { accent-color: var(--accent); width: 16px; height: 16px; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-dim); cursor: pointer; }
.form__check input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form__submit { width: 100%; }
.form__hint { color: var(--text-dim); font-size: .82rem; margin: -6px 0 0; text-align: center; }

/* Pilares / diferenciais ------------------------------------------ */
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; border-top: 3px solid var(--accent); }
.pillar h3 { font-size: 1.3rem; }
.pillar p { color: var(--text-dim); margin: 0; font-size: .98rem; }

/* Tabela de anúncios ---------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.ads-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.ads-table th, .ads-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.ads-table thead th { background: var(--surface-2); color: var(--accent); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.ads-table tbody th { text-align: left; font-weight: 600; color: var(--text); }
.ads-table tbody tr:last-child th, .ads-table tbody tr:last-child td { border-bottom: 0; }
.ads-table tbody tr:hover { background: rgba(242,160,7,.05); }
.ads-table td { color: var(--text-dim); font-weight: 600; }
.table-note { display: grid; gap: 16px; justify-items: center; text-align: center; margin-top: 28px; }
.table-note p { color: var(--text-dim); margin: 0; }
.table-note strong { color: var(--text); }

/* Materiais / downloads ------------------------------------------- */
.materials { display: grid; grid-template-columns: 1fr; gap: 18px; }
.material { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s var(--ease), border-color .2s var(--ease); position: relative; }
.material:hover { transform: translateY(-4px); border-color: var(--accent); }
.material__tag { display: inline-block; background: var(--surface-2); color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.material h3 { font-size: 1.35rem; }
.material p { color: var(--text-dim); font-size: .96rem; }
.material__link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.material__link::after { content: "\2193"; }

/* Footer ---------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 48px 0 26px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 10px; }
.footer__brand p { color: var(--text-dim); margin: 0; font-size: .95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__nav a, .footer__social a { color: var(--text-dim); transition: color .2s; }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 18px; font-weight: 600; }
.footer__legal { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer__legal p { color: var(--text-dim); font-size: .84rem; margin: 0; }

/* WhatsApp flutuante --------------------------------------------- */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,.6);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .materials { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1.3fr .7fr; gap: 60px; }
  .footer__inner { grid-template-columns: 1.4fr 1fr auto; }
  .contact__grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .manifesto__inner { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .ig { grid-template-columns: auto 1fr; gap: 64px; justify-items: start; }
  .ig__side { text-align: left; justify-items: start; }
  .forms { grid-template-columns: 1fr 1fr; align-items: start; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* Menu mobile ----------------------------------------------------- */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__list {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 12px 20px 22px;
    transform: translateY(-120%); transition: transform .3s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav__list.is-open { transform: translateY(0); }
  .nav__list a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav__list li:last-child a { border-bottom: 0; }
  .nav__cta { text-align: center; margin-top: 10px; border-radius: 999px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
