/* ============================================================
   Nova BellaCasa — Baependi/MG | Site demonstrativo Triun
   Paleta (proposta a confirmar contra o Instagram da loja):
   Azul Fortlev #1E5AA8 | grafite #23272B | off-white #F7F5F2
   bege cerâmica #E8E4DE | acento amadeirado #B07D4F
   ============================================================ */

:root {
  --blue: #1E5AA8;
  --blue-dark: #16467F;
  --blue-light: #E8F0FA;
  --ink: #23272B;
  --ink-soft: #4A5157;
  --bg: #FFFFFF;
  --bg-alt: #F7F5F2;
  --sand: #E8E4DE;
  --sand-dark: #C9C2B8;
  --wood: #B07D4F;
  --whats: #25D366;
  --whats-dark: #1DA851;
  --border: #E3DED7;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 39, 43, .08);
  --font-title: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  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: var(--blue); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.2; color: var(--ink); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); margin-bottom: .5rem; }
h3 { font-size: 1.1rem; }

.container { width: min(1120px, 92%); margin: 0 auto; }
.container-narrow { width: min(780px, 92%); margin: 0 auto; }
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.section-head p { color: var(--ink-soft); margin-top: .25rem; }
.section-tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-light);
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: .9rem;
}
.section-tag-light { color: #fff; background: rgba(255,255,255,.16); }
.section-note { text-align: center; color: var(--ink-soft); font-size: .85rem; margin-top: 1.75rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-title); font-weight: 600; font-size: .95rem;
  padding: .7rem 1.3rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--whats); color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .35); }
.btn-whatsapp:hover { background: var(--whats-dark); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-light); }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; flex-shrink: 0;
}
.logo-text { font-family: var(--font-title); font-size: 1.15rem; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wood); }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.btn-nav { padding: .55rem 1.1rem; font-size: .9rem; }
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--blue-light) 0%, #fff 100%); padding: 2.75rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: 1.1rem;
}
.hero h1 { font-size: clamp(1.85rem, 6vw, 2.9rem); font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: var(--blue); }
.hero-copy > p { color: var(--ink-soft); font-size: 1.08rem; max-width: 34rem; margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); font-size: .92rem; }
.hero-trust strong { color: var(--ink); }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 320px; object-fit: cover; }
.hero-media figcaption, .about-media figcaption {
  position: absolute; right: .6rem; bottom: .6rem; background: rgba(35,39,43,.75); color: #fff;
  font-size: .72rem; padding: .2rem .55rem; border-radius: 999px;
}

/* ---------- Faixa de confiança ---------- */
.trust-strip { background: var(--blue); color: #fff; padding: 1.5rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.trust-item { display: flex; flex-direction: column; gap: .1rem; }
.trust-icon { font-size: 1.5rem; }
.trust-item strong { font-family: var(--font-title); font-size: .98rem; }
.trust-item span:last-child { font-size: .85rem; opacity: .85; }

/* ---------- Cards de produtos ---------- */
.cards-grid { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-media { position: relative; }
.card-media img { width: 100%; height: 190px; object-fit: cover; }
.card-tag {
  position: absolute; top: .7rem; left: .7rem; background: var(--wood); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 999px;
}
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.card-body .btn { align-self: flex-start; }

/* ---------- Quem Somos ---------- */
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 300px; object-fit: cover; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-copy p strong { color: var(--ink); }
.about-list { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.about-list li { padding-left: 1.6rem; position: relative; color: var(--ink-soft); font-size: .95rem; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.about-list strong { color: var(--ink); }

/* ---------- Como funciona ---------- */
.steps-grid { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-title);
  font-weight: 800; font-size: 1.1rem; margin-bottom: .8rem;
}
.step p { color: var(--ink-soft); font-size: .94rem; margin-top: .35rem; }

/* ---------- Diferenciais ---------- */
.features-grid { display: grid; gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature-icon { font-size: 1.7rem; display: block; margin-bottom: .6rem; }
.feature p { color: var(--ink-soft); font-size: .94rem; margin-top: .35rem; }

/* ---------- Galeria ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .8rem;
  background: linear-gradient(transparent, rgba(35,39,43,.85)); color: #fff; font-size: .85rem; font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-question::after { content: "+"; font-size: 1.4rem; color: var(--blue); flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 1.25rem 1.1rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1rem;
}
.contact-form label { font-weight: 600; font-size: .92rem; display: grid; gap: .35rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: .8rem .9rem;
  border: 1.5px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light);
}
.contact-form textarea { resize: vertical; }
.form-error { color: #B3261E; font-size: .9rem; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--ink-soft); text-align: center; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card {
  display: flex; gap: .9rem; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem;
  color: var(--ink); box-shadow: var(--shadow);
}
a.contact-card:hover { border-color: var(--blue); }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card div { display: flex; flex-direction: column; }
.contact-card strong { font-family: var(--font-title); }
.contact-card span { color: var(--ink-soft); font-size: .95rem; }
.contact-card small { color: var(--ink-soft); font-size: .82rem; opacity: .85; }

/* ---------- Seção demonstrativa ---------- */
.demo-section { background: var(--blue-dark); color: #fff; padding: 3.5rem 0; text-align: center; }
.demo-section h2 { color: #fff; margin-bottom: 1rem; }
.demo-section p { opacity: .92; margin-bottom: 1rem; }
.demo-section strong { color: #fff; }
.demo-note { font-size: .9rem; opacity: .8; }
.demo-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.5rem 0 1rem; }
.demo-contact { font-size: .9rem; opacity: .85; margin-bottom: 0; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #D8DDE1; padding: 2.75rem 0 0; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-brand p { font-size: .9rem; margin-top: .8rem; }
.footer-brand strong { color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: #D8DDE1; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { font-size: .9rem; }
.footer-contact strong { color: #fff; }
.footer-social { margin-top: .8rem; }
.footer-social a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 1.1rem 0; text-align: center; font-size: .85rem; }
.footer-bottom a { color: #fff; font-weight: 600; }

/* ---------- Botão flutuante ---------- */
.float-whatsapp {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60; width: 58px; height: 58px;
  border-radius: 50%; background: var(--whats); color: #fff; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.float-whatsapp svg { width: 32px; height: 32px; }
.float-whatsapp:hover { background: var(--whats-dark); }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 4% 1rem;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--sand); }
  .nav .btn-nav { margin-top: .9rem; }
}

@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .hero-media img { height: 460px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: .95fr 1.05fr; gap: 3rem; }
  .about-media img { height: 420px; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
