/* ===========================================
   LORIVALDO MARCENEIRO — ESTILOS
   =========================================== */

/* ----- Reset & Variáveis ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta inspirada em madeira */
  --clr-primary: #6B3A2A;
  /* Marrom escuro — madeira nobre     */
  --clr-primary-lt: #8B5E3C;
  /* Marrom médio                       */
  --clr-accent: #C8956D;
  /* Bege dourado — destaque elegante   */
  --clr-accent-lt: #E8C9A8;
  /* Bege claro                         */
  --clr-dark: #1A1410;
  /* Quase preto acobreado              */
  --clr-dark-2: #2A2118;
  /* Cinza escuro quente                */
  --clr-bg: #FAF6F1;
  /* Fundo creme suave                  */
  --clr-bg-alt: #F0EAE0;
  /* Fundo alternativo                  */
  --clr-text: #3D3028;
  /* Texto principal                    */
  --clr-text-muted: #7A6E62;
  /* Texto secundário                   */
  --clr-white: #FFFFFF;
  --clr-whatsapp: #25D366;

  /* Tipografia */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, sans-serif;

  /* Espaçamento */
  --section-py: 6rem;
  --container-w: 1200px;
  --gap: 2rem;

  /* Transições */
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Bordas e sombras */
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 20, 16, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  width: min(var(--container-w), 92%);
  margin-inline: auto;
}

/* ---- Rótulos e títulos de seção ---- */
.section {
  padding: var(--section-py) 0;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.75rem;
}

.section__label--center {
  justify-content: center;
  width: 100%;
}

.section__label i {
  width: 18px;
  height: 18px;
}

.section__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section__title--center {
  text-align: center;
}

.section__subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--clr-text-muted);
  font-size: 1.05rem;
}

.text-accent {
  color: var(--clr-accent);
}

/* ===========================================
   BOTÕES
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn i {
  width: 20px;
  height: 20px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-lt));
  color: var(--clr-white);
  border-color: var(--clr-primary);
  box-shadow: 0 4px 20px rgba(107, 58, 42, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent));
  border-color: var(--clr-primary-lt);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(107, 58, 42, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--clr-white);
  transform: translateY(-3px);
}

.btn--lg {
  padding: 1rem 2.4rem;
  font-size: 1.05rem;
}

/* ===========================================
   HEADER / NAV
   =========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(26, 20, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--clr-accent);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--clr-white);
  background: rgba(255, 255, 255, 0.1);
}

.nav__link--cta {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-lt));
  color: var(--clr-white) !important;
  margin-left: 0.5rem;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
}

.nav__link--cta:hover {
  background: linear-gradient(135deg, var(--clr-primary-lt), var(--clr-accent)) !important;
  transform: translateY(-2px);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--clr-white);
  cursor: pointer;
}

.nav__toggle i {
  width: 28px;
  height: 28px;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(26, 20, 16, 0.88), rgba(107, 58, 42, 0.68)),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1600&q=80') center/cover no-repeat;
  color: var(--clr-white);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(200, 149, 109, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(107, 58, 42, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 800px;
  padding: 2rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--clr-accent-lt);
}

.hero__badge i {
  width: 18px;
  height: 18px;
  color: var(--clr-accent);
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-indicator i {
  width: 20px;
  height: 20px;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===========================================
   SOBRE
   =========================================== */
.sobre {
  background: var(--clr-bg);
}

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

.sobre__description {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.sobre__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.sobre__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.sobre__stat:hover {
  transform: translateY(-4px);
}

.sobre__stat i {
  width: 32px;
  height: 32px;
  color: var(--clr-accent);
  flex-shrink: 0;
}

.sobre__stat strong {
  font-size: 1.6rem;
  color: var(--clr-primary);
  font-family: var(--ff-heading);
}

.sobre__stat span {
  font-size: 1.2rem;
  color: var(--clr-primary);
  font-weight: 600;
}

.sobre__stat p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 0.1rem;
}

/* Cards visuais da seção Sobre */
.sobre__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sobre__card {
  background: var(--clr-white);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--clr-accent);
  transition: all var(--transition);
}

.sobre__card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.sobre__card i {
  width: 32px;
  height: 32px;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.sobre__card h3 {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--clr-dark);
  margin-bottom: 0.4rem;
}

.sobre__card p {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
}

/* ===========================================
   SERVIÇOS
   =========================================== */
.servicos {
  background: var(--clr-bg-alt);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.servico-card {
  background: var(--clr-white);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.servico-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.servico-card:hover::before {
  transform: scaleX(1);
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.servico-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(107, 58, 42, 0.08), rgba(200, 149, 109, 0.12));
  margin-bottom: 1.25rem;
}

.servico-card__icon i {
  width: 30px;
  height: 30px;
  color: var(--clr-primary);
}

.servico-card__title {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: var(--clr-dark);
  margin-bottom: 0.6rem;
}

.servico-card__desc {
  color: var(--clr-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===========================================
   GALERIA
   =========================================== */
.galeria {
  background: var(--clr-bg);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.galeria__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria__item:hover img {
  transform: scale(1.08);
}

/* Placeholder para imagens não disponíveis */
.galeria__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--clr-bg-alt), var(--clr-accent-lt));
  color: var(--clr-primary-lt);
}

.galeria__placeholder i {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.galeria__placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.7;
}

/* Caption overlay */
.galeria__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(26, 20, 16, 0.85));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-white);
  font-weight: 500;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
}

.galeria__item:hover .galeria__caption {
  opacity: 1;
  transform: translateY(0);
}

.galeria__caption i {
  width: 18px;
  height: 18px;
  color: var(--clr-accent-lt);
}

/* ===========================================
   CTA (Call to Action)
   =========================================== */
.cta {
  background:
    linear-gradient(135deg, rgba(107, 58, 42, 0.92), rgba(26, 20, 16, 0.95)),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1200&q=60') center/cover no-repeat;
  padding: 5rem 0;
  text-align: center;
  color: var(--clr-white);
}

.cta__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta__text {
  max-width: 550px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

/* ===========================================
   CONTATO
   =========================================== */
.contato {
  background: var(--clr-bg-alt);
}

.contato__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.contato__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
}

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

.contato__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.contato__card-icon i {
  width: 28px;
  height: 28px;
  color: var(--clr-white);
}

.contato__card-icon--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.contato__card-icon--phone {
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-lt));
}

.contato__card-icon--location {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-lt));
}

.contato__card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: var(--clr-dark);
  margin-bottom: 0.4rem;
}

.contato__card p {
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}

.contato__card-action {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-primary);
  transition: color var(--transition);
}

.contato__card:hover .contato__card-action {
  color: var(--clr-accent);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 4rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 260px;
}

.footer__brand .nav__logo {
  font-size: 1.3rem;
}

.footer__links h4 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer__links li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__links a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--clr-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ===========================================
   BOTÃO FLUTUANTE WHATSAPP
   =========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float i {
  width: 28px;
  height: 28px;
  color: var(--clr-white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ===========================================
   BOTÃO VOLTAR AO TOPO
   =========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  background: var(--clr-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top i {
  width: 20px;
  height: 20px;
  color: var(--clr-white);
}

.back-to-top:hover {
  background: var(--clr-primary);
  transform: translateY(-3px);
}

/* ===========================================
   ANIMAÇÕES DE SCROLL
   =========================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados */
.animate-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
  transition-delay: 0.5s;
}

/* ===========================================
   RESPONSIVO — TABLETS (768px)
   =========================================== */
@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  /* Nav mobile */
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85%);
    height: 100vh;
    background: rgba(26, 20, 16, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    transition: right var(--transition);
    z-index: 999;
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
    width: 100%;
    text-align: center;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  /* Sobre */
  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Serviços */
  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Galeria */
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contato */
  .contato__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* Footer */
  .footer__content {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================================
   RESPONSIVO — CELULARES (480px)
   =========================================== */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .sobre__stats {
    flex-direction: column;
  }

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

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

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

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 40px;
    height: 40px; 
  }
}