/* CardMei Landing Page — estatica, CSP-compativel, zero JS */
/* Carregada via <link>, sem unsafe-inline */

/* === Root variables === */
:root {
  --brand: #00897b;
  --brand-dark: #00695c;
  --brand-light: #4db6ac;
  --brand-bg: #e0f2f1;
  --brand-border: #b2dfdb;
}

/* === Reset & Base === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;scroll-behavior:smooth}
body{margin:0;padding:0;font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;font-size:1rem;line-height:1.6;color:#1a1a1a;background:#fff;min-height:100vh;min-width:360px}
::selection{background:#b2dfdb;color:#1a1a1a}
:focus-visible{outline:2px solid #00897b;outline-offset:2px;border-radius:2px}

/* === Skip link (acessibilidade) === */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:100;background:#00897b;color:#fff;font-weight:600;font-size:0.875rem;text-decoration:none}
.skip-link:focus{position:fixed;left:0;top:0;width:auto;height:auto;overflow:visible;padding:12px 24px;outline:none}

/* === Hero === */
.hero{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;padding:100px 24px 80px;max-width:640px;margin:0 auto;background:linear-gradient(180deg,#eef6f5 0%,#fff 100%)}
.hero::before{content:'';position:absolute;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle,rgba(0,137,123,0.04) 0%,transparent 70%);top:-140px;right:-120px;pointer-events:none}
.hero::after{content:'';position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(77,182,172,0.04) 0%,transparent 70%);bottom:-100px;left:-120px;pointer-events:none}
.hero>*{position:relative;z-index:1}
.hero h1{font-size:2.5rem;font-weight:700;line-height:1.15;letter-spacing:-0.03em;margin-bottom:16px;color:#000}
.hero h1 span{color:#00897b}
.hero p{font-size:1.125rem;color:#555;max-width:520px;margin-bottom:32px}
.hero-cta{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;font-size:1.125rem;font-weight:600;color:#fff;background:#00897b;border:none;border-radius:10px;text-decoration:none;cursor:pointer;box-shadow:0 2px 8px rgba(0,137,123,0.2);transition:background .2s,box-shadow .2s,transform .2s}
.hero-cta:hover{background:#00695c;box-shadow:0 4px 12px rgba(0,137,123,0.3);transform:translateY(-1px)}
.hero-cta-sub{display:block;margin-top:12px;font-size:0.875rem;color:#999}
.hero-badge{display:inline-block;padding:6px 16px;border-radius:20px;background:#e0f2f1;color:#00897b;font-size:0.8125rem;font-weight:600;margin-bottom:24px}

/* === Section common === */
.section{padding:64px 24px;max-width:960px;margin:0 auto}
.section-title{text-align:center;font-size:1.75rem;font-weight:700;letter-spacing:-0.02em;margin-bottom:48px;color:#000}
.section-title span{color:#00897b}

/* === Features grid === */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.feature{background:#fff;border:1px solid #edeff0;border-radius:12px;padding:32px 24px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,0.04);transition:transform .25s,box-shadow .25s}
.feature:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.07)}
.feature-icon{width:48px;height:48px;border-radius:12px;background:#e0f2f1;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;font-size:1.5rem}
.feature h3{font-size:1.125rem;font-weight:600;margin-bottom:8px;color:#000}
.feature p{font-size:0.9375rem;color:#666;line-height:1.5}

/* === How it works === */
.steps{display:grid;grid-template-columns:repeat(3,1fr);counter-reset:step;max-width:720px;margin:0 auto}
.step{text-align:center;position:relative}
.step::before{counter-increment:step;content:counter(step);display:flex;width:40px;height:40px;border-radius:50%;background:#00897b;color:#fff;font-weight:700;font-size:1rem;align-items:center;justify-content:center;margin:0 auto 16px;position:relative;z-index:1}
.step::after{content:'';position:absolute;top:20px;left:calc(50% + 30px);right:calc(-50% + 30px);height:2px;background:#b2dfdb;z-index:0}
.step:last-child::after{display:none}
.step h3{font-size:1rem;font-weight:600;margin-bottom:6px;color:#000}
.step p{font-size:0.875rem;color:#666;padding:0 16px}

/* === Beta CTA === */
.beta{background:#00897b;text-align:center;padding:64px 24px;margin:0}
.beta h2{font-size:1.75rem;font-weight:700;color:#fff;margin-bottom:12px}
.beta p{font-size:1.125rem;color:#e0f2f1;max-width:480px;margin:0 auto 32px}
.beta-cta{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;font-size:1.125rem;font-weight:600;color:#00897b;background:#fff;border:none;border-radius:10px;text-decoration:none;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,0.1);transition:background .2s,box-shadow .2s,transform .2s}
.beta-cta:hover{background:#e0f2f1;box-shadow:0 4px 12px rgba(0,0,0,0.15);transform:translateY(-1px)}
.beta-note{display:block;margin-top:12px;font-size:0.8125rem;color:#b2dfdb}

/* === Security blurb === */
.security{text-align:center;padding:40px 24px;background:#f8f9fa;border-top:1px solid #edeff0}
.security p{font-size:0.8125rem;color:#999;max-width:560px;margin:0 auto;line-height:1.5}

/* === Footer === */
.footer{text-align:center;padding:32px 24px;font-size:0.8125rem;color:#999}
.footer a{color:#00897b;text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer-links{display:flex;justify-content:center;gap:24px;margin-bottom:12px;flex-wrap:wrap}

/* === Responsive === */
@media(max-width:600px){
  .hero{padding:60px 20px 40px}
  .hero h1{font-size:1.75rem}
  .hero p{font-size:1rem}
  .section{padding:48px 20px}
  .section-title{font-size:1.375rem;margin-bottom:32px}
  .steps{grid-template-columns:1fr;gap:32px}
  .step::after{display:none}
  .beta h2{font-size:1.375rem}
}
