:root {
  --accent: #f3f3d7;
  --accent-soft: #22c55e;
  --bg: #084c5a;
  --alt: #f9fafb;
  --text: #FFE2A1;
  --muted: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* HEADER */
.header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(34,197,94,.12), transparent 40%),
    linear-gradient(180deg, #085969, #edce8b);
  color: rgb(235, 238, 233);
}

.header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(59,130,246,.18), transparent 55%);
  transform: translateY(var(--parallax-offset, 0));
}

/* NAV */
.nav {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.logo {
  font-weight: 600;
  font-size: 1.35rem;
}

/* HERO */
.hero {
  max-width: 920px;
  margin: auto;
  padding: 6.5rem 2rem 7.5rem;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.hero p {
  max-width: 740px;
  color: #8ad0cc;
  margin-bottom: 2.5rem;
  font-size: 1.08rem;
}

/* Vídeo atrás */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 60%;
  min-width: 30%;
  min-height: 30%;
  transform: translate(-50%, -50%);
  object-fit:inherit;
  z-index: 1;
}

/* Texto por cima */
.hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #ffffff;
  text-align: center;
  letter-spacing: 1px;
}
.hero h3 {
  position: relative;
  z-index: 2;
  color: #0f738f;
  
  letter-spacing: 1px;
}
/* Overlay opcional (para legibilidade) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  z-index: 1;
  opacity: 30%;
}
/* SECTIONS */
.section {
  max-width: 1100px;
  margin: auto;
  padding: 5.5rem 2rem;
}

.section.alt {
  background: linear-gradient(180deg, rgba(59,130,246,.04), rgba(34,197,94,.04));
}

.section h2 {
  font-size: 2.05rem;
  margin-bottom: 1.6rem;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  margin-top: 2.8rem;
}

.card {
  background: rgb(225, 225, 216);
  border: px solid var(--border);
  border-radius: 16px;
  padding: 2.2rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(134, 227, 28, 0.6);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}

/* LIST */
.list {
  margin-top: 1.7rem;
  padding-left: 1.2rem;
}

.list li {
  margin-bottom: .65rem;
  color: var(--muted);
}

/* BUTTON */

#btnTopo {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;

  background: linear-gradient(135deg, #65b0c7, #376472);
  color: white;
  font-size: 18px;
  font-weight: 500;
  

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(187, 205, 94, 0.35);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

/* Mostrar botão */
#btnTopo.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#btnTopo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(255, 122, 24, 0.45);
}

/* Clique */
#btnTopo:active {
  transform: scale(0.95);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f4f3e9);
  color: rgb(112, 110, 99);
  padding: .6rem 1.9rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 20px rgba(59,130,246,.35);
}

/* CONTACT */
.contact form {
  max-width: 480px;
  margin-top: 2.8rem;
  display: grid;
  gap: 1rem;
}

.contact input {
  padding: .8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* FOOTER */
.footer {
  background: #376472;
  color: #ffffff;
  text-align: center;
  padding: 2.2rem;
  font-size: .85rem;
}

/* ANIMAÇÕES */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .5s ease;
}

.fade-in.visible {
  opacity: 12;
  transform: translateY(0);
}

.delay-1 { transition-delay: .4s; }
.delay-2 { transition-delay: .18s; }
.delay-3 { transition-delay: .30s; }