:root {
  --blue-main: #0d2f5f;
  --blue-deep: #0a2342;
  --green: #2bbf6a;
  --white: #ffffff;
  --footer: #061427;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--blue-main);
  color: white;
  overflow-x: hidden;
}

section {
  padding: 120px 20px;
  position: relative;
}

.container {
  width: 1200px;
  margin: auto;
}

.center {
  text-align: center;
}

/* HEADER */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: var(--blue-deep);
  padding: 0px 0;
  z-index: 500;
  height: 140px;
}

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

.header-logo {
  height: 180px;
  cursor: pointer;
  transition: 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-buttons {
  display: flex;
  gap: 20px;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding-top: 40px !important;
  padding-bottom: 60px !important;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef') center/cover no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 85px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,35,66,0.95);
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero img {
  width: 450px;
  margin-top: 60px; /* antes era 40px */
  margin-bottom: 0px;
}

.hero h1 {
  margin-top: 0 !important;
  margin-bottom: 15px;
}

.hero h2 {
  color: var(--green);
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* BOTÕES */

.btn {
  padding: 18px 40px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  margin: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--green);
  color: white;
}

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

.btn-outline {
  border: 2px solid white;
  color: white;
}

/* NÚMEROS */

.numbers {
  background: var(--blue-deep);
  text-align: center;
}

.numbers-grid {
  display: flex;
  justify-content: space-between;
}

.numbers h3 {
  font-size: 60px;
  font-weight: 800;
  color: var(--green);
}

/* ÁREAS */

.areas {
  background: var(--blue-main);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  margin-top: 80px;
}

.area-box {
  background: var(--white);
  color: #111;
  padding: 70px 50px;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.area-box:hover {
  transform: translateY(-10px);
}

/* METODOLOGIA */

.metodologia {
  background: var(--blue-deep);
}

.video iframe {
  width: 900px;
  height: 500px;
  border-radius: 6px;
}

/* TECNOLOGIA */

.tech {
  background: var(--blue-main);
}

.tech ul {
  margin-top: 40px;
  line-height: 2.2;
  font-size: 18px;
}

/* FORM */

.contact {
  background: var(--blue-deep);
  text-align: center;
}

.form {
  margin-top: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 20px;
}

.form input {
  padding: 18px;
  border-radius: 6px;
  border: none;
}

.form button {
  background: var(--green);
  padding: 18px;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
}

/* FOOTER */

.footer {
  background: #061427;
  color: white;
  padding: 80px 80px 40px 80px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-col {
  flex: 1;
}

.footer-col h3 {
  color: #2bbf6a;
  margin-bottom: 20px;
  font-size: 16px;
  letter-spacing: 1px;
}

.footer-col p {
  margin: 6px 0;
  line-height: 1.6;
  color: #ccc;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  color: white;
  font-size: 28px;
  transition: 0.3s;
}

.social-icon:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

.carousel {
  position: relative;
  width: 900px;
  height: 500px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 6px;
}

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

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  transition: 0.3s;
}

.arrow:hover {
  background: var(--green);
}

.left {
  left: 15px;
}

.right {
  right: 15px;
}

html {
  scroll-behavior: smooth;
}

.area-page .hero {
  margin-top: 140px;
  padding-top: 200px;
}