/*
Theme Name: Casa do Ouro Jundiai
Author: Casa do Ouro
Description: Landing page premium e responsiva para compra de ouro em Jundiai.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: casa-do-ouro
*/

/*
Theme Name: Casa do Ouro Jundiaí
Theme URI: https://example.com/
Author: Casa do Ouro
Description: Landing page premium, responsiva e totalmente personalizável para compra de ouro em Jundiaí.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: casa-do-ouro
*/

:root {
  --bg: #080705;
  --bg-soft: #12100d;
  --card: rgba(20, 17, 13, .78);
  --gold: #f7b92d;
  --gold-light: #ffd873;
  --orange: #ff7616;
  --white: #fffdf8;
  --muted: #c9c2b8;
  --line: rgba(247, 185, 45, .28);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(0,0,0,.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 26px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(0,0,0,.55);
  box-shadow: 0 0 30px rgba(247,185,45,.15);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-copy { display: grid; line-height: 1.08; text-transform: uppercase; }
.brand-copy small { color: var(--gold); font-size: .67rem; letter-spacing: .2em; }
.custom-logo { width: auto; max-height: 68px; }
.menu-toggle {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: white;
  background: rgba(15,13,10,.72);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 23px; height: 2px; border-radius: 2px; background: currentColor; transition: .25s ease; }
.menu-toggle span { margin: 5px 0; }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 18;
  width: min(420px, 100%);
  padding: 120px 42px 42px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(8,7,5,.97);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .3s ease;
}
.menu-open .drawer { transform: translateX(0); }
.drawer a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.22rem; font-weight: 750; }
.drawer a:hover { color: var(--gold); }

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #0b0805 center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,4,3,.18) 0%, rgba(5,4,3,.62) 48%, rgba(5,4,3,.96) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 210px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-content { width: min(680px, 60%); margin-left: auto; padding: 150px 0 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--gold-light); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .93; letter-spacing: -.055em; }
h1 .accent, .accent { color: var(--gold); }
.hero-copy { max-width: 600px; margin-bottom: 34px; color: #e2ddd4; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 58px;
  padding: 0 27px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #16100a; background: linear-gradient(135deg, var(--gold-light), var(--orange)); box-shadow: 0 14px 36px rgba(255,118,22,.26); }
.btn-ghost { border-color: rgba(255,255,255,.3); background: rgba(0,0,0,.26); }
.btn svg { flex: 0 0 auto; width: 23px; height: 23px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; color: #ddd5c9; font-size: .92rem; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-item svg { width: 19px; color: var(--gold); }

.section { padding: 96px 0; }
#compramos { position: relative; z-index: 2; margin-top: -155px; padding-top: 20px; }
.section-kicker { margin-bottom: 12px; color: var(--gold); font-size: .85rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-title { max-width: 760px; margin-bottom: 18px; font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.04em; }
.section-lead { max-width: 700px; margin-bottom: 42px; color: var(--muted); font-size: 1.12rem; }
.items-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.item-card {
  min-height: 180px;
  padding: 25px 18px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 1px rgba(255,255,255,.06);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.item-card:hover { transform: translateY(-6px); border-color: rgba(247,185,45,.68); background: rgba(247,185,45,.08); }
.item-icon { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: var(--gold); background: rgba(247,185,45,.1); }
.item-icon svg { width: 36px; height: 36px; }
.item-card h3 { margin: 0; font-size: 1.08rem; }

.offer-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  align-items: center;
  border: 1px solid rgba(247,185,45,.45);
  border-radius: var(--radius);
  background: center/cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.offer-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,4,3,.3), rgba(5,4,3,.95) 67%); }
.offer-content { width: min(580px, 62%); margin-left: auto; }
.offer-content .section-title { margin-bottom: 26px; }
.features { display: grid; gap: 17px; margin: 0 0 32px; padding: 0; list-style: none; }
.features li { display: flex; align-items: center; gap: 13px; font-size: 1.08rem; }
.feature-icon { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #16100a; background: var(--gold); }
.feature-icon svg { width: 18px; height: 18px; }
.offer-card .btn { width: 100%; min-height: 70px; font-size: 1.16rem; }

.location-card {
  position: relative;
  min-height: 470px;
  padding: clamp(34px, 6vw, 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: center/cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.location-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,4,3,.26), rgba(5,4,3,.94) 62%); }
.location-content { width: min(610px, 58%); margin-left: auto; }
.location-pin { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; color: #16100a; background: var(--gold); }
.location-pin svg { width: 31px; height: 31px; }
.location-address { margin-bottom: 28px; color: #e2dcd2; font-size: 1.08rem; }
.location-statement { max-width: 680px; font-size: clamp(2.2rem, 5.4vw, 4.8rem); }

.site-footer { padding: 32px 0 42px; color: #8e887f; text-align: center; font-size: .9rem; }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 32px rgba(37,211,102,.38);
  transition: transform .2s ease;
}
.floating-whatsapp:hover { transform: scale(1.07); }
.floating-whatsapp svg { width: 32px; height: 32px; }

@media (max-width: 900px) {
  .hero { min-height: 740px; background-position: 32% center; }
  .hero::before { background: linear-gradient(90deg, rgba(5,4,3,.42), rgba(5,4,3,.94) 85%); }
  .hero-content, .offer-content, .location-content { width: min(680px, 78%); }
  .items-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  :root { --radius: 22px; }
  .container { width: min(100% - 26px, 1180px); }
  .site-header { padding: 18px 0; }
  .brand-mark, .menu-toggle { width: 48px; height: 48px; }
  .brand-copy { font-size: .86rem; }
  .hero { min-height: 760px; align-items: flex-end; background-position: 24% center; }
  .hero::before { background: linear-gradient(0deg, rgba(5,4,3,.98) 8%, rgba(5,4,3,.75) 58%, rgba(5,4,3,.2) 100%); }
  .hero-content { width: 100%; padding: 150px 0 92px; }
  h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .cta-row { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .trust-row { gap: 12px; flex-direction: column; }
  .section { padding: 68px 0; }
  #compramos { margin-top: -105px; overflow: hidden; }
  .items-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .item-card { min-width: 0; min-height: 118px; padding: 13px 3px; gap: 8px; border-radius: 16px; }
  .item-icon { width: 40px; height: 40px; border-radius: 12px; }
  .item-icon svg { width: 28px; height: 28px; }
  .item-card h3 { font-size: clamp(.58rem, 2.8vw, .8rem); }
  .offer-card, .location-card { min-height: 620px; align-items: flex-end; background-position: 30% center; }
  .offer-card::before, .location-card::before { background: linear-gradient(0deg, rgba(5,4,3,.98) 20%, rgba(5,4,3,.6) 70%, rgba(5,4,3,.1)); }
  .offer-content, .location-content { width: 100%; }
  .offer-card .section-title { font-size: 2.25rem; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Compact single-screen composition */
body {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 15%, rgba(247,185,45,.10), transparent 26%),
    radial-gradient(circle at 82% 82%, rgba(255,118,22,.08), transparent 24%),
    var(--bg);
}
.hero {
  min-height: clamp(330px, 45svh, 460px);
  border-radius: 0 0 34px 34px;
}
.hero-content {
  width: min(660px, 62%);
  padding: 105px 0 80px;
}
.hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.7rem, 6vw, 5.4rem);
}
.hero .eyebrow { margin-bottom: 8px; }
.hero-copy {
  margin-bottom: 0;
  color: var(--gold);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 900;
}
#compramos {
  margin-top: -58px;
  padding: 0 0 10px;
}
.items-grid { gap: 10px; }
.item-card {
  min-height: 112px;
  padding: 14px 8px;
  gap: 9px;
  border-radius: 18px;
  background: rgba(18,15,11,.84);
  backdrop-filter: blur(12px);
}
.item-icon { width: 45px; height: 45px; border-radius: 13px; }
.item-icon svg { width: 29px; height: 29px; }
.item-card h3 { font-size: .9rem; }
#avaliacao { padding: 10px 0; }
.offer-card {
  min-height: 310px;
  padding: 30px 38px;
  border-radius: 24px;
}
.offer-content { width: min(520px, 58%); }
.offer-content .section-kicker { margin-bottom: 6px; }
.offer-content .section-title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}
.features { gap: 8px; margin-bottom: 15px; }
.features li { font-size: .98rem; }
.feature-icon { width: 28px; height: 28px; }
.offer-card .btn { min-height: 56px; font-size: 1rem; }
#localizacao { padding: 10px 0 18px; }
.location-card {
  min-height: 190px;
  padding: 24px 38px;
  border-radius: 24px;
}
.location-content { width: min(660px, 66%); }
.location-pin {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 12px;
}
.location-pin svg { width: 24px; height: 24px; }
.location-statement {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.3vw, 3rem);
}

@media (max-width: 640px) {
  .site-header { padding: 12px 0; }
  .brand-mark, .menu-toggle { width: 42px; height: 42px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .brand-copy { max-width: 116px; font-size: .72rem; }
  .hero {
    min-height: 290px;
    align-items: center;
    border-radius: 0 0 24px 24px;
    background-position: 26% center;
  }
  .hero::before { background: linear-gradient(90deg, rgba(5,4,3,.26), rgba(5,4,3,.94) 76%); }
  .hero::after { height: 85px; }
  .hero-content {
    width: 72%;
    margin-left: auto;
    padding: 78px 0 56px;
  }
  .hero .eyebrow { font-size: .72rem; }
  .hero .eyebrow::before { width: 20px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.8rem); line-height: .96; }
  .hero-copy { font-size: 1.08rem; }
  #compramos { margin-top: -44px; padding-bottom: 5px; }
  .items-grid { gap: 5px; }
  .item-card {
    min-height: 88px;
    padding: 9px 2px;
    gap: 5px;
    border-radius: 13px;
  }
  .item-icon { width: 33px; height: 33px; border-radius: 10px; }
  .item-icon svg { width: 23px; height: 23px; }
  .item-card h3 { font-size: clamp(.52rem, 2.45vw, .69rem); }
  #avaliacao { padding: 6px 0; }
  .offer-card {
    min-height: 280px;
    align-items: center;
    padding: 18px;
    border-radius: 19px;
    background-position: 22% center;
  }
  .offer-card::before { background: linear-gradient(90deg, rgba(5,4,3,.25), rgba(5,4,3,.97) 67%); }
  .offer-content { width: 67%; margin-left: auto; }
  .offer-content .section-kicker { margin-bottom: 4px; font-size: .65rem; }
  .offer-content .section-title { margin-bottom: 10px; font-size: 1.55rem; }
  .features { gap: 6px; margin-bottom: 11px; }
  .features li { gap: 7px; font-size: .76rem; }
  .feature-icon { width: 22px; height: 22px; }
  .feature-icon svg { width: 14px; height: 14px; }
  .offer-card .btn {
    min-height: 48px;
    padding: 0 12px;
    gap: 7px;
    font-size: .78rem;
  }
  .offer-card .btn svg { width: 19px; height: 19px; }
  #localizacao { padding: 6px 0 12px; }
  .location-card {
    min-height: 132px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 19px;
    background-position: 20% center;
  }
  .location-card::before { background: linear-gradient(90deg, rgba(5,4,3,.26), rgba(5,4,3,.95) 62%); }
  .location-content { width: 76%; margin-left: auto; }
  .location-pin { width: 32px; height: 32px; margin-bottom: 6px; border-radius: 9px; }
  .location-pin svg { width: 19px; height: 19px; }
  .location-statement { font-size: 1.12rem; line-height: 1.12; }
  .floating-whatsapp { width: 46px; height: 46px; }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

@media (max-width: 640px) and (max-height: 720px) {
  .hero { min-height: 250px; }
  .hero-content { padding-top: 64px; padding-bottom: 46px; }
  .hero h1 { font-size: 1.95rem; }
  .offer-card { min-height: 245px; }
  .offer-content .section-title { font-size: 1.35rem; }
  .location-card { min-height: 108px; }
  .location-pin { float: left; margin: 0 9px 0 0; }
  .location-statement { font-size: 1rem; }
}
