:root {
  --dark-blue: #1c3f94;
  --mid-blue: #1e6fd9;
  --cyan-blue: #17b3e8;
  --slate: #475467;
  --bg: #f5f8fc;
  --white: #ffffff;
  --text: #1a2233;
  --text-light: #667085;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 63, 148, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* 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 #e7ecf5;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img { height: 88px; width: auto; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--slate);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: radial-gradient(circle at 15% 20%, rgba(23, 179, 232, 0.12), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(28, 63, 148, 0.10), transparent 45%);
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-blue);
  background: rgba(23, 179, 232, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--dark-blue);
  margin-bottom: 18px;
}

h1 .grad {
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 46ch;
  margin-bottom: 30px;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 179, 232, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(23, 179, 232, 0.45); }

.btn-outline {
  border: 2px solid var(--dark-blue);
  color: var(--dark-blue);
  background: transparent;
}

.btn-outline:hover { background: var(--dark-blue); color: var(--white); }

.hero-art {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img { width: 100%; }

/* Sections */
section { padding: 70px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 46px;
}

.section-head .eyebrow { display: inline-block; }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark-blue);
  margin-bottom: 12px;
}

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

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(28, 63, 148, 0.14); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { color: var(--dark-blue); margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--text-light); font-size: 0.96rem; }

/* Team */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid #eef1f8;
}

.avatar {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 { color: var(--dark-blue); margin-bottom: 4px; }
.team-card .role { color: var(--mid-blue); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.team-card p { color: var(--text-light); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan-blue));
  color: var(--white);
  border-radius: 24px;
  padding: 54px 40px;
  text-align: center;
  margin: 0 24px;
}

.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }
.cta-band .btn-primary { background: var(--white); color: var(--dark-blue); box-shadow: none; }
.cta-band .btn-primary:hover { transform: translateY(-2px); }

/* Portfolio placeholders */
.portfolio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
}

.portfolio-thumb {
  height: 180px;
  background: linear-gradient(135deg, rgba(28,63,148,0.12), rgba(23,179,232,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-blue);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 12px;
}

.portfolio-body { padding: 20px 22px; }
.portfolio-body h3 { color: var(--dark-blue); margin-bottom: 6px; font-size: 1.05rem; }
.portfolio-body p { color: var(--text-light); font-size: 0.92rem; }

.notice {
  background: #eef6fd;
  border: 1px dashed var(--mid-blue);
  color: var(--dark-blue);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info .card { margin-bottom: 20px; }

.contact-info .card a { color: var(--mid-blue); font-weight: 600; }

form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
}

.form-row { margin-bottom: 18px; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde3ee;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--cyan-blue);
  background: var(--white);
}

textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.85rem; color: var(--text-light); margin-top: 10px; }

/* Orçamento form */
.form-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
  margin-bottom: 26px;
}

.form-block h2 {
  color: var(--dark-blue);
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f8;
}

.form-block .form-row:last-child { margin-bottom: 0; }

.hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: -2px 0 10px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.options-inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 14px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  padding: 10px 14px;
  border: 1.5px solid #dde3ee;
  border-radius: 10px;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.opt:hover { border-color: var(--cyan-blue); }

.opt input { width: auto; accent-color: var(--mid-blue); }

/* Star rating input */
.star-rating {
  display: flex;
  gap: 6px;
  font-size: 2rem;
  color: #d9dfec;
  margin-bottom: 4px;
}

.star-rating span {
  cursor: pointer;
  transition: color 0.15s ease;
}

.star-rating span.active,
.star-rating span:hover {
  color: #f5a623;
}

/* Review cards */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  border: 1px solid #eef1f8;
  margin-bottom: 18px;
}

.review-card .review-stars {
  color: #f5a623;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.review-card .review-name {
  font-weight: 700;
  color: var(--dark-blue);
}

.review-card .review-company {
  color: var(--text-light);
  font-size: 0.85rem;
}

.review-card p {
  margin-top: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #0f2452;
  color: #c7d3ea;
  padding: 50px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand span { color: var(--white); font-weight: 700; font-size: 1.1rem; }

.site-footer h4 { color: var(--white); margin-bottom: 14px; font-size: 1rem; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--cyan-blue); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8fa0c4;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 60px 0 50px;
  text-align: center;
  background: radial-gradient(circle at 20% 30%, rgba(23,179,232,0.12), transparent 50%);
}

.page-hero h1 { margin-bottom: 12px; }
.page-hero p { color: var(--text-light); max-width: 55ch; margin: 0 auto; }

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid #e7ecf5;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0; border-radius: 0; }
  .avatar { width: 160px; height: 160px; }
}
