/* ============================================
   Elso Prime RH - Página Institucional
   RH SaaS Premium (CSS LIMPO + RESPONSIVO)
   CORES REAIS:
   - Azul logo:  #0A2A43
   - Dourado:    #D9A441
   TIPOGRAFIA:
   - Plus Jakarta Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --primary-color:#0A2A43;
  --secondary-color:#0A3A66;

  --accent-color:#D9A441;
  --accent-soft:rgba(217,164,65,.14);
  --accent-ring:rgba(217,164,65,.18);

  --bg:#FFFFFF;
  --light-bg:#F5F7FA;
  --surface:#FFFFFF;

  --text-dark:#0F172A;
  --text-light:#475569;
  --nav-ink:#223548;

  --border-color:rgba(15,35,55,.10);

  --shadow-xs:0 6px 14px rgba(15,35,55,.06);
  --shadow-sm:0 10px 22px rgba(15,35,55,.08);
  --shadow-md:0 18px 42px rgba(15,35,55,.12);

  --radius-sm:12px;
  --radius-md:16px;
  --radius-pill:999px;

  --transition:all .22s ease;

  --nav-primary:var(--primary-color);

  --font-sans:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Sans","Liberation Sans",sans-serif;
  --fw-regular:400;
  --fw-medium:500;
  --fw-semibold:600;
  --fw-bold:700;
  --fw-extrabold:800;

  --container:1200px;

  --footer-col-max:460px;
  --footer-mobile-pad:26px;

  --header-offset:96px;
  --anchor-shift:92px;

  --logo-filter:brightness(.98) contrast(1.08) saturate(1.10);

  --phone-h:460px;
}

@media (max-width:768px){
  :root{
    --header-offset:92px;
    --anchor-shift:86px;
  }
}

@media (max-width:520px){
  :root{
    --header-offset:84px;
    --anchor-shift:78px;
    --footer-mobile-pad:22px;
    --logo-filter:brightness(.99) contrast(1.06) saturate(1.08);
  }
}

*{margin:0;padding:0;box-sizing:border-box;}

html{
  scroll-behavior:smooth;
  scroll-padding-top:var(--header-offset);
}

body{
  font-family:var(--font-sans);
  font-weight:var(--fw-regular);
  line-height:1.65;
  font-size:16px;
  letter-spacing:-0.01em;
  color:var(--text-dark);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

section[id]{
  scroll-margin-top:calc(var(--header-offset) - var(--anchor-shift));
}

a{
  text-decoration:none;
  color:inherit;
  transition:var(--transition);
}

button{
  cursor:pointer;
  border:none;
  font-family:inherit;
  transition:var(--transition);
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

p,small{color:var(--text-light);}

h1,h2,h3,h4{
  color:var(--text-dark);
  line-height:1.12;
  letter-spacing:-0.035em;
}

h1,h2{font-weight:var(--fw-extrabold);}
h3{font-weight:var(--fw-bold);}
h4{font-weight:var(--fw-semibold);}

:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px var(--accent-ring);
  border-radius:10px;
}

/* ============================================
   HEADER + NAV
   ============================================ */

.header{
  position:sticky;
  top:0;
  z-index:1000;
}

.header.header-pill{
  background:var(--light-bg);
  padding:14px 0;
}

.navbar{padding:0;}

.header.header-pill .navbar .container{
  background:var(--surface);
  border:1px solid var(--border-color);
  border-radius:var(--radius-pill);
  min-height:76px;
  padding:12px 20px;
  box-shadow:var(--shadow-sm);

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  position:relative;
}

.navbar-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  min-width:max-content;
  padding-left:4px;
  line-height:1;
}

.nav-logo{
  width:clamp(170px, 13vw, 220px);
  height:auto;
  object-fit:contain;
  display:block;
  flex:0 0 auto;
  filter:var(--logo-filter);
  -webkit-filter:var(--logo-filter);
}

.nav-menu{
  display:flex;
  align-items:center;
  list-style:none;
  gap:14px;
  flex:1 1 auto;
  justify-content:center;
  min-width:0;
}

.nav-link{
  color:var(--nav-ink);
  font-weight:var(--fw-semibold);
  font-size:.95rem;
  padding:10px 9px;
  border-radius:12px;
  white-space:nowrap;
}

.nav-link:hover{
  background:rgba(10,58,102,.06);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.menu-toggle{
  display:none;
  flex-direction:column;
  background:none;
  gap:5px;
  margin-left:auto;
}

.menu-toggle span{
  width:26px;
  height:3px;
  border-radius:2px;
  background:var(--nav-ink);
}

.nav-actions-mobile{display:none;}

/* ============================================
   BOTÕES
   ============================================ */

.btn,
.nav-btn,
.form-submit,
.newsletter-form button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:46px;
  padding:0 18px;
  border-radius:var(--radius-pill);
  font-weight:var(--fw-bold);
  letter-spacing:-0.01em;
  line-height:1;
  white-space:nowrap;
  text-align:center;
  border:1px solid transparent;
  transition:var(--transition);
  will-change:transform;
}

.btn:hover,
.nav-btn:hover,
.form-submit:hover,
.newsletter-form button:hover{
  transform:translateY(-1px);
}

.btn-primary{
  background:var(--accent-color);
  color:var(--primary-color);
  box-shadow:0 14px 26px rgba(217,164,65,.20);
}

.btn-primary:hover{
  filter:brightness(1.04);
  box-shadow:0 18px 34px rgba(217,164,65,.26);
}

.btn-secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.28);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.36);
}

.nav-btn-ghost{
  background:#fff;
  border:1px solid rgba(15,35,55,.14);
  color:var(--nav-ink);
  min-width:84px;
  padding:0 16px;
  flex:0 0 auto;
}

.nav-btn-ghost:hover{
  background:rgba(10,58,102,.04);
  border-color:rgba(15,35,55,.20);
  box-shadow:var(--shadow-xs);
}

.nav-btn-primary{
  background:var(--nav-primary);
  border:1px solid rgba(10,42,67,.55);
  color:#fff;
  box-shadow:0 14px 28px rgba(10,42,67,.18);
  min-width:156px;
  padding:0 18px;
  flex:0 0 auto;
  font-size:.95rem;
}

.nav-btn-primary:hover{
  filter:brightness(1.06);
  box-shadow:0 18px 36px rgba(10,42,67,.22);
}

.nav-btn-primary:focus-visible{
  box-shadow:0 0 0 4px var(--accent-ring),0 18px 36px rgba(10,42,67,.22);
}

.form-submit{
  width:100%;
  background:var(--accent-color);
  color:var(--primary-color);
  box-shadow:0 14px 26px rgba(217,164,65,.20);
}

/* ============================================
   REGIÃO / PREÇOS
   ============================================ */

.nav-region-switch{
  display:flex;
  align-items:center;
  gap:4px;
  background:#f1f5f9;
  padding:4px;
  border-radius:999px;
  flex:0 0 auto;
}

.nav-region-link{
  min-width:40px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  color:#475569;
  text-decoration:none;
  transition:all .2s ease;
}

.nav-region-link:hover{
  background:rgba(0,0,0,.05);
}

.nav-region-link.is-active{
  background:#0f172a;
  color:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

.pricing-region-switch{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:20px 0 10px;
}

.region-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  background:#f1f5f9;
  color:#334155;
  text-decoration:none;
  border:1px solid transparent;
  transition:all .25s ease;
}

.region-tab:hover{
  background:#e2e8f0;
}

.region-tab.is-active{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.region-tab .flag{
  width:16px;
  height:16px;
  object-fit:cover;
  border-radius:50%;
  box-shadow:0 1px 4px rgba(0,0,0,.2);
}

.pricing-region-note{
  max-width:760px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--text-light);
  font-size:.96rem;
  line-height:1.7;
}

.price-btn-light{
  background:#fff;
  color:var(--primary-color);
  border:1px solid rgba(15,35,55,.14);
}

.price-btn-light:hover{
  background:rgba(10,58,102,.04);
  border-color:rgba(15,35,55,.20);
  box-shadow:var(--shadow-xs);
}

/* ============================================
   SEÇÕES
   ============================================ */

section{padding:84px 0;}

.section-title{
  text-align:center;
  margin-bottom:48px;
}

.section-title h2{
  font-size:clamp(1.65rem, 2.2vw, 2.45rem);
  color:var(--primary-color);
  margin-bottom:10px;
}

.section-title p{
  font-size:clamp(1rem, 1.1vw, 1.08rem);
  color:var(--text-light);
  max-width:680px;
  margin:0 auto;
}

.section-title::after{
  content:'';
  display:block;
  width:62px;
  height:3px;
  border-radius:999px;
  background:rgba(217,164,65,.90);
  margin:16px auto 0;
}

.section-soft{background:var(--light-bg);}

/* ============================================
   HERO
   ============================================ */

.hero{
  background:linear-gradient(135deg,var(--primary-color) 0%,var(--secondary-color) 100%);
  color:#fff;
  padding:112px 0;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;
  top:-80px;
  right:-80px;
  width:520px;
  height:520px;
  background:radial-gradient(circle, rgba(217,164,65,.16) 0%, rgba(217,164,65,0) 60%);
  border-radius:50%;
}

.hero .container{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:46px;
  align-items:center;
  position:relative;
  z-index:1;
}

.hero-content h1{
  font-size:clamp(2.05rem, 3.1vw, 3.15rem);
  margin-bottom:16px;
  line-height:1.08;
  letter-spacing:-0.045em;
  color:#fff;
}

.hero-content p{
  font-size:clamp(1.02rem, 1.1vw, 1.10rem);
  margin-bottom:26px;
  opacity:.95;
  color:rgba(255,255,255,.86);
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-badges{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.badge-pill{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  padding:8px 12px;
  border-radius:999px;
  font-size:.92rem;
  color:rgba(255,255,255,.92);
  font-weight:var(--fw-semibold);
}

/* ============================================
   HERO SHOWCASE
   ============================================ */

.hero-image{
  display:flex;
  align-items:center;
  justify-content:center;
}

.showcase{
  width:min(640px, 100%);
  margin-left:auto;
}

.showcase-stage{
  position:relative;
  width:100%;
  min-height:max(clamp(320px, 30vw, 480px), calc(var(--phone-h) + 20px));
  display:grid;
  place-items:center;
}

.showcase-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:translateY(6px) scale(.99);
  transition:opacity .28s ease, transform .28s ease;
  pointer-events:none;
}

.showcase-slide.is-active{
  opacity:1;
  transform:none;
  pointer-events:auto;
}

.showcase-img{
  width:100%;
  height:auto;
  display:block;
  max-width:100%;
  filter:drop-shadow(0 26px 70px rgba(0,0,0,.30));
}

.showcase-slide--phone .showcase-img{
  height:var(--phone-h);
  width:auto;
  max-width:100%;
  max-height:100%;
  flex:0 0 auto;
  object-fit:contain;
}

.showcase-dots{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:10px;
}

.showcase-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.30);
  box-shadow:0 10px 20px rgba(0,0,0,.18);
  transition:var(--transition);
}

.showcase-dot.is-active{
  width:18px;
  background:rgba(217,164,65,.95);
  border-color:rgba(217,164,65,.55);
  box-shadow:0 0 0 4px rgba(217,164,65,.14);
}

/* ============================================
   CARDS / FEATURES / BENEFITS / PRICING / FAQ / CONTACT
   ============================================ */

.feature-card,
.benefit,
.price-card,
.faq-item,
.contact-card{
  background:var(--surface);
  border:1px solid var(--border-color);
  border-radius:var(--radius-md);
  box-shadow:none;
}

.feature-card:hover,
.benefit:hover,
.price-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-sm);
}

.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:22px;
}

.feature-card{
  background:var(--light-bg);
  padding:32px;
  text-align:center;
  transition:var(--transition);
  border:1px solid rgba(15,35,55,.08);
}

.feature-icon{
  width:58px;
  height:58px;
  background:rgba(217,164,65,.95);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  font-size:1.75rem;
  color:var(--primary-color);
}

.feature-card h3{
  font-size:1.15rem;
  margin-bottom:10px;
  color:var(--primary-color);
}

.feature-card p{
  color:var(--text-light);
  line-height:1.75;
}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:18px;
}

.benefit{
  padding:24px;
  transition:var(--transition);
}

.benefit h3{
  color:var(--primary-color);
  margin-bottom:10px;
}

.benefit p{color:var(--text-light);}

.pill-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill-soft{
  background:rgba(2,6,23,.04);
  border:1px solid rgba(15,35,55,.10);
  padding:6px 10px;
  border-radius:999px;
  color:rgba(15,23,42,.88);
  font-weight:var(--fw-semibold);
  font-size:.88rem;
}

#beneficios .benefit{text-align:center;}

#beneficios .pill-row{
  gap:10px 14px;
  justify-content:center;
}

#beneficios .pill-soft{
  background:transparent;
  border:none;
  padding:0 0 0 14px;
  color:rgba(34,53,72,.62);
  font-weight:600;
  font-size:.88rem;
  letter-spacing:-0.01em;
  position:relative;
  border-radius:0;
  white-space:nowrap;
}

#beneficios .pill-soft::before{
  content:"✓";
  position:absolute;
  left:0;
  top:1px;
  color:rgba(217,164,65,.95);
  font-weight:900;
  font-size:.9rem;
}

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:22px;
}

.price-card{
  padding:26px;
  transition:var(--transition);
}

.price-card.featured{
  border:1px solid rgba(217,164,65,.55);
  box-shadow:0 14px 32px rgba(217,164,65,.10);
}

.price-tag{
  display:inline-block;
  background:var(--accent-soft);
  border:1px solid rgba(217,164,65,.20);
  color:var(--primary-color);
  padding:6px 10px;
  border-radius:999px;
  font-weight:var(--fw-bold);
  margin-bottom:12px;
}

.price-head h3{
  color:var(--primary-color);
  margin-bottom:6px;
}

.price-head p{color:var(--text-light);}

.price-amount{
  font-size:2.35rem;
  font-weight:var(--fw-extrabold);
  color:var(--primary-color);
  margin:18px 0 10px;
}

.price-amount span{
  font-size:1rem;
  font-weight:var(--fw-semibold);
  color:var(--text-light);
}

.price-note{
  background:rgba(10,42,67,.05);
  border-left:3px solid rgba(217,164,65,.90);
  padding:12px 14px;
  border-radius:12px;
  margin-bottom:14px;
  color:rgba(15,23,42,.90);
}

.price-list{
  list-style:none;
  margin:16px 0 22px;
}

.price-list li{
  padding:8px 0;
  border-bottom:1px solid rgba(15,35,55,.06);
  color:rgba(15,23,42,.88);
}

.price-list li:last-child{border-bottom:none;}

.price-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.faq-grid{
  max-width:900px;
  margin:0 auto;
  display:grid;
  gap:12px;
}

.faq-item{
  padding:14px 16px;
  background:#fff;
}

.faq-item summary{
  cursor:pointer;
  font-weight:var(--fw-bold);
  color:var(--primary-color);
  list-style:none;
}

.faq-item summary::-webkit-details-marker{display:none;}

.faq-item summary::after{
  content:"＋";
  float:right;
  color:rgba(217,164,65,.95);
  font-weight:var(--fw-extrabold);
}

.faq-item[open] summary::after{content:"－";}

.faq-item p{
  margin-top:10px;
  color:var(--text-light);
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:22px;
  align-items:start;
}

.contact-card{padding:26px;}

.contact-card h3{
  color:var(--primary-color);
  margin-bottom:8px;
}

.contact-card p{
  color:var(--text-light);
  margin-bottom:14px;
}

.contact-highlights{
  display:grid;
  gap:12px;
  margin:16px 0 20px;
}

.highlight b{
  display:block;
  color:var(--text-dark);
  font-weight:var(--fw-semibold);
}

.highlight span{color:var(--text-light);}

.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.form-group{margin-bottom:16px;}

.form-group label{
  display:block;
  margin-bottom:8px;
  font-weight:var(--fw-semibold);
  color:var(--text-dark);
}

.form-group input,
.form-group textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid rgba(15,35,55,.12);
  border-radius:14px;
  font-family:inherit;
  font-size:1rem;
  transition:var(--transition);
  background:#fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color:rgba(71,85,105,.65);
}

.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:rgba(15,35,55,.25);
  box-shadow:0 0 0 4px rgba(15,35,55,.08);
}

.form-group textarea{
  resize:vertical;
  min-height:150px;
}

.alert{
  padding:15px 18px;
  border-radius:14px;
  margin-bottom:16px;
  font-weight:var(--fw-semibold);
}

.alert-success{
  background:#D4EDDA;
  color:#155724;
  border-left:4px solid #27AE60;
}

.alert-error{
  background:#F8D7DA;
  color:#721C24;
  border-left:4px solid #E74C3C;
}

/* ============================================
   FOOTER
   ============================================ */

.footer{
  background:#F3F5F8;
  color:#223548;
  padding:64px 0 24px;
  border-top:1px solid var(--border-color);
}

.footer-content{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:44px;
  margin-bottom:26px;
  align-items:start;
}

.footer-section{text-align:left;}

.footer-logo{
  width:clamp(160px, 14vw, 220px);
  height:auto;
  object-fit:contain;
  display:block;
  margin:0 0 12px 0;
}

.social-links{
  display:flex;
  gap:10px;
  margin-top:14px;
  justify-content:flex-start;
  padding-left:0;
}

.social-links a{
  width:40px;
  height:40px;
  background:#fff;
  border:1px solid rgba(15,35,55,.12);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(34,53,72,.80);
  transition:var(--transition);
}

.social-links a:hover{
  transform:translateY(-1px);
  border-color:rgba(15,35,55,.20);
  box-shadow:var(--shadow-xs);
  color:var(--primary-color);
}

.footer-section h4{
  margin:18px 0 10px 0;
  color:var(--primary-color);
  font-weight:var(--fw-extrabold);
  letter-spacing:-0.02em;
}

.footer-section ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-section ul li{margin:0 0 10px 0;}

.footer-section a{color:rgba(34,53,72,.86);}

.footer-section a:hover{
  color:var(--primary-color);
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-email{
  margin-top:10px;
  margin-bottom:6px;
  font-weight:600;
  color:rgba(34,53,72,.72);
}

.footer-email a{
  color:inherit;
  text-decoration:none;
}

.footer-email a:hover{
  color:var(--primary-color);
  text-decoration:underline;
  text-underline-offset:3px;
}

.newsletter-form{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:8px;
}

.newsletter-form input{
  flex:1;
  min-width:220px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(15,35,55,.14);
  background:#fff;
  outline:none;
}

.newsletter-form button{
  background:var(--accent-color);
  color:var(--primary-color);
  border:1px solid rgba(217,164,65,.28);
}

.footer-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.btn-footer{
  background:#fff;
  border:1px solid rgba(15,35,55,.14);
  color:var(--primary-color);
  box-shadow:var(--shadow-xs);
}

.btn-footer:hover{
  background:rgba(10,58,102,.04);
  border-color:rgba(15,35,55,.20);
}

.footer-actions .btn{
  height:42px;
  padding:0 14px;
  font-weight:700;
}

.footer-bottom{
  text-align:center;
  padding-top:18px;
  border-top:1px solid rgba(15,35,55,.10);
  color:rgba(34,53,72,.60);
}

.footer-legal{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(15,35,55,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  color:rgba(34,53,72,.62);
  font-size:.92rem;
}

.footer-legal-left{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}

.footer-legal-left a{
  color:rgba(34,53,72,.62);
  font-weight:600;
  text-decoration:none;
}

.footer-legal-left a:hover{
  color:var(--primary-color);
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-legal-right{
  white-space:nowrap;
}

/* ============================================
   UTIL
   ============================================ */

.hp-field{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

.scroll-top-btn{
  position:fixed;
  right:clamp(12px, 1.6vw, 18px);
  bottom:calc(12px + env(safe-area-inset-bottom, 0px));
  width:40px;
  height:40px;
  border:1px solid rgba(10,42,67,.18);
  border-radius:999px;
  background:var(--primary-color);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(10,42,67,.18);
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.96);
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
  -webkit-tap-highlight-color:transparent;
}

.scroll-top-btn:hover{
  background:#0A3A66;
  color:#fff;
  border-color:rgba(10,42,67,.30);
  box-shadow:0 14px 30px rgba(10,42,67,.24);
  transform:translateY(-1px);
}

.scroll-top-btn:active{
  transform:scale(.97);
}

.scroll-top-btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 4px var(--accent-ring),
    0 14px 30px rgba(10,42,67,.24);
}

.scroll-top-btn svg{
  width:14px;
  height:14px;
  fill:currentColor;
}

.scroll-top-btn.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

/* ============================================
   RESPONSIVO GERAL
   ============================================ */

@media (max-width:1100px){
  .header.header-pill .navbar .container{
    padding:12px 18px;
    gap:12px;
  }

  .nav-logo{
    width:clamp(156px, 12vw, 198px);
  }

  .nav-menu{gap:10px;}

  .nav-link{
    font-size:.91rem;
    padding:10px 7px;
  }

  .nav-btn-ghost{
    min-width:76px;
    padding:0 14px;
  }

  .nav-btn-primary{
    min-width:144px;
    padding:0 16px;
    font-size:.92rem;
  }
}

@media (max-width:980px){
  section{padding:72px 0;}

  .hero{
    padding:92px 0;
  }

  .hero .container{
    grid-template-columns:1fr;
    gap:26px;
  }

  .pricing-grid{grid-template-columns:1fr;}

  .showcase{
    margin:0 auto;
    width:min(560px, 100%);
  }

  .showcase-stage{
    min-height:min(56vh, 520px);
  }

  .showcase-slide--phone .showcase-img{
    width:auto;
    height:min(48vh, 420px);
    max-width:78vw;
    object-fit:contain;
  }

  @supports (height:1svh){
    :root{ --phone-h:min(420px, 48svh); }
  }

  .header.header-pill .navbar .container{
    padding:11px 16px;
  }

  .nav-menu{gap:8px;}

  .nav-link{
    font-size:.88rem;
    padding:9px 6px;
  }

  .nav-logo{
    width:clamp(148px, 11.2vw, 182px);
  }

  .nav-btn{
    height:44px;
    font-size:.9rem;
  }

  .nav-btn-primary{
    min-width:136px;
    padding:0 14px;
  }
}

@media (max-width:768px){
  .menu-toggle{
    display:flex;
    padding:10px 10px;
    margin-right:6px;
    border-radius:14px;
  }

  .menu-toggle:hover{
    background:rgba(10,58,102,.06);
  }

  .menu-toggle:active{
    transform:translateY(1px);
  }

  .nav-actions{display:none;}
  .nav-region-switch{display:none;}
  .nav-menu{display:none;}

  .nav-menu.active{
    display:flex;
    position:absolute;
    left:12px;
    right:12px;
    top:calc(100% + 10px);
    background:#fff;
    border:1px solid var(--border-color);
    border-radius:18px;
    box-shadow:var(--shadow-md);
    flex-direction:column;
    gap:0;
    overflow:hidden;
    padding:6px 0;
    z-index:10;
  }

  .nav-menu.active li{width:100%;}

  .nav-link{
    display:block;
    padding:14px 14px;
    border-bottom:1px solid rgba(15,35,55,.06);
  }

  .nav-menu.active li:last-child .nav-link{
    border-bottom:none;
  }

  .nav-actions-mobile{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:12px 14px 14px;
    width:100%;
  }

  .nav-actions-mobile .nav-btn{
    width:100%;
    min-width:0;
  }

  .nav-region-switch-mobile{
    display:flex;
    width:100%;
    justify-content:center;
    margin-bottom:8px;
  }

  .header.header-pill .navbar .container{
    min-height:68px;
    padding:10px 14px;
    gap:10px;
  }

  .nav-logo{width:148px;}

  .hero{
    padding:76px 0 52px;
  }

  .hero-content{text-align:center;}

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-badges{justify-content:center;}

  .hero-buttons .btn,
  .price-actions .btn,
  .contact-actions .btn,
  .footer-actions .btn{
    width:100%;
  }

  .features,
  .benefits-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .showcase-stage{
    min-height:min(54vh, 440px);
  }

  .showcase-slide--phone .showcase-img{
    width:auto;
    height:min(46vh, 380px);
    max-width:80vw;
    object-fit:contain;
  }

  .showcase-dots{margin-top:10px;}

  .footer-content{
    grid-template-columns:1fr;
    justify-items:center;
    gap:28px;
  }

  .footer-section{
    width:100%;
    max-width:var(--footer-col-max);
    padding-left:var(--footer-mobile-pad);
    padding-right:var(--footer-mobile-pad);
  }

  .footer-content > :first-child{text-align:center;}
  .footer-content > :first-child .footer-logo{margin:0 auto 12px auto;}
  .footer-content > :first-child .social-links{justify-content:center;}
  .footer-content > :not(:first-child){text-align:left;}

  .newsletter-form{
    flex-direction:column;
    align-items:stretch;
  }

  .newsletter-form input{min-width:0;}
  .newsletter-form button{width:100%;}

  .footer-legal{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
  }

  .footer-legal-left{
    justify-content:center;
    gap:14px;
  }

  .footer-legal-right{
    white-space:normal;
  }

  .pricing-region-switch{
    flex-direction:row;
    gap:8px;
    background:#f1f5f9;
    padding:4px;
    border-radius:999px;
  }

  .region-tab{
    flex:1;
    justify-content:center;
    padding:8px 10px;
    font-size:13px;
    border-radius:999px;
  }

  @supports (height:1svh){
    :root{ --phone-h:min(380px, 46svh); }
  }

  .scroll-top-btn{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    width:38px;
    height:38px;
  }

  .scroll-top-btn svg{
    width:13px;
    height:13px;
  }
}

@media (max-width:520px){
  .container{padding:0 16px;}

  section{padding:60px 0;}

  .header.header-pill{
    padding:10px 0;
  }

  .header.header-pill .navbar .container{
    min-height:64px;
    padding:10px 12px;
  }

  .navbar-brand{padding-left:8px;}
  .nav-logo{width:140px;}

  .nav-menu.active{
    left:10px;
    right:10px;
  }

  .menu-toggle{
    margin-right:8px;
    padding:10px 10px;
  }

  .hero{
    padding:66px 0 46px;
  }

  .hero-content h1{
    font-size:1.95rem;
    line-height:1.10;
  }

  .hero-content p{font-size:1.02rem;}

  .showcase-stage{
    min-height:min(52vh, 400px);
  }

  .showcase-slide--phone .showcase-img{
    width:auto;
    height:min(44vh, 340px);
    max-width:82vw;
  }

  #beneficios .pill-row{
    gap:8px 12px;
  }

  #beneficios .pill-soft{
    font-size:.86rem;
    padding-left:13px;
  }

  #beneficios .pill-soft::before{
    top:1px;
    font-size:.88rem;
  }

  @supports (height:1svh){
    :root{ --phone-h:min(340px, 44svh); }
  }
}

@media (max-width:380px){
  .container{padding:0 14px;}

  .header.header-pill .navbar .container{
    min-height:62px;
    padding:9px 10px;
  }

  .nav-logo{width:130px;}
  .menu-toggle span{width:24px;}

  .hero{
    padding:62px 0 42px;
  }

  .showcase-stage{
    min-height:min(50vh, 360px);
  }

  .showcase-slide--phone .showcase-img{
    height:min(42vh, 310px);
    max-width:84vw;
  }

  @supports (height:1svh){
    :root{ --phone-h:min(310px, 42svh); }
  }

  .scroll-top-btn{
    right:10px;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px));
    width:36px;
    height:36px;
  }

  .scroll-top-btn svg{
    width:12px;
    height:12px;
  }
}

@supports not (height:1svh){
  @media (max-width:980px){ :root{ --phone-h:420px; } }
  @media (max-width:768px){ :root{ --phone-h:380px; } }
  @media (max-width:520px){ :root{ --phone-h:340px; } }
  @media (max-width:380px){ :root{ --phone-h:310px; } }
}

@media (prefers-reduced-motion:reduce){
  .scroll-top-btn{
    transition:opacity .2s ease, visibility .2s ease;
  }
}