/* =====================================================================
   Merqui HOME — profissional + 100% responsivo
   ===================================================================== */

:root {
  --h-purple:      #12b76a;
  --h-purple-dk:   #05603a;
  --h-purple-deep: #0d0f0e;
  --h-purple-soft: #f0fdf4;
  --h-text:        #0d0f0e;
  --h-text-soft:   #4a4a4a;
  --h-bg-soft:     #fafafa;
  --h-border:      #ececec;
  --h-radius:      10px;
  --h-radius-lg:   16px;
  --h-shadow:      0 4px 18px rgba(0,0,0,.06);
  --h-shadow-lg:   0 12px 36px rgba(0,0,0,.12);
}

/* Full-width reset */
.merqui-home,
.merqui-home .merqui-home__content,
.merqui-home .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}
.page-template-page-home #secondary,
.page-template-page-home .storefront-breadcrumb,
.page-template-page-home .entry-header,
.page-template-page-home .page-title,
.page-template-page-home .woocommerce-breadcrumb {
  display: none !important;
}
.page-template-page-home #primary { width: 100% !important; float: none !important; }
.page-template-page-home #content,
.page-template-page-home .site-main,
.page-template-page-home .content-area {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* ==================== Hero ==================== */
.h-hero {
  background: linear-gradient(180deg, var(--h-purple-soft) 0%, #fff 100%);
  padding: clamp(40px, 7vw, 80px) 20px;
}
.h-hero__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 880px) {
  .h-hero__grid { grid-template-columns: 1.05fr 1fr; }
}
.h-hero__eyebrow {
  display: inline-block;
  background: #fff;
  color: var(--h-purple-dk);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,.2);
  margin-bottom: 16px;
}
.h-hero h1 {
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--h-text);
  margin: 0 0 16px;
}
.h-hero h1 span { color: var(--h-purple); }
.h-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--h-text-soft);
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 520px;
}
.h-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 12px;
}
.h-btn {
  display: inline-block;
  background: var(--h-purple);
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 17px);
  text-decoration: none;
  padding: 16px 28px;
  border-radius: var(--h-radius);
  border: 0;
  transition: background .2s, transform .1s;
  box-shadow: 0 2px 0 var(--h-purple-dk);
}
.h-btn:hover  { background: var(--h-purple-dk); }
.h-btn:active { transform: translateY(2px); box-shadow: none; }
.h-btn--ghost {
  background: transparent;
  color: var(--h-purple) !important;
  box-shadow: inset 0 0 0 2px var(--h-purple);
}
.h-btn--ghost:hover { background: var(--h-purple-soft); }
.h-hero__signals {
  display: flex; flex-wrap: wrap; gap: 16px 22px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--h-text-soft);
}
.h-hero__signals span { display: inline-flex; align-items: center; gap: 6px; }
.h-hero__image {
  position: relative;
  border-radius: var(--h-radius-lg);
  overflow: hidden;
  box-shadow: var(--h-shadow-lg);
}
.h-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.h-hero__badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--h-text);
  box-shadow: var(--h-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.h-hero__badge .num { color: var(--h-purple); font-size: 18px; }

/* ==================== Categorías ==================== */
.h-cats {
  padding: clamp(48px, 7vw, 80px) 20px;
}
.h-cats__inner { max-width: 1280px; margin: 0 auto; }
.h-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 48px);
}
.h-section__head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 12px;
  color: var(--h-text);
  letter-spacing: -0.5px;
}
.h-section__head p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--h-text-soft);
  margin: 0;
  line-height: 1.55;
}
.h-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 720px)  { .h-cats__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .h-cats__grid { grid-template-columns: repeat(6, 1fr); } }
.h-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius-lg);
  padding: 28px 16px;
  text-decoration: none;
  color: var(--h-text);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  aspect-ratio: 1;
}
.h-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--h-shadow);
  border-color: var(--h-purple);
}
.h-cat__icon {
  font-size: 38px;
  margin-bottom: 10px;
  line-height: 1;
}
.h-cat__name {
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: 700;
  line-height: 1.25;
}

/* ==================== Producto destaque ==================== */
.h-featured {
  background: var(--h-purple-soft);
  padding: clamp(48px, 7vw, 80px) 20px;
}
.h-featured__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--h-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--h-shadow-lg);
}
@media (min-width: 760px) {
  .h-featured__inner { grid-template-columns: 1fr 1.1fr; }
}
.h-featured__media {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 280px;
}
.h-featured__media img { max-width: 80%; height: auto; border-radius: 8px; }
.h-featured__body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.h-featured__tag {
  display: inline-block;
  background: #ffe066;
  color: var(--h-purple-deep);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.h-featured__body h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--h-text);
}
.h-featured__body p {
  font-size: 15px;
  color: var(--h-text-soft);
  line-height: 1.6;
  margin: 0 0 22px;
}
.h-featured__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
}
.h-featured__price .old  { text-decoration: line-through; color: #999; font-size: 15px; }
.h-featured__price .now  { font-size: 28px; font-weight: 800; color: var(--h-purple); }
.h-featured__price .save { background: var(--h-purple); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 4px; margin-left: 4px; }

/* ==================== Brand story ==================== */
.h-story {
  padding: clamp(48px, 7vw, 80px) 20px;
}
.h-story__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 880px) {
  .h-story__inner { grid-template-columns: 1fr 1fr; }
}
.h-story__image img {
  width: 100%;
  height: auto;
  border-radius: var(--h-radius-lg);
  display: block;
  box-shadow: var(--h-shadow);
}
.h-story__body h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
  color: var(--h-text);
}
.h-story__body p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--h-text-soft);
  line-height: 1.65;
  margin: 0 0 16px;
}
.h-story__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.h-story__pillar {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--h-text);
  line-height: 1.4;
}
.h-story__pillar::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--h-purple);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 22px;
}

/* ==================== Por qué Merqui (4 cards) ==================== */
.h-why {
  background: var(--h-bg-soft);
  padding: clamp(48px, 7vw, 80px) 20px;
}
.h-why__inner { max-width: 1180px; margin: 0 auto; }
.h-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px)  { .h-why__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 980px)  { .h-why__grid { grid-template-columns: repeat(4, 1fr); } }
.h-why__card {
  background: #fff;
  border-radius: var(--h-radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--h-border);
  transition: transform .2s, box-shadow .2s;
}
.h-why__card:hover { transform: translateY(-3px); box-shadow: var(--h-shadow); }
.h-why__icon {
  width: 56px; height: 56px;
  background: var(--h-purple-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}
.h-why__card h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--h-text);
}
.h-why__card p {
  font-size: 14px;
  color: var(--h-text-soft);
  line-height: 1.55;
  margin: 0;
}

/* ==================== Testimonials ==================== */
.h-testi {
  padding: clamp(48px, 7vw, 80px) 20px;
}
.h-testi__inner { max-width: 1180px; margin: 0 auto; }
.h-testi__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) { .h-testi__grid { grid-template-columns: repeat(3, 1fr); } }
.h-testi__card {
  background: #fff;
  border: 1px solid var(--h-border);
  border-radius: var(--h-radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.h-testi__stars { color: #f5b800; font-size: 16px; letter-spacing: 2px; margin: 0 0 12px; }
.h-testi__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--h-text);
  margin: 0 0 18px;
  flex: 1;
}
.h-testi__author {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  color: var(--h-text-soft);
  border-top: 1px solid var(--h-border);
  padding-top: 14px;
}
.h-testi__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--h-purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.h-testi__author strong { color: var(--h-text); display: block; font-weight: 700; }

/* ==================== Final CTA ==================== */
.h-final {
  background: linear-gradient(135deg, var(--h-purple) 0%, var(--h-purple-dk) 100%);
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 20px;
  text-align: center;
}
.h-final__inner { max-width: 760px; margin: 0 auto; }
.h-final h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -0.3px;
}
.h-final p {
  font-size: clamp(15px, 1.8vw, 18px);
  margin: 0 0 28px;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
.h-final__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.h-final .h-btn {
  background: #fff;
  color: var(--h-purple) !important;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.h-final .h-btn:hover { background: #f0fdf4; }
.h-final .h-btn--ghost {
  background: transparent;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
.h-final .h-btn--ghost:hover { background: rgba(255,255,255,.1); }
.h-final small {
  display: block;
  margin-top: 18px;
  opacity: .85;
  font-size: 13px;
}

/* =====================================================================
   Seções estilo loveaero adaptadas — Merqui
   ===================================================================== */

/* ===== Hero banner (imagem full + card de oferta) ===== */
.h-banner {
  position: relative;
  width: 100%;
  min-height: clamp(340px, 46vw, 560px);
  background: #f0fdf4 center/cover no-repeat;
  display: flex;
  align-items: center;
}
.h-banner__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.0) 42%, rgba(255,255,255,.78) 66%, rgba(255,255,255,.92) 100%);
}
@media (max-width: 760px){
  .h-banner { min-height: 0; aspect-ratio: 4/5; align-items: flex-end; }
  .h-banner__scrim { background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.85) 72%, #fff 100%); }
}
.h-banner__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  justify-content: flex-end;
}
.h-banner__card {
  width: min(460px, 100%);
  text-align: left;
}
@media (max-width: 760px){
  .h-banner__inner { justify-content: center; padding-bottom: 28px; }
  .h-banner__card { text-align: center; }
}
.h-banner__eyebrow {
  display:inline-block; background: var(--h-purple); color:#fff;
  font-weight:800; letter-spacing:1.5px; font-size:11px; text-transform:uppercase;
  padding:6px 12px; border-radius:999px; margin-bottom:14px;
}
.h-banner__card h1 {
  font-size: clamp(28px, 4.4vw, 50px);
  font-weight: 900; line-height: 1.05; letter-spacing:-1px;
  color: var(--h-text); margin: 0 0 14px;
}
.h-banner__card h1 span { color: var(--h-purple); }
.h-banner__card p {
  font-size: clamp(14px, 1.7vw, 17px); color: var(--h-text-soft);
  line-height:1.55; margin: 0 0 22px;
}
.h-banner__cta { display:flex; flex-wrap:wrap; gap:12px; }
@media (max-width:760px){ .h-banner__cta{ justify-content:center; } }
.h-banner__signals {
  display:flex; flex-wrap:wrap; gap:10px 18px; margin-top:16px;
  font-size:12.5px; font-weight:600; color:var(--h-text);
}
@media (max-width:760px){ .h-banner__signals{ justify-content:center; } }
.h-banner__signals span{ display:inline-flex; align-items:center; gap:6px; }

/* ===== Trust bar preta (4 col) ===== */
.h-trustblack {
  background: var(--h-purple-deep);
  color: #fff;
  padding: 20px clamp(16px,4vw,40px);
}
.h-trustblack__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px;
  text-align: center;
}
@media (min-width: 820px){ .h-trustblack__grid{ grid-template-columns: repeat(4,1fr); } }
.h-trustblack__item { display:flex; flex-direction:column; align-items:center; gap:6px; }
.h-trustblack__item .i{ font-size:22px; line-height:1; }
.h-trustblack__item strong{ font-size:13px; font-weight:800; letter-spacing:.3px; text-transform:uppercase; }
.h-trustblack__item span{ font-size:11.5px; color:rgba(255,255,255,.6); }

/* ===== Value band ===== */
.h-valueband { background:#fff; padding: clamp(40px,6vw,68px) 20px; text-align:center; }
.h-valueband__inner{ max-width: 820px; margin:0 auto; }
.h-valueband h2{ font-size: clamp(24px,3.6vw,36px); font-weight:900; letter-spacing:-.5px; color:var(--h-text); margin:0 0 12px; }
.h-valueband h2 span{ color:var(--h-purple); }
.h-valueband p{ font-size: clamp(15px,1.8vw,18px); color:var(--h-text-soft); line-height:1.6; margin:0; }

/* ===== Product rail (Best sellers / genérico) ===== */
.h-rail { padding: clamp(40px,6vw,72px) 20px; }
.h-rail--soft { background: var(--h-bg-soft); }
.h-rail__inner { max-width: 1280px; margin: 0 auto; }
.h-rail__head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom: 26px; flex-wrap:wrap; }
.h-rail__head h2 { font-size: clamp(22px,3.2vw,32px); font-weight:900; letter-spacing:-.5px; color:var(--h-text); margin:0; }
.h-rail__head a { color: var(--h-purple); font-weight:700; text-decoration:none; font-size:14px; white-space:nowrap; }
.h-rail__head a:hover { text-decoration:underline; }
/* placeholder vazio de produtos */
.h-rail__empty {
  border: 2px dashed var(--h-border);
  border-radius: var(--h-radius-lg);
  padding: clamp(36px,6vw,64px) 20px;
  text-align:center; color: var(--h-text-soft); background:#fff;
}
.h-rail__empty .ic{ font-size:40px; }
.h-rail__empty strong{ display:block; color:var(--h-text); font-size:18px; font-weight:800; margin:10px 0 6px; }
.h-rail__empty p{ margin:0; font-size:14px; }
/* quando houver produtos, o shortcode WooCommerce assume o grid */
.h-rail .woocommerce ul.products { margin:0; }

/* ===== Coleções (tiles com imagem) ===== */
.h-collections { padding: clamp(44px,6vw,76px) 20px; }
.h-collections__inner { max-width: 1280px; margin:0 auto; }
.h-collections__grid { display:grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px){ .h-collections__grid{ grid-template-columns: repeat(2,1fr); gap:18px; } }
@media (min-width: 900px){ .h-collections__grid{ grid-template-columns: repeat(3,1fr); } }
.h-coll {
  position: relative; display:block; border-radius: var(--h-radius-lg); overflow:hidden;
  text-decoration:none; box-shadow: var(--h-shadow); background:#f6f6f4;
  transition: transform .2s, box-shadow .2s;
}
.h-coll:hover { transform: translateY(-4px); box-shadow: var(--h-shadow-lg); }
.h-coll img { width:100%; aspect-ratio: 4/3; object-fit:cover; display:block; }
.h-coll__label {
  position:absolute; left:0; right:0; bottom:0;
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(13,15,14,.72) 0%, rgba(13,15,14,0) 100%);
  color:#fff; font-weight:800; font-size: clamp(14px,1.7vw,16px); letter-spacing:.3px; text-transform:uppercase;
}
.h-coll__label .arrow { color: var(--h-purple); font-size:18px; transition: transform .2s; }
.h-coll:hover .h-coll__label .arrow { transform: translateX(4px); }

/* ===== Social proof band ===== */
.h-socialband {
  background: linear-gradient(135deg, var(--h-purple) 0%, var(--h-purple-dk) 100%);
  color:#fff; text-align:center; padding: clamp(26px,4vw,40px) 20px;
}
.h-socialband p { margin:0; font-size: clamp(16px,2.4vw,24px); font-weight:800; letter-spacing:.4px; }
.h-socialband small { display:block; margin-top:6px; font-size:13px; opacity:.85; font-weight:600; letter-spacing:2px; }

/* ===== Newsletter ===== */
.h-news { background: var(--h-purple-soft); padding: clamp(44px,6vw,72px) 20px; }
.h-news__inner { max-width: 620px; margin:0 auto; text-align:center; }
.h-news h2 { font-size: clamp(24px,3.4vw,34px); font-weight:900; letter-spacing:-.5px; color:var(--h-text); margin:0 0 10px; }
.h-news p { color: var(--h-text-soft); font-size:15px; margin:0 0 22px; line-height:1.55; }
.h-news__form { display:flex; gap:10px; max-width: 460px; margin:0 auto; flex-wrap:wrap; }
.h-news__form input[type=email]{
  flex:1; min-width: 200px; padding: 15px 18px; border-radius: var(--h-radius);
  border:1px solid #d7e5dd; font-size:15px; background:#fff;
}
.h-news__form input:focus{ outline:none; border-color: var(--h-purple); }
.h-news__form button{
  background: var(--h-purple); color:#fff; border:0; border-radius:var(--h-radius);
  padding: 15px 26px; font-weight:800; font-size:15px; cursor:pointer; box-shadow: 0 2px 0 var(--h-purple-dk);
}
.h-news__form button:hover{ background: var(--h-purple-dk); }
.h-news small{ display:block; margin-top:12px; color:var(--h-text-soft); font-size:12px; }
