/* =========================================================
   NORTE MIMOS — FRONT-END
   Arquivo principal de estilos.

   A identidade visual foi pensada a partir da proposta:
   - clean
   - amazônica
   - elegante
   - ecológica
   - tons de verde, creme e dourado

   Se quiser mudar toda a paleta depois, altere primeiro
   as variáveis em :root.
   ========================================================= */

:root {
  --green-950: #0d2d22;
  --green-900: #123d2d;
  --green-800: #1c513d;
  --green-700: #2a6b52;
  --green-500: #6f947b;
  --green-300: #a8c0ae;

  --cream-50: #fffdf8;
  --cream-100: #f8f4ea;
  --cream-200: #eee7d8;
  --cream-300: #ddd3c0;

  --gold-500: #c79b4c;
  --gold-300: #dfc187;

  --text: #18342a;
  --text-soft: #65746d;
  --white: #ffffff;

  --border: rgba(24, , 42, 0.12);
  --shadow: 0 18px 50px rgba(20, 47, 37, 0.10);
  --shadow-small: 0 8px 24px rgba(20, 47, 37, 0.08);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --container: 1240px;
  --header-height: 82px;
}

/* =========================================================
   RESET BÁSICO
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--cream-50);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

/* =========================================================
   COMPONENTES GERAIS
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--cream-100);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-300);
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-soft);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-900);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(18, 61, 45, 0.18);
}

.button-primary:hover {
  background: var(--green-800);
}

.button-outline {
  border-color: rgba(18, 61, 45, 0.35);
  background: rgba(255, 255, 255, 0.58);
  color: var(--green-900);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  background: var(--white);
}

.button-light {
  background: var(--cream-50);
  color: var(--green-950);
}

.button-large {
  min-height: 56px;
  padding-inline: 30px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  margin-right: auto;
}

.brand-logo {
  width: 205px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-menu a {
  position: relative;
  font-size: 0.91rem;
  font-weight: 700;
  color: #385148;
}

.main-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold-500);
  transition: 0.2s ease;
}

.main-menu a:hover::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
  transition: 0.25s ease;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 248, 0.98) 0%,
      rgba(255, 253, 248, 0.93) 34%,
      rgba(255, 253, 248, 0.42) 65%,
      rgba(255, 253, 248, 0.12) 100%
    ),
    var(--cream-100);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 253, 248, 0.98) 0%,
      rgba(255, 253, 248, 0.91) 36%,
      rgba(255, 253, 248, 0.35) 73%,
      rgba(255, 253, 248, 0.08) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  padding: 50px 0;
}

.hero-copy h1 {
  max-width: 760px;
  color: var(--green-950);
}

.hero-copy h1 span {
  display: block;
  color: var(--green-700);
}

.hero-text {
  max-width: 590px;
  margin-top: 22px;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-800);
}

.location-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(199, 155, 76, 0.15);
}

.hero-products {
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-products img {
  width: min(100%, 820px);
  max-height: 590px;
  object-fit: contain;
  object-position: right bottom;
}

/* =========================================================
   PRODUTOS
   ========================================================= */

.carousel-controls {
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
  font-size: 1.15rem;
  box-shadow: var(--shadow-small);
}

.icon-button:hover {
  background: var(--green-900);
  color: var(--white);
}

.products-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 5px 2px 20px;
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-small);
  transition: 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-image {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: var(--cream-100);
  overflow: hidden;
}

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

.product-card h3 {
  margin-top: 16px;
  color: var(--green-950);
}

.product-card p {
  margin-top: 8px;
  font-size: 0.92rem;
}

.product-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 800;
}

/* =========================================================
   SOLUÇÕES
   ========================================================= */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--cream-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.solution-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(111, 148, 123, 0.12);
  font-size: 1.5rem;
}

.solution-card p {
  margin-top: 6px;
  font-size: 0.9rem;
}

/* =========================================================
   BENEFÍCIOS
   ========================================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
}

.benefit {
  min-height: 220px;
  padding: 30px;
  background: var(--white);
}

.benefit-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.benefit p {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* =========================================================
   BANNER EMPRESAS
   ========================================================= */

.corporate-banner {
  min-height: 440px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 0%, rgba(223, 193, 135, 0.18), transparent 36%),
    var(--green-950);
  box-shadow: var(--shadow);
}

.corporate-copy {
  padding: 60px;
}

.corporate-copy h2,
.corporate-copy p {
  color: var(--white);
}

.corporate-copy p {
  max-width: 590px;
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.74);
}

.corporate-image {
  height: 100%;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.corporate-image img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center bottom;
}

/* =========================================================
   SOBRE
   ========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.about-copy p {
  margin-top: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #41564e;
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 107, 82, 0.12);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
}

/* =========================================================
   DEPOIMENTOS
   ========================================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
}

.stars {
  color: var(--gold-500);
  letter-spacing: 0.14em;
}

.testimonial-card > p {
  margin-top: 18px;
  min-height: 90px;
  color: #445b52;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-200);
}

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

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author span {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  padding-top: 20px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 54px 60px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(111, 148, 123, 0.08), rgba(199, 155, 76, 0.09)),
    var(--cream-100);
}


/* Faz o texto da esquerda ocupar o espaço disponível */
.cta-box > div {
  flex: 1 1 auto;
  min-width: 0;
}

/* Faz o botão não encolher e não quebrar o texto */
.cta-box .button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 230px;
}

.cta-box p {
  max-width: 680px;
  margin-top: 12px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  margin-top: 80px;
  padding: 66px 0 24px;
  background: var(--green-950);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.1fr 1fr;
  gap: 50px;
}

.footer h3 {
  margin-bottom: 16px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer a,
.footer p {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-brand img {
  width: 230px;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .solution-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 68px 0;
  }

  .brand-logo {
    width: 180px;
  }

  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--cream-50);
    box-shadow: var(--shadow);
    transform: translateY(-15px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

  .main-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-menu a {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .main-menu a:hover {
    background: var(--cream-100);
  }

  .main-menu a::after {
    display: none;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero-background::after {
    background: rgba(255, 253, 248, 0.88);
  }

  .hero-copy {
    padding-bottom: 10px;
  }

  .hero-products {
    justify-content: center;
  }

  .hero-products img {
    max-height: 410px;
  }

  .corporate-banner,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .corporate-copy {
    padding: 44px 30px 10px;
  }

  .corporate-image {
    min-height: 300px;
  }

  .corporate-image img {
    max-height: 330px;
  }

  .about-grid {
    gap: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 40px 30px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-heading {
    align-items: center;
  }

  .solution-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .benefit {
    min-height: auto;
  }

  .corporate-banner {
    border-radius: 22px;
  }

  .corporate-copy {
    padding: 36px 22px 0;
  }

  .about-image {
    border-radius: 22px;
  }

  .cta-box {
    padding: 32px 22px;
  }

  .cta-box .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
