/* =========================================================
   SIMIONATTO — Ótica e Relojoaria
   Design system + landing page styles
   ========================================================= */

:root {
  /* Brand — extraído da logo (azul royal + branco) */
  --royal:        #1B1FB0;
  --royal-700:    #15188C;
  --royal-deep:   #0C0E5E;
  --royal-ink:    #07083A;
  --gold:         #C9A24B;   /* acento sutil — sofisticação da relojoaria */

  --ink:          #0A0B1A;
  --paper:        #F4F5FA;
  --paper-2:      #EBEDF6;
  --white:        #FFFFFF;
  --muted:        #6B6F86;
  --line:         rgba(12, 14, 94, 0.12);

  --container:    1200px;
  --radius:       16px;
  --radius-sm:    10px;

  --font-serif:   "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", system-ui, -apple-system, sans-serif;

  --shadow:       0 18px 50px -20px rgba(12, 14, 94, 0.35);
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--royal);
  text-transform: uppercase;
}

h2 { font-family: var(--font-serif); font-weight: 700; line-height: 1.08; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.link { color: var(--royal); font-weight: 600; }
.link:hover { color: var(--royal-700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--royal); color: var(--white); }
.btn--solid:hover { background: var(--royal-700); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--royal-ink);
  color: rgba(255,255,255,.88);
  font-size: .8rem;
  letter-spacing: .04em;
}
.announcement__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .55rem;
}
.announcement a { color: #fff; font-weight: 600; }
.announcement a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand__logo { height: 52px; width: 52px; border-radius: 11px; display: block; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-serif); font-weight: 800; font-size: 1.22rem; letter-spacing: .05em; color: var(--royal-deep); }
.brand__text small { font-size: .56rem; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }

.nav { display: flex; gap: 1.8rem; margin-left: auto; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--royal); transition: width .25s var(--ease); }
.nav a:hover::after { width: 100%; }

.header__cta { padding: .6rem 1.3rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; border-radius: 2px; }
.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); }

/* =========================================================
   HERO — estático
   ========================================================= */
.hero {
  position: relative;
  /* fallback para navegadores sem svh */
  min-height: clamp(560px, 86vh, 900px);
  /* svh = altura da tela realmente visível (resolve a barra do navegador no mobile) */
  min-height: clamp(560px, 86svh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 120% at 80% 10%, rgba(120,130,255,.35), transparent 60%),
    linear-gradient(155deg, #07083A 0%, #15188C 55%, #1B1FB0 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__glasses {
  position: absolute;
  right: -6%;
  bottom: -14%;
  width: min(62%, 720px);
  height: auto;
  color: #fff;
  opacity: .07;
  transform: rotate(-6deg);
}
.hero__overlay { position: relative; z-index: 2; color: #fff; text-align: left; padding-block: clamp(2rem, 6vh, 5rem); }
.hero__kicker {
  font-size: .82rem; font-weight: 600; letter-spacing: .42em;
  color: rgba(255,255,255,.82); text-transform: uppercase; margin-bottom: .8rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(3.2rem, 13vw, 11rem);
  line-height: .92;
  letter-spacing: .02em;
  text-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.hero__tagline { font-size: clamp(1.15rem, 2.4vw, 1.7rem); margin-top: 1rem; color: rgba(255,255,255,.92); font-weight: 400; }
.hero__desc { margin-top: 1.3rem; max-width: 48ch; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* ---------- Categories band ---------- */
.categories { background: var(--royal-deep); color: #fff; padding-block: clamp(3rem, 6vw, 5rem); }
.categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.cat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.cat:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); }
.cat__icon { width: 56px; height: 56px; color: var(--white); margin-bottom: 1.1rem; display: flex; align-items: center; }
.cat__icon svg { width: 100%; height: auto; }
.cat h3 { font-family: var(--font-serif); font-size: 1.35rem; margin-bottom: .4rem; }
.cat p { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 1rem; }
.cat .link { color: var(--gold); }

/* ---------- Feature split ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 70vh; }
.feature__media { background: var(--paper-2); }
.feature__placeholder, .feature__media img { width: 100%; height: 100%; min-height: 50vh; object-fit: cover; }
.feature__placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: var(--royal); opacity: .5; }
.feature__placeholder svg { width: 120px; }
.feature__placeholder span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.feature__content { display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: clamp(2.5rem, 6vw, 6rem); }

/* ---------- Trust row ---------- */
.trust { background: var(--paper); border-block: 1px solid var(--line); padding-block: 2.4rem; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust__item { display: flex; align-items: center; gap: .9rem; }
.trust__item svg { width: 34px; height: 34px; color: var(--royal); flex: none; }
.trust__item strong { display: block; font-size: .98rem; }
.trust__item span { color: var(--muted); font-size: .85rem; }

/* ---------- Showcase ---------- */
.showcase { padding-block: clamp(3.5rem, 7vw, 6rem); }
.showcase__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 2.2rem; }
.showcase__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__img { aspect-ratio: 4/3; background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--royal); opacity: .85; }
.product__img svg { width: 46%; }
.product h4 { font-family: var(--font-serif); font-size: 1.1rem; padding: 1rem 1.1rem 0; }
.product span { display: block; color: var(--muted); font-size: .82rem; padding: .1rem 1.1rem 1.1rem; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(3.5rem, 7vw, 6rem); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact__list { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.6rem 0 2rem; }
.contact__list li { display: flex; flex-direction: column; border-left: 3px solid var(--royal); padding-left: 1rem; }
.contact__list strong { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.contact__list span { color: var(--ink); }
.contact__map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.contact__map-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; color: var(--royal); opacity: .5; }
.contact__map-placeholder svg { width: 60px; }
.contact__map-placeholder span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.footer { background: var(--royal-ink); color: rgba(255,255,255,.8); padding-block: 3rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand--footer .brand__logo { height: 60px; width: 60px; border-radius: 13px; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text small { color: rgba(255,255,255,.6); }
.footer__nav { display: flex; gap: 1.6rem; }
.footer__nav a:hover { color: var(--gold); }
.footer__copy { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.55); }

/* =========================================================
   Movimento / efeitos
   (tudo aqui respeita prefers-reduced-motion)
   ========================================================= */
/* ícone dos cards ganha um leve movimento no hover */
.cat__icon { transition: transform .3s var(--ease); }
.cat:hover .cat__icon { transform: translateY(-3px) scale(1.06); }
.product__img svg { transition: transform .35s var(--ease); }
.product:hover .product__img svg { transform: scale(1.08); }

/* feedback de toque (mobile) */
.cat:active, .product:active, .btn:active { transform: scale(.985); }

@media (prefers-reduced-motion: no-preference) {
  /* entrada do hero ao carregar */
  .hero__kicker, .hero__title, .hero__tagline, .hero__desc, .hero__actions {
    animation: heroIn .8s var(--ease) both;
  }
  .hero__title   { animation-delay: .06s; }
  .hero__tagline { animation-delay: .14s; }
  .hero__desc    { animation-delay: .22s; }
  .hero__actions { animation-delay: .30s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* revelar ao rolar — a classe .reveal é adicionada via JS */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 920px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem 24px 1rem;
  }
  .nav.open a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .categories__grid, .trust__grid, .showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .contact__inner { grid-template-columns: 1fr; }
  .feature__content { padding: 2.5rem 24px; }
}
@media (max-width: 540px) {
  /* Header enxuto: logo + nome, sem o subtítulo */
  .header__inner { height: 64px; }
  .brand__logo { height: 42px; width: 42px; border-radius: 9px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 1.1rem; }

  /* Barra de aviso minimalista: só o WhatsApp, centralizado */
  .announcement__inner { justify-content: center; font-size: .74rem; }
  .announcement__inner > span { display: none; }

  /* Hero ocupa a altura real da tela; bloco centralizado como um grupo só */
  .hero { min-height: 100vh; min-height: 100svh; align-items: stretch; }
  .hero__overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(2rem, 5vh, 3.5rem);
  }
  .hero__kicker { letter-spacing: .3em; font-size: .74rem; margin-bottom: 1.1rem; }
  .hero__tagline { margin-top: 1.4rem; }
  .hero__desc { margin-top: 1.6rem; }
  .hero__glasses { opacity: .05; width: 86%; right: -18%; bottom: -8%; }

  /* Botões logo após o texto, empilhados e cheios */
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 360px; margin-top: 2.4rem; }
  .hero__actions .btn { justify-content: center; }

  .categories__grid, .showcase__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; gap: 1rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
