:root{
  --bg:#0f1826;
  --surface:#121e2f;
  --card:#162235;
  --card2:#141f31;
  --text:#eef3ff;
  --muted:#a7b7d6;
  --line:rgba(255,255,255,.12);

  --header-bg:#0b0f18;
  --header-link:#ffffff;
  --footer-bg:rgba(10,15,24,.7);

  --brand:#0f2a44;      /* Sábio */
  --accent:#2e8b8b;     /* Cuidador */
  --accent2:#6a4c93;    /* Criador */

  --ok:#2f8f6b;
  --warn:#8a7b2e;
  --bad:#36428f;        /* sem vermelho */

  --radius:16px;
  --headerH:140px;
}

/* HOME PREMIUM */
:root{
  --bg0:#070b12;
  --bg1:#0b1022;
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);

  --cyan:#12d6ff;
  --violet:#7a2cff;

  --radius: 22px;
  --shadow: 0 22px 70px rgba(0,0,0,.55);
}


.home{ background: radial-gradient(1200px 600px at 70% 20%, rgba(122,44,255,.20), transparent 55%),
              radial-gradient(900px 520px at 25% 25%, rgba(18,214,255,.18), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1)); }

.wrap{
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section{ padding: 72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head{ margin-bottom: 28px; }
.section__head h2{
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.section__head p{ color: var(--muted); margin: 0; max-width: 64ch; }

/* HERO */
.hero{ position: relative; padding: 68px 0 22px; overflow:hidden; }
.hero__bg{
  position:absolute; inset:0;
  background: radial-gradient(900px 520px at 78% 30%, rgba(18,214,255,.12), transparent 60%),
              radial-gradient(900px 520px at 45% 5%, rgba(122,44,255,.14), transparent 55%);
  pointer-events:none;
}

.hero__wrap{
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
}

.chip{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: none;
  color: var(--muted);
  font-size: 13px;
}

.hero__title{
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__title span{
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle{
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 64ch;
  margin: 0 0 18px;
}

.hero__actions{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  text-decoration:none;
  font-weight: 650;
  color:#fff;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn--primary{
  border: none;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.btn--ghost{ background: rgba(255,255,255,.05); }
.btn--full{ width: 100%; padding: 12px 16px; }

.hero__trust{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.trust{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: none;
  min-width: 160px;
}
.trust__num{
  font-size: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.trust__txt{ color: var(--muted); font-size: 13px; margin-top: 2px; }

/* GLASS CARD */
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.glass__top{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--line);
}
.dot{ width:10px; height:10px; border-radius:999px; opacity:.9; }
.dot--c{ background: var(--cyan); }
.dot--v{ background: var(--violet); }
.dot--w{ background: rgba(255,255,255,.55); }
.glass__label{ margin-left: 6px; color: var(--muted); font-size: 13px; }

.meter{ padding: 14px 10px 8px; display:flex; flex-direction:column; gap: 12px; }
.meter__row{ display:flex; align-items:center; justify-content:space-between; color: var(--text); font-size: 13px; }
.meter__tag{
  font-size: 12px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,.04);
}
.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: none;
  overflow:hidden;
}
.bar i{
  display:block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.glass__cta{
  padding: 12px 10px 6px;
  border-top: 1px solid var(--line);
}
.glass__cta p{ color: var(--muted); margin: 0 0 10px; font-size: 13px; }

/* GRID */
.grid{display:grid;gap:16px}
.grid.cols-1{grid-template-columns:1fr}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr}
}

/* CARDS */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.video{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow:hidden;
  background: rgba(0,0,0,.25);
}
.video iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.form-embed{
  width:100%;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.form-embed iframe{
  width:100%;
  height:80vh;
  min-height:720px;
  border:0;
  display:block;
}
.card{
  background:var(--card);
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3{
  color:#fff;
  margin:0 0 8px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.card p{ color: var(--muted); margin:0; line-height: 1.55; }

.service-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(0,0,0,.4);
}

.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.service-modal.open {
  opacity: 1;
  visibility: visible;
}

.service-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-modal__content {
  position: relative;
  background: var(--card);
  border: none;
  border-radius: var(--radius);
  max-width: 90%;
  max-height: 80vh;
  width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.service-modal.open .service-modal__content {
  transform: scale(1);
}

.service-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.service-modal__close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.service-modal__title {
  color: var(--text);
  margin: 0 0 20px;
  padding: 24px 24px 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service-modal__body {
  color: var(--text);
  padding: 0 24px 24px;
  line-height: 1.6;
  font-size: 16px;
}

.service-modal__body b {
  color: var(--accent);
  font-weight: 600;
}

.service-modal__actions {
  padding: 20px 24px 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.service-modal__cta {
  flex: 1;
  min-width: 200px;
}

.service-modal__cancel {
  min-width: 100px;
}

@media (max-width: 768px) {
  .service-modal__content {
    width: 95%;
    max-height: 95vh;
    margin: 10px;
  }
  
  .service-modal__title {
    font-size: 20px;
    padding: 20px 20px 0;
  }
  
  .service-modal__body {
    padding: 0 20px 20px;
    font-size: 15px;
  }
  
  .service-modal__actions {
    padding: 16px 20px 20px;
    flex-direction: column;
  }
  
  .service-modal__cta,
  .service-modal__cancel {
    width: 100%;
    min-width: auto;
  }
  
  .service-modal__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* SPLIT */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split > div:first-child {
  display: flex;
  align-items: center;
}
.split > div:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote {
  padding: 18px;
  border-radius: var(--radius);
  background: radial-gradient(800px 420px at 20% 0%, rgba(18,214,255,.14), transparent 60%),
              radial-gradient(800px 420px at 80% 10%, rgba(122,44,255,.14), transparent 60%),
              rgba(255,255,255,.04);
  border: none;
  box-shadow: var(--shadow);
  margin: auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
}
.steps{ display:flex; flex-direction:column; gap: 12px; margin-top: 14px; }
.step{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: none;
}
.step__n{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: none;
  color:#fff;
  font-weight: 800;
}
.step p{ margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.quote__big{
  margin: 0 0 10px;
  color:#fff;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.quote__small{ margin: 0 0 14px; color: var(--muted); }

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
  margin:40px 0;
}

.gallery-item{
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--card);
  border: none;
  aspect-ratio: 4/3;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img{
  transform: scale(1.05);
}

@media (max-width:768px){
  .gallery-grid{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:16px;
    margin:30px 0;
  }
}

/* CTA FINAL */
.cta{
  padding: 34px 0 70px;
}
.cta__wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: none;
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
}
.cta h2{ color:#fff; margin:0 0 6px; letter-spacing:-0.02em; }
.cta p{ color: var(--muted); margin:0; }

/* RESPONSIVO */
@media (max-width: 980px){
  .hero__wrap{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .cta__wrap{ flex-direction: column; align-items: flex-start; }
  .wrap{ width: min(980px, calc(100% - 28px)); }
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 18% 0%, rgba(46,139,139,.18), transparent 60%),
    radial-gradient(900px 500px at 82% 18%, rgba(106,76,147,.18), transparent 55%),
    var(--bg);
  min-height:100vh;
  padding-top:var(--headerH);
}


img{max-width:100%;height:auto}

.container{max-width:1456px;margin:0 auto;padding:0 18px}
.section{padding:40px 0}
.section.slim{padding:24px 0}

/* Header */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--headerH);
  background:var(--header-bg);
  border-bottom:1px solid var(--line);
}

.header-container{
  max-width:100%;
  margin:0 auto;
  padding:16px 24px;
  height:100%;
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:center;
}

.header-logo img{
  height:90px;
  width:auto;
  max-height:90px;
  display:block;
  object-fit:contain;
}

.header-links{
  display:flex;
  align-items:center;
  gap:24px;
  margin:0;
  flex-wrap:nowrap;
}

.header-nav{
  display:flex;
  gap:24px;
  margin:0;
  flex-wrap:nowrap;
}

.header-nav a{
  color:var(--header-link);
  text-decoration:none;
  font-weight:700;
  font-size:20px;
  padding:6px 4px;
  white-space:nowrap;
}

.theme-toggle{
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;
}


.header-cta .btn-calculadora{
  padding:14px 22px;
  border-radius:999px;
  background:linear-gradient(135deg, #12d6ff, #7a2cff);
  color:#fff;
  font-weight:700;
  font-size:18px;
  text-decoration:none;
  white-space:nowrap;
}

.header-cta{margin-left:12px;display:flex;align-items:center;gap:10px}

@media (max-width:900px){
  .header-container{flex-wrap:wrap;justify-content:center;gap:16px;height:auto;padding:12px 16px}
  .header-logo{width:100%;display:flex;justify-content:center}
  .header-nav{width:100%;justify-content:center;flex-wrap:wrap}
  .header-cta{width:100%;display:flex;justify-content:center}
  body{padding-top:calc(var(--headerH) + 40px)}
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  text-decoration:none;
  font-weight: 650;
  color:#fff;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary{
  background: linear-gradient(90deg, #1EC6FF, #6A5CFF);
  color:var(--text);
  box-shadow:0 12px 30px rgba(30,198,255,.18);
  padding: 16px 22px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 900;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
}
.btn-outline{
  border-color:var(--line);
  color:var(--text);
  background:rgba(255,255,255,.03);
}
.btn-whatsapp{
  border:none;
  color:#fff;
  background:#25D366;
}
.btn-whatsapp:hover{
  background:#20BD5A;
}
.btn-format-whatsapp{
  border-radius: 999px !important;
}
.btn-calc{
  padding: 12px 18px;
  min-height: auto;
}
.btn svg{width:20px;height:20px;margin-right:8px}

.badge{display:inline-block;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);font-size:12px;font-weight:700;color:var(--muted)}

/* Header */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--headerH);
  background:var(--header-bg);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.site-header .inner{
  height:100%;
  display:flex;
  align-items:center;
  gap:18px;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);flex:0 0 auto;align-self:center}
.brand img{width:140px;height:140px;border-radius:0;background:transparent;border:0;padding:0;object-fit:contain;display:block}

.nav{display:flex;align-items:center;gap:22px;flex-wrap:nowrap;justify-content:center;min-width:0;flex:1 1 auto}
.nav a{color:var(--text);text-decoration:none;font-weight:800;font-size:20px;padding:12px 4px;white-space:nowrap}
.nav a:hover{opacity:.9}

.menu-toggle{display:none;background:transparent;border:0;color:var(--text);font-weight:800;font-size:22px}

.site-header .btn.btn-primary{white-space:nowrap;font-size:18px;padding:16px 22px;margin-left:8px;flex:0 0 auto}
.mobile-nav{display:none}

@media (max-width:900px){
  .nav{display:none}
  .menu-toggle{display:inline-flex}
  .mobile-nav{display:none;position:absolute;top:var(--headerH);left:0;right:0;background:rgba(10,15,24,.95);border-bottom:1px solid var(--line)}
  .mobile-nav.open{display:block}
  .mobile-nav a{display:block;padding:16px 18px;border-top:1px solid var(--line);color:var(--text);text-decoration:none;font-size:16px}
  .mobile-nav .cta{padding:18px 18px}
}

/* Hero */
.hero{padding:36px 0 24px}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}

/* Footer */
.footer-credit{
  padding:10px 0;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}
.footer-credit a{color:var(--text);text-decoration:none}
.footer-credit img{height:72px;width:auto;vertical-align:middle;margin-left:6px}
.site-footer{border-top:1px solid var(--line);background:var(--footer-bg);padding:26px 0;margin-top:40px}
.site-footer a{color:var(--text);text-decoration:none}
.site-footer p{margin:6px 0}

.cookie-banner{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:2000;
  background:var(--card2);
  border:1px solid var(--line);
  color:var(--text);
  border-radius:14px;
  padding:18px 20px;
  box-shadow:0 22px 60px rgba(0,0,0,.32);
}
.cookie-banner__content{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cookie-banner__text{font-size:15px;color:var(--text);font-weight:700}
.cookie-banner__actions{display:flex;gap:8px;align-items:center}
.cookie-banner__btn{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  background:linear-gradient(90deg, var(--brand), var(--accent));
  color:#fff;
}
.cookie-banner__btn--ghost{
  background:transparent;
  border:none;
  color:var(--text);
}

.cookie-modal{
  position:fixed;
  inset:0;
  z-index:2100;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.cookie-modal__card{
  width:min(520px, 100%);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.cookie-modal__title{margin:0 0 8px;font-size:18px;color:var(--text)}
.cookie-modal__desc{margin:0 0 12px;color:var(--muted);font-size:13px}
.cookie-list{display:grid;gap:10px;margin:10px 0 14px}
.cookie-item{display:flex;gap:10px;align-items:flex-start}
.cookie-item input{margin-top:2px;accent-color:#7a2cff}
.cookie-modal__actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}

/* Contato */
.contact-card{padding:22px;width:65%;margin:0 auto}
.contact-form{display:grid;gap:14px}
.contact-form .badge{margin-bottom:6px;display:inline-block}
.contact-field label{display:block;font-weight:800;font-size:14px;color:var(--text);margin-bottom:6px}
.contact-field input,
.contact-field textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-family:inherit;
  outline:none;
}
.contact-field textarea{resize:vertical;min-height:140px}
.contact-submit{
  border:0;
  border-radius:14px;
  padding:14px 16px;
  font-weight:900;
  font-size:16px;
  color:#fff;
  cursor:pointer;
  background:linear-gradient(90deg, #6d34ff, #22c2ff);
  box-shadow:0 16px 40px rgba(0,0,0,.25);
}
.contact-status{font-size:12px;margin-top:6px}

.social-card{padding:22px;width:65%;margin:20px auto 0}
.social-list{display:grid;gap:10px;margin-top:10px}
.social-icons{display:flex;gap:12px;flex-wrap:wrap}
.social-item{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  text-decoration:none;
  transition:transform .12s ease, box-shadow .12s ease;
}
.social-item svg{width:20px;height:20px}
.social-item:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(0,0,0,.20)}

@keyframes fillPulse{
  0%{width:0%;opacity:0.3}
  50%{width:100%;opacity:1}
  100%{width:0%;opacity:0.3}
}

@keyframes colorFlow{
  0%{background-position:0% 50%}
  100%{background-position:200% 50%}
}

@keyframes blink{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.7;transform:scale(1.05)}
}

@keyframes buttonGlow{
  0%,100%{box-shadow:0 4px 15px rgba(37,211,102,0.3);transform:translateY(0)}
  50%{box-shadow:0 6px 25px rgba(37,211,102,0.5);transform:translateY(-2px)}
}

@keyframes colorPulse{
  0%,100%{
    background-position:0% 50%;
    filter:brightness(1) saturate(1);
  }
  50%{
    background-position:100% 50%;
    filter:brightness(1.3) saturate(1.2);
  }
}

/* Calculator specific */
.calc-wrap{max-width:980px;margin:0 auto;padding:18px}
.calc-card{border:1px solid var(--line);background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));box-shadow:0 18px 60px rgba(0,0,0,.35);border-radius:16px;padding:16px;margin-bottom:14px}

.calc-topnote{background: rgba(15,42,68,.35);border:1px solid rgba(15,42,68,.55);border-radius:14px;padding:12px 14px;color:var(--text);font-size:13px;line-height:1.45;margin-bottom:14px}

.calc-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:760px){ .calc-grid2{grid-template-columns:1fr} }
.calc-field label{display:block;color:var(--muted);font-size:12px;margin:0 0 6px}
.calc-field input{width:100%;border-radius:14px;border:1px solid var(--line);background: rgba(255,255,255,.03);color:var(--text);padding:12px;outline:none}

.calc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.calc-btn{border:0;border-radius:14px;padding:16px 22px;font-weight:900;font-size:16px;cursor:pointer;font-family:inherit;transition:transform .08s ease, opacity .12s ease;white-space:nowrap}
.calc-btn.primary{background: linear-gradient(90deg, var(--brand), var(--accent));color:var(--text)}
.calc-btn.ghost{background: rgba(255,255,255,.03);border:none;color:var(--text)}

.calc-progress{margin:10px 0 14px}
.calc-bar{height:14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);overflow:hidden}
.calc-bar>div{height:100%;width:0%;background: linear-gradient(90deg, var(--brand), var(--accent), var(--accent2));transition:width .2s ease}

.calc-q{padding:14px 0;border-top:1px solid var(--line);scroll-margin-top:18px}
.calc-q:first-child{border-top:0}
.calc-qTitle{margin:0 0 10px;font-weight:800;font-size:13px;line-height:1.45}

.calc-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;align-items:stretch}
@media (max-width:760px){ .calc-scale{grid-template-columns:1fr} }
.calc-tick{ text-align:center;padding:10px 8px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.03);min-height:62px;display:flex;flex-direction:column;justify-content:center;gap:8px;cursor:pointer;transition:transform .08s ease,border-color .12s ease }
.calc-tick input:checked + span{color:var(--text);font-weight:700}
.calc-opt input:checked ~ b{color:var(--text);font-weight:700}
.calc-tick input:checked{accent-color:#25D366}
.calc-opt input:checked{accent-color:#25D366}
.calc-tick:hover{border-color: rgba(156,199,255,.35)}
.calc-tick input:checked ~ .calc-tick{border-color:#25D366;background:rgba(37,211,102,.1)}
.calc-opt input:checked ~ .calc-opt{border-color:#25D366;background:rgba(37,211,102,.1)}
.calc-tick input{width:18px;height:18px;accent-color:#9cc7ff;margin:0 auto;cursor:pointer}
.calc-tick span{font-size:11px;color:var(--muted);line-height:1.1}

.calc-optGrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:760px){ .calc-optGrid{grid-template-columns:1fr} }
.calc-opt{border:1px solid var(--line);background: rgba(255,255,255,.03);border-radius:14px;padding:10px 12px;display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.calc-opt input{accent-color:#9cc7ff;margin-top:2px}
.calc-opt b{font-size:13px}

.calc-warn{display:none;margin-top:12px;color:#ffd0d0;background:rgba(106,76,147,.2);border:1px solid rgba(106,76,147,.35);padding:10px 12px;border-radius:14px;font-size:13px;line-height:1.35}

.calc-pill{display:inline-block;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);font-weight:900;font-size:12px}
.calc-resultTop{display:grid;grid-template-columns:1.25fr .75fr;gap:12px}
@media (max-width:760px){ .calc-resultTop{grid-template-columns:1fr} }

.class-ruim{background-color:#EF4444;color:#fff;border-color:#EF4444}
.class-muito-baixo{background-color:#F97316;color:#fff;border-color:#F97316}
.class-baixo{background-color:#F59E0B;color:#fff;border-color:#F59E0B}
.class-ok{background-color:#3B82F6;color:#fff;border-color:#3B82F6}
.class-boa{background-color:#22C55E;color:#fff;border-color:#22C55E}
.class-otima{background-color:#16A34A;color:#fff;border-color:#16A34A}
.calc-scoreNum{font-size:44px;font-weight:950;margin:10px 0}

.calc-bar2{position:relative;height:14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);overflow:hidden}
.calc-bar2>div{height:100%;width:0%;background:linear-gradient(90deg, var(--bad), var(--warn), var(--ok));transition:width .2s ease}
.calc-avgLine{position:absolute;top:0;bottom:0;width:2px;background:rgba(232,238,252,.85);box-shadow:0 0 0 1px rgba(11,15,24,.55);pointer-events:none;left:0%}
.calc-avgLegend{display:flex;gap:8px;align-items:center;margin-top:8px;color:var(--muted);font-size:12px;line-height:1.3}
.calc-avgDot{width:8px;height:8px;border-radius:999px;background:rgba(232,238,252,.85);box-shadow:0 0 0 1px rgba(255,255,255,.12);flex:0 0 auto}

.calc-mini{color:var(--muted);font-size:12px;line-height:1.45}
.calc-dimGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
@media (max-width:760px){ .calc-dimGrid{grid-template-columns:1fr} }
.calc-dimCard{border:1px solid var(--line);background:rgba(255,255,255,.03);border-radius:14px;padding:12px}
.calc-dimHead{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.calc-dimHead b{font-size:13px}

.calc-hintBox{margin-top:12px;border:1px solid var(--line);background:rgba(255,255,255,.03);border-radius:14px;padding:12px;font-size:13px;line-height:1.45}

.calc-nextFocus{outline:3px solid rgba(156,199,255,.16);border-radius:14px;padding-left:10px;padding-right:10px;margin-left:-10px;margin-right:-10px}

.calc-nextAction{margin-top:26px;padding-top:18px;border-top:1px solid var(--line);text-align:center}
.calc-nextAction .nextLabel{font-weight:900;letter-spacing:.3px;margin-bottom:12px;font-size:18px;color:var(--text)}
.calc-nextBtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:18px 40px;font-weight:900;font-size:16px;letter-spacing:.6px;text-transform:uppercase;border:0;cursor:pointer;color:var(--text);background: linear-gradient(90deg, var(--brand), var(--accent));box-shadow:0 14px 40px rgba(11,106,134,.18);text-decoration:none;white-space:nowrap}

/* Menu Hambúrguer Mobile */
.menu-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:44px;
  height:44px;
  background:transparent;
  border:1px solid var(--line);
  border-radius:12px;
  cursor:pointer;
  padding:8px;
  gap:4px;
}

.menu-toggle span{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition:transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1){
  transform:rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3){
  transform:rotate(-45deg) translate(7px, -6px);
}

.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.mobile-nav{
  display:none;
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:2000;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.open{
  opacity:1;
  visibility:visible;
}

.mobile-nav__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}

.mobile-nav__drawer{
  position:fixed;
  top:var(--headerH);
  right:0;
  width:280px;
  max-width:85vw;
  height:calc(100vh - var(--headerH));
  background:var(--header-bg);
  border-left:1px solid var(--line);
  border-top:1px solid var(--line);
  transform:translateX(100%);
  transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top:20px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  z-index:2001;
}

.mobile-nav.open .mobile-nav__drawer{
  transform:translateX(0);
}

.mobile-nav nav{
  display:flex;
  flex-direction:column;
  padding:20px 0;
}

.mobile-nav a{
  display:block;
  padding:20px 24px;
  color:var(--text);
  text-decoration:none;
  font-size:16px;
  font-weight:600;
  border-bottom:1px solid var(--line);
  transition:background-color 0.2s ease;
  min-height:52px;
  line-height:1.3;
  position:relative;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.mobile-nav a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:-2px;
  outline-offset:0;
}

.mobile-nav__cta{
  padding:24px;
  border-top:1px solid var(--line);
  margin-top:8px;
  background:rgba(255,255,255,0.02);
}

.mobile-nav__cta .btn-calculadora{
  display:block;
  width:100%;
  padding:18px 24px;
  text-align:center;
  font-size:16px;
  font-weight:700;
  border-radius:12px;
  background:linear-gradient(135deg, #12d6ff, #7a2cff);
  color:#fff;
  text-decoration:none;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow:0 4px 12px rgba(18,214,255,0.2);
}

.mobile-nav__cta .btn-calculadora:hover,
.mobile-nav__cta .btn-calculadora:focus-visible{
  transform:translateY(-1px);
  filter:brightness(1.1);
  box-shadow:0 6px 20px rgba(18,214,255,0.3);
}

.mobile-nav__cta .btn-calculadora:focus-visible{
  outline:2px solid #fff;
  outline-offset:2px;
}

/* Scroll lock quando menu está aberto */
body.menu-open{
  overflow:hidden;
  position:fixed;
  width:100%;
}

/* Responsive */
@media (max-width:900px){
  .header-container{
    flex-wrap:nowrap;
    justify-content:space-between;
    height:auto;
    padding:12px 16px;
    gap:16px;
    min-height:80px;
    align-items:center;
  }
  
  .header-logo{
    flex:1;
    display:flex;
    align-items:center;
  }
  
  .header-logo img{
    height:50px;
    max-height:50px;
  }
  
  .header-links{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:12px;
  }
  
  .header-nav{
    display:none;
  }
  
  .header-cta{
    display:none;
  }
  
  .menu-toggle{
    display:flex;
  }
  
  .mobile-nav{
    display:block;
  }
  
  body{
    padding-top:80px;
  }
  
  .site-header{
    height:80px;
    min-height:80px;
  }

  /* Otimizações de tipografia mobile */
  .hero__title{
    font-size:clamp(28px, 5vw, 42px);
    line-height:1.1;
    margin:12px 0 8px;
  }

  .hero__subtitle{
    font-size:15px;
    line-height:1.5;
    margin:0 0 16px;
  }

  .section__head h2{
    font-size:clamp(20px, 4vw, 28px);
    line-height:1.2;
  }

  .section__head p{
    font-size:14px;
    line-height:1.5;
  }

  .card h3{
    font-size:15px;
    line-height:1.3;
  }

  .card p{
    font-size:14px;
    line-height:1.5;
  }

  /* Inputs e botões com font-size >= 16px para evitar zoom no iOS */
  input, textarea, select, button{
    font-size:16px;
    min-height:44px;
  }

  .btn{
    font-size:16px;
    padding:14px 20px;
    min-height:48px;
  }

  .btn--primary{
    font-size:16px;
    padding:14px 20px;
  }

  .btn--ghost{
    font-size:16px;
    padding:14px 20px;
  }

  /* Evitar overflow horizontal */
  .wrap, .container{
    width:100%;
    padding-left:16px;
    padding-right:16px;
    box-sizing:border-box;
  }

  /* Melhorar espaçamento em cards */
  .card{
    padding:16px;
    margin-bottom:12px;
  }

  /* Hero adjustments */
  .hero{
    padding:40px 0 20px;
  }

  .hero__actions{
    gap:12px;
    margin:16px 0;
  }

  .hero__actions .btn{
    flex:1;
    justify-content:center;
    min-width:0;
  }

  /* Trust indicators */
  .trust{
    min-width:120px;
    padding:10px 12px;
  }

  .trust__num{
    font-size:16px;
  }

  .trust__txt{
    font-size:12px;
  }

  /* Section spacing */
  .section{
    padding:48px 0;
  }

  .section--alt{
    padding:48px 0;
  }

  /* CTA section */
  .cta__wrap{
    padding:16px;
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .cta h2{
    font-size:clamp(20px, 4vw, 26px);
    line-height:1.2;
  }

  .cta p{
    font-size:14px;
    line-height:1.5;
  }

  /* Steps */
  .step{
    padding:12px;
  }

  .step__n{
    width:32px;
    height:32px;
    font-size:14px;
  }

  .step p{
    font-size:12px;
    margin-top:4px;
  }

  /* Quote */
  .quote{
    padding:16px;
    max-width:100%;
    box-sizing:border-box;
    margin:16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quote__big{
    font-size:16px;
    line-height:1.4;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  .quote__small{
    font-size:12px;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  .quote .btn{
    font-size:14px;
    padding:12px 20px;
    white-space:normal;
    text-align:center;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    display:block;
  }

  /* Glass card adjustments */
  .glass{
    padding:12px;
    max-width:100%;
    box-sizing:border-box;
  }

  .meter__row{
    font-size:12px;
  }

  .meter__tag{
    font-size:11px;
    padding:3px 8px;
  }

  /* Cards responsivos */
  .card{
    padding:16px;
    margin-bottom:12px;
    max-width:100%;
    box-sizing:border-box;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  .card h3{
    font-size:15px;
    line-height:1.3;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  .card p{
    font-size:14px;
    line-height:1.5;
    word-wrap:break-word;
    overflow-wrap:break-word;
  }

  /* Hero adjustments */
  .hero__wrap{
    gap:24px;
  }

  .glass__cta{
    padding:12px;
  }

  .glass__cta p{
    font-size:12px;
    margin-bottom:8px;
  }

  .glass__cta .btn{
    font-size:14px;
    padding:12px 16px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* Trust indicators */
  .hero__trust{
    gap:12px;
  }

  .trust__num{
    font-size:18px;
  }

  .trust__txt{
    font-size:11px;
  }

  /* Footer */
  .footer-credit{
    font-size:12px;
    padding:8px 0;
  }

  .footer-credit img{
    height:48px;
    width:auto;
  }
}

/* Extra small screens */
@media (max-width:480px){
  .wrap{
    width:calc(100% - 20px);
    padding:0 10px;
  }

  .glass{
    padding:10px;
  }

  .card{
    padding:14px;
  }

  .card h3{
    font-size:14px;
  }

  .card p{
    font-size:13px;
  }

  .glass__cta{
    padding:10px;
  }

  .glass__cta p{
    font-size:11px;
  }

  .glass__cta .btn{
    font-size:13px;
    padding:10px 14px;
  }

  .hero__trust{
    gap:8px;
  }

  .trust__num{
    font-size:16px;
  }

  .trust__txt{
    font-size:10px;
  }

  .meter{
    padding:10px 8px 6px;
    gap:8px;
  }

  .meter__row{
    font-size:11px;
  }

  .meter__tag{
    font-size:10px;
    padding:2px 6px;
  }

  /* Quote adjustments for very small screens */
  .quote{
    padding:14px;
    margin:12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quote__big{
    font-size:15px;
    line-height:1.3;
  }

  .quote__small{
    font-size:11px;
  }

  .quote .btn{
    font-size:13px;
    padding:10px 16px;
    white-space:normal;
    text-align:center;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    display:block;
    min-height:44px;
  }
}

/* iOS Safari optimizations */
@supports (-webkit-touch-callout: none){
  .mobile-nav__drawer{
    top:calc(80px + env(safe-area-inset-top));
    height:calc(100vh - 80px - env(safe-area-inset-top));
    padding-top:calc(20px + env(safe-area-inset-top));
  }
  
  .mobile-nav a{
    min-height:48px;
    padding:18px 24px;
  }
  
  .menu-toggle{
    min-height:48px;
    min-width:48px;
  }

  .site-header{
    padding-top:env(safe-area-inset-top);
  }

  body{
    padding-top:calc(80px + env(safe-area-inset-top));
  }
}
