/* ===== RESET & VARIÁVEIS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #fdfdfd;
  --navy:         #141e3b;
  --navy-95:      rgba(20, 30, 59, 0.95);
  --blue:         #1282c0;
  --blue-hover:   #0e6fa3;
  --blue-light:   rgba(18, 130, 192, 0.1);
  --blue-border:  rgba(18, 130, 192, 0.3);
  --gray:         #f4f7fb;
  --text:         #1a2744;
  --text-muted:   #5a6a8a;
  --border:       rgba(20, 30, 59, 0.1);
  --shadow:       0 4px 20px rgba(20, 30, 59, 0.08);
  --shadow-md:    0 8px 32px rgba(20, 30, 59, 0.12);
  --shadow-lg:    0 16px 48px rgba(20, 30, 59, 0.18);
  --radius:       12px;
  --radius-lg:    20px;
  --radius-full:  999px;
  --transition:   0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--gray); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 0.82rem 1.9rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 130, 192, 0.38);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.85rem !important;
  font-weight: 600;
}
.btn-nav:hover {
  background: var(--blue-hover) !important;
  transform: none;
}

.btn-full { width: 100%; text-align: center; }

/* ===== SECTION TAG / BADGE ===== */
.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-border);
  padding: 0.28rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.tag-blue-light {
  background: rgba(255, 255, 255, 0.07);
  color: #7dd3f0;
  border-color: rgba(125, 211, 240, 0.25);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.text-white       { color: #fff !important; }
.text-muted-white { color: rgba(255, 255, 255, 0.6) !important; }

/* ===== SEÇÕES ===== */
.section   { padding: 6rem 0; }
.bg-white  { background: var(--white); }
.bg-gray   { background: var(--gray); }
.bg-navy   { background: var(--navy); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition);
}

.navbar.solid {
  background: var(--navy-95);
  padding: 0.7rem 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 44px; }

.logo-text-fallback {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--blue); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(18, 130, 192, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 80%, rgba(18, 130, 192, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 1.5rem 6rem;
  max-width: 760px;
}

.hero-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  padding: 0.3rem 0.9rem;
  background: rgba(18, 130, 192, 0.12);
  border: 1px solid rgba(18, 130, 192, 0.3);
  border-radius: var(--radius-full);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}
.hero-content h1 span { color: var(--blue); }

.hero-sub {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  margin-top: 0.3rem;
  display: block;
}
.stat-sep {
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 80px;
  z-index: 3;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ===== SOBRE NÓS ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}
.sobre-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.85;
}

.sobre-valores {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.sobre-valores li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.check {
  color: var(--blue);
  font-weight: 700;
  font-size: 1rem;
}

.sobre-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.sobre-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.sobre-card:hover {
  transform: translateX(8px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}
.sc1 { margin-left: 0; }
.sc2 { margin-left: 2rem; }
.sc3 { margin-left: 4rem; }

.sc-icon { font-size: 1.9rem; flex-shrink: 0; }
.sobre-card strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.sobre-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== SERVIÇOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===== DIFERENCIAIS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-item {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}
.diff-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.diff-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(18, 130, 192, 0.35);
}

.diff-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 1rem;
}
.diff-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.diff-item p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.75;
}

/* ===== EQUIPE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-grid .team-card:last-child:nth-child(4n+1) {
  grid-column: 2 / span 2;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card:hover {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  background: var(--blue-light);
  border: 3px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-avatar {
  font-size: 2.5rem;
  line-height: 1;
}

.team-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
}
.team-socials { margin-top: 1rem; }
.team-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
}
.team-socials a:hover {
  background: var(--blue);
  color: #fff;
}

/* ===== CONTATO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--blue-border); }

.ci-icon { font-size: 1.4rem; margin-top: 2px; flex-shrink: 0; }
.contact-item > div { min-width: 0; }
.contact-item span { display: block; word-break: break-word; }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.contact-item a,
.contact-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.contact-item a:hover { color: var(--blue); }

/* ===== ALERTS ===== */
.alert {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.28);
}

/* ===== FORMULÁRIO ===== */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row .form-group { margin-bottom: 0; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 130, 192, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding-top: 4.5rem; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand img { height: 38px; margin-bottom: 1rem; }
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 230px;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1.1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue); }

.footer-contact a {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.87rem;
  margin-bottom: 0.55rem;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--blue); }

.footer-bottom { padding: 1.3rem 0; }
.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.8rem;
  text-align: center;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--transition);
}
.whatsapp-float:hover {
  background: #1ea952;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sobre-grid    { gap: 3rem; }
  .contact-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 62px; left: 0; right: 0;
    background: var(--navy-95);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem 1.5rem;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    z-index: 999;
    backdrop-filter: blur(12px);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .sobre-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .sc2, .sc3        { margin-left: 0; }
  .services-grid    { grid-template-columns: 1fr; }
  .sobre-valores    { grid-template-columns: 1fr; }
  .footer-inner     { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-stats       { gap: 1.2rem; }
  .stat-sep         { display: none; }
  .contact-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-btns    { flex-direction: column; }
  .diff-grid    { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}
