:root {
  --bg-dark: #050c18;
  --bg-soft: #081223;
  --bg-card: #0d172a;
  --text-main: #f3f7fd;
  --text-muted: #c7d3e2;
  --accent: #ff8a00;
  --line: #233c57;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-dark);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  background: url("imagens/Araujo.png") center 28%/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(5, 12, 24, 0.94) 35%, rgba(5, 12, 24, 0.6) 65%, rgba(5, 12, 24, 0.5) 100%),
    radial-gradient(circle at 78% 28%, rgba(255, 138, 0, 0.22), transparent 36%);
}

.hero-corner-logo {
  position: absolute;
  top: -14px;
  left: 20px;
  z-index: 25;
  height: 380px;
  width: auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  background: rgba(3, 10, 20, 0.96);
  border-bottom: 1px solid rgba(35, 60, 87, 0.45);
}

.navbar {
  position: relative;
  z-index: 31;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 6px 0;
}

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

.brand-logo {
  height: 58px;
  width: auto;
}

.brand-text {
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-whats {
  background: linear-gradient(130deg, #ff9d2b, #ff7a00);
  color: #081223 !important;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 700 !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 238px 0 96px;
  margin-left: 0;
  padding-left: 20px;
}

.kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary,
.btn-secondary {
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(130deg, #ff9d2b, #ff7a00);
  color: #081223;
}

.btn-secondary {
  color: var(--text-main);
  border: 1px solid var(--accent);
}

.section {
  padding: 78px 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-subtitle {
  margin: 10px 0 26px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services {
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 138, 0, 0.12), transparent 32%),
    linear-gradient(180deg, #071124, #050c18);
}

.section-kicker {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffd09b;
  border: 1px solid rgba(255, 138, 0, 0.45);
  border-radius: 999px;
  padding: 5px 10px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 0, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(255, 138, 0, 0.16);
  border: 1px solid rgba(255, 138, 0, 0.45);
  font-size: 1.15rem;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.portfolio {
  background: var(--bg-soft);
}

.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.portfolio-controls {
  display: flex;
  gap: 8px;
}

.portfolio-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #2e4f77;
  background: #0a152b;
  color: #d7e2f0;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.portfolio-arrow:hover {
  border-color: #4777ab;
}

.portfolio-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.portfolio-slider::-webkit-scrollbar {
  display: none;
}

.media-card {
  background: #0a1324;
  border: 1px solid #294567;
  border-radius: 12px;
  overflow: hidden;
  min-width: 240px;
}

.media-card img,
.media-card video {
  width: 100%;
  height: 146px;
  object-fit: cover;
  display: block;
  background: #050d1a;
}

.media-info {
  padding: 12px 14px 14px;
}

.media-info span {
  font-size: 0.82rem;
  color: #ffb96f;
  text-transform: uppercase;
  font-weight: 700;
}

.media-info h3 {
  margin: 2px 0 0;
  font-size: 1.1rem;
}

.media-info a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  border: 1px solid #3562a2;
  color: #b8d4ff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.media-modal.open {
  display: block;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.media-modal-content {
  position: relative;
  width: min(900px, 92%);
  margin: 5vh auto 0;
  background: #091427;
  border: 1px solid #2d4f77;
  border-radius: 12px;
  padding: 14px;
}

.media-modal-close {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  background: rgba(255, 138, 0, 0.2);
  color: #ffd9ae;
}

#media-modal-body img,
#media-modal-body video {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}

.portfolio-progress {
  margin-top: 10px;
  height: 5px;
  border-radius: 999px;
  background: #0b1a32;
  overflow: hidden;
}

.portfolio-progress span {
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, #355fff, #4c7dff);
  border-radius: 999px;
}

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

.portfolio-card {
  background: #0a1324;
  border: 1px solid #294567;
  border-radius: 12px;
  padding: 18px;
}

.portfolio-card h3 {
  margin: 0 0 8px;
}

.portfolio-card p {
  margin: 0;
  color: var(--text-muted);
}

.about {
  background: linear-gradient(180deg, #071124, #050c18);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.about p {
  color: var(--text-muted);
}

.about ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.about li {
  margin-bottom: 8px;
}

.about-image {
  min-height: 300px;
  border-radius: 14px;
  border: 1px solid #2a4464;
  background:
    linear-gradient(120deg, rgba(5, 12, 24, 0.58), rgba(5, 12, 24, 0.3)),
    url("imagens/Araujo.png") center/cover no-repeat;
}

.contact-section {
  background: #06101f;
}

.contact-section h2,
.contact-section .section-subtitle {
  text-align: center;
}

.contact-section .section-subtitle {
  margin-bottom: 34px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 24px;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  background: #0a1629;
  border: 1px solid rgba(255, 138, 0, 0.55);
  border-radius: 12px;
  padding: 20px 14px;
  text-align: center;
}

.contact-info-card .icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.contact-info-card h3 {
  margin: 0 0 6px;
}

.contact-info-card p {
  margin: 0;
  color: #ffd8ae;
}

.contact-form {
  background: #091425;
  border: 1px solid rgba(255, 138, 0, 0.55);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: #071121;
  border: 1px solid rgba(255, 138, 0, 0.55);
  border-radius: 10px;
  color: #ffe8ce;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

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

.contact-form button {
  width: fit-content;
  border: 0;
  border-radius: 10px;
  padding: 10px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #1e0f00;
  background: linear-gradient(130deg, #ffb04a, #ff7a00);
  box-shadow: 0 0 16px rgba(255, 122, 0, 0.35);
}

.footer {
  background: #030914;
  padding: 0 0 22px;
}

.footer-top-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8a00, transparent);
  margin-bottom: 34px;
}

.footer-card {
  background: #081424;
  border: 1px solid #243c57;
  border-radius: 16px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-card-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-card-brand img {
  height: 58px;
  width: auto;
}

.footer-card-brand h3 {
  margin: 2px 0 6px;
  font-size: 1.9rem;
}

.footer-card-brand p {
  margin: 0;
  color: var(--text-muted);
}

.footer-card-contact h4 {
  margin: 0 0 14px;
  font-size: 1.4rem;
  color: #ffb56a;
}

.footer-card-contact a,
.footer-card-contact p {
  display: block;
  margin: 0 0 12px;
  color: #d8e3f2;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #1c3148;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: #a8bccf;
}

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

.dev-link {
  color: #ebfff2;
  text-decoration: none;
  border: 1px solid #ff8a00;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(40, 16, 0, 0.45);
}

.linkedin-mini {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid #ff8a00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  color: #ffb55b;
}

.footer-legal {
  display: grid;
  grid-auto-flow: column;
  gap: 12px;
}

.footer-legal a {
  color: #a8bccf;
  text-decoration: none;
}

@media (max-width: 980px) {
  .navbar {
    min-height: 60px;
    padding: 8px 0;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 62px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-slider {
    grid-auto-columns: minmax(260px, 82%);
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    background-position: 62% 32%;
  }

  .hero-corner-logo {
    top: 48px;
    left: 10px;
    height: 230px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 10px 0 12px;
  }

  .brand-logo {
    height: 48px;
    width: auto;
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.02;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 260px;
    padding-bottom: 48px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .kicker {
    font-size: 0.82rem;
    margin-bottom: 6px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-top: 12px;
  }

  .hero-cta {
    margin-top: 16px;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

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

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-card {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dev-credit {
    flex-wrap: wrap;
  }

  .footer-legal {
    grid-auto-flow: row;
    gap: 6px;
  }
}
