/* ===========================================================
   ideia3d — site institucional
   Tema claro e colorido — combina com produtos vivos,
   personalizados, impressos em 3D.
   =========================================================== */

:root {
  --bg:       #fbf6ec;
  --bg-alt:   #f5ecd9;
  --surface:  #ffffff;
  --ink:      #221d16;
  --ink-soft: #6b6254;
  --coral:      #ff5a3c;
  --coral-dark: #df431f;
  --teal:       #0f9a8e;
  --gold:       #9c7222;
  --gold-soft:  #c99a3d;
  --line: rgba(34,29,22,0.14);

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Inter', sans-serif;

  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 14px;
}

.seal { color: var(--gold); }
.eyebrow .seal { width: 16px; height: 16px; flex-shrink: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; }
h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.18; }
h3 { font-size: 18px; line-height: 1.3; }

p { color: var(--ink-soft); }

p.lead { font-size: 18px; color: var(--ink); opacity: 0.82; max-width: 540px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--coral);
  color: #fff;
}
.btn-gold:hover { background: var(--coral-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,246,236,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: 40px; object-fit: cover; object-position: top; border-radius: 10px; }
.brand .brand-word { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav-links a.page-link {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a.page-link:hover,
.nav-links a.page-link[aria-current="page"] { color: var(--coral); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 22px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-panel.open { display: flex; }

@media (max-width: 760px) {
  .nav-links, .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero p.lead { margin-bottom: 32px; }

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 130px;
  gap: 14px;
}
.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(34,29,22,0.16);
}
.hero-collage img.tall { grid-row: span 2; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { grid-auto-rows: 110px; max-width: 420px; }
}

/* ---------- Seções genéricas ---------- */

section { padding: 76px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 580px; margin-bottom: 44px; }
.section-head p { font-size: 16px; }

/* ---------- Cards de diferenciais ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
}

.diff-card .seal { width: 28px; height: 28px; margin-bottom: 18px; }
.diff-card h3 { margin-bottom: 8px; }
.diff-card p { font-size: 14px; }

@media (max-width: 760px) {
  .cards-3 { grid-template-columns: 1fr; }
}

/* ---------- Produtos em destaque ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}

.product-photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 14px 16px; }
.product-info .name { font-size: 14px; color: var(--ink); font-weight: 500; }

.products-cta { margin-top: 32px; }

/* ---------- Varejo / Atacado ---------- */

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.split-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
}

.split-card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.split-card.varejo .tag { background: rgba(255,90,60,0.12); color: var(--coral-dark); }
.split-card.atacado .tag { background: rgba(15,154,142,0.12); color: var(--teal); }

.split-card h3 { font-size: 21px; margin-bottom: 10px; }
.split-card p { font-size: 14px; margin-bottom: 22px; max-width: 380px; }

@media (max-width: 760px) {
  .split-2 { grid-template-columns: 1fr; }
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .seal { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item .label { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-item .value { font-size: 15px; color: var(--ink); font-weight: 500; }
.contact-item a.value:hover { color: var(--coral); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); }
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  background: var(--bg-alt);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; width: 30px; object-fit: cover; object-position: top; border-radius: 8px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); }

footer .footer-links { display: flex; gap: 22px; font-size: 13px; color: var(--ink-soft); }
footer .footer-links a:hover { color: var(--coral); }

footer .copy { font-size: 12px; color: var(--ink-soft); margin-top: 22px; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  z-index: 60;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Página simples (Sobre) ---------- */

.page-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.prose { max-width: 680px; }
.prose p { color: var(--ink); opacity: 0.85; font-size: 16px; margin-bottom: 18px; }
.prose h2 { margin: 40px 0 14px; }

.seal-feature {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seal-feature img { width: 124px; height: 124px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.seal-feature p { color: var(--ink); opacity: 0.8; font-size: 15px; max-width: 460px; }

@media (max-width: 640px) {
  .seal-feature { flex-direction: column; text-align: center; gap: 22px; }
  .seal-feature img { margin: 0 auto; }
}

.steps { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step .step-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--coral);
  width: 28px;
  flex-shrink: 0;
}
.step .step-body h3 { font-size: 16px; margin-bottom: 4px; }
.step .step-body p { font-size: 14px; }
