/* ===========================================================
   ESTALO ARQUITETURA — landing page
   Paleta:
     --wine        : vinho/borgonha (header, footer)
     --cream       : creme (fundo de seções)
     --beige       : bege claro (logo / texto sobre vinho)
     --text-dark   : marrom escuro para textos sobre creme
   ============================================================ */

:root {
  --wine:      #6E2A2D;
  --wine-dark: #5C1F22;
  --cream:     #EFE7D5;
  --cream-2:   #F1EADB;
  --beige:     #EFE7D5;
  --beige-2:   #E1CFAE;
  --text-dark: #3A1B1C;
  --text-mute: #5B3E3F;

  --container: 1240px;
  --radius:    14px;
  --radius-lg: 28px;

  --shadow-soft: 0 8px 28px rgba(60, 22, 24, .08);
  --shadow-card: 0 12px 30px rgba(60, 22, 24, .12);

  --ff-body:    'Lato', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: 'Mulish', 'Outfit', sans-serif;
  --ff-script:  'DM Serif Display', 'Playfair Display', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ===========================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: var(--wine);
  color: var(--beige);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0;
}
.site-header__inner .brand { margin-left: clamp(20px, 6vw, 80px); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  display: inline-flex;
  align-items: center;
  height: 56px;
  width: auto;
  opacity: 1;
  transition: opacity .35s ease, visibility .35s ease;
}
.brand__logo--icon { height: 56px; }
.brand__logo--big  { height: 120px; }
.brand__logo svg, .brand__logo img { height: 100%; width: auto; display: block; }

/* Esconde o ícone do header enquanto o hero estiver visível */
.site-header.is-at-top .brand__logo--icon {
  opacity: 0;
  visibility: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav a {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--beige);
  letter-spacing: .3px;
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--beige);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a.is-active::after,
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--beige);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ===========================================================
   HERO
   ============================================================ */
.hero {
  background: var(--wine);
  color: var(--beige);
  padding: 80px 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
}
.hero__container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo {
  display: block;
  width: min(1100px, 92vw);
  height: auto;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.18));
}

/* ===========================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 90px 0;
  background: var(--cream);
}
.section--light { background: var(--cream-2); }
.section__eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--ff-display);
  font-weight: 900;
  color: var(--wine);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  margin: 0 0 8px;
}

/* ===========================================================
   SOBRE — OLÁ
   ============================================================ */
.about {
  padding: 100px 0 110px;
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
.about__hello {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(90px, 11vw, 160px);
  line-height: .9;
  color: var(--wine);
  margin: 0 0 28px;
  letter-spacing: -2px;
}
.about__copy p {
  font-size: 17px;
  color: var(--text-dark);
  margin: 0 0 18px;
  max-width: 56ch;
}

/* ===========================================================
   MISSÃO / VISÃO / VALORES
   ============================================================ */
.mvv {
  padding: 80px 0 100px;
}
.mvv__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}
.mvv__pill {
  background: var(--wine);
  color: var(--beige);
  font-family: var(--ff-script);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  text-align: center;
  border-radius: 999px;
  padding: 16px 20px;
  letter-spacing: 1px;
  box-shadow: var(--shadow-soft);
}
.mvv__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-soft);
  color: var(--text-dark);
  font-size: 17px;
}
.mvv__card ul {
  margin: 0;
  padding-left: 22px;
}
.mvv__card li + li { margin-top: 8px; }

/* ===========================================================
   PROJETOS
   ============================================================ */
.projects {
  padding: 60px 0 110px;
}
.projects__head {
  text-align: center;
  margin-bottom: 50px;
}
.projects__title {
  font-family: var(--ff-display);
  font-weight: 900;
  color: var(--wine);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: 1px;
  margin: 0;
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  background: var(--wine-dark);
  box-shadow: var(--shadow-card);
  display: block;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(60, 22, 24, .22);
}
.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .3s ease;
}
.project-card:hover .project-card__img { transform: scale(1.06); }

.project-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(110, 42, 45, .55), rgba(110, 42, 45, .55)),
    radial-gradient(120% 80% at 50% 50%, #8a4f51, #5b2226);
  color: var(--beige);
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: 2px;
  font-size: clamp(18px, 2vw, 24px);
  padding: 24px;
}
.project-card__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(40,12,14,.7), rgba(40,12,14,0));
  color: var(--beige);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .5px;
  opacity: 0;
  transition: opacity .25s ease;
}
.project-card:hover .project-card__caption { opacity: 1; }

/* ===========================================================
   PROJECT DETAIL (página de projeto)
   ============================================================ */
.case {
  padding: 60px 0 80px;
}
.case__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wine);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 36px;
  transition: gap .2s ease;
}
.case__back:hover { gap: 12px; }

.case__header {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
}
.case__logo {
  width: 110px;
  height: auto;
  display: block;
}

.case__titulo {
  font-family: var(--ff-display);
  font-weight: 900;
  color: var(--wine);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.02;
  margin: 0 0 6px;
}
.case__subtitulo {
  font-family: var(--ff-script);
  font-style: italic;
  color: var(--text-mute);
  font-size: clamp(18px, 2vw, 24px);
  margin: 0 0 8px;
}
.case__cliente {
  color: var(--text-mute);
  font-size: 14px;
  letter-spacing: .5px;
  margin: 0;
}

.case__hero {
  margin: 0 0 56px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 9;
  background: var(--wine-dark);
}
.case__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 64px;
  font-size: 17px;
  color: var(--text-dark);
}
.case__intro-text p,
.case__desc-text p { margin: 0 0 14px; }
.case__intro-text p:first-child {
  font-size: 19px;
  color: var(--wine);
  font-weight: 600;
}

.case__gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case__gallery-grid figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--wine-dark);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}
.case__gallery-grid figure:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.case__gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 9, .92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  user-select: none;
}
.lightbox__btn {
  position: absolute;
  background: rgba(225, 207, 174, .12);
  border: 1px solid rgba(225, 207, 174, .3);
  color: var(--beige);
  font-size: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  line-height: 1;
  padding: 0;
}
.lightbox__btn:hover { background: rgba(225, 207, 174, .25); transform: scale(1.05); }
.lightbox__btn--prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev:hover  { transform: translateY(-50%) scale(1.05); }
.lightbox__btn--next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next:hover  { transform: translateY(-50%) scale(1.05); }
.lightbox__btn--close { top: 24px;   right: 24px; font-size: 24px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--beige);
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 2px;
  opacity: .8;
}

/* ===========================================================
   EMPRESÁRIOS / DEPOIMENTOS
   ============================================================ */
.clients {
  padding: 90px 0 110px;
}
.clients__title {
  font-family: var(--ff-display);
  font-weight: 900;
  color: var(--wine);
  font-size: clamp(34px, 4.6vw, 56px);
  margin: 0 0 30px;
}
.clients__list {
  font-size: 19px;
  color: var(--text-dark);
  padding-left: 26px;
  margin: 0 0 36px;
}
.clients__list li { margin-bottom: 10px; }
.clients__list li::marker { color: var(--wine); }

.stars {
  display: inline-flex;
  gap: 6px;
  color: var(--wine);
  font-size: 28px;
}

/* ===========================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--wine);
  color: var(--beige);
  padding: 80px 0 32px;
  margin-top: 60px;
}
.footer__top {
  display: block;
  text-align: center;
  margin-bottom: 60px;
}
.footer__city {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--beige);
  margin: 0 0 14px;
  text-align: center;
}
.footer__address {
  text-align: center;
  color: var(--beige);
  font-size: 15px;
  letter-spacing: .5px;
  margin: 0;
}

.footer__contact {
  margin-top: 50px;
  display: block;
  text-align: right;
}
.footer__contact h3 {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: 28px;
  margin: 0 0 14px;
  color: var(--beige);
}
.footer__contact p {
  margin: 4px 0;
  font-size: 15px;
  color: var(--beige);
  opacity: .92;
}
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--beige);
  transition: opacity .2s ease, transform .2s ease;
}
.wa-link:hover { opacity: .75; transform: translateX(-2px); }
.wa-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
  flex-shrink: 0;
}
.footer__tagline {
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 300;
  letter-spacing: 3px;
  font-size: 14px;
  color: var(--beige);
  opacity: .9;
  margin: 22px 0 0;
}
.footer__bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(225, 207, 174, .15);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--beige);
  opacity: .7;
  letter-spacing: 1px;
}

/* ===========================================================
   RESPONSIVE
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 80px 0 auto 0;
    background: var(--wine-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    transform: translateY(-120%);
    transition: transform .25s ease;
    border-top: 1px solid rgba(225, 207, 174, .12);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    padding: 14px 28px;
    border-bottom: 1px solid rgba(225, 207, 174, .08);
  }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero__logo { width: 88vw; }

  .about__grid { grid-template-columns: 1fr; gap: 24px; }
  .mvv__row { grid-template-columns: 1fr; gap: 12px; }
  .mvv__pill { width: 200px; }
  .projects__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr; gap: 20px; }
  .case__grid { grid-template-columns: 1fr; gap: 30px; }
  .case__header { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .case__logo { margin: 0 auto; width: 80px; height: 80px; }
  .case__body { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .case__gallery-grid { grid-template-columns: 1fr; }
  .lightbox__btn--prev { left: 12px; }
  .lightbox__btn--next { right: 12px; }
  .lightbox__btn--close { top: 12px; right: 12px; }

  .footer__top,
  .footer__contact { grid-template-columns: 1fr; text-align: center; }
  .footer__city, .footer__address, .footer__tagline { text-align: center; }
  .footer__contact { gap: 24px; margin-top: 40px; text-align: center; }
}

@media (max-width: 560px) {
  .projects__grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .about { padding: 70px 0 80px; }
}
