*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-dark: #0f3d22;
  --green-main: #1a6038;
  --green-mid: #2e8b4e;
  --green-light: #5db87a;
  --green-pale: #e0f2e9;
  --silver: #a8b8b0;
  --silver-light: #dce8e2;
  --earth-dark: #2d4a38;
  --earth-mid: #4a7a5a;
  --earth-light: #8bb89a;
  --cream: #f4f8f5;
  --white: #ffffff;
  --text-dark: #0f2d1c;
  --text-mid: #3a5a47;
  --text-light: #6b8c7a;
  --shadow: 0 4px 24px rgba(15, 61, 34, .12);
  --radius: 16px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--green-mid);
  border-radius: 4px;
}

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: rgba(15, 61, 34, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  background: rgba(15, 61, 34, .99);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 999;
  position: relative;
}

.nav-logo img {
  max-height: 60px; /* constrain to navbar height */
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}

.nav-logo:hover img {
  opacity: .85;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
  z-index: 500;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light)) !important;
  color: var(--white) !important;
  border-radius: 40px !important;
  padding: 8px 22px !important;
  box-shadow: 0 4px 14px rgba(46, 139, 78, .4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  background: linear-gradient(155deg, #0a2915 0%, var(--green-dark) 50%, #0d3520 100%);
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.ambitta.com.br/app/webroot/assets/fundo_mangue.jpeg') center/cover no-repeat;
  opacity: .32;
}

/* animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--green-mid);
  top: -100px;
  left: -150px;
  animation: float 12s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #1a6038;
  bottom: -80px;
  right: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--silver);
  top: 40%;
  left: 60%;
  animation: float 10s ease-in-out infinite 3s;
  opacity: .15;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-30px, 30px) scale(.97);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 40px;
  padding: 6px 18px;
  color: var(--green-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeUp .8s .2s both;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeUp .8s .4s both;
}

.hero-title span {
  color: var(--green-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .78);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeUp .8s .6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeUp .8s .8s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(45, 106, 79, .45);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(45, 106, 79, .55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .4);
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 72px;
  animation: fadeUp .8s 1s both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  letter-spacing: .08em;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ══════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════ */
section {
  padding: 100px 5vw;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-mid);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-mid);
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--green-main);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 640px;
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
#sobre {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.about-badge-float {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--green-main);
  color: var(--white);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 8px 30px rgba(45, 106, 79, .35);
  text-align: center;
}

.about-badge-float strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.about-badge-float span {
  font-size: .8rem;
  opacity: .85;
}

.about-text .section-desc {
  max-width: 100%;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--green-mid);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}

.about-feature i {
  color: var(--green-mid);
  font-size: 1.25rem;
  margin-top: 2px;
}

.about-feature h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.about-feature p {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════
   ESSÊNCIA (VELA)
══════════════════════════════════════════════════════ */
#essencia {
  background: linear-gradient(160deg, var(--green-dark) 0%, #071e10 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#essencia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.ambitta.com.br/app/webroot/assets/fundo_vela.jpeg') center/cover no-repeat;
  opacity: .48;
}

.essencia-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.essencia-left .section-tag {
  color: var(--green-light);
}

.essencia-left .section-tag::before {
  background: var(--green-light);
}

.essencia-left .section-title {
  color: var(--white);
}

.essencia-left .section-desc {
  color: rgba(255, 255, 255, .75);
  max-width: 100%;
}

.vela-elements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.vela-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.vela-card:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-4px);
}

.vela-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.vela-card h3 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.vela-card p {
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  line-height: 1.6;
}

.essencia-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.vela-symbol {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(93, 184, 122, .25), transparent 70%),
    radial-gradient(circle at 70% 70%, rgba(168, 184, 176, .15), transparent 70%),
    rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.vela-symbol::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .15);
}

.vela-symbol img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
  position: relative;
  z-index: 1;
}

.vela-symbol small {
  color: rgba(255, 255, 255, .55);
  font-size: .78rem;
  text-align: center;
  max-width: 160px;
  position: relative;
  z-index: 1;
}

/* imagem de aplicação usada na seção de essência (substitui o ícone circular) */
.vela-aplicacao {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════
   MVV
══════════════════════════════════════════════════════ */
 
#mvv {
  background: linear-gradient(160deg, var(--green-dark) 0%, #071e10 100%);
  position: relative;
  overflow: hidden;
}

#mvv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.ambitta.com.br/app/webroot/assets/foto_satelite_cidade_corrego.jpeg') center/cover no-repeat;
  opacity: .28;
}

/* for MVV: ensure the section title and its highlighted span are white */
#mvv .section-title {
  color: var(--white);
}

#mvv .section-title span {
  color: var(--white);
}


.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 48px auto 0;
}

.mvv-card {
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.mvv-card-1 {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: var(--white);
}

.mvv-card-2 {
  background: linear-gradient(135deg, var(--green-main), var(--green-mid));
  color: var(--white);
}

.mvv-card-3 {
  background: linear-gradient(135deg, var(--earth-dark), var(--earth-mid));
  color: var(--white);
}

.mvv-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.mvv-card i {
  font-size: 2.2rem;
  margin-bottom: 20px;
  opacity: .9;
}

.mvv-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.mvv-card p {
  font-size: .9rem;
  line-height: 1.75;
  opacity: .88;
}

/* ══════════════════════════════════════════════════════
   SERVIÇOS
══════════════════════════════════════════════════════ */
#servicos {
  background: var(--cream);
}

.services-header {
  max-width: 600px;
  margin-bottom: 56px;
}

/* layout for services header with an illustrative image */
.services-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: center;
  max-width: 900px;
}
.services-hero-img img {
  width:200%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.services-hero-text {
  text-align: left;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
  border-top: 4px solid transparent;
  transition: var(--transition);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  border-top-color: var(--green-mid);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--green-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--green-main);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--green-main);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  background: var(--green-pale);
  color: var(--green-main);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ══════════════════════════════════════════════════════
   DIFERENCIAIS PLUS (Âmbitta +)
══════════════════════════════════════════════════════ */
#diferenciais-plus {
  background: rgba(15, 61, 34, .93);
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
}

#diferenciais-plus::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(93, 184, 122, .1) 0%, transparent 50%);
  pointer-events: none;
}

.diff-plus-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

.diff-plus-left {
  position: relative;
  float: left;
  width: 280px;
  margin-right: 40px;
  margin-bottom: 30px;
}

.diff-plus-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  object-fit: cover;
  width: 100%;
}

.diff-plus-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--white);
  color: var(--green-main);
  padding: 20px 30px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
  animation: float 3s ease-in-out infinite;
}

.diff-plus-badge span {
  color: var(--green-light);
  margin-left: 5px;
  font-size: 1.3rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.diff-plus-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white);
}

.diff-plus-right .section-tag {
  color: var(--green-light);
  justify-content: flex-start;
}

.diff-plus-right .section-tag::before {
  background: var(--green-light);
}

.diff-plus-right .section-title {
  color: var(--white);
  line-height: 1.2;
}

.diff-plus-right .section-desc {
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  line-height: 1.8;
}

.diff-plus-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  margin-left: 20%;
}

.diff-plus-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.diff-plus-feature i {
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.diff-plus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  clear: both;
}

.diff-plus-card {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.diff-plus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.diff-plus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.diff-plus-card:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  #diferenciais-plus {
    padding: 60px 5vw;
  }
  
  .diff-plus-container {
    display: block;
  }

  .diff-plus-left {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .diff-plus-grid {
    clear: none;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .diff-plus-left {
    width: 100%;
  }

  .diff-plus-grid {
    grid-template-columns: 1fr;
  }

  .diff-plus-badge {
    font-size: .95rem;
    padding: 14px 20px;
  }
}

/* ══════════════════════════════════════════════════════
   DIFERENCIAIS
══════════════════════════════════════════════════════ */
#diferenciais {
  background: linear-gradient(160deg, #0d2b1f 0%, var(--green-dark) 60%, #142b3a 100%);
  position: relative;
  overflow: hidden;
}

#diferenciais::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.ambitta.com.br/app/webroot/assets/diferenciais.jpeg') center/cover no-repeat;
  opacity: .36;
}

.diferenciais-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.diferenciais-header {
  text-align: center;
  margin-bottom: 60px;
}

.diferenciais-header .section-tag {
  color: var(--green-light);
  justify-content: center;
}

.diferenciais-header .section-tag::before {
  background: var(--green-light);
}

.diferenciais-header .section-title {
  color: var(--white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.diff-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  padding: 30px 24px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.diff-card:hover {
  background: rgba(255, 255, 255, .11);
  transform: translateY(-5px);
  border-color: rgba(116, 198, 157, .35);
}

.diff-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-light);
  opacity: .4;
  line-height: 1;
  margin-bottom: 10px;
}

.diff-card i {
  font-size: 2.8rem;
  color: var(--green-light);
  margin-bottom: 14px;
  display: block;
}

.diff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: .86rem;
  color: rgba(255, 255, 255, .62);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
#contato {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-item p,
.contact-item a {
  font-size: .85rem;
  color: var(--text-light);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--green-main);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-group label span {
  color: var(--green-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e8f0ec;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: #fafcfb;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(64, 145, 108, .1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 106, 79, .4);
}

.form-success {
  display: none;
  padding: 20px;
  border-radius: 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 600;
  font-size: .95rem;
  align-items: center;
  gap: 12px;
}

.form-success.show {
  display: flex;
}

/* ══════════════════════════════════════════════════════
   EQUIPE
══════════════════════════════════════════════════════ */
#equipe {
  background: var(--white);
  padding: 60px 20px;
  text-align: center;
}

#equipe .equipe-content {
  max-width: 900px;
  margin: 0 auto;
}

#equipe .equipe-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

#equipe .equipe-text {
  text-align: left;
  line-height: 1.6;
  color: var(--dark);
}

/* ══════════════════════════════════════════════════════
SERVIÇOS 2
══════════════════════════════════════════════════════ */
#servicos2 {
  background: var(--white);
  padding: 60px 20px;
  text-align: center;
}

#servicos2 .servicos2-content {
  max-width: 900px;
  margin: 0 auto;
}

#servicos2 .servicos2-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

#servicos2 .servicos2-text {
  text-align: left;
  line-height: 1.6;
  color: var(--dark);
}





/* footer rules (re-added) */
footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, .7);
  padding: 48px 5vw 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 48px; /* increased spacing */
}

.footer-brand img {
  height: 100px; /* double previous 50px */
  width: auto;
}

.footer-brand p {
  margin: 8px 0 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer-links {
  flex: 1;
  display: flex;
  flex-direction: column; /* vertical list */
  gap: 8px;
}

.footer-useful {
  flex-direction: column; /* title on top, icons below */
  gap: 16px;
}

.useful-icons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-links a {
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--green-light);
}

.footer-links a img {
  width: 96px; /* triple size for icons */
  height: auto;
}

.footer-copyright {
  text-align: center;
  padding: 16px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 -5vw;
}

/* ══════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════ */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.close:hover {
  color: #000;
}

.modal-body {
  margin-top: 20px;
}

.modal-body h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--green-main);
}

.modal-body p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.modal-body ul {
  margin-left: 20px;
  margin-bottom: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.checkbox-label input {
  margin: 0;
}

.checkbox-label a {
  color: var(--green-main);
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════ */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-main);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(45, 106, 79, .4);
}

#back-top.show {
  opacity: 1;
  pointer-events: all;
}

#back-top:hover {
  transform: translateY(-3px);
  background: var(--green-mid);
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  .about-grid,
  .essencia-inner,
  .contact-grid,
  .services-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .about-badge-float {
    right: 0;
    bottom: -16px;
  }

  .essencia-right {
    display: none;
  }
}

@media (max-width: 700px) {
  nav {
    padding: 0 3vw;
    height: 60px;
  }

  .nav-logo img {
    height: 38px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(15, 61, 34, .98);
    padding: 20px 5vw;
    gap: 8px;
    z-index: 400;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: .9rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .hamburger {
    display: flex;
    z-index: 999;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 28px;
  }

  .vela-elements {
    grid-template-columns: 1fr;
  }
}
