/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  color: #1f3b22;
  background: #f4efe5;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --green-dark: #1f5b2e;
  --green-darker: #194a26;
  --green-mid: #2f7a3e;
  --green-light: #a4d27a;
  --cream: #f4efe5;
  --cream-light: #f9f5ec;
  --text: #1f3b22;
  --gray: #4a5a4c;
  --shadow: 0 8px 24px rgba(31,91,46,.10);
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}

/* HEADER */
.site-header {
  background: var(--cream-light);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
}
.brand-text { min-width: 0; overflow: hidden; }
.brand-text h1,
.brand-text p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

  .brand-logo {
    width: 64px;
    height: 64px;
    border: 2.5px solid #1f5b2e;
    border-radius: 50%;
    object-fit: contain;
    padding: 5px;
    display: block;
    box-sizing: border-box;
    background: #fff;
  }

.brand-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-text p {
  font-size: 9px;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 1.2px;
  margin-top: 3px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a.active { color: var(--green-dark); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--green-light);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.35;
  text-align: center;
  padding: 14px 26px;
  border-radius: 32px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
  white-space: normal;
  overflow-wrap: anywhere;
}
.btn-whatsapp {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31,91,46,.25);
}
.btn-whatsapp:hover { background: var(--green-darker); transform: translateY(-2px); }
.btn-primary {
  background: var(--green-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--green-darker); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: #fff; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream-light);
  min-height: 640px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--cream-light) 0%, var(--cream-light) 28%, rgba(249,245,236,.7) 40%, rgba(249,245,236,0) 55%),
    url('https://images.unsplash.com/photo-1599809275671-b5942cabc7a2?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 70px 40px 90px;
  align-items: start;
}

.hero-content { max-width: 620px; }
.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.05;
  color: var(--green-dark);
  letter-spacing: 0.5px;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 26px;
}
.hero-divider .line {
  flex: 0 0 280px;
  height: 2px;
  background: var(--green-light);
}
.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.35;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 15px;
  color: #3a4d3c;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--green-dark);
  color: #fff;
  border-radius: 18px;
  padding: 30px 28px;
  width: 240px;
  margin-top: 80px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.card-leaf {
  background: rgba(255,255,255,.15);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.hero-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero-card p {
  font-size: 13px;
  line-height: 1.55;
  opacity: .95;
}

/* SECTION TITLE (shared) */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.section-title.left { justify-content: flex-start; margin-bottom: 18px; }
.section-title h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 2px;
}
.section-title h2.white { color: #fff; }
.section-title .dash {
  width: 80px;
  height: 2px;
  background: var(--green-light);
}
.section-subtitle {
  text-align: center;
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle.white { color: rgba(255,255,255,.85); }

/* SERVICES */
.services {
  background: var(--cream);
  padding: 60px 0 0;
  position: relative;
}
.services-inner {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 0;
  align-items: stretch;
}
.services-main { padding: 20px 60px 60px 0; }

.services-main .section-title { margin-bottom: 50px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.service-item { text-align: center; }
.service-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cream-light);
  border: 1.5px solid #d8d0bf;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: transform .3s;
}
.service-item:hover .service-icon { transform: translateY(-6px); }
.service-item h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.service-item p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* TECH CARD */
.tech-card {
  background: var(--green-dark);
  color: #fff;
  padding: 50px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .15;
  z-index: 0;
}
.tech-card > * { position: relative; z-index: 1; }
.tech-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.tech-role {
  font-size: 14px;
  font-weight: 500;
  opacity: .9;
  margin-bottom: 22px;
}
.tech-desc {
  font-size: 13px;
  line-height: 1.7;
  opacity: .95;
  margin-bottom: 26px;
}
.tech-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tech-divider .line {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,.5);
}

/* FOOTER STRIP */
.footer-strip {
  background: var(--green-dark);
  padding: 22px 0;
  color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.8px;
  line-height: 1.4;
}
.footer-item strong { font-weight: 800; }
.footer-item svg { flex-shrink: 0; }

/* SOBRE */
.about {
  background: var(--cream-light);
  padding: 90px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--green-dark);
  color: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.about-badge strong {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.about-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.about-headline {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
  margin: 8px 0 22px;
}
.about-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #e0d8c8;
  border-bottom: 1px solid #e0d8c8;
}
.stat {
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}

/* BENEFÍCIOS */
.benefits {
  background: var(--cream);
  padding: 90px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.benefit-card {
  background: var(--cream-light);
  padding: 36px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #e8e0cf;
  transition: all .3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}
.benefit-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(164,210,122,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.benefit-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* GALERIA */
.gallery {
  background: var(--cream-light);
  padding: 90px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,91,46,.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* BLOG */
.blog {
  background: var(--cream);
  padding: 90px 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--cream-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.05);
  transition: all .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.blog-card:hover .blog-image img { transform: scale(1.06); }
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 20px;
}
.blog-content {
  padding: 24px;
}
.blog-date {
  font-size: 12px;
  color: var(--green-mid);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.blog-content h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.35;
  margin: 10px 0 12px;
}
.blog-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  transition: color .2s;
}
.blog-link:hover { color: var(--green-mid); }

/* CONTATO */
.contact {
  background: var(--green-dark);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?auto=format&fit=crop&w=1200&q=80');
  background-size: cover;
  opacity: .08;
}
.contact > * { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
  min-width: 0;
}
.contact-info {
  color: #fff;
  min-width: 0;
}
.contact-info h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.contact-intro {
  font-size: 15px;
  line-height: 1.6;
  opacity: .9;
  margin-bottom: 32px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.contact-list li > div {
  min-width: 0;
}
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.contact-list span {
  font-size: 13px;
  opacity: .9;
  overflow-wrap: anywhere;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  min-width: 0;
}
.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0d8c8;
  border-radius: 10px;
  background: var(--cream-light);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 14px;
  transition: border-color .2s, background .2s;
}
.form-row input { margin-bottom: 0; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; padding: 16px; }
.grecaptcha-badge { visibility: hidden; }
.recaptcha-notice {
  margin-top: 12px;
  color: rgba(31, 59, 34, .55);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.recaptcha-notice a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}
.recaptcha-notice a:hover {
  color: var(--green-mid);
}

/* SITE FOOTER */
.site-footer {
  background: #0f3b1c;
  color: #fff;
  padding: 30px 0;
}
.footer-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--green-light);
}
.footer-brand p {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: .8;
  margin-top: 2px;
}
.footer-copy {
  font-size: 12px;
  opacity: .7;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  z-index: 99;
  transition: transform .2s;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.5); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,0); }
}

/* REVEAL ON SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== */
/* RESPONSIVE BREAKPOINTS */
/* ==================== */

@media (max-width: 1280px) {
  .main-nav ul { gap: 22px; }
  .hero-title { font-size: 46px; }
  .container { padding: 0 30px; }
}

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: 12px; }
  .services-inner { grid-template-columns: 1fr 260px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

@media (max-width: 960px) {
  .header-inner { gap: 14px; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 91, 46, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .main-nav.open { max-height: 100vh; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
  }
  .main-nav li {
    width: 100%;
    opacity: 0;
    transform: translateX(-20px);
    transition: all .35s ease;
  }
  .main-nav.open li {
    opacity: 1;
    transform: translateX(0);
  }
  .main-nav.open li:nth-child(1) { transition-delay: 0.05s; }
  .main-nav.open li:nth-child(2) { transition-delay: 0.10s; }
  .main-nav.open li:nth-child(3) { transition-delay: 0.15s; }
  .main-nav.open li:nth-child(4) { transition-delay: 0.20s; }
  .main-nav.open li:nth-child(5) { transition-delay: 0.25s; }
  .main-nav.open li:nth-child(6) { transition-delay: 0.30s; }
  .main-nav.open li:nth-child(7) { transition-delay: 0.35s; }
  .main-nav a {
    display: flex;
    align-items: center;
    padding: 16px 32px;
    width: 100%;
    color: #fff;
    font-size: 15px;
    letter-spacing: 1.5px;
    border-left: 3px solid transparent;
  }
  .main-nav a::before {
    content: "—";
    margin-right: 12px;
    color: var(--green-light);
    opacity: 0;
    transition: opacity .2s;
  }
  .main-nav a:hover { color: var(--green-light); }
  .main-nav a.active::after { display: none; }
  .main-nav a.active {
    background: rgba(164,210,122,.15);
    border-left-color: var(--green-light);
    color: var(--green-light);
  }
  .main-nav a.active::before { opacity: 1; }

  .hero { min-height: auto; }
  .hero-bg {
    background-image:
      linear-gradient(180deg, var(--cream-light) 0%, rgba(249,245,236,.88) 35%, rgba(249,245,236,0.65) 100%),
      url('https://images.unsplash.com/photo-1599809275671-b5942cabc7a2?auto=format&fit=crop&w=1600&q=80');
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 50px 30px 60px;
  }
  .hero-title { font-size: 40px; }
  .hero-divider .line { flex-basis: 200px; }
  .hero-card {
    margin-top: 20px;
    width: 100%;
    max-width: 320px;
  }

  .services-inner { grid-template-columns: 1fr; }
  .services-main { padding: 20px 0 50px; }
  .tech-card { padding: 50px 30px; }

  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .about { padding: 70px 0; }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image img { height: 380px; }

  .benefits { padding: 70px 0; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .gallery, .blog { padding: 70px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  .contact { padding: 70px 0; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==================== */
/* MOBILE — refined */
/* ==================== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* HEADER */
  .site-header { padding: 10px 0; }
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-text h1 { font-size: 13px; letter-spacing: 0.2px; }
  .brand-text p { display: none; }
  .nav-toggle { width: 30px; height: 30px; }
  .nav-toggle span { width: 22px; height: 2.5px; }
  .main-nav { top: 58px; }

  /* HERO */
  .hero { min-height: 540px; }
  .hero-bg {
    background-image:
      linear-gradient(180deg, var(--cream-light) 0%, rgba(249,245,236,.6) 45%, rgba(249,245,236,0.3) 100%),
      url('https://images.unsplash.com/photo-1599809275671-b5942cabc7a2?auto=format&fit=crop&w=1200&q=80');
    background-position: center top;
  }
  .hero-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 34px 0 44px;
    gap: 24px;
  }

  .hero-content,
  .hero-inner > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 30px);
    line-height: 1.05;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
  }
  .hero-divider { margin: 16px 0 18px; }
  .hero-divider .line { flex-basis: 90px; height: 2px; }
  .hero-divider .leaf { width: 18px; height: 18px; }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 14px;
    font-weight: 700;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-buttons {
    width: 100%;
    min-width: 0;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 13px 18px;
    font-size: 12px;
    white-space: normal;
  }

  /* HERO CARD — mais compacto e estiloso */
  .hero-card {
    width: 100%;
    margin: 6px auto 0;
    padding: 22px 18px 24px;
    border-radius: 14px;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
  }
  .card-leaf {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  .hero-card h3 {
    font-size: 13px;
    margin-bottom: 0;
    line-height: 1.25;
    letter-spacing: 0.8px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-card h3 br { display: block; }
  .hero-card p {
    font-size: 11.5px;
    width: 100%;
    max-width: 100%;
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.18);
    overflow-wrap: anywhere;
  }
  .hero-card p br { display: block; }

  /* SECTION TITLES */
  .section-title { gap: 12px; margin-bottom: 14px; }
  .section-title h2 { font-size: 17px; letter-spacing: 1.5px; }
  .section-title .dash { width: 32px; height: 2px; }
  .section-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
    padding: 0 4px;
  }

  /* SERVICES */
  .services { padding: 44px 0 0; }
  .services-main { padding: 12px 0 40px; }
  .services-main .section-title { margin-bottom: 32px; }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
  }
  .service-icon {
    width: 78px;
    height: 78px;
    margin-bottom: 14px;
  }
  .service-icon svg { width: 38px; height: 38px; }
  .service-item h3 {
    font-size: 12px;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
  }
  .service-item p {
    font-size: 11.5px;
    line-height: 1.5;
  }
  .service-item p br { display: none; }

  /* TECH CARD */
  .tech-card { padding: 40px 24px; }
  .tech-icon { width: 70px; height: 70px; margin-bottom: 16px; }
  .tech-icon svg { width: 48px; height: 48px; }
  .tech-card h3 { font-size: 14px; letter-spacing: 1.2px; }
  .tech-role { font-size: 13px; margin-bottom: 16px; }
  .tech-desc { font-size: 12px; margin-bottom: 18px; }
  .tech-desc br { display: none; }

  /* FOOTER STRIP — grid 2x2 compacto */
  .footer-strip { padding: 18px 0; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px 14px;
  }
  .footer-item {
    font-size: 10px;
    letter-spacing: 0.4px;
    gap: 10px;
    line-height: 1.35;
  }
  .footer-item svg { width: 22px; height: 22px; }

  /* SOBRE */
  .about { padding: 48px 0; }
  .about-inner { gap: 28px; }
  .about-image { border-radius: 14px; }
  .about-image img { height: 240px; }
  .about-badge {
    bottom: 14px;
    right: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    gap: 8px;
  }
  .about-badge strong { font-size: 22px; }
  .about-badge span { font-size: 9px; letter-spacing: 0.3px; }
  .about-headline {
    font-size: 18px;
    line-height: 1.35;
    margin: 4px 0 16px;
  }
  .about-text p { font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 22px 0;
    padding: 18px 0;
  }
  .stat strong { font-size: 20px; margin-bottom: 4px; }
  .stat span { font-size: 10px; line-height: 1.3; }

  /* BENEFÍCIOS — 2 colunas mais compactas */
  .benefits { padding: 48px 0; }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .benefit-card {
    padding: 22px 14px 20px;
    border-radius: 12px;
  }
  .benefit-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }
  .benefit-icon svg { width: 24px; height: 24px; }
  .benefit-card h3 {
    font-size: 13px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
  }
  .benefit-card p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  /* GALERIA — 2 colunas */
  .gallery { padding: 48px 0; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item { border-radius: 10px; aspect-ratio: 1/1; }
  .gallery-overlay {
    padding: 12px;
    font-size: 11px;
    opacity: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(31,91,46,.9) 100%);
  }

  /* BLOG */
  .blog { padding: 48px 0; }
  .blog-grid { gap: 18px; }
  .blog-card { border-radius: 12px; }
  .blog-image { aspect-ratio: 16/9; }
  .blog-tag {
    top: 12px;
    left: 12px;
    font-size: 9px;
    padding: 5px 10px;
  }
  .blog-content { padding: 18px; }
  .blog-date { font-size: 11px; }
  .blog-content h3 { font-size: 15px; margin: 8px 0 10px; }
  .blog-content p { font-size: 12.5px; margin-bottom: 12px; }
  .blog-link { font-size: 12px; }

  /* CONTATO */
  .contact { padding: 48px 0; }
  .contact-grid { gap: 28px; }
  .contact-info h3 { font-size: 18px; margin-bottom: 10px; }
  .contact-intro { font-size: 13px; margin-bottom: 22px; }
  .contact-list { gap: 16px; margin-bottom: 22px; }
  .contact-list li { gap: 12px; align-items: flex-start; }
  .contact-icon { width: 40px; height: 40px; }
  .contact-icon svg { width: 16px; height: 16px; }
  .contact-list strong { font-size: 12px; }
  .contact-list span { font-size: 12px; }
  .contact-form {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .contact-form h3 { font-size: 16px; margin-bottom: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row input { margin-bottom: 12px; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    border-radius: 8px;
  }
  .form-submit {
    padding: 14px;
    font-size: 12px;
  }

  /* FOOTER FINAL */
  .site-footer { padding: 22px 0; }
  .footer-final {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .footer-brand .brand-logo { width: 38px; height: 38px; }
  .footer-brand strong { font-size: 14px; }
  .footer-brand p { font-size: 10px; letter-spacing: 0.6px; }
  .footer-copy { font-size: 11px; }

  /* WHATSAPP FLOAT */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-float svg { width: 22px; height: 22px; }

  /* BUTTONS */
  .btn { width: 100%; font-size: 12px; padding: 12px 16px; letter-spacing: 0.6px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .brand-text h1 { font-size: 12px; }
  .brand-logo { width: 32px; height: 32px; }
  .header-inner { gap: 8px; }
  .hero-title { font-size: clamp(23px, 7.5vw, 26px); }
  .hero-subtitle { font-size: 14px; }
  .section-title h2 { font-size: 15px; }

  /* Em telas muito pequenas, transformar grids 2-col em 1-col onde melhora a leitura */
  .benefits-grid { grid-template-columns: 1fr; }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  width: min(420px, calc(100vw - 32px));
  min-height: 82px;
  padding: 16px 48px 16px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #1e2d24;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(31, 91, 46, .16);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 46, 25, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px) translateX(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}

.contact-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}

.contact-toast-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}

.contact-toast.success .contact-toast-icon { background: #1f6a35; }
.contact-toast.error .contact-toast-icon { background: #c0392b; }

.contact-toast-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-toast .toast-icon-error,
.contact-toast.error .toast-icon-success { display: none; }
.contact-toast.error .toast-icon-error { display: block; }

.contact-toast-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-toast-content strong {
  color: #173d24;
  font-size: 14px;
  font-weight: 800;
}

.contact-toast.error .contact-toast-content strong { color: #8f2a20; }

.contact-toast-content span {
  color: #52645a;
  font-size: 12.5px;
  line-height: 1.5;
}

.contact-toast-close {
  position: absolute;
  top: 9px;
  right: 11px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: #66756b;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.contact-toast-close:hover { background: rgba(31, 91, 46, .08); }

@media (max-width: 600px) {
  .contact-toast {
    top: auto;
    right: 16px;
    bottom: 82px;
    left: 16px;
    width: auto;
    min-height: 76px;
    padding: 14px 44px 14px 14px;
    transform: translateY(20px);
  }

  .contact-toast.show { transform: translateY(0); }
  .contact-toast-icon { width: 38px; height: 38px; flex-basis: 38px; }
}
