* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-soft: #f1ebe3;
  --text: #1f1f1f;
  --muted: #5f5f5f;
  --title: #181818;
  --accent: #9a5a32;
  --accent-hover: #7f4724;
  --border: #e8ddd1;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 18px 36px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --transition: all 0.3s ease;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 221, 209, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.nav {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 170px;
  min-width: 170px;
  position: relative;
  z-index: 1002;
}

.logo img {
  width: 170px;
  height: auto;
  max-width: unset;
  display: block;
}

/* MENU */
.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.menu a:hover,
.menu a.active {
  color: var(--accent);
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1002;
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--title);
  border-radius: 999px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.desktop-only {
  display: inline-flex;
}

.menu-mobile-btn {
  display: none;
}

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline {
  padding: 12px 24px;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-primary {
  padding: 15px 28px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(154, 90, 50, 0.18);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* HERO */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #f7f4ef 0%, #efe7dc 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 52px;
  align-items: center;
}

.hero-text h1 {
  font-size: 58px;
  line-height: 1.03;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 22px;
}

.hero-text p {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ABOUT */
.about {
  padding: 84px 0;
  background: var(--surface);
}

.about-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-text h2 {
  font-size: 42px;
  line-height: 1.15;
  color: var(--title);
  margin-bottom: 22px;
}

.about-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* SERVICES */
.services {
  padding: 74px 0 80px;
  background: var(--surface-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 24px 20px 26px;
  text-align: center;
}

.card-content h3 {
  font-size: 18px;
  line-height: 1.45;
  color: var(--title);
  font-weight: 700;
}

/* CONTACT */
.contact {
  padding: 78px 0;
  background: var(--surface);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

.contact-info h2 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--title);
}

.contact-info > p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 640px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.contact-item {
  background: #fcfaf7;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--title);
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-item p a {
  color: var(--accent);
  font-weight: 600;
  line-height: 1.6;
  transition: var(--transition);
  word-break: break-word;
}

.contact-item p a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.contact-item p a:focus {
  outline: 2px solid rgba(154, 90, 50, 0.25);
  outline-offset: 3px;
  border-radius: 4px;
}

.contact-card {
  background: #fcfaf7;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 30px;
  margin-bottom: 14px;
  color: var(--title);
}

.contact-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

/* FOOTER */
.footer {
  background: #1f140d;
  color: #f3ece5;
  padding-top: 56px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 420px;
  color: rgba(243, 236, 229, 0.78);
  line-height: 1.8;
  font-size: 15px;
}

.footer-logo {
  width: 160px;
  height: auto;
  display: block;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 18px;
  color: #ffffff;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  color: rgba(243, 236, 229, 0.78);
  font-size: 15px;
  line-height: 1.9;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(243, 236, 229, 0.68);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
  transition: var(--transition);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 18px 0;
  }

  .logo {
    width: 100%;
    min-width: auto;
    justify-content: center;
  }

  .logo img {
    width: 170px;
  }

  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

  .hero-text,
  .about-text,
  .contact-info {
    text-align: center;
  }

  .hero-text p,
  .contact-info > p {
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .about-text h2,
  .contact-info h2 {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }

  .footer-logo {
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav {
    min-height: 92px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 18px 0;
  }

  .logo {
    width: auto;
    min-width: auto;
    justify-content: flex-start;
  }

  .logo img {
    width: 145px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .desktop-only {
    display: none;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(88vw, 360px);
    height: 100vh;
    background: #ffffff;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 110px 24px 32px;
    transition: right 0.35s ease;
    z-index: 1001;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    width: 100%;
    font-size: 17px;
    padding: 14px 6px;
    border-bottom: 1px solid #f1ece5;
  }

  .menu a.active::after {
    display: none;
  }

  .menu-mobile-btn {
    display: inline-flex;
    margin-top: 14px;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img,
  .about-image img {
    height: 260px;
  }

  .about,
  .contact {
    padding: 56px 0;
  }

  .about-text h2,
  .contact-info h2 {
    font-size: 28px;
  }

  .about-text p,
  .contact-info > p {
    font-size: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card img {
    height: 200px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-card h3 {
    font-size: 22px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
