/* =========================================================
   ÓTICAS DINIZ JANDIRA — folha de estilos
   Cor da marca extraída da logo oficial: #E2262D
   ========================================================= */

:root {
  --red: #E2262D;
  --red-dark: #B71D23;
  --ink: #1B1B1F;
  --ink-soft: #4A4A52;
  --bg: #FFFFFF;
  --bg-alt: #FAF7F5;
  --border: #ECE6E4;
  --gold: #C9A24B;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27,27,31,0.08);
  --font-title: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,.45); }
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--ghost.btn--dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn--ghost.btn--dark:hover { background: var(--bg-alt); }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 78px;
}
.header__logo { height: 46px; width: auto; }
.header__brand { margin-right: auto; }
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }
.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(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
/* Hero da marca (index.html) — fundo liso em gradiente, sem imagem de
   campanha misturada (a campanha do mês tem sua própria seção, #campanha,
   logo abaixo). Isso evita o problema de campanha "atrás dos botões". */
.hero--brand {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 720px; padding-top: 60px; padding-bottom: 60px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: #FFD9DB;
  margin-bottom: 14px;
}
.hero h1, .ads-hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  color: #fff;
}
.hero__lead {
  font-size: 17px;
  color: rgba(255,255,255,.9);
  max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Hero da página de anúncios (/anuncios/) ---------- */
.ads-hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 110px 0 76px;
}
.ads-hero__inner { max-width: 680px; }
.ads-hero .hero__lead { color: rgba(255,255,255,.92); }

/* ---------- Faixa do grupo de lojas ---------- */
.group-strip {
  background: var(--ink);
  padding: 16px 0;
}
.group-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.group-strip__label {
  color: rgba(255,255,255,.75);
  font-size: 13.5px;
  margin: 0;
  white-space: nowrap;
}
.group-strip__label strong { color: #fff; font-weight: 600; }
.group-strip__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.group-strip__cities li {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding-left: 18px;
}
.group-strip__cities li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
}

/* ---------- Seções genéricas ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  max-width: 640px;
  margin-bottom: 48px;
}
.section__title--left { margin-bottom: 20px; }

.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.card__icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Marcas ---------- */
.brands-block { margin-bottom: 36px; }
.brands-block:last-child { margin-bottom: 0; }
.brands-block__title { font-size: 16px; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.chip--accent {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* ---------- Promoção ---------- */
.promo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.promo__image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.promo__text .btn { margin-top: 8px; }

/* ---------- Localização ---------- */
.local { align-items: stretch; }
.local__info h3 { font-size: 16px; color: var(--red); margin-top: 24px; }
.local__info h3:first-child { margin-top: 0; }
.local__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hours { margin: 12px 0 20px; }
.hours li {
  display: flex; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px dashed var(--border);
  font-size: 14.5px;
}
.local__map {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.local__map iframe { width: 100%; height: 100%; min-height: 320px; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-final h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.cta-final p { color: rgba(255,255,255,.9); margin-bottom: 28px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 32px; }
.footer__inner { text-align: center; }
.footer__logo { height: 40px; margin: 0 auto 20px; filter: brightness(0) invert(1); opacity: .9; }
.footer p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0 0 8px; }
.footer__disclaimer { max-width: 640px; margin: 16px auto; font-size: 12.5px; color: rgba(255,255,255,.5); }
.footer__disclaimer a { text-decoration: underline; }
.footer__copy { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 20px; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 10px 24px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 24px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 24px rgba(37,211,102,.45); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .promo { grid-template-columns: 1fr; }
  .local__map { min-height: 260px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }
  .hero {
    display: block;
    min-height: auto;
    text-align: left;
  }
  .hero__inner { padding: 28px 0 40px; max-width: none; }
  .ads-hero { padding: 76px 0 56px; }
  .section { padding: 64px 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .promo__image { order: -1; }
}

/* ---------- Trabalhe com a gente (página de currículos) ---------- */
.jobs-header__inner { justify-content: space-between; }
.jobs-back {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jobs-back:hover { color: var(--red); }
.jobs-hero { padding: 86px 0 54px; text-align: center; }
.jobs-hero__inner { max-width: 620px; margin: 0 auto; }
.jobs-hero .eyebrow { justify-content: center; }
.jobs-form-wrap { max-width: 720px; margin: 0 auto; }
.jobs-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  overflow: hidden;
}
.jobs-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 24px auto 0;
}
