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

:root {
  --background: #f5f8fc;
  --surface: #ffffff;
  --text: #082661;
  --muted: #53647f;
  --accent: #123b85;
  --accent-dark: #061c4b;
  --border: #dbe4f1;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */

.header {
  padding: 24px 0;
  background: var(--background);
}

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

.logo {
  display: block;
  width: 190px;
  height: 108px;
  overflow: hidden;
  line-height: 0;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.instagram-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-dot {
  fill: currentColor;
  stroke: none;
}

.instagram-link:hover {
  color: var(--accent-dark);
}

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

.hero {
  padding: 110px 0 130px;
}

.hero-content {
  max-width: 850px;
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-dark);
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.98;
  letter-spacing: -4px;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 600px;
  margin: 30px 0 35px;
  font-size: 19px;
  color: var(--muted);
}

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

/* ========================================
   BUTTON
======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 5px;
  background: var(--text);
  color: white;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.button-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-outline:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}

.button-light {
  background: white;
  color: var(--text);
}

.button-light:hover {
  background: var(--accent);
  color: white;
}

.button-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.whatsapp-icon {
  stroke-width: 1.7;
}

/* ========================================
   ABOUT
======================================== */

.about {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about h2 {
  max-width: 700px;
  margin-bottom: 25px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.about-text {
  max-width: 700px;
  font-size: 18px;
  color: var(--muted);
}

/* ========================================
   SERVICES
======================================== */

.services {
  padding: 100px 0;
}

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

.service-card {
  position: relative;
  padding: 35px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #c7d5e8;
  box-shadow: 0 12px 30px rgba(8, 38, 97, 0.07);
}

.service-number {
  display: block;
  margin-bottom: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.service-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.service-icon svg,
.service-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.service-card p {
  color: var(--muted);
}

/* ========================================
   CONNECT
======================================== */

.connect {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 45px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.section-heading > p:last-child {
  font-size: 18px;
  color: var(--muted);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.connect-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.connect-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(8, 38, 97, 0.08);
}

.connect-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.connect-label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}

.connect-card h3 {
  font-size: 25px;
  line-height: 1.15;
}

.connect-icon {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.7;
}

.connect-symbol {
  margin: 20px 0;
  font-size: 34px;
}

.promo-image img {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.whatsapp-large-icon {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.5;
}

.connect-card p {
  margin-top: 15px;
  color: var(--muted);
}

.connect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: auto;
  padding: 13px 18px;
  border-radius: 5px;
  background: var(--text);
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.connect-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ========================================
   INSTAGRAM PREVIEW
======================================== */

.instagram-preview {
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.instagram-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border-bottom: 1px solid var(--border);
}

.instagram-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
}

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

.instagram-preview-header strong {
  display: block;
  font-size: 12px;
}

.instagram-preview-header span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.instagram-preview-content {
  background: var(--background);
}

.instagram-preview-content img {
  display: block;
  width: 100%;
  height: auto;
}

.instagram-preview-footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 13px;
  font-size: 10px;
  color: var(--muted);
}

/* ========================================
   CTA
======================================== */

.cta {
  padding: 110px 0;
  background: var(--text);
  color: white;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -3px;
}

.cta p {
  margin-bottom: 30px;
  color: #c5d2e6;
}

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

.footer {
  padding: 25px 0;
  background: var(--text);
  border-top: 1px solid #17356d;
  color: #b6c4da;
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer a:hover {
  color: white;
}

.whatsapp-footer-icon {
  width: 17px;
  height: 17px;
}

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

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

  .instagram-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 1100px);
  }

  .logo {
    width: 155px;
    height: 88px;
  }

  .hero {
    padding: 80px 0 90px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-text {
    font-size: 17px;
  }

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

  .hero-buttons .button {
    width: 100%;
  }

  .about,
  .services,
  .connect,
  .cta {
    padding: 75px 0;
  }

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

  .service-card {
    padding: 28px;
  }

  .service-number {
    margin-bottom: 30px;
  }

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

  .instagram-card {
    grid-column: auto;
  }

  .connect-card {
    min-height: 380px;
  }

  .cta h2 {
    letter-spacing: -2px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
