/*
  Terra Rossi — style.less
  Projeto baseado no Metro UI Components Library 4.5.1.
  Mobile-first, usando exatamente os breakpoints do Metro UI:
  576px / 768px / 992px / 1200px / 1452px.
*/

@verde: #2f6b3b;
@verde-escuro: #1e4728;
@verde-claro: #eaf4e8;
@amarelo: #f4c430;
@amarelo-claro: #fff7d6;
@laranja: #e87824;
@laranja-claro: #fff0e3;
@preto: #171717;
@cinza: #666;
@cinza-claro: #f5f5f2;
@branco: #fff;
@raio: 14px;
@sombra: 0 10px 30px rgba(0,0,0,.10);

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: @preto;
  background: @branco;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { transition: .2s ease; }

/* Base mobile */
.container {
  width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.tr-header {
  position: relative;
  z-index: 10;
  background: @branco;
  border-bottom: 4px solid @amarelo;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.tr-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tr-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;

  img {
    display: block;
    max-width: 170px;
    max-height: 62px;
    object-fit: contain;
  }
}

.tr-header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tr-hours {
  display: none;
  color: @cinza;
  font-size: 12px;
  line-height: 1.3;
}

.tr-whatsapp,
.tr-contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 30px;
  background: @verde;
  color: @branco;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;

  &:hover, &:focus {
    background: @verde-escuro;
    color: @branco;
    text-decoration: none;
  }
}

.tr-whatsapp-icon { font-size: 11px; }

.tr-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: @preto;
}

.tr-hero-image {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;

  img {
    width: 100%;
    height: 100%;
    min-height: 540px;
    object-fit: cover;
    opacity: .78;
  }
}

.tr-hero-overlay {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.12) 100%);
}

.tr-hero-content {
  width: 100%;
  padding: 50px 0;
  color: @branco;

  h1 {
    margin: 8px 0 18px;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 800;
  }

  p {
    max-width: 650px;
    margin: 0 0 25px;
    font-size: 16px;
  }
}

.tr-kicker {
  display: inline-block;
  color: @laranja;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.tr-hero .tr-kicker { color: @amarelo; }

.tr-main-button {
  border-radius: 30px !important;
  font-weight: 800 !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
}

.tr-section { padding: 60px 0; }

.tr-section-heading {
  max-width: 820px;
  margin: 0 auto 35px;
  text-align: center;

  h2 {
    margin: 8px 0 14px;
    color: @verde-escuro;
    font-size: 29px;
    line-height: 1.15;
  }

  p {
    margin: 0 auto;
    color: @cinza;
    font-size: 16px;
  }
}

.tr-section-heading-light {
  h2, p { color: @branco; }
  .tr-kicker { color: @amarelo; }
}

.tr-card {
  height: 100%;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: @raio;
  border-top: 5px solid @verde;
  background: @cinza-claro;
  box-shadow: @sombra;

  h3 { margin: 10px 0 8px; color: @verde-escuro; }
  p { margin: 0; color: @cinza; }
}

.tr-card-yellow { border-top-color: @amarelo; }
.tr-card-orange { border-top-color: @laranja; }
//.tr-card-icon { font-size: 32px; line-height: 1; }
.tr-card-icon {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 18px;
}

.tr-products { background: @verde-escuro; }

.tr-product {
  overflow: hidden;
  height: 100%;
  margin-bottom: 20px;
  background: @branco;
  border-radius: @raio;
  box-shadow: @sombra;
}

.tr-product-photo {
  height: 230px;
  overflow: hidden;
  background: @cinza-claro;

  img { width: 100%; height: 100%; object-fit: cover; display: block; }
}

.tr-product-body {
  padding: 22px 24px 26px;

  h3 { margin: 5px 0 7px; color: @verde-escuro; font-size: 25px; }
  p { margin: 0; color: @cinza; }
}

.tr-product-label {
  color: @laranja;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tr-benefits { background: @branco; }

.tr-benefits-image {
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  object-fit: cover;
  border-radius: @raio;
  box-shadow: @sombra;
}

.tr-benefits h2 {
  margin: 7px 0 18px;
  color: @verde-escuro;
  font-size: 29px;
  line-height: 1.15;
}

.tr-benefits p { color: @cinza; }

.tr-check-list {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;

  li {
    position: relative;
    margin: 10px 0;
    padding-left: 28px;
    font-weight: 600;

    &:before {
      content: "✓";
      position: absolute;
      left: 0;
      color: @verde;
      font-weight: 900;
    }
  }
}

.tr-local { padding: 50px 0; background: @amarelo; }

.tr-local-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 25px;

  h2 { margin: 7px 0 10px; color: @preto; font-size: 29px; line-height: 1.15; }
  p { max-width: 760px; margin: 0; color: #383838; font-size: 16px; }
  .tr-kicker { color: @verde-escuro; }
}

.tr-testimonials { background: @cinza-claro; }
.tr-note { font-size: 14px !important; font-style: italic; }

.tr-quote {
  height: 100%;
  margin: 0 0 20px;
  padding: 25px;
  background: @branco;
  border-left: 5px solid @laranja;
  border-radius: @raio;
  box-shadow: 0 5px 20px rgba(0,0,0,.06);

  p { margin: 0 0 18px; color: #444; font-size: 15px; }
  footer { color: @verde-escuro; font-size: 13px; font-weight: 700; }
}

.tr-contact { padding: 60px 0; background: @verde; color: @branco; }

.tr-contact-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  gap: 30px;

  h2 { margin: 7px 0 12px; color: @branco; font-size: 30px; line-height: 1.15; }
  p { max-width: 680px; margin: 0; color: rgba(255,255,255,.9); font-size: 16px; }
  .tr-kicker { color: @amarelo; }
}

.tr-contact-data {
  min-width: 0;
  text-align: left;

  address { margin-top: 18px; color: rgba(255,255,255,.88); font-style: normal; line-height: 1.7; }
}

.tr-contact-whatsapp {
  background: @amarelo;
  color: @preto;
  &:hover, &:focus { background: @branco; color: @verde-escuro; }
}

.tr-footer {
  padding: 45px 0 22px;
  background: @preto;
  color: rgba(255,255,255,.75);

  h3 { margin: 0 0 12px; color: @branco; font-size: 17px; }
  p { margin: 8px 0 0; }
  a { color: @amarelo; text-decoration: none; &:hover, &:focus { color: @laranja; } }
}

.tr-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-bottom: 30px;
}

.tr-footer-logo { width: 170px; max-height: 65px; object-fit: contain; object-position: left center; }

.tr-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  a {
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    &:hover { border-color: @amarelo; }
  }
}

.tr-copyright {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  font-size: 12px;
}

.tr-back-top {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: @laranja;
  color: @branco;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0,0,0,.22);

  &:hover, &:focus { background: @verde; color: @branco; text-decoration: none; }
}

/* 576px — sm */
@media screen and (min-width: 576px) {
  .container { width: 94%; }
  .tr-logo img { max-width: 195px; max-height: 70px; }
  .tr-whatsapp { padding: 10px 15px; font-size: 13px; }
  .tr-hero, .tr-hero-overlay, .tr-hero-image img { min-height: 580px; }
  .tr-hero-content h1 { font-size: 42px; }
  .tr-section { padding: 70px 0; }
  .tr-section-heading h2, .tr-benefits h2 { font-size: 34px; }
  .tr-product-photo { height: 260px; }
  .tr-benefits-image { height: 360px; }
}

/* 768px — md */
@media screen and (min-width: 768px) {
  .container { width: 92%; }
  .tr-header-inner { min-height: 86px; gap: 20px; }
  .tr-header-contact { gap: 14px; }
  .tr-hours { display: block; }
  .tr-hero, .tr-hero-overlay, .tr-hero-image img { min-height: 610px; }
  .tr-hero-content { width: 72%; padding: 65px 0; }
  .tr-hero-content h1 { font-size: 50px; }
  .tr-hero-content p { font-size: 18px; }
  .tr-card, .tr-product, .tr-quote { margin-bottom: 0; }
  .tr-product-photo { height: 280px; }
  .tr-benefits-image { height: 420px; margin-bottom: 0; }
  .tr-local-box, .tr-contact-inner { flex-direction: row; align-items: center; }
  .tr-contact-data { min-width: 290px; text-align: right; }
  .tr-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 35px; }
}

/* 992px — lg */
@media screen and (min-width: 992px) {
  .container { width: 90%; }
  .tr-header-inner { min-height: 92px; }
  .tr-logo img { max-width: 220px; max-height: 76px; }
  .tr-header-contact { gap: 18px; }
  .tr-hero-content { width: 64%; max-width: 720px; }
  .tr-hero-content h1 { font-size: 56px; }
  .tr-section { padding: 85px 0; }
  .tr-section-heading { margin-bottom: 45px; }
  .tr-section-heading h2, .tr-benefits h2 { font-size: 40px; }
  .tr-card { padding: 30px; }
  .tr-product-photo { height: 300px; }
  .tr-product-body { padding: 25px 28px 30px; }
  .tr-benefits-image { height: 470px; }
  .tr-local { padding: 65px 0; }
  .tr-local-box h2 { font-size: 40px; }
  .tr-contact { padding: 75px 0; }
  .tr-contact-inner h2 { font-size: 40px; }
  .tr-back-top { right: 22px; bottom: 22px; width: 46px; height: 46px; }
}

/* 1200px — xl */
@media screen and (min-width: 1200px) {
  .container { width: 88%; max-width: 1240px; }
  .tr-hero-content { width: 62%; }
  .tr-hero-content h1 { font-size: 60px; }
  .tr-hero-content p { font-size: 19px; }
  .tr-product-photo { height: 320px; }
  .tr-footer-grid { gap: 45px; }
}

/* 1452px — xxl */
@media screen and (min-width: 1452px) {
  .container { width: 86%; max-width: 1320px; }
  .tr-header-inner { min-height: 98px; }
  .tr-logo img { max-width: 235px; max-height: 80px; }
  .tr-hero, .tr-hero-overlay, .tr-hero-image img { min-height: 650px; }
  .tr-hero-content { width: 60%; }
  .tr-hero-content h1 { font-size: 64px; }
  .tr-section { padding: 95px 0; }
  .tr-product-photo { height: 340px; }
}
