:root {
  --header-height: 96px;
  --scroll-offset: 120px;
  --container-max: 1200px;
  --container-padding: 20px;
  --section-padding: 80px;
  --prose-max: 72ch;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #1f2933;
  background: #e9ecef;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #146C43, #146C43);
  color: #fff;
  box-shadow: 0 10px 25px rgba(20, 108, 67, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 108, 67, 0.4);
}

.btn-light {
  background: #ffffff;
  color: #146C43;
  border: 1px solid rgba(20, 108, 67, 0.15);
}

.btn-light:hover {
  background: #eaf3ee;
}

.btn-outline {
  border: 1px solid #146C43;
  color: #146C43;
  background: transparent;
}

.btn-outline:hover {
  background: #146C43;
  color: #fff;
}

.hero {
  position: relative;
  min-height: 78vh;
  height: 78vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: #0d3d21;
}

.hero.video-fallback {
  background: #0d3d21 url("./img/logocfundo.jpeg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  filter: brightness(1.16) contrast(1.03) saturate(1.06);
  transform: scale(1.2);
  animation: heroVideoZoomOut 2600ms ease-out both;
}

@keyframes heroVideoZoomOut {
  from {
    transform: scale(1.26);
  }
  to {
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    animation: none;
    transform: scale(1.2);
  }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(10, 53, 34, 0.46),
      rgba(5, 25, 64, 0.5)
    ),
    rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.hero.video-fallback .hero-video {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 80px;
}

.hero-slogan {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 0 6px 12px;
  border-left: 4px solid #146c43;
  color: #dcfce7;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text h1 {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-text h1 span {
  display: block;
  color: #e5f7ef;
}

.hero-text p {
  font-size: 16px;
  max-width: min(60ch, 520px);
  color: #e5f7ef;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge {
  background: rgba(20, 108, 67, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  border: 1px solid rgba(20, 108, 67, 0.35);
}

.badge strong {
  display: block;
  font-size: 14px;
}

.hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 20px;
  padding: 26px 24px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-card h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 13px;
  color: #cbd5f5;
  margin-bottom: 18px;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-form input,
.hero-form select,
.hero-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 13px;
}

.hero-form input::placeholder,
.hero-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.hero-form textarea {
  resize: vertical;
  min-height: 72px;
}

.hero-form button {
  margin-top: 4px;
}

.hero-form small {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

.section {
  padding: var(--section-padding) 0;
  background: #e9ecef;
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

.section-grey {
  background: #dee2e6;
}

.section-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #146C43;
  font-weight: 700;
}

.section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  margin: 10px 0 14px;
  color: #111827;
}

.section p {
  color: #4b5563;
  font-size: 15px;
  max-width: var(--prose-max);
}

.section-subtitle {
  max-width: 560px;
  margin-bottom: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
}

.list-check {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #374151;
}

.list-check li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  color: #146C43;
}

.about-carousel-wrap {
  margin-top: 28px;
  max-width: 100%;
}

.about-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.about-carousel-head h3 {
  font-size: 18px;
  color: #111827;
}

.about-carousel-controls {
  display: flex;
  gap: 8px;
}

.about-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #146c43;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.about-carousel-btn:hover {
  background: #eaf3ee;
}

.about-carousel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  width: 100%;
}

.about-slide {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe3ea;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.about-slide img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-slide p {
  padding: 10px 12px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s
      ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(20, 108, 67, 0.5);
}

.card h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #111827;
}

.card p {
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 12px;
}

.card ul {
  list-style: none;
  font-size: 13px;
  color: #6b7280;
  display: grid;
  gap: 4px;
}

.card ul li::before {
  content: "\2022 ";
  color: #146C43;
}


.pill-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 12px;
  color: #4b5563;
}

.highlight-box {
  background: linear-gradient(135deg, #146c43, #1f8a57);
  color: #ecfdf5;
  padding: 22px 22px 18px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(20, 108, 67, 0.35);
  border: 1px solid rgba(236, 253, 245, 0.28);
}

.highlight-box h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #ffffff;
}

.highlight-box p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ecfdf5;
}

.highlight-box .list-check li {
  color: #ecfdf5;
}

.highlight-box .list-check li::before {
  color: #bbf7d0;
}

.contact-info {
  margin: 18px 0;
  font-size: 14px;
  color: #374151;
  display: grid;
  gap: 4px;
}

.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  display: grid;
  gap: 10px;
}

.contact-form h3 {
  font-size: 17px;
  color: #111827;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #111827;
}

.contact-form textarea {
  min-height: 96px;
  resize: vertical;
}


.whatsapp-fixo {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", system-ui;
  font-weight: 400;
  font-size: 30px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fixo:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.75);
}


@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }

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

@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    min-height: 68vh;
    height: 68vh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }

  .hero-card {
    margin-top: 8px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .about-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .about-carousel {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 14px;
  }
}

@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
    --container-padding: 24px;
    --section-padding: 96px;
  }

  .hero-slogan {
    font-size: 32px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .section h2 {
    font-size: 32px;
  }

  .grid-2 {
    gap: 56px;
  }

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

  .about-carousel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1500px;
    --section-padding: 110px;
  }

  .hero-slogan {
    font-size: 34px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .about-carousel {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Ultrawide (21:9 e similares): evita linhas longas e ajusta o hero */
@media (min-aspect-ratio: 21/9) and (min-width: 2000px) {
  :root {
    --prose-max: 68ch;
    --container-max: 1560px;
  }

  .hero {
    height: 72vh;
    min-height: 72vh;
  }

  .hero-content {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .hero-video {
    object-fit: cover;
    transform: scale(1.08);
  }

  .section-subtitle {
    max-width: 70ch;
  }
}

@media (min-aspect-ratio: 21/9) and (min-width: 2560px) {
  :root {
    --container-max: 1620px;
  }

  .hero-text h1 {
    font-size: 46px;
  }
}

@media (min-aspect-ratio: 21/9) and (min-width: 3440px) {
  :root {
    --prose-max: 64ch;
    --container-max: 1680px;
  }

  .hero {
    height: 68vh;
    min-height: 68vh;
  }

  .hero-video {
    transform: scale(1.05);
  }
}

/* Super ultrawide (32:9) */
@media (min-aspect-ratio: 32/9) and (min-width: 3840px) {
  :root {
    --prose-max: 60ch;
    --container-max: 1760px;
  }

  .hero {
    height: 64vh;
    min-height: 64vh;
  }

  .hero-text h1 {
    font-size: 44px;
  }
}


