/* PátioFlow — landing
   Estrutura, tipografia, grid e espaçamento portados 1:1 da landing real do
   ClinAFlow (https://clinaflow.app → /_next/static/css/66fb5e7ddf89742a.css).
   Única troca de design: a cor de destaque teal (#0fb5aa) → laranja PátioFlow. */

:root {
  --orange: #ff7a29;       /* accent PátioFlow (equivale ao --teal do ClinAFlow) */
  --orange-deep: #c2410c;  /* accent escuro (hover/estados) */
  --navy: #17173b;
  --dark: #0f1117;
  --dark2: #1a1a2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  transition: all .3s;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  transition: all .3s;
}
nav.scrolled .nav-inner {
  background: rgba(15,17,23,.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 12px 24px;
  margin-top: 8px;
}
/* lockup da marca no lugar do <img class="nav-logo"> (56px) do ClinAFlow */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo img { height: 44px; width: 44px; }
.logo-word { font-size: 24px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.logo-word .patio { color: #fff; }
.logo-word .flow { color: var(--orange); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.btn-nav {
  background: var(--orange);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-nav:hover { opacity: .88; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: #fff; }
.nav-mob {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,17,23,.99);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mob.open { display: flex; }
.nav-mob a { font-size: 20px; font-weight: 700; color: #fff; text-decoration: none; }
.nav-mob .btn-nav { font-size: 16px; padding: 14px 40px; border-radius: 10px; }
.close-mob {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: #fff; font-size: 28px; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,122,41,.12) 0, transparent 68%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,122,41,.1);
  border: 1px solid rgba(255,122,41,.28);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeup .7s ease .1s forwards;
}
.badge-dot { width: 7px; height: 7px; background: var(--orange); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, to { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes fadeup { 0% { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero h1 {
  font-size: clamp(30px, 4.5vw, 62px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 780px;
  opacity: 0;
  animation: fadeup .8s ease .25s forwards;
}
.hero h1 span { color: var(--orange); }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.52);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeup .8s ease .4s forwards;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeup .8s ease .55s forwards; }
.btn-primary {
  background: var(--orange);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); }

/* ===== MOCKUP ===== */
.hero-mockup { width: 100%; max-width: 920px; margin-top: 64px; position: relative; opacity: 0; animation: fadeup 1s ease .8s forwards; }
.hero-mockup::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 58%; background: linear-gradient(to bottom, transparent, var(--dark)); pointer-events: none; z-index: 2; }
.mockup-frame { background: var(--dark2); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.65); }
.mockup-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.mdot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-screen { background: var(--navy); border-radius: 10px; padding: 20px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.mc { background: rgba(255,255,255,.05); border-radius: 8px; padding: 14px; }
.ml { font-size: 9px; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px; }
.mv { font-size: 22px; font-weight: 800; color: var(--orange); }
.ms { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 3px; }
.kanban { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 4px; }
.kcol { background: rgba(255,255,255,.03); border-radius: 8px; padding: 10px; }
.kct { font-size: 9px; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.kcard { background: var(--dark2); border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border-left: 3px solid var(--orange); }
.kcard.b { border-left-color: #1E74BD; }
.kcard.g { border-left-color: #22c55e; }
.kcard.gr { border-left-color: rgba(255,255,255,.15); }
.kname { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.8); }
.kscore { font-size: 10px; color: var(--orange); font-weight: 700; margin-top: 3px; }
.kscore.b { color: #1E74BD; }
.kscore.g { color: #22c55e; }
.kscore.gr { color: rgba(255,255,255,.3); }
.korigin { font-size: 9px; color: rgba(255,255,255,.28); margin-top: 2px; }

/* ===== VILLAIN (o problema) ===== */
.villain { padding: 96px 60px; background: var(--dark); }
.pain-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pain { background: var(--dark2); border: 1px solid rgba(255,80,80,.15); border-radius: 16px; padding: 32px; }
.pain-icon { width: 48px; height: 48px; background: rgba(255,80,80,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.pain h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.pain p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; }
.pain-highlight { color: rgba(255,100,100,.9); font-weight: 700; }

/* ===== GUIDE (de onde vem o produto) ===== */
.guide { padding: 96px 60px; background: var(--navy); }
.guide-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1000px; margin: 0 auto; }
.guide-quote { font-size: 18px; font-style: italic; color: rgba(255,255,255,.65); line-height: 1.75; border-left: 3px solid var(--orange); padding-left: 24px; margin-bottom: 40px; }
.guide-stats { display: flex; flex-direction: column; gap: 16px; }
.gstat { display: flex; align-items: center; gap: 16px; }
.gstat-num { font-size: 28px; font-weight: 900; color: var(--orange); letter-spacing: -1px; min-width: 80px; }
.gstat-label { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.4; }
.guide-visual { background: var(--dark2); border-radius: 20px; padding: 40px; border: 1px solid rgba(255,255,255,.07); position: relative; overflow: hidden; }
.guide-visual::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,122,41,.15) 0, transparent 70%); }
/* variação PátioFlow: lista de destaques no lugar dos números grandes do ClinAFlow */
.guide-badge-list { display: flex; flex-direction: column; gap: 18px; position: relative; }
.guide-badge { display: flex; align-items: flex-start; gap: 14px; }
.guide-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 7px; flex-shrink: 0; }
.guide-badge p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.55; }
.guide-badge strong { color: #fff; font-weight: 700; }

/* ===== DEEP DIVE (mesma caixa dos depoimentos do ClinAFlow) ===== */
.deep-section { padding: 96px 60px; background: var(--dark); }
.deep-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 56px; }
.deep { background: var(--dark2); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 32px; position: relative; transition: border-color .2s, transform .25s; }
.deep:hover { border-color: rgba(255,122,41,.3); transform: translateY(-3px); }
.deep-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 14px; }
.deep-text { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; }
.deep-text strong { color: var(--orange); font-weight: 700; }

/* ===== PLAN (como funciona) ===== */
.plan-section { padding: 96px 60px; background: var(--navy); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin-top: 56px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 16.5%; right: 16.5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,122,41,.3), rgba(255,122,41,.3), transparent); }
.step { text-align: center; padding: 0 24px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--dark); border: 2px solid var(--orange); color: var(--orange); font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; }
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ===== FEATURES ===== */
.features { padding: 96px 60px; background: var(--dark); }
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.feat { background: var(--dark2); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 32px; display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; transition: border-color .2s, transform .25s; }
.feat:hover { border-color: rgba(255,122,41,.3); transform: translateY(-3px); }
.feat-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,122,41,.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feat-icon svg { width: 24px; height: 24px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feat-body p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ===== PROOF STRIP ===== */
.proof-strip { border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); padding: 40px 60px; display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; background: var(--dark); }
.ps-item { text-align: center; padding: 0 52px; position: relative; max-width: 280px; }
.ps-item + .ps-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 40px; width: 1px; background: rgba(255,255,255,.1); }
/* no ClinAFlow o destaque é .ps-num (número grande); aqui o destaque é textual */
.ps-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; display: block; line-height: 1.5; }
.ps-label strong { display: block; font-size: 17px; font-weight: 900; color: var(--orange); letter-spacing: -.5px; margin-bottom: 4px; }

/* ===== PRICING ===== */
.pricing { padding: 96px 60px; text-align: center; background: var(--navy); }
.plans { display: flex; gap: 24px; justify-content: center; align-items: stretch; flex-wrap: wrap; margin-top: 56px; }
.plan { background: var(--dark2); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 40px 36px; min-width: 280px; max-width: 340px; flex: 1; display: flex; flex-direction: column; text-align: left; }
.plan.featured { border-color: var(--orange); background: var(--dark); position: relative; transform: scale(1.03); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--navy); font-size: 11px; font-weight: 700; padding: 5px 20px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.plan-price { font-size: 52px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.plan-price small { font-size: 18px; font-weight: 500; color: rgba(255,255,255,.55); letter-spacing: 0; }
.plan-cycle { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 8px; margin-top: 6px; }
.plan-desc { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 28px; line-height: 1.5; }
.plan-feats { list-style: none; flex: 1; margin-bottom: 28px; display: flex; flex-direction: column; gap: 11px; }
.plan-feats li { font-size: 13px; color: rgba(255,255,255,.7); display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.plan-feats li::before { content: '✓'; color: var(--orange); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.plan-feats li.off { color: rgba(255,255,255,.25); }
.plan-feats li.off::before { content: '✗'; color: rgba(255,100,100,.4); }
.btn-plan { width: 100%; padding: 14px; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: opacity .2s; margin-bottom: 12px; text-decoration: none; display: block; text-align: center; }
.btn-p-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.15) !important; }
.btn-p-filled { background: var(--orange); color: var(--navy); }
.btn-plan:hover { opacity: .83; }
.plan-micro { font-size: 11px; color: rgba(255,255,255,.5); text-align: center; }
.pricing-micro { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 24px; }

/* ===== STAKES ===== */
.stakes { padding: 96px 60px; background: var(--dark); position: relative; overflow: hidden; }
.stakes::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,80,80,.3), transparent); }
.stakes-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.stakes h2 { font-size: clamp(24px,3vw,40px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -.5px; }
.stakes h2 span { color: rgba(255,120,120,.9); }
.stakes p { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.8; max-width: 580px; margin: 0 auto; }

/* ===== CTA FINAL ===== */
.cta { padding: 96px 60px; text-align: center; background: var(--navy); position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,122,41,.14) 0, transparent 68%); pointer-events: none; filter: blur(20px); }
.cta h2 { font-size: clamp(26px,4vw,52px); font-weight: 900; margin-bottom: 14px; letter-spacing: -1px; position: relative; line-height: 1.15; }
.cta h2 span { color: var(--orange); }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.65); margin-bottom: 40px; position: relative; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-micro { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 20px; }

/* ===== FOOTER ===== */
footer { padding: 36px 60px; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: var(--dark); }
footer .logo img { height: 30px; width: 30px; }
footer p { font-size: 12px; color: rgba(255,255,255,.45); }
footer .foot-links { display: flex; gap: 18px; }
footer .foot-links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
footer .foot-links a:hover { color: rgba(255,255,255,.75); }

/* ===== SECTION HELPERS ===== */
.stag { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 14px; }
.stitle { font-size: clamp(26px,3.2vw,42px); font-weight: 800; line-height: 1.15; letter-spacing: -.5px; margin-bottom: 14px; }
.stitle span { color: var(--orange); }
.ssub { font-size: 15px; color: rgba(255,255,255,.65); max-width: 520px; line-height: 1.7; margin-bottom: 56px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== PÁGINAS LEGAIS (termos / privacidade) ===== */
.legal { min-height: 100vh; background: var(--dark); padding: 120px 24px 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55);
  text-decoration: none; margin-bottom: 36px; transition: color .2s;
}
.legal-back:hover { color: var(--orange); }
.legal-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 40px; text-decoration: none; }
.legal-brand img { height: 40px; width: 40px; }
.legal h1 { font-size: clamp(28px,4vw,40px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 10px; }
.legal-updated { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 48px; }
.legal-body { display: flex; flex-direction: column; gap: 34px; }
.legal-body section h2 {
  font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -.3px;
  margin-bottom: 12px; padding-left: 14px; border-left: 3px solid var(--orange);
}
.legal-body p { font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.8; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.legal-body li { font-size: 14px; color: rgba(255,255,255,.68); line-height: 1.65; display: flex; gap: 11px; }
.legal-body li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 9px; opacity: .8; }
.legal-body a { color: var(--orange); text-decoration: none; font-weight: 600; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: #fff; font-weight: 700; }
.legal-card {
  background: var(--dark2); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 28px 30px;
}
.legal-footer {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.legal-footer p { font-size: 12px; color: rgba(255,255,255,.4); }
.legal-footer .foot-links { display: flex; gap: 18px; }
.legal-footer .foot-links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.legal-footer .foot-links a:hover { color: rgba(255,255,255,.75); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 110px 24px 80px; }
  .kanban, .mockup-screen { grid-template-columns: 1fr 1fr; }
  .cta, .features, .guide, .plan-section, .pricing, .deep-section, .stakes, .villain { padding: 64px 24px; }
  .guide-inner { gap: 40px; }
  .feat-grid, .guide-inner, .pain-cards, .steps, .deep-grid { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .steps::before { display: none; }
  .plans { flex-direction: column; align-items: center; }
  .plan.featured { transform: none; }
  .proof-strip { padding: 28px 20px; }
  .ps-item { padding: 16px 20px; }
  .ps-item + .ps-item::before { display: none; }
  footer { flex-direction: column; text-align: center; padding: 28px 20px; }
  .legal { padding: 100px 20px 64px; }
  .legal-footer { flex-direction: column; text-align: center; }
}
