:root {
  --navy: #14295c;
  --navy-2: #1f3f8f;
  --blue: #2f6fce;
  --sky: #eef4ff;
  --sky-2: #dce9ff;
  --globe-blue: #2f6fce;
  --globe-green: #2f9e63;
  --text: #1c2438;
  --muted: #5b6b83;
  --white: #ffffff;
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3, .brand-font {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

a { color: inherit; }

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

/* ---------- Header ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6ecf7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s ease;
  white-space: nowrap;
}

nav.main-nav a:hover { background: var(--sky-2); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(31, 63, 143, 0.6);
}

.btn-outline {
  border: 1.5px solid var(--navy-2);
  color: var(--navy-2);
}

/* ---------- Logo mark ---------- */

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  perspective: 600px;
}

.cl-mark {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  animation: mark-breathe 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 7px rgba(15, 29, 64, 0.3));
}

@keyframes mark-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.03); }
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-word .name {
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-word .name span { color: var(--blue); }

.logo-word .tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .cl-mark { animation: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, var(--sky-2), var(--sky) 55%, #fff 100%);
  padding: 72px 0 96px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-mark {
  display: flex;
  justify-content: center;
}

.hero-mark .cl-mark {
  width: 220px;
  height: 220px;
  animation: float-in 0.9s cubic-bezier(.2,.8,.2,1), mark-breathe 6s ease-in-out infinite 0.9s;
  filter: drop-shadow(0 14px 22px rgba(15, 29, 64, 0.3));
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark .cl-mark { animation: none; }
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky-2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--navy);
}

.hero p.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}

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

.trust-line {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow { }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; }

/* Services */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid #e9eef8;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px -18px rgba(20, 41, 92, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -16px rgba(20, 41, 92, 0.32); }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  color: #fff;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--sky-2);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--white);
  border: 1px solid #e9eef8;
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 20px 40px -20px rgba(47, 111, 206, 0.45);
  transform: scale(1.02);
}

.plan .badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--navy-2), var(--blue));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
}

.plan h3 { margin: 8px 0 4px; color: var(--navy); font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 800; color: var(--navy); margin: 6px 0 2px; }
.plan .price span { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan .price small { font-size: 13px; font-weight: 600; color: var(--muted); display: block; }
.plan ul { list-style: none; margin: 18px 0 24px; padding: 0; flex: 1; }
.plan ul li {
  font-size: 14px;
  color: var(--text);
  padding: 7px 0;
  padding-left: 24px;
  position: relative;
}
.plan ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  color: var(--blue); font-weight: 800;
}
.plan .note { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }

/* Support */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .support-grid { grid-template-columns: 1fr; } }

.support-card {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.support-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--navy-2);
  box-shadow: 0 6px 16px -8px rgba(20,41,92,0.3);
  flex-shrink: 0;
}
.support-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.support-card p { margin: 0; color: var(--muted); font-size: 14px; }
.support-card a.value { display: block; font-weight: 700; color: var(--navy); margin-top: 4px; text-decoration: none; }

/* Widgets: weather + news */

.widgets-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .widgets-grid { grid-template-columns: 1fr; } }

.weather-card {
  background: var(--white);
  border: 1px solid #e9eef8;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
}
.weather-card .city-label {
  font-size: 12.5px;
  opacity: 0.7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 12px;
}
.weather-radar-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: none;
  border-radius: 10px;
}
.weather-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef1f8;
}
.weather-summary .temp { font-size: 32px; font-weight: 800; margin-bottom: 2px; }
.weather-summary .desc { font-size: 14px; color: var(--muted); }
.weather-summary .meta { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.news-card {
  background: var(--white);
  border: 1px solid #e9eef8;
  border-radius: var(--radius);
  padding: 24px;
}
.news-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 16px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  padding: 11px 0;
  border-top: 1px solid #eef1f8;
  font-size: 14px;
}
.news-list li:first-child { border-top: none; }
.news-list a { text-decoration: none; color: var(--text); font-weight: 600; }
.news-list a:hover { color: var(--blue); }
.news-list .src { color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }

/* Footer */

footer.site-footer {
  background: var(--navy);
  color: #cfe0ff;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
footer.site-footer p, footer.site-footer a { color: #b9cdf2; font-size: 13.5px; text-decoration: none; line-height: 1.9; }
footer.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12.5px;
  color: #93aade;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Trocar senha page */

.form-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background: var(--sky);
}
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px -24px rgba(20,41,92,0.35);
}
.form-card h1 { font-size: 20px; color: var(--navy); margin: 18px 0 6px; text-align: center; }
.form-card p.sub { text-align: center; color: var(--muted); font-size: 13.5px; margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #dbe3f2;
  font-size: 14px;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--blue); }
.form-card .btn { width: 100%; text-align: center; border: none; cursor: pointer; }
.alert {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.alert-error { background: #fdecec; color: #a3271b; }
.alert-success { background: #e8f7ee; color: #17703a; }
.back-link { display: block; text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); text-decoration: none; }
