/* Flowork Caixeiros - LP Moinhos de Vento (novembro) */
:root{
  --yellow:#f6a81a; --yellow-d:#e39a0f; --ink:#111; --black:#0b0b0b;
  --muted:#6a6a6a; --line:#e3e1dc; --neutral:#f1efea; --white:#fff;
  --green:#25d366; --radius:14px; --container:1000px; --header-h:56px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
body{margin:0;font-family:Montserrat,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3,h4,p{margin:0}
button,input,select{font:inherit;color:inherit}
.container{width:100%;max-width:calc(var(--container) + 48px);margin:0 auto;padding:0 24px}
.ico{width:14px;height:14px;flex:none}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.site-header :focus-visible,.hero :focus-visible,.structure :focus-visible,.site-footer :focus-visible{outline-color:#fff}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:999px;font-weight:700;text-decoration:none;cursor:pointer;line-height:1.2;transition:background .15s,transform .15s}
.btn-yellow{background:var(--yellow);color:var(--ink)}
.btn-yellow:hover{background:var(--yellow-d)}
.btn-black{background:var(--black);color:var(--yellow)}
.btn-black:hover{background:#262626}
.btn-sm{padding:9px 18px;font-size:13px}
.btn-md{padding:13px 22px;font-size:13px}
.btn-xs{padding:9px 14px;font-size:12px}
.btn-block{width:100%;justify-content:space-between;padding:13px 20px;font-size:13px}
.lead-form .btn-block,.wa-body .btn-block{justify-content:center}
.btn-black.btn-block .ico{width:16px;height:16px}

/* Header */
.site-header{position:fixed;inset:0 0 auto 0;height:var(--header-h);background:var(--black);z-index:50}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.logo img{height:26px;width:auto}

/* Hero */
.hero{position:relative;padding:calc(var(--header-h) + 56px) 0 64px;color:#fff;background:#111 url(../img/hero.jpg) center 65%/cover no-repeat}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.86),rgba(0,0,0,.72));}
.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.badge{display:inline-block;border:1px solid var(--yellow);color:var(--yellow);border-radius:999px;padding:4px 12px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:20px}
.hero h1{font-size:clamp(28px,3.9vw,42px);line-height:1.15;font-weight:700;letter-spacing:-.01em}
.hero h1 em{font-style:normal;color:var(--yellow)}
.hero-sub{margin-top:18px;font-size:15px;color:#f0f0f0}
.link-under{display:inline-flex;align-items:center;gap:6px;margin-top:22px;font-size:13px;font-weight:700;text-decoration:none;border-bottom:2px solid var(--yellow);padding-bottom:2px}
.hero-legal{margin-top:22px;font-size:11px;line-height:1.55;color:#c9c9c9;max-width:440px}

.lead-form{background:#fff;color:var(--ink);border-radius:var(--radius);padding:24px 24px 20px;box-shadow:0 12px 40px rgba(0,0,0,.35)}
.lead-form h2{font-size:17px;font-weight:700}
.lead-sub{font-size:12px;color:var(--muted);margin:4px 0 14px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-bottom:14px}
.field{display:flex;flex-direction:column;gap:5px;min-width:0}
.field label{font-size:11px;font-weight:700;line-height:1.25}
.opt{font-weight:400;color:var(--muted)}
.field input,.field select{height:42px;border:1px solid #d4d4d4;border-radius:10px;padding:0 12px;background:#fff;font-size:14px;width:100%;min-width:0}
.field select{appearance:none;-webkit-appearance:none;padding-right:30px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23111'/%3E%3C/svg%3E") no-repeat right 12px center}
.field input::placeholder{color:#9a9a9a}
.field input:focus,.field select:focus{border-color:var(--ink);outline:2px solid var(--ink);outline-offset:0}
.field.invalid input,.field.invalid select{border-color:#c0392b}
.field .err{font-size:11px;color:#c0392b;font-weight:600}
.lead-legal{margin-top:12px;font-size:10.5px;line-height:1.5;color:var(--muted)}
.lead-legal a,.lead-alt a{color:var(--ink);font-weight:600}
.lead-alt{margin-top:10px;text-align:center;font-size:11px;color:var(--muted)}
.form-status{margin-top:10px;padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.45;background:#fff6e0;border:1px solid #f0cf85;color:#5a4300}
.form-status.is-error{background:#fdecea;border-color:#f1b8b2;color:#7a1d14}
.form-status.is-ok{background:#e9f7ee;border-color:#a9dbb9;color:#14532d}

/* Sections */
section{scroll-margin-top:var(--header-h)}
.section-title{font-size:clamp(22px,2.9vw,30px);line-height:1.2;font-weight:700;letter-spacing:-.01em}
.section-sub{margin-top:12px;font-size:13px;color:var(--muted);max-width:760px}
.featured{padding:64px 0 56px}
.hint{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:11px;color:var(--muted)}
.group-title{margin-top:36px;padding-bottom:12px;font-size:13px;font-weight:700;border-bottom:2px solid var(--ink)}
.cards{display:grid;gap:18px;margin-top:20px}
.cards-3{grid-template-columns:repeat(3,1fr)}
.cards-4{grid-template-columns:repeat(4,1fr);gap:14px}
.card{background:#fff;border:1px solid #ecebe7;border-radius:var(--radius);box-shadow:0 2px 10px rgba(0,0,0,.05);display:flex;flex-direction:column;position:relative}
.card-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius) var(--radius) 0 0;background:#ddd}
.card-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.avail{display:flex;align-items:flex-start;gap:7px;font-size:10.5px;font-weight:700}
.avail i{width:8px;height:8px;margin-top:3px;background:var(--yellow);border-radius:2px;flex:none}
.card h4{margin-top:6px;font-size:18px;line-height:1.25;font-weight:700;padding-bottom:12px;border-bottom:1px solid var(--line)}
.price-area{position:relative;margin:12px 0 14px;margin-top:auto;padding-top:12px}
.full{font-size:11.5px;color:var(--muted);margin-bottom:8px}
.full s{text-decoration-thickness:1.5px}
.discounts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.disc{position:relative;text-align:left;cursor:pointer;border-radius:10px;padding:9px 11px 8px;display:flex;flex-direction:column;line-height:1.1;transition:background .15s,box-shadow .15s}
.disc .pct{font-size:20px;font-weight:800}
.disc .lbl{font-size:10px;font-weight:600;margin-top:3px}
.disc .ico{position:absolute;top:7px;right:8px;width:13px;height:13px;opacity:.75}
.disc-20{background:#fff;border:1.5px solid var(--ink)}
.disc-20:hover,.disc-20[aria-expanded="true"]{background:#f3f3f3}
.disc-30{background:var(--yellow);border:1.5px solid var(--yellow)}
.disc-30:hover,.disc-30[aria-expanded="true"]{background:var(--yellow-d);border-color:var(--yellow-d)}
.tip{position:absolute;left:0;right:0;bottom:calc(100% + 4px);z-index:5;background:#101010;color:#fff;border-radius:10px;border-left:3px solid var(--yellow);padding:11px 14px 12px;box-shadow:0 12px 28px rgba(0,0,0,.28)}
.tip[hidden]{display:none}
.tip strong{display:block;color:var(--yellow);font-size:13px;font-weight:700}
.tip p{margin-top:4px;font-size:11.5px;line-height:1.45;color:#f1f1f1}
.card .btn-block{margin-top:2px}
.footnote{margin-top:28px;font-size:11px;color:var(--muted);max-width:760px}

/* Small offices */
.small-offices{background:var(--neutral);padding:60px 0}
.so-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}
.so-head .btn{flex:none;margin-top:4px;white-space:nowrap}
.card-sm .card-img{aspect-ratio:4/3}
.card-sm .card-body{padding:12px 12px 14px;gap:0}
.card-sm h4{font-size:13px;padding:0;border:0;margin:0 0 4px}
.card-sm .btn{margin-top:12px}

/* Benefits */
.benefits{padding:60px 0 56px}
.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.benefit{background:var(--neutral);border-radius:var(--radius);padding:20px}
.benefit h3{margin-top:14px;font-size:14px;font-weight:700;line-height:1.3}
.benefit p{margin-top:8px;font-size:12px;color:var(--muted)}
.icon-tile{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--yellow);color:var(--black);flex:none}
.icon-tile svg{width:19px;height:19px}

/* Structure */
.structure{background:var(--black);color:#fff;padding:52px 0 48px}
.feature-grid{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.feature-grid li{display:flex;align-items:center;gap:12px;background:#151515;border:1px solid #2a2a2a;border-radius:10px;padding:14px 14px;font-size:12.5px;line-height:1.35}
.icon-tile{--s:1}
.struct-strong{margin-top:28px;font-size:13px;font-weight:700}
.struct-note{margin-top:8px;font-size:11.5px;color:#b9b9b9}

/* Location */
.location{padding:64px 0}
.loc-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center}
.loc-photo{position:relative;margin:0;border-radius:var(--radius);overflow:hidden}
.loc-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.loc-photo figcaption{position:absolute;left:12px;bottom:12px;background:rgba(0,0,0,.72);color:#fff;font-size:10.5px;font-weight:600;padding:5px 9px;border-radius:6px}
.loc-copy .section-title{font-size:clamp(22px,2.6vw,28px)}
.loc-name{margin-top:18px;font-weight:700;font-size:13px}
.loc-copy p{font-size:13px;color:var(--muted)}
.loc-copy .loc-name{color:var(--ink)}
.loc-copy .btn{margin-top:18px}

/* How */
.how{background:var(--neutral);padding:60px 0}
.steps{list-style:none;margin:26px 0 24px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps li{background:#fff;border-radius:var(--radius);padding:20px}
.num{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--black);color:var(--yellow);font-size:12px;font-weight:700}
.steps h3{margin-top:14px;font-size:14px;font-weight:700}
.steps p{margin-top:6px;font-size:12px;color:var(--muted)}

/* FAQ */
.faq{padding:64px 0}
.faq-wrap{max-width:calc(700px + 48px)}
.accordion{margin-top:24px;border-top:1px solid var(--line)}
.acc-item{border-bottom:1px solid var(--line)}
.acc-item h3{font-size:inherit}
.acc-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;background:none;border:0;padding:16px 2px;text-align:left;font-size:13px;font-weight:700;cursor:pointer}
.acc-ico{position:relative;width:14px;height:14px;flex:none}
.acc-ico::before,.acc-ico::after{content:"";position:absolute;background:var(--ink);left:0;right:0;top:6px;height:2px;border-radius:1px;transition:transform .2s}
.acc-ico::after{transform:rotate(90deg)}
.acc-btn[aria-expanded="true"] .acc-ico::after{transform:rotate(0)}
.acc-panel{padding:0 2px 18px;font-size:12.5px;color:var(--muted);max-width:620px}
.acc-panel[hidden]{display:none}

/* Closing + footer */
.closing{background:var(--yellow);text-align:center;padding:60px 0}
.closing h2{max-width:560px;margin:0 auto;font-size:clamp(22px,2.7vw,28px);line-height:1.25;font-weight:700}
.closing p{margin:12px auto 22px;font-size:13px}
.site-footer{background:var(--black);color:#fff;padding:30px 0}
.footer-inner{display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.footer-inner p{font-size:11px;color:#cfcfcf;line-height:1.5}
.footer-inner strong{color:#fff}
.footer-link{font-size:11px}

/* WhatsApp widget */
.wa-widget{position:fixed;right:24px;bottom:24px;z-index:60;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.wa-widget>*{pointer-events:auto}
.wa-fab{width:54px;height:54px;border-radius:50%;border:0;background:var(--green);color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.28);transition:transform .15s}
.wa-fab:hover{transform:scale(1.05)}
.wa-fab svg{width:30px;height:30px;grid-area:1/1}
.wa-fab .wa-ic-close{display:none;width:22px;height:22px}
.wa-fab[aria-expanded="true"] .wa-ic-open{display:none}
.wa-fab[aria-expanded="true"] .wa-ic-close{display:block}
.wa-panel{width:min(320px,calc(100vw - 32px));max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 14px 40px rgba(0,0,0,.35);display:flex;flex-direction:column}
.wa-panel[hidden]{display:none}
.wa-head{display:flex;align-items:center;gap:10px;background:var(--black);color:#fff;padding:12px 14px;position:sticky;top:0;z-index:1}
.wa-head img{height:18px;width:auto}
.wa-head div{flex:1;display:flex;flex-direction:column;line-height:1.2;min-width:0}
.wa-head strong{font-size:12px}
.wa-head span{font-size:9.5px;color:#bdbdbd}
.wa-close{background:none;border:0;color:#fff;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;border-radius:50%}
.wa-close:hover{background:#262626}
.wa-close svg{width:15px;height:15px}
.wa-body{padding:14px;background:#f5f4f1;display:flex;flex-direction:column;gap:10px}
.wa-bubble{background:#fff;border-radius:0 10px 10px 10px;padding:9px 11px;font-size:11.5px;line-height:1.4;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.wa-body .field input,.wa-body .field select{height:38px;font-size:13px}

/* Tablet */
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:32px}
  .hero{padding-top:calc(var(--header-h) + 36px)}
  .cards-3{grid-template-columns:repeat(2,1fr)}
  .cards-4{grid-template-columns:repeat(2,1fr)}
  .feature-grid,.benefit-grid,.steps{grid-template-columns:1fr 1fr}
  .loc-grid{grid-template-columns:1fr;gap:26px}
  .so-head{flex-direction:column;gap:16px}
}
/* Mobile */
@media (max-width:600px){
  :root{--header-h:52px}
  .container{padding:0 16px}
  .logo img,.site-footer .logo img{height:22px}
  .form-grid{grid-template-columns:1fr}
  .lead-form{padding:20px 16px 16px}
  .cards-3,.cards-4,.feature-grid,.benefit-grid,.steps{grid-template-columns:1fr}
  .cards-4{grid-template-columns:1fr 1fr;gap:10px}
  .card-sm .btn-xs{font-size:11px;padding:9px 10px}
  .card-sm h4{font-size:12px}
  .featured,.small-offices,.benefits,.how,.faq,.closing,.location{padding-top:44px;padding-bottom:44px}
  .footer-inner{grid-template-columns:1fr;gap:14px}
  .so-head .btn{white-space:normal}
  .wa-widget{right:12px;bottom:12px}
  .wa-panel{max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px)}
  .field input,.field select{font-size:16px} /* evita zoom automático no iOS */
}
