/* =========================================================
   André Pedreirinho Eletricista — v2
   Aesthetic: editorial light, oversized type, real photos,
   one vivid dark section. Brand: laranja / preto / branco.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500;1,600&family=Caveat:wght@600;700&display=swap');

:root {
  --ink:      #17120e;   /* warm near-black */
  --ink-2:    #241d17;
  --paper:    #ffffff;
  --paper-2:  #f8f4ee;   /* warm off-white */
  --paper-3:  #f0e9df;
  --line:     #e7ddd0;
  --line-2:   #d8ccba;

  --muted:    #6f6459;
  --muted-2:  #9a8f82;

  --orange:   #f26a1b;
  --orange-2: #ff8a34;
  --orange-ink:#c9520d;
  --tint-o:   #ffe6cf;   /* warm orange tint panel */
  --tint-o2:  #ffd3a6;
  --slate:    #2b2e34;   /* charcoal from logo */
  --tint-s:   #e8edf2;   /* cool tint panel */
  --tint-s2:  #d4dde6;

  --dark-panel:#181310;

  --r:   18px;
  --r-lg:26px;
  --r-xl:34px;

  --shadow:    0 26px 60px -34px rgba(40,28,16,.35);
  --shadow-sm: 0 12px 30px -18px rgba(40,28,16,.28);
  --maxw: 1220px;

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: var(--ink); }
.h-xxl { font-size: clamp(3rem, 8.2vw, 6.6rem); }
.h-xl  { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.h-lg  { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.h-md  { font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.lead  { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); line-height: 1.55; max-width: 54ch; }
.hand  { font-family: var(--hand); font-weight: 700; color: var(--orange); letter-spacing: 0; }

.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.label .d { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.label.on-dark { color: #cfc6bb; }

.accent { color: var(--orange); }

/* inline icon chip inside headlines (à la reference) */
.chip-ic {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: .92em; height: .92em; border-radius: .24em; margin: 0 .12em;
  background: var(--orange); color: #fff; transform: rotate(-4deg);
  box-shadow: 0 8px 20px -8px rgba(242,106,27,.7);
}
.chip-ic svg { width: 62%; height: 62%; }
.chip-ic.slate { background: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em;
  padding: 15px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-dark  { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-orange{ background: var(--orange); color: #fff; }
.btn-orange:hover { transform: translateY(-2px); background: var(--orange-ink); }
.btn-line  { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.nav-mid { display: flex; align-items: center; gap: 4px; background: var(--paper-2); border: 1px solid var(--line); padding: 5px; border-radius: 100px; }
.nav-mid a { padding: 9px 18px; border-radius: 100px; font-size: .95rem; font-weight: 600; color: var(--muted); transition: .2s; }
.nav-mid a:hover { color: var(--ink); }
.nav-mid a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); }

/* ---------- Sections ---------- */
.pad { padding: clamp(64px, 9vw, 120px) 0; }
.pad-s { padding: clamp(44px, 6vw, 80px) 0; }
.paper2 { background: var(--paper-2); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .label { margin-bottom: 20px; }
.section-head p { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px,7vw,96px) 0 clamp(30px,4vw,54px); position: relative; }
.hero h1 { max-width: 15ch; }
.hero .sub { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .hand-note { font-family: var(--hand); font-size: 1.5rem; color: var(--orange); transform: rotate(-3deg); }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 36px; display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.hero-meta .m b { font-size: 1.7rem; font-weight: 800; display: block; letter-spacing: -.03em; }
.hero-meta .m span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.hero-meta .sep { width: 1px; height: 34px; background: var(--line-2); }

/* editorial rotated sticky badge */
.edge-badge {
  position: fixed; right: 0; top: 42%; z-index: 60;
  writing-mode: vertical-rl; transform: none;
  background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; padding: 14px 8px;
  border-radius: 10px 0 0 10px;
}
@media (max-width: 900px){ .edge-badge { display: none; } }

/* ---------- Gallery (horizontal) ---------- */
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 6px 26px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 100px; }
.gcard {
  flex: 0 0 clamp(230px, 26vw, 300px); scroll-snap-align: start;
  aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--paper-3); box-shadow: var(--shadow-sm);
}
.gcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gcard:hover img { transform: scale(1.06); }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,10,6,.72), transparent 52%); }
.gcard .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; }
.gcard .cap b { font-size: 1.06rem; font-weight: 700; display: block; letter-spacing: -.01em; }
.gcard .cap span { font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; opacity: .92; margin-top: 3px; }
.gcard .cap span svg { width: 13px; height: 13px; color: var(--orange-2); }

/* ---------- Marquee ---------- */
.strip { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee { display: flex; gap: 46px; width: max-content; animation: scroll 30s linear infinite; }
.marquee span { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); display: inline-flex; align-items: center; gap: 46px; }
.marquee span::after { content: "✳"; color: var(--orange); font-size: .8em; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }

.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: .3s ease; position: relative;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.scard .ic { width: 54px; height: 54px; border-radius: 16px; background: var(--tint-o); display: grid; place-items: center; margin-bottom: 22px; }
.scard .ic svg { width: 26px; height: 26px; color: var(--orange-ink); }
.scard.alt .ic { background: var(--tint-s); }
.scard.alt .ic svg { color: var(--slate); }
.scard h3 { font-size: 1.28rem; margin-bottom: 10px; }
.scard p { color: var(--muted); font-size: .97rem; }
.scard .n { position: absolute; top: 26px; right: 28px; font-size: .8rem; font-weight: 700; color: var(--muted-2); }

/* ---------- Dark feature section ---------- */
.dark { background: var(--dark-panel); color: #efe9e2; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted { color: #b3a99d; }
.dark .label { color: #b3a99d; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feat + .feat { margin-top: 26px; }
.feat.rev .fcopy { order: 2; }
.fcopy .pill-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  font-size: .8rem; font-weight: 700; margin-bottom: 20px;
}
.fcopy .pill-tag .d { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.fcopy h3 { font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 16px; letter-spacing: -.03em; }
.fcopy p { color: #b3a99d; font-size: 1.02rem; margin-bottom: 26px; max-width: 42ch; }
.fpanel {
  aspect-ratio: 7/5; border-radius: var(--r-xl); overflow: hidden; position: relative;
  display: grid; place-items: center; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.fpanel.warm { background: linear-gradient(150deg, #ffb765, #f26a1b); }
.fpanel.cool { background: linear-gradient(150deg, #cfe0ee, #9db6cc); }
.fpanel.night{ background: linear-gradient(150deg, #3a3f47, #20242b); }
.fpanel svg.illo { width: 66%; height: 66%; }
.fpanel img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat b { font-size: clamp(2.4rem,4.4vw,3.4rem); font-weight: 800; letter-spacing: -.04em; display: block; line-height: 1; }
.stat b .accent { color: var(--orange); }
.stat span { color: var(--muted); font-size: .95rem; font-weight: 600; margin-top: 10px; display: block; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { padding-top: 24px; border-top: 2px solid var(--ink); }
.step .k { font-family: var(--hand); font-size: 2rem; color: var(--orange); line-height: 1; }
.step h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Shop ---------- */
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 100px; font-size: .88rem; font-weight: 600; background: #fff; border: 1px solid var(--line-2); color: var(--muted); transition: .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.product { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: .3s ease; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.product .thumb { aspect-ratio: 1/1; position: relative; display: grid; place-items: center; overflow: hidden; }
.product .thumb svg.pimg { width: 56%; height: 56%; }
.product .thumb .flag { position: absolute; top: 13px; left: 13px; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 7px; }
.flag.new { background: var(--ink); color: #fff; }
.flag.sale { background: var(--orange); color: #fff; }
.product .thumb .fav { position: absolute; top: 11px; right: 11px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.product .body { padding: 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product .cat { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.product h3 { font-size: 1.02rem; line-height: 1.2; }
.product .rating { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.product .rating .s { color: var(--orange); }
.product .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.product .price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.product .price small { font-size: .78rem; font-weight: 600; color: var(--muted-2); text-decoration: line-through; margin-right: 6px; }
.product .add { width: 44px; height: 44px; border-radius: 13px; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: .2s; }
.product .add:hover { background: var(--orange); }
.product .add svg { width: 19px; height: 19px; }
.pg1{background:linear-gradient(150deg,#fff4e8,#ffe1c4)} .pg2{background:linear-gradient(150deg,#eef2f6,#dde6ef)}
.pg3{background:linear-gradient(150deg,#f4efe7,#e6ddce)} .pg4{background:linear-gradient(150deg,#ffeede,#ffd9b3)}
.pg5{background:linear-gradient(150deg,#eef1f3,#d9e0e5)} .pg6{background:linear-gradient(150deg,#f6f0e6,#ebe0cd)}

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-xl); padding: clamp(44px,6vw,80px); text-align: center; position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
}
.cta h2 { color: #fff; }
.cta .lead { color: #c3b9ad; margin: 18px auto 30px; }
.cta .hand-note { font-family: var(--hand); font-size: 1.7rem; color: var(--orange-2); display: block; margin-bottom: 8px; transform: rotate(-2deg); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(242,106,27,.5), transparent 62%); top: -180px; right: -120px; filter: blur(50px); }
.cta > * { position: relative; z-index: 2; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 13px;
  background: #fff; border: 1.5px solid var(--line-2); color: var(--ink); transition: .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,106,27,.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }

.info-row { display: flex; gap: 15px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint-o); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 22px; height: 22px; color: var(--orange-ink); }
.info-row b { display: block; font-size: 1.06rem; font-weight: 700; }
.info-row span { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6cec4; padding: 72px 0 34px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.logo-card { background: #fff; border-radius: 16px; padding: 16px 18px; display: inline-block; }
.logo-card img { height: 40px; width: auto; }
.foot-about p { color: #b3a99d; font-size: .95rem; max-width: 32ch; margin: 20px 0 22px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #cfc6bb; transition: .2s; }
.foot-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }
.foot-top h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.foot-links { display: grid; gap: 11px; }
.foot-links a { color: #b3a99d; font-size: .95rem; transition: .2s; }
.foot-links a:hover { color: var(--orange-2); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; gap: 12px; }
.foot-bottom p { color: #8f857a; font-size: .85rem; }
.foot-bottom .demo { color: var(--orange-2); font-weight: 600; }

/* ---------- reveal (progressive enhancement) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.16,1,.3,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-anim] { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.16,1,.3,1) forwards; }
.js [data-anim="2"]{animation-delay:.1s} .js [data-anim="3"]{animation-delay:.2s}
.js [data-anim="4"]{animation-delay:.3s} .js [data-anim="5"]{animation-delay:.42s}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(140%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 100px; display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); z-index: 9998; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--orange-2); }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-l { margin-top: 46px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .feat, .feat.rev .fcopy { grid-template-columns: 1fr; order: 0; }
  .feat .fpanel { order: -1; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .g-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .nav-mid { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-mid.open { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; border-radius: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px; gap: 4px; }
  .nav-mid.open a { width: 100%; }
}
@media (max-width: 560px) {
  .g-4, .g-2 { grid-template-columns: 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .nav-right .btn-line { display: none; }
}
