:root{
    --ink:#23322F;
    --forest:#2D5149;
    --forest-deep:#1F3A33;
    --teal:#355D54;
    --sage:#5F6A66;
    --sage-muted:#8C968F;
    --mint:#E8F0EC;
    --mint-soft:#F0F5F1;
    --sage-bg:#F3F5F1;
    --cream:#FBFBF9;
    --white:#FFFFFF;
    --line: rgba(45,81,73,0.12);

    --font-display:'Lora', serif;
    --font-body:'Plus Jakarta Sans', sans-serif;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-soft: 0 20px 50px -25px rgba(35,50,47,0.35);
    --shadow-card: 0 12px 30px -18px rgba(35,50,47,0.28);
    --ease: cubic-bezier(.22,.61,.36,1);
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  body{
    margin:0;
    font-family:var(--font-body);
    color:var(--ink);
    background:var(--cream);
    -webkit-font-smoothing:antialiased;
    line-height:1.6;
  }

  img,svg{display:block;max-width:100%;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;margin:0;padding:0;}
  h1,h2,h3{font-family:var(--font-display);color:var(--ink);margin:0;line-height:1.15;}
  p{margin:0;}

  .container{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:0 24px;
  }

  section{position:relative;}
  section[id]{scroll-margin-top:96px;}

  .visually-hidden{
    position:absolute; width:1px;height:1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
  }

  :focus-visible{
    outline:2.5px solid var(--forest);
    outline-offset:3px;
    border-radius:6px;
  }

  /* ---------- Buttons ---------- */
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-family:var(--font-body);
    font-weight:600;
    font-size:15px;
    padding:13px 24px;
    border-radius:100px;
    cursor:pointer;
    border:1.5px solid transparent;
    transition:transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
    white-space:nowrap;
  }
  .btn:active{transform:translateY(1px);}
  .btn-primary{
    background:var(--forest);
    color:var(--white);
    box-shadow:0 10px 24px -10px rgba(45,81,73,0.55);
  }
  .btn-primary:hover{background:var(--forest-deep); box-shadow:0 14px 28px -10px rgba(45,81,73,0.6); transform:translateY(-1px);}
  .btn-ghost{
    background:transparent;
    color:var(--forest);
    border-color:rgba(45,81,73,0.28);
  }
  .btn-ghost:hover{background:var(--mint); border-color:transparent;}
  .btn-on-dark{
    background:var(--white);
    color:var(--forest-deep);
  }
  .btn-on-dark:hover{background:var(--mint); transform:translateY(-1px);}
  .btn-block{width:100%;}
  .btn-sm{padding:10px 18px; font-size:14px;}

  /* ---------- Header ---------- */
  .site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(251,251,249,0.82);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid transparent;
    transition:border-color 250ms var(--ease), box-shadow 250ms var(--ease);
  }
  .site-header.scrolled{
    border-bottom-color:var(--line);
    box-shadow:0 8px 24px -20px rgba(35,50,47,0.4);
  }
  .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:78px;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .brand-mark{
    width:40px;height:40px;
    border-radius:12px;
    background:var(--teal);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    box-shadow:0 6px 14px -6px rgba(53,93,84,0.55);
  }
  .brand-mark svg{width:20px;height:20px;}
  .brand-word{
    font-family:var(--font-display);
    font-weight:600;
    font-size:22px;
    color:var(--ink);
    letter-spacing:0.2px;
  }

  .main-nav{display:flex;align-items:center;gap:4px;}
  .main-nav a{
    font-weight:600;
    font-size:15px;
    color:var(--sage);
    padding:10px 16px;
    border-radius:100px;
    transition:background 200ms var(--ease), color 200ms var(--ease);
  }
  .main-nav a:hover{color:var(--forest); background:var(--mint);}

  .header-actions{display:flex;align-items:center;gap:18px;}
  .mobile-cta{display:none;}

  .nav-toggle{
    display:none;
    width:44px;height:44px;
    border-radius:12px;
    border:1px solid var(--line);
    background:var(--white);
    align-items:center;justify-content:center;
    cursor:pointer;
  }
  .nav-toggle svg{width:22px;height:22px;color:var(--forest);}
  .nav-toggle .icon-close{display:none;}
  .nav-toggle[aria-expanded="true"] .icon-menu{display:none;}
  .nav-toggle[aria-expanded="true"] .icon-close{display:block;}

  /* ---------- Hero ---------- */
  .hero{
    padding:76px 0 96px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:56px;
    align-items:center;
  }
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--mint);
    color:var(--forest);
    font-weight:700;
    font-size:13px;
    letter-spacing:0.02em;
    padding:8px 16px;
    border-radius:100px;
    margin-bottom:22px;
  }
  .eyebrow svg{width:15px;height:15px;}

  .hero h1{
    font-size:clamp(34px, 4.2vw, 52px);
    font-weight:600;
    letter-spacing:-0.01em;
    max-width:15ch;
  }
  .hero .lede{
    margin-top:22px;
    font-size:18px;
    color:var(--sage);
    max-width:46ch;
  }
  .hero-cta-row{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin-top:34px;
  }

  .tag-row{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:40px;
  }
  .tag-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:var(--white);
    border:1px solid var(--line);
    padding:9px 16px 9px 10px;
    border-radius:100px;
    font-size:13.5px;
    font-weight:600;
    color:var(--forest-deep);
    box-shadow:var(--shadow-card);
  }
  .tag-pill .tag-ico{
    width:22px;height:22px;
    border-radius:100px;
    background:var(--mint);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
  }
  .tag-pill svg{width:12px;height:12px;color:var(--forest);}

  /* Hero visual: product mockup */
  .hero-visual{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:460px;
  }
  .blob{
    position:absolute;
    border-radius:63% 37% 54% 46% / 55% 48% 52% 45%;
    filter:blur(2px);
    z-index:0;
  }
  .blob-1{
    width:420px;height:420px;
    background:var(--mint);
    top:-30px; right:-40px;
    animation:float-a 16s ease-in-out infinite;
  }
  .blob-2{
    width:220px;height:220px;
    background:rgba(53,93,84,0.14);
    bottom:-10px; left:-10px;
    border-radius:41% 59% 47% 53% / 53% 40% 60% 47%;
    animation:float-b 13s ease-in-out infinite;
  }
  @keyframes float-a{
    0%,100%{transform:translate(0,0) rotate(0deg);}
    50%{transform:translate(-14px,18px) rotate(8deg);}
  }
  @keyframes float-b{
    0%,100%{transform:translate(0,0) rotate(0deg);}
    50%{transform:translate(12px,-14px) rotate(-6deg);}
  }

  .mock-card{
    position:relative;
    z-index:1;
    width:100%;
    max-width:380px;
    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:22px;
    border:1px solid rgba(255,255,255,0.6);
    transform:rotate(-1.2deg);
  }
  .mock-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding-bottom:18px;
    margin-bottom:16px;
    border-bottom:1px solid var(--line);
  }
  .mock-head .brand-mark{width:44px;height:44px;border-radius:14px;}
  .mock-head .brand-mark svg{width:22px;height:22px;}
  .mock-head-word{font-family:var(--font-display); font-weight:600; font-size:19px;}
  .mock-head-label{font-size:10.5px; letter-spacing:0.08em; color:var(--sage-muted); font-weight:700; margin-top:2px;}

  .mock-nav{display:flex; flex-direction:column; gap:6px;}
  .mock-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:11px 14px;
    border-radius:14px;
    font-weight:600;
    font-size:14.5px;
    color:var(--sage);
  }
  .mock-item svg{width:19px;height:19px; flex-shrink:0;}
  .mock-item.active{background:var(--mint); color:var(--forest-deep);}
  .mock-item.active svg{color:var(--forest-deep);}

  .mock-float-card{
    position:absolute;
    z-index:2;
    background:var(--forest-deep);
    color:var(--white);
    border-radius:var(--radius-md);
    padding:16px 18px;
    box-shadow:0 18px 34px -14px rgba(31,58,51,0.55);
    bottom:-22px;
    right:-18px;
    max-width:230px;
    transform:rotate(2deg);
  }
  .mock-float-card .label{font-size:11.5px; opacity:0.75; font-weight:600;}
  .mock-float-card .value{font-family:var(--font-display); font-size:22px; font-weight:600; margin-top:2px;}
  .mock-float-card .sub{font-size:12px; opacity:0.8; margin-top:4px; display:flex; align-items:center; gap:5px;}
  .mock-float-card svg{width:13px;height:13px;}

  /* ---------- Section headers ---------- */
  .section-head{
    max-width:640px;
    margin:0 auto 56px;
    text-align:center;
  }
  .section-head h2{
    font-size:clamp(28px, 3.4vw, 40px);
    font-weight:600;
    margin-top:16px;
  }
  .section-head p{
    margin-top:16px;
    color:var(--sage);
    font-size:17px;
  }
  .section-head .eyebrow{margin-bottom:0;}

  /* ---------- Features ---------- */
  .features{padding:100px 0;}
  .feature-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:22px;
  }
  .feature-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:30px 26px;
    transition:transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
  }
  .feature-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-card);
    border-color:transparent;
  }
  .feature-ico{
    width:48px;height:48px;
    border-radius:14px;
    background:var(--mint);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:20px;
  }
  .feature-ico svg{width:23px;height:23px; color:var(--forest);}
  .feature-card h3{
    font-family:var(--font-body);
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
  }
  .feature-card p{color:var(--sage); font-size:15px;}

  /* ---------- Sobre ---------- */
  .sobre{
    padding:100px 0;
    background:var(--sage-bg);
  }
  .sobre-grid{
    display:grid;
    grid-template-columns:1fr 0.85fr;
    gap:64px;
    align-items:center;
  }
  .sobre h2{
    font-size:clamp(28px, 3.4vw, 38px);
    font-weight:600;
    margin-top:16px;
    max-width:14ch;
  }
  .sobre .lede{
    margin-top:20px;
    color:var(--sage);
    font-size:16.5px;
  }
  .sobre .lede + .lede{margin-top:14px;}

  .sobre-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-top:36px;
  }
  .stat-card{
    background:var(--white);
    border-radius:var(--radius-sm);
    padding:20px;
    box-shadow:var(--shadow-card);
  }
  .stat-card .num{
    font-family:var(--font-display);
    font-size:30px;
    font-weight:600;
    color:var(--forest-deep);
  }
  .stat-card .lab{font-size:13.5px; color:var(--sage); margin-top:4px; font-weight:600;}

  .sobre-visual{
    position:relative;
  }
  .sobre-panel{
    background:var(--white);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-soft);
    padding:34px 30px;
  }
  .sobre-panel ul{display:flex; flex-direction:column; gap:18px;}
  .sobre-panel li{display:flex; gap:14px; align-items:flex-start;}
  .sobre-check{
    width:26px;height:26px;
    border-radius:100px;
    background:var(--mint);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    margin-top:1px;
  }
  .sobre-check svg{width:14px;height:14px; color:var(--forest-deep);}
  .sobre-panel li span{font-size:15.5px; font-weight:600; color:var(--ink);}

  /* ---------- Pricing ---------- */
  .planos{padding:100px 0;}
  .plans-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:26px;
    max-width:860px;
    margin:0 auto;
    align-items:stretch;
  }
  .plan-card{
    border-radius:var(--radius-lg);
    padding:38px 32px;
    display:flex;
    flex-direction:column;
    position:relative;
  }
  .plan-basic{
    background:var(--white);
    border:1px solid var(--line);
  }
  .plan-premium{
    background:var(--forest-deep);
    color:var(--white);
    box-shadow:0 26px 50px -24px rgba(31,58,51,0.6);
  }
  .plan-badge{
    position:absolute;
    top:-14px; right:32px;
    background:var(--forest);
    color:var(--white);
    font-size:12.5px;
    font-weight:700;
    padding:7px 16px;
    border-radius:100px;
    box-shadow:0 8px 16px -8px rgba(45,81,73,0.6);
  }
  .plan-name{font-size:14px; font-weight:700; letter-spacing:0.03em; text-transform:uppercase; color:var(--forest);}
  .plan-premium .plan-name{color:var(--mint);}
  .plan-price{
    display:flex;
    align-items:baseline;
    gap:6px;
    margin-top:14px;
  }
  .plan-price .amount{font-family:var(--font-display); font-size:44px; font-weight:600;}
  .plan-price .period{font-size:15px; color:var(--sage); font-weight:600;}
  .plan-premium .plan-price .period{color:rgba(255,255,255,0.7);}
  .plan-desc{margin-top:12px; color:var(--sage); font-size:15px;}
  .plan-premium .plan-desc{color:rgba(255,255,255,0.78);}

  .plan-features{margin-top:28px; display:flex; flex-direction:column; gap:14px; flex-grow:1;}
  .plan-features li{display:flex; align-items:flex-start; gap:11px; font-size:14.5px; font-weight:600;}
  .plan-features .chk{
    width:20px;height:20px;
    border-radius:100px;
    background:var(--mint);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    margin-top:1px;
  }
  .plan-features .chk svg{width:11px;height:11px; color:var(--forest-deep);}
  .plan-premium .plan-features .chk{background:rgba(255,255,255,0.16);}
  .plan-premium .plan-features .chk svg{color:var(--white);}

  .plan-card .btn{margin-top:30px;}

  .planos-note{
    text-align:center;
    color:var(--sage-muted);
    font-size:14px;
    margin-top:32px;
    font-weight:600;
  }

  /* ---------- Final CTA ---------- */
  .final-cta{
    background:var(--forest-deep);
    color:var(--white);
    padding:88px 0;
    text-align:center;
    position:relative;
    overflow:hidden;
  }
  .final-cta .blob{background:rgba(255,255,255,0.05);}
  .final-cta-inner{position:relative; z-index:1; max-width:600px; margin:0 auto;}
  .final-cta h2{color:var(--white); font-size:clamp(28px,3.6vw,40px); font-weight:600;}
  .final-cta p{margin-top:16px; color:rgba(255,255,255,0.78); font-size:17px;}
  .final-cta .hero-cta-row{justify-content:center; margin-top:32px;}

  /* ---------- Footer ---------- */
  .site-footer{padding:56px 0 40px; background:var(--cream);}
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
    padding-bottom:32px;
    border-bottom:1px solid var(--line);
  }
  .footer-tag{color:var(--sage); font-size:14.5px; margin-top:6px;}
  .footer-nav{display:flex; gap:28px; flex-wrap:wrap;}
  .footer-nav a{font-weight:600; font-size:14.5px; color:var(--sage); transition:color 200ms var(--ease);}
  .footer-nav a:hover{color:var(--forest);}
  .footer-bottom{
    padding-top:24px;
    font-size:13.5px;
    color:var(--sage-muted);
    text-align:center;
  }

  /* ---------- Reveal animation ---------- */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity 700ms var(--ease), transform 700ms var(--ease);}
  .reveal.is-visible{opacity:1; transform:translateY(0);}

  /* ---------- Mobile ---------- */
  @media (max-width: 940px){
    .hero-grid{grid-template-columns:1fr; gap:60px;}
    .hero h1{max-width:none;}
    .hero-visual{order:-1; min-height:380px;}
    .sobre-grid{grid-template-columns:1fr; gap:44px;}
    .sobre h2{max-width:none;}
    .feature-grid{grid-template-columns:repeat(2, 1fr);}
  }

  @media (max-width: 760px){
    .main-nav{
      position:fixed;
      top:78px;
      left:0;
      right:0;
      height:calc(100dvh - 78px);
      background:var(--cream);
      flex-direction:column;
      align-items:stretch;
      padding:20px 24px;
      gap:6px;
      transform:translateY(-12px);
      opacity:0;
      pointer-events:none;
      transition:opacity 220ms var(--ease), transform 220ms var(--ease);
      border-top:1px solid var(--line);
      overflow-y:auto;
    }
    .main-nav.open{opacity:1; transform:translateY(0); pointer-events:auto;}
    .main-nav a{padding:16px 14px; font-size:17px; border-radius:14px;}
    .header-actions .btn-primary{display:none;}
    .main-nav .mobile-cta{display:flex; margin-top:10px;}
    .nav-toggle{display:flex;}

    .hero{padding:44px 0 64px;}
    .feature-grid{grid-template-columns:1fr;}
    .plans-grid{grid-template-columns:1fr;}
    .sobre-stats{grid-template-columns:1fr 1fr;}
    .footer-top{flex-direction:column; align-items:flex-start;}
    .mock-float-card{right:6px;}
  }

  @media (max-width: 420px){
    .hero-cta-row .btn{width:100%;}
    .hero-cta-row{flex-direction:column; align-items:stretch;}
  }

/* ============ CHECKOUT ============ */
.checkout-body{background:var(--sage-bg); min-height:100vh;}
.checkout-wrap{max-width:1040px; margin:0 auto; padding:40px 24px 80px;}
.checkout-back{display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--sage); margin-bottom:28px;}
.checkout-back:hover{color:var(--forest);}
.checkout-grid{display:grid; grid-template-columns:0.85fr 1.15fr; gap:32px; align-items:start;}

.co-summary{
  background:var(--forest-deep); color:var(--white); border-radius:var(--radius-lg);
  padding:32px 28px; position:sticky; top:24px;
}
.co-summary .plan-name{color:var(--mint);}
.co-summary .amount{font-family:var(--font-display); font-size:36px; font-weight:600; color:var(--white);}
.co-summary .period{color:rgba(255,255,255,0.65); font-size:14px;}
.co-summary p{color:rgba(255,255,255,0.78); font-size:14px; margin-top:10px; line-height:1.55;}
.co-summary ul{list-style:none; padding:0; margin:22px 0 0; display:flex; flex-direction:column; gap:12px;}
.co-summary li{display:flex; gap:10px; align-items:flex-start; font-size:13.5px; color:rgba(255,255,255,0.88);}
.co-summary .chk{width:18px; height:18px; border-radius:50%; background:rgba(255,255,255,0.14); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px;}
.co-summary .chk svg{width:10px; height:10px; color:var(--mint);}
.co-note{font-size:12px; color:rgba(255,255,255,0.55); margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,0.14);}

.co-form-card{background:var(--white); border-radius:var(--radius-lg); padding:32px 30px; box-shadow:var(--shadow-card);}
.co-form-card h1{font-family:var(--font-display); font-size:22px; color:var(--ink); margin:0 0 6px;}
.co-form-card .sub{color:var(--sage); font-size:14px; margin-bottom:26px;}
.co-field{margin-bottom:16px;}
.co-field label{display:block; font-size:13px; font-weight:600; color:var(--ink); margin-bottom:6px;}
.co-field input{
  width:100%; font-family:var(--font-body); font-size:14.5px; color:var(--ink);
  padding:11px 14px; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  background:var(--white); transition:border-color 150ms var(--ease);
}
.co-field input:focus{outline:none; border-color:var(--forest);}
.co-row-2{display:grid; grid-template-columns:1fr 1fr; gap:0 14px;}
.co-divider{border:none; border-top:1px solid var(--line); margin:24px 0 20px;}
.co-alert{background:#FBE9E7; color:#A6433A; border-radius:var(--radius-sm); padding:12px 14px; font-size:13.5px; font-weight:500; margin-bottom:18px;}
.co-alert-ok{background:var(--mint); color:var(--forest-deep);}
#cardPaymentBrick_container{margin-top:4px;}
.co-secure{display:flex; align-items:center; gap:7px; font-size:12px; color:var(--sage-muted); margin-top:18px;}
.co-secure svg{width:14px; height:14px; flex-shrink:0;}

.co-done{text-align:center; padding:20px 4px;}
.co-done svg{width:46px; height:46px; color:var(--forest); margin:0 auto 16px;}
.co-done h1{font-family:var(--font-display); font-size:22px; color:var(--ink);}
.co-done p{color:var(--sage); font-size:14.5px; margin-top:10px; line-height:1.6;}

@media (max-width: 820px){
  .checkout-grid{grid-template-columns:1fr;}
  .co-summary{position:static;}
}

/* ============ SHOWCASE (mockups de MacBook) ============ */
.showcase{padding:110px 0 40px;}
.showcase-intro{max-width:640px; margin:0 auto 88px; text-align:center;}
.showcase-intro h2{font-size:clamp(28px, 3.4vw, 40px); font-weight:600; margin-top:16px;}
.showcase-intro p{margin-top:16px; color:var(--sage); font-size:17px;}

.showcase-row{
  display:grid;
  grid-template-columns:0.92fr 1.08fr;
  gap:72px;
  align-items:center;
  margin-bottom:130px;
}
.showcase-row:last-child{margin-bottom:0;}
.showcase-row.reverse .showcase-copy{order:2;}
.showcase-row.reverse .showcase-visual{order:1;}

.showcase-copy h3{
  font-family:var(--font-display);
  font-size:clamp(24px, 2.6vw, 30px);
  font-weight:600;
  margin-top:16px;
  max-width:16ch;
}
.showcase-copy .lede{margin-top:16px; color:var(--sage); font-size:16px;}
.showcase-list{margin-top:24px; display:flex; flex-direction:column; gap:14px;}
.showcase-list li{display:flex; gap:12px; align-items:flex-start; font-size:15px; font-weight:600; color:var(--ink);}
.showcase-list .sobre-check{width:24px; height:24px;}
.showcase-list .sobre-check svg{width:13px; height:13px;}

/* MacBook frame */
.mac-wrap{position:relative; filter:drop-shadow(0 30px 50px rgba(35,50,47,0.28));}
.mac-frame{
  background:linear-gradient(180deg,#3a3a3a,#242424);
  border-radius:20px;
  padding:14px 14px 10px;
}
.mac-cam{width:6px; height:6px; border-radius:50%; background:#555; margin:0 auto 10px;}
.mac-screen{
  background:var(--cream);
  border-radius:6px;
  overflow:hidden;
  aspect-ratio:16/10.4;
}
.mac-base{
  height:14px;
  background:linear-gradient(180deg,#e2e2e2,#bcbcbc);
  border-radius:0 0 9px 9px;
  position:relative;
}
.mac-base::after{
  content:'';
  position:absolute;
  top:0; left:50%;
  transform:translateX(-50%);
  width:17%;
  height:100%;
  background:#a9a9a9;
  border-radius:0 0 7px 7px;
}

/* Mini app UI inside the screen */
.app-shell{display:flex; height:100%; width:100%;}
.app-sidebar{
  width:15%;
  background:var(--forest-deep);
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  padding:14px 0;
}
.app-sidebar .brand-mark{width:26px; height:26px; border-radius:8px;}
.app-sidebar .brand-mark svg{width:14px; height:14px;}
.app-nav-ico{
  width:28px; height:28px;
  border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.45);
}
.app-nav-ico svg{width:14px; height:14px;}
.app-nav-ico.active{background:rgba(255,255,255,0.16); color:#fff;}

.app-main{flex:1; padding:3.2% 3.6%; overflow:hidden;}
.app-topline{display:flex; justify-content:space-between; align-items:center; margin-bottom:3%;}
.app-title{font-family:var(--font-display); font-weight:600; font-size:clamp(11px,1.1vw,15px); color:var(--ink);}
.app-pill{font-size:clamp(7px,0.62vw,9.5px); font-weight:700; background:var(--mint); color:var(--forest-deep); padding:3px 9px; border-radius:100px; letter-spacing:.02em;}

/* Dashboard mockup */
.kpi-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:2.5%; margin-bottom:2.5%;}
.kpi-card{background:var(--white); border:1px solid var(--line); border-radius:8px; padding:2.2% 3%;}
.kpi-lab{font-size:clamp(6.5px,0.58vw,8.5px); color:var(--sage-muted); font-weight:700; text-transform:uppercase; letter-spacing:.03em;}
.kpi-val{font-family:var(--font-display); font-size:clamp(11px,1.15vw,15px); font-weight:600; color:var(--ink); margin-top:3px;}
.kpi-delta{font-size:clamp(6.5px,0.58vw,8.5px); color:var(--forest); font-weight:700; margin-top:2px;}

.chart-row{display:grid; grid-template-columns:1.5fr 1fr; gap:2.5%;}
.chart-card{background:var(--white); border:1px solid var(--line); border-radius:8px; padding:3%;}
.card-lab{font-size:clamp(6.5px,0.6vw,9px); font-weight:700; color:var(--sage); text-transform:uppercase; letter-spacing:.03em;}
.bars{display:flex; align-items:flex-end; gap:6%; height:44px; margin-top:8%;}
.bars span{flex:1; background:var(--mint); border-radius:3px 3px 0 0;}
.bars span.hi{background:var(--forest);}
.donut{width:38%; aspect-ratio:1; border-radius:50%; margin:8% auto 0; background:conic-gradient(var(--forest) 0 55%, var(--mint) 55% 80%, var(--sage-muted) 80% 92%, #ececec 92% 100%);}

/* Agenda mockup */
.agenda-toolbar{display:flex; gap:4%; margin-bottom:3%;}
.agenda-toolbar span{font-size:clamp(6.5px,0.6vw,9px); font-weight:700; padding:3px 9px; border-radius:100px; background:var(--white); border:1px solid var(--line); color:var(--sage);}
.agenda-toolbar span.active{background:var(--forest-deep); color:#fff; border-color:transparent;}
.agenda-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:2.2%;}
.agenda-col-lab{font-size:clamp(6px,0.55vw,8px); font-weight:700; color:var(--sage-muted); text-transform:uppercase; margin-bottom:6px; text-align:center;}
.agenda-block{background:var(--white); border:1px solid var(--line); border-left:3px solid var(--forest); border-radius:5px; padding:5% 6%; font-size:clamp(6.5px,0.6vw,8.5px); font-weight:700; color:var(--forest-deep); margin-bottom:8%;}
.agenda-block.muted{border-left-color:var(--sage-muted); color:var(--sage);}
.agenda-block.warn{border-left-color:#C98A3A; color:#8a5c1f;}
.agenda-block small{display:block; font-weight:600; color:var(--sage-muted); margin-top:2px;}

/* Financeiro mockup */
.fin-tabs{display:flex; gap:2%; margin-bottom:4%;}
.fin-tab{font-size:clamp(6.5px,0.6vw,9px); font-weight:700; padding:4px 11px; border-radius:100px; background:var(--white); border:1px solid var(--line); color:var(--sage);}
.fin-tab.active{background:var(--forest-deep); color:#fff; border-color:transparent;}
.fin-card{background:var(--white); border:1px solid var(--line); border-radius:8px; padding:4%; margin-bottom:3%;}
.cat-row{display:flex; align-items:center; gap:6%; margin-bottom:6%;}
.cat-row:last-child{margin-bottom:0;}
.cat-row .cat-name{font-size:clamp(6.5px,0.6vw,8.5px); font-weight:700; color:var(--ink); width:26%; flex-shrink:0;}
.cat-bar-track{flex:1; height:5px; background:var(--mint); border-radius:100px; overflow:hidden;}
.cat-bar-fill{height:100%; background:var(--forest); border-radius:100px;}

/* Pacientes mockup */
.pat-toolbar{display:flex; justify-content:space-between; align-items:center; margin-bottom:3%;}
.pat-search{font-size:clamp(6.5px,0.6vw,8.5px); color:var(--sage-muted); font-weight:600; background:var(--white); border:1px solid var(--line); border-radius:100px; padding:4px 10px;}
.pat-row{display:flex; align-items:center; gap:6%; background:var(--white); border:1px solid var(--line); border-radius:8px; padding:3% 4%; margin-bottom:3%;}
.pat-avatar{width:9%; aspect-ratio:1; border-radius:50%; background:var(--mint); color:var(--forest-deep); display:flex; align-items:center; justify-content:center; font-size:clamp(7px,0.65vw,9.5px); font-weight:700; flex-shrink:0;}
.pat-info{flex:1; min-width:0;}
.pat-name{font-size:clamp(7px,0.66vw,9.5px); font-weight:700; color:var(--ink);}
.pat-sub{font-size:clamp(6px,0.56vw,8px); color:var(--sage-muted); margin-top:2px;}
.pat-status{font-size:clamp(6px,0.56vw,8px); font-weight:700; padding:3px 8px; border-radius:100px; background:var(--mint); color:var(--forest-deep); flex-shrink:0;}
.pat-status.off{background:#F1EEE9; color:var(--sage-muted);}

/* Extra features grid (segunda leva de funcionalidades) */
.more-features{padding:40px 0 100px;}
.more-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;}

@media (max-width: 940px){
  .showcase-row{grid-template-columns:1fr; gap:40px;}
  .showcase-row.reverse .showcase-copy{order:0;}
  .showcase-row.reverse .showcase-visual{order:0;}
  .showcase-copy h3{max-width:none;}
  .more-grid{grid-template-columns:repeat(2, 1fr);}
}
@media (max-width: 760px){
  .showcase{padding:70px 0 20px;}
  .showcase-intro{margin-bottom:56px;}
  .showcase-row{margin-bottom:76px;}
  .more-grid{grid-template-columns:1fr;}
  .kpi-grid{grid-template-columns:repeat(2,1fr); row-gap:2.5%;}
}

/* ============ CRIAR CONTA ============ */
.cc-wrap{max-width:460px; margin:0 auto; padding:56px 24px 80px;}
.cc-brand{display:flex; justify-content:center; margin-bottom:36px;}
.cc-card{padding:36px 32px;}
.cc-state h1{font-family:var(--font-display); font-size:22px; color:var(--ink); margin:0 0 8px; text-align:center;}
.cc-state .sub{color:var(--sage); font-size:14.5px; text-align:center; margin-bottom:0;}
.cc-state#ccForm h1, .cc-state#ccForm .sub{text-align:left;}
.cc-state#ccForm .sub{margin-bottom:24px;}
#ccAlert{margin-bottom:18px;}

.cc-spinner{
  width:32px; height:32px; margin:0 auto 20px;
  border:3px solid var(--line);
  border-top-color:var(--forest);
  border-radius:50%;
  animation:cc-spin 0.8s linear infinite;
}
@keyframes cc-spin{to{transform:rotate(360deg);}}

#ccInvalid h1, #ccChecking h1{margin-top:4px;}
