/* ============================================================
   MajobLink Internet — Design System
   ============================================================ */
:root {
  --primary: #17AD8E;
  --primary-dark: #00988A;
  --primary-deep: #11887b;
  --navy: #262F65;
  --navy-dark: #1B2248;
  --ink: #131313;
  --gray: #6C757D;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --line: #E9ECEF;
  --whats: #24cd63;
  --whats-dark: #1DA851;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 6px 24px rgba(19, 19, 19, .07);
  --shadow-lg: 0 18px 48px rgba(38, 47, 101, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: none; }

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--gray); max-width: 46rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(23, 173, 142, .12);
  border-radius: 999px;
  padding: .38em 1.1em;
  margin-bottom: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  padding: .85em 1.9em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(23, 173, 142, .35); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 8px 22px rgba(36, 205, 99, .35); }
.btn-whats:hover { background: var(--whats-dark); }
.btn-outline { border-color: rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-outline:hover { background: rgba(255,255,255,.18); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-sm { font-size: .9rem; padding: .65em 1.4em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233, 236, 239, .8);
}
.site-header .container { display: flex; align-items: center; gap: 1.6rem; height: 78px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: .97rem; position: relative; }
.main-nav a.btn { color: #fff; }
.main-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2.5px;
  background: var(--primary); border-radius: 2px; transition: right .22s ease;
}
.main-nav a:not(.btn):hover::after, .main-nav a.active::after { right: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy); margin: 5px 0; transition: .25s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 78px 0 auto 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav a { padding: .95rem 1.6rem; border-top: 1px solid var(--line); }
  .main-nav a.btn { margin: 1rem 1.6rem 1.3rem; justify-content: center; }
  .main-nav a:not(.btn)::after { display: none; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(88vh, 700px);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(27, 34, 72, .93) 0%, rgba(38, 47, 101, .82) 42%, rgba(23, 173, 142, .45) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lead { color: rgba(255, 255, 255, .88); }
.hero .eyebrow { background: rgba(255,255,255,.14); color: #8FE9D6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero-page { min-height: 0; }
.hero-page .container { padding-top: 5.5rem; padding-bottom: 5.5rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-head { max-width: 46rem; margin-bottom: 2.6rem; }
.section-alt { background: var(--surface); }
.section-navy { background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, #2e3d86); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead, .section-navy p { color: rgba(255, 255, 255, .82); }
.section-navy .eyebrow { background: rgba(255,255,255,.13); color: #8FE9D6; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--gray); margin: 0; font-size: .96rem; }
.section-navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .13); box-shadow: none; }
.section-navy .card h3 { color: #fff; }
.section-navy .card p { color: rgba(255, 255, 255, .75); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; margin-bottom: 1.1rem; flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }

/* split (text + image) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.4rem; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------- Plans ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 1120px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .plans-grid { grid-template-columns: 1fr; } }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.5rem 1.6rem;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.plan-tag { font-size: .86rem; color: var(--gray); min-height: 2.6em; margin: .3em 0 .8em; }
.plan-speed { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--primary-dark); line-height: 1; }
.plan-speed small { font-size: .95rem; font-weight: 700; color: var(--gray); }
.plan-price { margin: 1rem 0 .2rem; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; color: var(--navy); }
.plan-price small { font-size: .85rem; color: var(--gray); font-weight: 600; }
.plan ul { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; font-size: .92rem; color: var(--gray); text-align: left; flex: 1; }
.plan ul li { padding: .34em 0 .34em 1.7em; position: relative; border-top: 1px dashed var(--line); }
.plan ul li:first-child { border-top: 0; }
.plan ul li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 1.05em; height: 1.05em;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan .btn { width: 100%; }
.plan-featured { border-color: var(--primary); box-shadow: 0 14px 40px rgba(23, 173, 142, .22); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: .4em 1.2em; border-radius: 999px; white-space: nowrap;
}
.plans-note { text-align: center; color: var(--gray); font-size: .95rem; margin-top: 1.8rem; }
.plans-note strong { color: var(--navy); }

/* ---------- Combos ---------- */
.combo {
  overflow: hidden; padding: 0; display: flex; flex-direction: column;
}
.combo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.combo-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.combo-body h3 { color: var(--navy); }
.combo-price { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--primary-dark); margin: .4rem 0 1.1rem; }
.combo-price small { display: block; font-size: .85rem; font-weight: 600; color: var(--gray); }
.combo .btn { margin-top: auto; }

/* ---------- Blog cards ---------- */
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.08rem; }
.post-card-body h3 a { color: var(--navy); }
.post-card-body h3 a:hover { color: var(--primary-dark); }
.post-card-body p { flex: 1; }
.post-card .more { margin-top: 1rem; font-weight: 700; font-size: .93rem; color: var(--primary-dark); }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin: 2.2rem 0; width: 100%; }
.article-meta { color: var(--gray); font-size: .9rem; }
.article h2 { font-size: 1.5rem; margin-top: 2.2em; }
.article ul li, .article ol li { margin-bottom: .45em; }
.article .article-cta {
  margin-top: 3rem; padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff; text-align: center;
}
.article .article-cta h3 { color: #fff; }
.article .article-cta p { color: rgba(255,255,255,.8); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.4rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .4em; }
label .req { color: var(--primary-dark); }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; transition: border-color .18s, box-shadow .18s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(23, 173, 142, .14);
}
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--gray); }
.form-feedback { display: none; margin-top: 1rem; padding: .9em 1.2em; border-radius: 12px; font-weight: 600; }
.form-feedback.ok { display: block; background: rgba(23, 173, 142, .13); color: var(--primary-deep); }
.form-feedback.err { display: block; background: rgba(255, 5, 5, .08); color: #B3261E; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.file-drop {
  border: 2px dashed var(--line); border-radius: 12px; padding: 1.6rem; text-align: center;
  color: var(--gray); font-size: .95rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.file-drop:hover, .file-drop.drag { border-color: var(--primary); background: rgba(23, 173, 142, .05); }
.file-drop strong { color: var(--primary-dark); }

/* ---------- Contact info ---------- */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-badge { width: 46px; height: 46px; margin: 0; }
.contact-item h3 { font-size: 1.02rem; margin-bottom: .15em; }
.contact-item p, .contact-item a { margin: 0; color: var(--gray); font-size: .97rem; }

/* ---------- Values / vagas ---------- */
.value-card h3 { display: flex; align-items: center; gap: .6em; }
.vaga { display: flex; flex-direction: column; }
.vaga .tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); background: rgba(23,173,142,.13); padding: .35em 1em; border-radius: 999px; margin-bottom: .9rem; }
.vaga p { flex: 1; }
.vaga .btn { margin-top: 1.3rem; align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); padding: 3.2rem; text-align: center; background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 40rem; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .78); padding: 4rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #8FE9D6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; font-size: .95rem; }
.footer-brand img { height: 46px; width: auto; background: #fff; padding: 7px 12px; border-radius: 12px; }
.footer-brand p { font-size: .93rem; margin-top: 1.1rem; }
.social { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .09); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.social svg { width: 21px; height: 21px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.6rem; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }

/* ---------- WhatsApp float ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whats); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(36, 205, 99, .45);
  transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.09); }
.whats-float svg { width: 32px; height: 32px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }
