/* ═══════════════════════════════════════════
   FONTES CUSTOMIZADAS
═══════════════════════════════════════════ */
@font-face {
  font-family: 'Rische';
  src: url('fonts/rische.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --verde-baoba:   #5A6545;
  --verde-escuro:  #3d4530;
  --areia-quente:  #EADFCF;
  --creme-suave:   #F2EBE0;
  --branco:        #FFFFFF;
  --texto-escuro:  #2C2C2C;
  --whatsapp:      #25D366;

  --font-titulo:   'Rische', 'Playfair Display', Georgia, serif;
  --font-corpo:    'Open Sans', sans-serif;

  --h1:   clamp(34px, 5vw, 56px);
  --h2:   clamp(28px, 4vw, 42px);
  --h3:   clamp(20px, 2.5vw, 26px);
  --body: 15px;

  --section-padding: clamp(64px, 9vw, 110px) 0;
  --container-max: 1160px;
  --radius: 4px;
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corpo);
  font-size: var(--body);
  color: var(--texto-escuro);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background: var(--creme-suave);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ═══════════════════════════════════════════
   TIPOGRAFIA
═══════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--font-titulo);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

em { font-style: italic; }

.label-uppercase {
  font-family: var(--font-corpo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  display: block;
}

.section-label {
  color: var(--verde-baoba);
  margin-bottom: 16px;
}
.section-label--claro { color: var(--areia-quente); opacity: 0.8; }

.section-title {
  color: var(--verde-baoba);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-title--claro { color: var(--areia-quente); }

.assinatura {
  font-family: var(--font-titulo);
  font-size: 22px;
  font-style: italic;
  color: var(--verde-baoba);
  display: block;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   BOTÕES CTA
═══════════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-corpo);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-cta--hero {
  background: var(--areia-quente);
  color: var(--verde-escuro);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.btn-cta--hero:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.btn-cta--outline {
  background: transparent;
  color: var(--areia-quente);
  border: 1.5px solid var(--areia-quente);
}
.btn-cta--outline:hover {
  background: var(--areia-quente);
  color: var(--verde-escuro);
}

.btn-cta--wpp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-cta--wpp:hover {
  background: #1db954;
  transform: translateY(-2px);
}

.btn-cta--form {
  background: var(--verde-baoba);
  color: var(--areia-quente);
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 18px;
  margin-top: 8px;
}
.btn-cta--form:hover {
  background: var(--verde-escuro);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('images/COZINHA/1.jpeg') center center / cover no-repeat;
  transform: scale(1.05);
  animation: heroPan 18s ease-in-out infinite alternate;
}

@keyframes heroPan {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.05) translateX(-2%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 49, 32, 0.82) 0%,
    rgba(58, 67, 42, 0.65) 60%,
    rgba(90, 101, 69, 0.4) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 48px) clamp(60px, 8vw, 100px);
  animation: heroFadeIn 1.1s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__label {
  color: var(--areia-quente);
  opacity: 0.85;
  margin-bottom: 24px;
}

.hero__title {
  font-size: var(--h1);
  color: var(--areia-quente);
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.15;
}

.hero__sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--areia-quente);
  opacity: 0.9;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero__micro {
  font-size: 13px;
  color: var(--areia-quente);
  opacity: 0.6;
  margin-top: 14px;
  font-weight: 300;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(234,223,207,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0; transform: scaleY(0.4); }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════════════
   DIFERENCIAIS
═══════════════════════════════════════════ */
.diferenciais {
  padding: var(--section-padding);
  background: var(--creme-suave);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.diferencial-card {
  background: var(--branco);
  border: 1px solid rgba(90, 101, 69, 0.1);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diferencial-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde-baoba);
  transition: width 0.4s ease;
}

.diferencial-card:hover::before { width: 100%; }
.diferencial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(90,101,69,0.1); }

.diferencial-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(90,101,69,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-baoba);
  margin-bottom: 20px;
}

.diferencial-card h3 {
  font-size: 20px;
  color: var(--verde-escuro);
  margin-bottom: 12px;
}

.diferencial-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA INTERMEDIÁRIA
═══════════════════════════════════════════ */
.cta-intermediaria {
  background: var(--verde-baoba);
  padding: 52px 0;
}

.cta-intermediaria__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-intermediaria__text {
  font-family: var(--font-titulo);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--areia-quente);
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   PORTFÓLIO
═══════════════════════════════════════════ */
.portfolio {
  padding: var(--section-padding);
  background: var(--branco);
}

.portfolio .container { margin-bottom: 0; }

.portfolio__filtros {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin: 0 auto 40px;
  padding: 0 clamp(20px, 5vw, 48px);
}

.filtro-btn {
  font-family: var(--font-corpo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid rgba(90,101,69,0.3);
  border-radius: 100px;
  color: var(--verde-baoba);
  background: transparent;
  transition: var(--transition);
}

.filtro-btn.active,
.filtro-btn:hover {
  background: var(--verde-baoba);
  color: var(--areia-quente);
  border-color: var(--verde-baoba);
}

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

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,49,32,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__overlay span {
  font-family: var(--font-corpo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--areia-quente);
}

.portfolio-item.hidden { display: none; }

/* ═══════════════════════════════════════════
   SOBRE
═══════════════════════════════════════════ */
.sobre {
  padding: var(--section-padding);
  background: var(--creme-suave);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.sobre__texto h2 { color: var(--verde-escuro); margin-bottom: 28px; }
.sobre__texto p { color: #4a4a4a; margin-bottom: 18px; }
.sobre__texto p:last-of-type { margin-bottom: 0; }

.sobre__filosofia {
  font-family: var(--font-titulo);
  font-size: 19px;
  color: var(--verde-baoba);
  border-left: 2px solid var(--verde-baoba);
  padding-left: 20px;
  margin: 28px 0 16px !important;
  line-height: 1.5;
}

.sobre__card-baoba {
  background: var(--verde-baoba);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.sobre__icon-wrap {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(234,223,207,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--areia-quente);
  margin: 0 auto 24px;
}

.sobre__card-baoba h3 {
  font-size: 24px;
  color: var(--areia-quente);
  margin-bottom: 16px;
}

.sobre__card-baoba p {
  font-size: 15px;
  color: var(--areia-quente);
  opacity: 0.85;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PROCESSO
═══════════════════════════════════════════ */
.processo {
  padding: var(--section-padding);
  background: var(--verde-escuro);
}

.processo__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.processo-step {
  flex: 1;
  padding: 0 clamp(16px, 2.5vw, 32px);
  position: relative;
}

.processo-step__divisor {
  width: 1px;
  height: 120px;
  background: rgba(234,223,207,0.2);
  flex-shrink: 0;
  margin-top: 16px;
}

.processo-step__num {
  font-family: var(--font-titulo);
  font-size: 52px;
  font-weight: 400;
  color: rgba(234,223,207,0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.processo-step h3 {
  font-size: 20px;
  color: var(--areia-quente);
  margin-bottom: 12px;
}

.processo-step p {
  font-size: 15px;
  color: rgba(234,223,207,0.75);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FORMULÁRIO
═══════════════════════════════════════════ */
.formulario {
  padding: var(--section-padding);
  background: var(--creme-suave);
}

.formulario__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.formulario__texto h2 { color: var(--verde-escuro); margin-bottom: 20px; }
.formulario__texto > p { color: #555; margin-bottom: 40px; }

.formulario__contato-direto {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(90,101,69,0.15);
}

.formulario__contato-direto .label-uppercase {
  color: var(--verde-baoba);
  margin-bottom: 16px;
}

/* Form Card */
.form-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 8px 40px rgba(90,101,69,0.1);
}

.form-card h3 {
  font-size: 22px;
  color: var(--verde-escuro);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(90,101,69,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--verde-baoba);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(90,101,69,0.2);
  border-radius: var(--radius);
  font-family: var(--font-corpo);
  font-size: 15px;
  color: var(--texto-escuro);
  background: var(--branco);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde-baoba);
  box-shadow: 0 0 0 3px rgba(90,101,69,0.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6545' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-micro {
  font-size: 12px;
  color: #aaa;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   SEO TAGS
═══════════════════════════════════════════ */
.seo-tags {
  background: var(--creme-suave);
  padding: 14px 0;
  border-top: 1px solid rgba(90,101,69,0.06);
}
.seo-tags .container {
  font-size: 11px;
  color: rgba(90, 101, 69, 0.28);
  text-align: center;
  line-height: 2;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--verde-escuro);
  padding: 52px 0 36px;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  filter: brightness(1.05);
}

.footer__tagline {
  font-family: var(--font-titulo);
  font-size: 16px;
  font-style: italic;
  color: var(--areia-quente);
  opacity: 0.75;
}

.footer__links {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--areia-quente);
  opacity: 0.7;
}
.footer__links a:hover { opacity: 1; text-decoration: underline; }
.footer__links span { opacity: 0.4; }

.footer__dev {
  font-size: 12px;
  color: var(--areia-quente);
  opacity: 0.35;
}
.footer__dev a {
  color: inherit;
  text-decoration: none;
}
.footer__dev a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__copy {
  font-size: 12px;
  color: var(--areia-quente);
  opacity: 0.4;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: min(86vw, 920px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(0.96);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

@media (max-width: 580px) {
  .lightbox__img {
    max-width: 96vw;
    max-height: 68vh;
  }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════
   WHATSAPP FLUTUANTE
═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  background: var(--verde-escuro);
  color: var(--areia-quente);
  font-family: var(--font-corpo);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ═══════════════════════════════════════════
   RESPONSIVO — TABLET
═══════════════════════════════════════════ */
@media (max-width: 900px) {

  .sobre__inner,
  .formulario__inner {
    grid-template-columns: 1fr;
  }

  .processo__steps {
    flex-direction: column;
    gap: 40px;
  }

  .processo-step__divisor {
    width: 40px;
    height: 1px;
    margin: 0;
  }

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-intermediaria__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVO — MOBILE
═══════════════════════════════════════════ */
@media (max-width: 580px) {

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

  .portfolio__filtros {
    gap: 8px;
  }

  .filtro-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

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

  .hero__title { line-height: 1.2; }

  .btn-cta--hero {
    font-size: 14px;
    padding: 14px 24px;
  }

  .processo-step {
    padding: 0;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}
