/* ===== Tokens ===== */
:root {
  --red: #e2231a;
  --red-dark: #b91c15;
  --green: #0a6e3d;
  --green-dark: #07502c;
  --ink: #202422;
  --ink-soft: #55605a;
  --paper: #ffffff;
  --paper-alt: #f6f5f1;
  --line: #e6e4de;
  --shadow: 0 10px 30px rgba(20, 30, 25, 0.08);
  --radius: 14px;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}
.section-sub { max-width: 620px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(226, 35, 26, .3);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-outline-light {
  border-color: rgba(255,255,255,.7);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-logo { height: 52px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.main-nav a.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.main-nav a.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(15,17,16,.88) 0%, rgba(15,17,16,.72) 42%, rgba(15,17,16,.45) 68%, rgba(15,17,16,.30) 100%),
    url('../assets/hero-bg.jpg') center 30% / cover no-repeat;
}
.hero-inner { max-width: 720px; }
.hero h1 { color: #fff; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: #7fd7a8;
  margin-bottom: 18px;
}
.hero-sub { font-size: 1.1rem; max-width: 560px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ===== Strip ===== */
.strip {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 34px 0;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-item strong { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.strip-item span { font-size: .85rem; opacity: .9; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.about-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.about-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--red);
}
.carousel {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-alt);
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dot.is-active { background: #fff; transform: scale(1.25); }

/* ===== Cards grid (ambientes) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.env-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 26px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.env-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.env-photo {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper-alt);
  margin-bottom: 20px;
}
.env-photo .carousel-dots { bottom: 10px; }
.env-photo .carousel-dot { width: 6px; height: 6px; }
.env-photo .carousel-slide { transition: none; }
.carousel-arrow-sm {
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  opacity: .75;
}
.carousel-arrow-sm:hover { opacity: 1; }
.env-photo .carousel-prev { left: 8px; }
.env-photo .carousel-next { right: 8px; }
.env-card h3 { margin: 0 26px 8px; }
.env-card p { margin: 0 26px; font-size: .95rem; }

/* ===== Diferenciais ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.diff-item { text-align: left; }
.diff-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--red);
  opacity: .35;
  margin-bottom: 6px;
}
.diff-item h3 { margin-bottom: 8px; color: var(--green); }
.diff-item p { font-size: .95rem; margin: 0; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.testimonial p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff;
  text-align: center;
  padding: 70px 0;
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.9); margin-bottom: 28px; }
.cta-section .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-section .btn-primary:hover { background: #f1f1f1; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: grid; gap: 4px; }
.contact-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--green);
}
.contact-list a { font-weight: 500; }
.contact-list a:hover { color: var(--red); }

.contact-form {
  background: var(--paper-alt);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(10,110,61,.12);
}
.form-note { margin: 12px 0 0; font-size: .9rem; text-align: center; color: var(--green); min-height: 1.2em; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #d7dbd7; padding: 56px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { height: 48px; border-radius: 6px; background: #fff; padding: 6px 10px; margin-bottom: 12px; }
.footer-brand p { color: #a9b0aa; margin: 0; font-style: italic; font-family: var(--font-display); }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-social a { color: #d7dbd7; }
.footer-links a:hover, .footer-social a:hover { color: var(--red); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: .82rem; color: #8f958f; }
.footer-bottom p { margin: 0; color: inherit; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links, .footer-social { align-items: center; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 12, 11, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.24); }
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-arrow[hidden] { display: none; }

@media (max-width: 640px) {
  .lightbox-arrow { width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
