/* ============================================================
   FCO CHAVEIRO — Picos-PI | Chaveiro 24h
   Paleta: preto quente + vinho + dourado metálico. Verde só WhatsApp.
   Tipografia: Anton (display) + Barlow (corpo).
   ============================================================ */

:root {
  --bg:        #0c0708;
  --bg-2:      #140a0c;
  --panel:     #18090c;
  --vinho:     #5c0f17;
  --vinho-2:   #7a1220;
  --red:       #d11f33;
  --gold:      #e8b23a;
  --gold-2:    #f6d27a;
  --gold-deep: #b9841f;
  --cream:     #f7f1e8;
  --muted:     #c3b2aa;
  --muted-2:   #8f7f78;
  --wa:        #25d366;
  --wa-deep:   #128c43;
  --line:      rgba(232, 178, 58, .16);
  --line-soft: rgba(247, 241, 232, .08);

  --grad-gold: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 48%, var(--gold-deep) 100%);
  --grad-vinho: linear-gradient(160deg, #2a0a0e 0%, #140a0c 60%, #0c0708 100%);

  --shadow:    0 18px 50px -18px rgba(0,0,0,.75);
  --shadow-gold: 0 12px 34px -12px rgba(232,178,58,.45);

  --radius:    16px;
  --radius-sm: 11px;
  --maxw:      1140px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-display: 'Anton', 'Barlow Semi Condensed', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric background layers */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 78% -5%, rgba(122,18,32,.55), transparent 60%),
    radial-gradient(900px 500px at 10% 8%, rgba(92,15,23,.42), transparent 55%),
    var(--bg);
}
/* subtle grain/texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.02; font-weight: 400; letter-spacing: .01em; }
p { margin: 0 0 1rem; }

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

.display { font-family: var(--font-display); text-transform: uppercase; }
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-gold); display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  --bw: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .02em;
  padding: 15px 26px;
  border-radius: 999px;
  border: var(--bw) solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s;
  text-align: center;
  line-height: 1.1;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--grad-gold); color: #2a0a0e; box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 16px 40px -10px rgba(232,178,58,.6); }
.btn-wa { background: linear-gradient(135deg, #2bea74, var(--wa) 55%, var(--wa-deep)); color: #04240f; box-shadow: 0 12px 30px -12px rgba(37,211,102,.55); }
.btn-ghost { background: rgba(247,241,232,.05); color: var(--cream); --bw: 1.5px; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(232,178,58,.08); }
.btn-lg { padding: 18px 34px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(12,7,8,.92), rgba(12,7,8,.72));
  border-bottom: 1px solid var(--line-soft);
  transition: padding .25s var(--ease), background .25s;
}
.site-header.shrink { background: rgba(12,7,8,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 0; transition: padding .25s var(--ease); }
.site-header.shrink .header-inner { padding: 9px 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: transform .3s var(--ease); flex: 0 0 auto; }
.brand:hover .mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .n1 { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: .04em; color: var(--cream); }
.brand-name .n1 b { color: var(--gold); font-weight: 400; }
.brand-name .n2 { font-size: .64rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a.navlink { font-weight: 600; font-size: .96rem; color: var(--muted); transition: color .2s; position: relative; }
.nav a.navlink:hover { color: var(--cream); }
.nav a.navlink::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad-gold); transition: width .25s var(--ease); }
.nav a.navlink:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); color: var(--cream); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0; min-height: clamp(470px, 72vh, 640px); display: flex; align-items: center; overflow: hidden; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(209,31,51,.14); border: 1px solid rgba(209,31,51,.4);
  color: #ff9ca7; padding: 7px 15px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; letter-spacing: .04em; margin-bottom: 22px;
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(209,31,51,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(209,31,51,.55);} 70%{box-shadow:0 0 0 10px rgba(209,31,51,0);} 100%{box-shadow:0 0 0 0 rgba(209,31,51,0);} }

.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  letter-spacing: .005em;
  margin-bottom: 20px;
}
.hero h1 .line2 { display: block; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.32rem); color: var(--muted); max-width: 620px; margin-bottom: 30px; }
.hero-sub strong { color: var(--cream); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); }

.hero-mascot {
  position: absolute; right: 2.5%; bottom: 0;
  height: min(90%, 540px); width: auto; opacity: .98; z-index: -1;
  filter: drop-shadow(0 26px 36px rgba(0,0,0,.55));
  animation: floatM 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatM { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-12px) rotate(1deg);} }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(0,0,0,.25); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 13px; padding: 22px 18px; border-right: 1px solid var(--line-soft); }
.strip-item:last-child { border-right: none; }
.strip-item svg { width: 30px; height: 30px; color: var(--gold); flex: 0 0 auto; }
.strip-item b { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; }
.strip-item small { color: var(--muted-2); font-size: .82rem; }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 3.1rem); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service {
  position: relative; background: linear-gradient(170deg, rgba(122,18,32,.16), rgba(24,9,12,.6));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.service::before { content: ""; position: absolute; inset: 0; background: var(--grad-gold); opacity: 0; transition: opacity .25s; mix-blend-mode: overlay; }
.service:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow); }
.service:hover::before { opacity: .06; }
.service .ico { width: 52px; height: 52px; border-radius: 13px; background: rgba(232,178,58,.12); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service .ico svg { width: 28px; height: 28px; color: var(--gold); }
.service h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.16rem; margin-bottom: 7px; color: var(--cream); }
.service p { color: var(--muted); font-size: .96rem; margin: 0; }
.service .tag { position: absolute; top: 16px; right: 16px; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #2a0a0e; background: var(--grad-gold); padding: 4px 10px; border-radius: 999px; }
.service.featured { border-color: rgba(232,178,58,.4); background: linear-gradient(170deg, rgba(232,178,58,.14), rgba(24,9,12,.7)); }

.services-note { margin-top: 22px; text-align: center; color: var(--muted-2); font-size: .92rem; }

/* ---------- Why / diferenciais ---------- */
.why { background: var(--grad-vinho); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 15px; }
.why-list .check { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; background: rgba(232,178,58,.14); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.why-list .check svg { width: 20px; height: 20px; color: var(--gold); }
.why-list b { display: block; font-size: 1.08rem; color: var(--cream); font-weight: 700; }
.why-list span { color: var(--muted); font-size: .96rem; }

.why-card {
  background: rgba(12,7,8,.6); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); text-align: center;
}
.why-card .big { font-family: var(--font-display); font-size: clamp(3.4rem, 9vw, 5rem); line-height: .9; }
.why-card .big small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .9rem; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; margin-top: 10px; }
.why-card hr { border: none; border-top: 1px solid var(--line-soft); margin: 24px 0; }
.why-card .wa-pair { display: grid; gap: 10px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: rgba(24,9,12,.5); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 24px; position: relative; }
.step .num { font-family: var(--font-display); font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1.5px var(--gold); line-height: 1; margin-bottom: 14px; display: block; }
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.step .conn { position: absolute; top: 46px; right: -8px; color: var(--gold); opacity: .4; }

/* ---------- Area / map ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.3) contrast(1.05); }
.area-info .addr { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.area-info .addr svg { width: 24px; height: 24px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.area-info .addr b { font-size: 1.1rem; }
.area-info .addr span { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; }
.chip { background: rgba(232,178,58,.08); border: 1px solid var(--line); color: var(--muted); padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }

/* ---------- Reviews ---------- */
.reviews { background: rgba(0,0,0,.25); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 30px; }
.review { background: linear-gradient(170deg, rgba(122,18,32,.12), rgba(24,9,12,.5)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.review .stars { display: flex; gap: 3px; margin-bottom: 12px; color: var(--gold); }
.review .stars svg { width: 18px; height: 18px; }
.review p { color: var(--cream); font-style: italic; margin-bottom: 14px; }
.review .who { color: var(--muted-2); font-weight: 600; font-size: .9rem; }
.review.placeholder { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted-2); border-style: dashed; min-height: 150px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: rgba(24,9,12,.5); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 1.05rem; color: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 26px; height: 26px; flex: 0 0 auto; position: relative; transition: transform .3s var(--ease); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.faq-item summary .plus::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq-item summary .plus::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; transition: opacity .3s; }
.faq-item[open] summary .plus { transform: rotate(135deg); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: var(--grad-gold); color: #2a0a0e; border-radius: 22px; padding: clamp(36px,6vw,58px) 24px; box-shadow: var(--shadow-gold); position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.8rem,5vw,3rem); margin-bottom: 10px; color: #2a0a0e; }
.cta-band p { color: #5c0f17; font-weight: 600; margin-bottom: 26px; }
.cta-band .hero-cta { justify-content: center; }
.cta-band .btn-gold { background: #2a0a0e; color: var(--gold-2); box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }
.cta-band .btn-wa { box-shadow: 0 12px 30px -12px rgba(4,36,15,.4); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 54px 0 30px; background: rgba(0,0,0,.3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand p { color: var(--muted); font-size: .96rem; max-width: 320px; }
.footer col h4, .footer-col h4 { font-family: var(--font-body); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--cream); transition: all .2s; }
.socials a:hover { background: var(--grad-gold); color: #2a0a0e; border-color: transparent; }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; color: var(--muted-2); font-size: .85rem; }
.footer-bottom a { color: var(--muted); }

/* ---------- Floating WhatsApp + mobile call bar ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg,#2bea74,var(--wa) 55%,var(--wa-deep)); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,.5); transition: transform .2s; animation: waBob 3s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes waBob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-5px);} }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(12,7,8,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px; }
.mobile-bar .btn { flex: 1; padding: 13px; font-size: .98rem; }

/* ---------- Reveal animation (progressive enhancement: só esconde se o JS rodar) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); animation: riseIn .7s var(--ease) forwards; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* ---------- Mobile nav drawer ---------- */
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: .25s; z-index: 58; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .why-grid, .area-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid, .steps, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mascot { display: none; }
  .step .conn { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(80vw, 320px);
    background: var(--bg-2); border-left: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: 86px 28px 28px; transform: translateX(100%);
    transition: transform .3s var(--ease); z-index: 59;
  }
  .nav.open { transform: none; }
  .nav a.navlink { font-size: 1.15rem; padding: 10px 0; width: 100%; }
  .nav .btn { width: 100%; margin-top: 10px; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn-header-call { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item { border-bottom: 1px solid var(--line-soft); }
  .services-grid, .steps, .review-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .hero-mascot { display: none; }
  .mobile-bar { display: flex; }
  .wa-float { bottom: 78px; }
  body { padding-bottom: 68px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* focus accessibility */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
