:root{
  --paper:#F5F3EE;
  --paper-2:#ECE9E1;
  --white:#FFFFFF;
  --ink:#16131D;
  --ink-2:#3B3645;
  --muted:#6E6878;
  --line:#DCD8CE;
  --line-dark:rgba(255,255,255,0.12);
  --brand:#5420D0;
  --brand-deep:#3D1499;
  --lime:#A8E03A;
  --wa:#1FA855;
  --radius:18px;
  --maxw:1220px;
  --display:'Bricolage Grotesque', system-ui, sans-serif;
  --body:'Instrument Sans', system-ui, sans-serif;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--body); background:var(--paper); color:var(--ink); line-height:1.6; font-size:16px; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
section{padding:120px 0;}
@media(max-width:720px){ section{padding:72px 0;} .wrap{padding:0 20px;} }
a:focus-visible, button:focus-visible, summary:focus-visible{outline:2px solid var(--brand); outline-offset:3px; border-radius:4px;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

h1, h2, h3{font-family:var(--display); font-weight:700; letter-spacing:-0.025em; line-height:1.05;}
h2{font-size:clamp(2rem,4vw,3.2rem);}
.label{display:inline-flex; align-items:center; gap:10px; font-size:0.78rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:20px;}
.label::before{content:""; width:22px; height:2px; background:var(--brand);}

/* Botões */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:15px 26px; border-radius:100px; font-family:var(--body); font-weight:600; font-size:0.95rem; cursor:pointer; border:1.5px solid transparent; transition:background .2s ease, color .2s ease, border-color .2s ease;}
.btn svg{width:16px; height:16px; transition:transform .2s ease;}
.btn:hover svg{transform:translateX(3px);}
.btn-dark{background:var(--ink); color:var(--white);}
.btn-dark:hover{background:var(--brand);}
.btn-line{border-color:var(--ink); color:var(--ink);}
.btn-line:hover{background:var(--ink); color:var(--white);}
.btn-lime{background:var(--lime); color:var(--ink);}
.btn-lime:hover{background:var(--white);}
.btn-line-light{border-color:rgba(255,255,255,0.45); color:var(--white);}
.btn-line-light:hover{background:var(--white); color:var(--ink); border-color:var(--white);}
.btn-wa{background:var(--wa); color:var(--white);}
.btn-wa:hover{background:#178A45;}
.btn-wa svg{width:20px; height:20px;}
.btn-wa:hover svg{transform:none;}

.link-arrow{display:inline-flex; align-items:center; gap:8px; font-weight:600; border-bottom:1.5px solid var(--ink); padding-bottom:3px; transition:color .2s ease, border-color .2s ease;}
.link-arrow svg{width:16px; height:16px; transition:transform .2s ease;}
.link-arrow:hover{color:var(--brand); border-color:var(--brand);}
.link-arrow:hover svg{transform:translateX(3px);}

/* Header */
header{position:sticky; top:0; z-index:100; background:rgba(245,243,238,0.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid transparent; transition:border-color .2s ease;}
header.scrolled{border-bottom-color:var(--line);}
.nav{display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:var(--maxw); margin:0 auto; padding:16px 32px; position:relative;}
.brand{display:flex; align-items:center; gap:12px; min-width:0;}
.brand img{width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0;}
.brand-name{font-family:var(--display); font-weight:700; font-size:1.12rem; letter-spacing:-0.02em; white-space:nowrap;}
nav.links{display:flex; align-items:center; gap:30px;}
nav.links a{font-size:0.93rem; font-weight:500; color:var(--ink-2); transition:color .2s ease;}
nav.links a:hover, nav.links a[aria-current="page"]{color:var(--brand);}
.nav-actions{display:flex; align-items:center; gap:10px; flex-shrink:0;}
.nav-actions .btn{padding:11px 20px; font-size:0.88rem;}
.menu-toggle{display:none; width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); background:var(--white); cursor:pointer; align-items:center; justify-content:center; flex-direction:column; gap:5px; padding:0;}
.menu-toggle span{display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; transition:transform .2s ease, opacity .2s ease;}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
@media(max-width:960px){
  .nav{padding:12px 16px;}
  .brand{gap:10px;}
  .nav-actions .btn{padding:10px 16px;}
  .menu-toggle{display:inline-flex;}
  nav.links{
    display:none; position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0; padding:8px 20px 20px;
    background:var(--paper); border-bottom:1px solid var(--line);
    box-shadow:0 24px 40px -24px rgba(22,19,29,0.25);
  }
  .nav.is-open nav.links{display:flex;}
  nav.links a{padding:16px 0; border-bottom:1px solid var(--line); font-family:var(--display); font-size:1.3rem; font-weight:600; color:var(--ink);}
  nav.links a:last-child{border-bottom:none;}
}
@media(max-width:379px){ .brand-name{display:none;} }

/* Cabeçalho de páginas internas */
.page-hero{padding:72px 0 64px;}
.page-hero h1{font-size:clamp(2.6rem,6vw,4.8rem); font-weight:800; letter-spacing:-0.04em; line-height:0.98; margin-bottom:24px; max-width:860px;}
.page-hero .lead{font-size:1.15rem; color:var(--ink-2); max-width:600px;}

/* Faixa de chamada */
.cta{background:var(--brand); color:var(--white); padding:110px 0; position:relative; overflow:hidden;}
.cta::before{content:""; position:absolute; width:520px; aspect-ratio:1; border-radius:50%; border:80px solid rgba(255,255,255,0.06); right:-160px; top:-200px;}
.cta-grid{position:relative; display:grid; grid-template-columns:1.3fr 0.7fr; gap:48px; align-items:end;}
@media(max-width:860px){ .cta-grid{grid-template-columns:1fr;} }
.cta h2{font-size:clamp(2.4rem,5.4vw,4.4rem); font-weight:800; letter-spacing:-0.04em; margin-bottom:18px;}
.cta p{color:rgba(255,255,255,0.78); font-size:1.1rem;}
.cta-actions{display:flex; flex-direction:column; gap:12px; align-items:stretch;}
@media(max-width:860px){ .cta-actions{flex-direction:row; flex-wrap:wrap;} }

/* Formas de pagamento */
.pay{background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:28px 0;}
.pay-inner{display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.pay-label{font-size:0.85rem; font-weight:500; color:var(--muted);}
.pay-strip{display:flex; gap:22px; align-items:center; flex-wrap:wrap;}
.pay-strip img{height:30px; width:auto; object-fit:contain;}

/* Footer */
footer{background:var(--ink); color:rgba(255,255,255,0.72); padding:80px 0 36px;}
.foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:48px 32px;}
@media(max-width:860px){ .foot-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:560px){ .foot-grid{grid-template-columns:1fr;} }
.foot-brand{display:flex; align-items:center; gap:12px; margin-bottom:18px; color:var(--white);}
.foot-brand img{width:44px; height:44px; border-radius:50%; object-fit:cover;}
.foot-about{max-width:340px; font-size:0.95rem;}
.foot-col h4{font-family:var(--body); font-size:0.78rem; font-weight:600; letter-spacing:0.12em; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:18px;}
.foot-col a{display:block; font-size:0.97rem; color:var(--white); margin-bottom:12px; transition:color .2s ease;}
.foot-col a:hover{color:var(--lime);}
.foot-bottom{margin-top:64px; padding-top:24px; border-top:1px solid var(--line-dark); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:0.86rem; color:rgba(255,255,255,0.5);}

.wa-float{position:fixed; right:22px; bottom:22px; z-index:60; width:56px; height:56px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -6px rgba(0,0,0,0.35); transition:transform .15s ease;}
.wa-float:hover{transform:scale(1.06);}

.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;}

.chat{position:fixed; right:22px; bottom:22px; z-index:110; display:flex; flex-direction:column; align-items:flex-end; gap:14px; font-family:var(--body);}
.chat-fab{position:relative; width:60px; height:60px; border:0; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 12px 28px -8px rgba(0,0,0,0.4); transition:transform .2s ease, background .2s ease;}
.chat-fab:hover{transform:scale(1.06);}
.chat-fab svg{transition:transform .25s ease, opacity .2s ease;}
.chat-fab .ico-close{position:absolute; opacity:0; transform:rotate(-90deg);}
.chat.is-open .chat-fab{background:var(--ink);}
.chat.is-open .chat-fab .ico-wa{opacity:0; transform:rotate(90deg);}
.chat.is-open .chat-fab .ico-close{opacity:1; transform:none;}
.chat-badge{position:absolute; top:-2px; right:-2px; min-width:20px; height:20px; padding:0 5px; border-radius:999px; background:#E5484D; color:#fff; font-size:0.72rem; font-weight:700; line-height:20px; text-align:center; border:2px solid var(--paper);}
.chat.is-seen .chat-badge{display:none;}

.chat-teaser{max-width:240px; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:16px 16px 4px 16px; padding:12px 34px 12px 14px; font-size:0.9rem; line-height:1.4; box-shadow:0 14px 30px -14px rgba(22,19,29,0.35); position:relative; cursor:pointer; opacity:0; transform:translateY(8px); pointer-events:none; transition:opacity .3s ease, transform .3s ease;}
.chat-teaser.is-visible{opacity:1; transform:none; pointer-events:auto;}
.chat-teaser strong{display:block; font-size:0.78rem; color:var(--muted); font-weight:600; margin-bottom:2px;}
.chat-teaser-close{position:absolute; top:6px; right:6px; width:22px; height:22px; border:0; border-radius:50%; background:transparent; color:var(--muted); font-size:1rem; line-height:1; cursor:pointer;}
.chat-teaser-close:hover{background:var(--paper-2);}
.chat.is-open .chat-teaser{display:none;}

.chat-panel{width:360px; max-width:calc(100vw - 32px); max-height:min(560px, calc(100vh - 190px)); background:#fff; border-radius:20px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 30px 60px -20px rgba(22,19,29,0.45), 0 0 0 1px rgba(22,19,29,0.06); transform-origin:bottom right; opacity:0; transform:translateY(12px) scale(.96); pointer-events:none; visibility:hidden; transition:opacity .22s ease, transform .22s ease, visibility 0s linear .22s;}
.chat.is-open .chat-panel{opacity:1; transform:none; pointer-events:auto; visibility:visible; transition:opacity .22s ease, transform .22s ease;}

.chat-head{display:flex; align-items:center; gap:12px; padding:16px 18px; background:var(--ink); color:#fff;}
.chat-avatar{position:relative; flex:none; width:42px; height:42px; border-radius:50%; background:var(--brand); display:flex; align-items:center; justify-content:center;}
.chat-avatar img{width:30px; height:30px; object-fit:contain;}
.chat-avatar::after{content:""; position:absolute; right:0; bottom:0; width:11px; height:11px; border-radius:50%; background:#25D366; border:2px solid var(--ink);}
.chat-head-text{flex:1; min-width:0;}
.chat-head-text b{display:block; font-family:var(--display); font-size:1rem;}
.chat-head-text span{font-size:0.8rem; color:rgba(255,255,255,0.65);}
.chat-x{width:32px; height:32px; border:0; border-radius:50%; background:rgba(255,255,255,0.08); color:#fff; font-size:1.1rem; cursor:pointer;}
.chat-x:hover{background:rgba(255,255,255,0.16);}

.chat-body{flex:1; overflow-y:auto; padding:18px 16px; background:var(--paper); display:flex; flex-direction:column; gap:8px;}
.chat-day{align-self:center; font-size:0.72rem; color:var(--muted); background:var(--paper-2); padding:3px 10px; border-radius:999px; margin-bottom:4px;}
.msg{max-width:85%; padding:10px 13px; font-size:0.92rem; line-height:1.45; border-radius:16px; animation:msgIn .25s ease both;}
.msg-in{align-self:flex-start; background:#fff; border:1px solid var(--line); border-bottom-left-radius:4px;}
.msg-out{align-self:flex-end; background:var(--brand); color:#fff; border-bottom-right-radius:4px;}
.msg time{display:block; margin-top:3px; font-size:0.68rem; opacity:.55; text-align:right;}
.msg-typing{display:inline-flex; gap:4px; padding:13px 14px;}
.msg-typing i{width:7px; height:7px; border-radius:50%; background:#b5b2bc; animation:typing 1s infinite ease-in-out;}
.msg-typing i:nth-child(2){animation-delay:.15s;}
.msg-typing i:nth-child(3){animation-delay:.3s;}
@keyframes typing{0%,60%,100%{transform:none; opacity:.5;} 30%{transform:translateY(-4px); opacity:1;}}
@keyframes msgIn{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;}}

.chat-quick{display:flex; flex-wrap:wrap; gap:6px; margin-top:4px;}
.chat-quick button{border:1px solid rgba(84,32,208,0.35); background:#fff; color:var(--brand); border-radius:999px; padding:7px 12px; font:inherit; font-size:0.84rem; font-weight:600; cursor:pointer; transition:background .15s ease, color .15s ease;}
.chat-quick button:hover{background:var(--brand); color:#fff;}

.chat-form{display:flex; align-items:flex-end; gap:8px; padding:12px; border-top:1px solid var(--line); background:#fff;}
.chat-form textarea{flex:1; resize:none; border:1px solid var(--line); border-radius:20px; padding:10px 14px; font:inherit; font-size:0.92rem; line-height:1.4; max-height:110px; background:var(--paper); color:var(--ink); outline:none;}
.chat-form textarea:focus{border-color:var(--brand); background:#fff;}
.chat-send{flex:none; width:42px; height:42px; border:0; border-radius:50%; background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .15s ease, opacity .15s ease;}
.chat-send:disabled{opacity:.4; cursor:default;}
.chat-send:not(:disabled):hover{transform:scale(1.06);}
.chat-foot{padding:0 12px 10px; background:#fff; font-size:0.7rem; color:var(--muted); text-align:center;}

@media (max-width:520px){
  .chat{right:16px; bottom:16px;}
  .chat-panel{width:calc(100vw - 32px); max-height:calc(100vh - 170px);}
}
@media (prefers-reduced-motion:reduce){
  .chat-panel, .chat-teaser, .chat-fab, .chat-fab svg{transition:none;}
  .msg, .msg-typing i{animation:none;}
}

.reveal{opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease;}
.reveal.in{opacity:1; transform:none;}
