/* css variables */
:root {
  --blue: #2c3638;
  --terra: #aa6040;
  --offwhite: #ddd7c9;
  --grey: #7e7160;
  
  --font-logo-title: 'Aboreto', cursive;
  --font-text: 'Montserrat', sans-serif;
  
  --transition-speed: 0.3s;
}

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

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-text);
  background-color: var(--offwhite);
  color: var(--blue);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: var(--font-logo-title);
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Base Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--font-text);
  font-weight: 500;
  transition: all var(--transition-speed);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--terra);
  color: var(--offwhite);
  box-shadow: 0 4px 15px rgba(170, 96, 64, 0.3);
}

.btn-primary:hover {
  background-color: #8c4e34;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 96, 64, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-secondary:hover {
  background-color: var(--blue);
  color: var(--offwhite);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all var(--transition-speed);
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(221, 215, 201, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(44, 54, 56, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links a {
  text-decoration: none;
  color: var(--grey);
  margin: 0 1.5rem;
  font-weight: 500;
  transition: color var(--transition-speed);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--terra);
  transition: width var(--transition-speed);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.start-btn {
  padding: 0.8rem 1.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: all var(--transition-speed);
}

/* Mobile Menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--offwhite);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#mobile-menu.open {
  display: flex;
}

#mobile-menu a {
  font-family: var(--font-logo-title);
  font-size: 1.8rem;
  color: var(--blue);
  text-decoration: none;
  transition: color var(--transition-speed);
}

#mobile-menu a:hover {
  color: var(--terra);
}

#mobile-menu .btn-primary {
  font-family: var(--font-text);
  font-size: 1rem;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--blue);
  cursor: pointer;
  line-height: 1;
}

/* Hero Section */
.hero {
  padding: 12rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--grey);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.hero-image {
  overflow: visible;
  max-width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(44, 54, 56, 0.15);
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--blue);
  color: var(--offwhite);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(44, 54, 56, 0.2);
}

.experience-badge .number {
  font-size: 2.5rem;
  font-family: var(--font-logo-title);
  font-weight: 700;
  color: var(--terra);
}

.experience-badge .text {
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Services */
.services {
  padding: 6rem 0;
  background-color: #d5cfc1; /* slightly darker offwhite */
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title .section-eyebrow {
  justify-content: center;
}

.section-title h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.section-title p {
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

/* Section Eyebrow */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--terra);
  flex-shrink: 0;
}

.section-eyebrow--light {
  color: rgba(221, 215, 201, 0.6);
}

.section-eyebrow--light::before {
  background-color: rgba(221, 215, 201, 0.4);
}

/* Services List */
.services-list {
  border-top: 1px solid rgba(126, 113, 96, 0.2);
  margin-top: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid rgba(126, 113, 96, 0.2);
  transition: border-left-color var(--transition-speed);
  border-left: 2px solid transparent;
  padding-left: 1rem;
}

.service-item:hover {
  border-left-color: var(--terra);
}

.service-item:hover .service-num {
  opacity: 0.8;
}

.service-num {
  font-family: var(--font-logo-title);
  font-size: clamp(2.8rem, 5vw, 4rem);
  color: var(--terra);
  opacity: 0.5;
  line-height: 1;
}

.service-content h3 {
  font-family: var(--font-logo-title);
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 10px;
  margin-top: 6px;
}

.service-content p {
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.2rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  text-decoration: none;
  border-bottom: 1px solid rgba(170, 96, 64, 0.35);
  padding-bottom: 2px;
  transition: opacity var(--transition-speed);
}

.service-link:hover {
  opacity: 0.7;
}


/* About */
.about {
  padding: 8rem 0;
  background-color: var(--offwhite);
}

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

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(44, 54, 56, 0.15);
}

.accent-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--terra);
  border-radius: 12px;
  z-index: 1;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.about-text p {
  color: var(--grey);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.diferenciais-list {
  list-style: none;
  margin-top: 2rem;
}

.diferenciais-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.diferenciais-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--terra);
  font-weight: bold;
}

/* CTA Section */
.cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: var(--blue);
  color: var(--offwhite);
  text-align: center;
}

.cta-watermark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-family: var(--font-logo-title);
  font-size: clamp(200px, 35vw, 360px);
  line-height: 1;
  color: rgba(221, 215, 201, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--offwhite);
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
}

/* Footer */
footer {
  background-color: #21292a; /* darker blue */
  color: var(--offwhite);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(221, 215, 201, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-logo h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--terra);
}

.footer-links a {
  color: var(--offwhite);
  text-decoration: none;
  margin: 0 1rem;
  opacity: 0.7;
  transition: opacity var(--transition-speed);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-contact p {
  opacity: 0.7;
}

.footer-bottom {
  text-align: center;
  opacity: 0.5;
  font-size: 0.9rem;
}

/* Animations Class */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-text h1 {
    font-size: 2.8rem;
  }

  .experience-badge {
    bottom: 12px;
    left: 12px;
    padding: 1rem;
  }

  .accent-box {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Header */
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links { display: none; }
  .start-btn { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

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

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .image-wrapper {
    overflow: hidden;
  }

  .experience-badge {
    position: static;
    margin-top: 1rem;
    border-radius: 8px;
    display: inline-flex;
    box-shadow: none;
  }

  /* Services */
  .section-title h2 {
    font-size: 2rem;
  }

  .service-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-left: none;
    padding-left: 0;
  }

  .service-item:hover {
    border-left-color: transparent;
  }

  .service-num {
    font-size: 2rem;
  }

  /* About */
  .about {
    padding: 4rem 0;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  /* CTA */
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: center;
    display: block;
    max-width: 360px;
    margin: 0 auto;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
