:root {
  --navy: #06142f;
  --navy-2: #0b2148;
  --gold: #c9a34b;
  --gold-light: #efd889;
  --cream: #f8f4eb;
  --ink: #101010;
  --muted: #c9c4bb;
  --white: #fff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* Reset e configurações globais */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

/* Classes utilitárias */
.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.heading {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.94;
}

.section-copy {
  max-width: 590px;
  margin-top: 18px;
  color: #5d5a54;
  line-height: 1.8;
}

/* =========================================
   Header
========================================= */

.header {
  position: fixed;
  z-index: 30;
  top: 0;
  width: 100%;
  padding: 16px 0;
  transition: 0.3s ease;
}

.header.scrolled {
  background: rgba(6, 20, 47, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
}

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


.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 0.8;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 0.47rem;
  letter-spacing: 0.32em;
}

.nav-links {
  display: flex;
  gap: 27px;
  color: #fbf8ef;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  list-style: none;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

/* =========================================
   Hero / Carrossel
========================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 760px;
  max-height: 920px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.9s ease,
    transform 5.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 10, 27, 0.92) 2%,
      rgba(3, 10, 27, 0.63) 45%,
      rgba(3, 10, 27, 0.08) 100%
    ),
    linear-gradient(
      0deg,
      rgba(3, 10, 27, 0.58),
      transparent 45%
    );
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 72px;
}

.hero-text {
  max-width: 630px;
}

.hero h1 {
  margin: 16px 0 23px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.5rem, 7.7vw, 6.8rem);
  font-weight: 600;
  line-height: 0.84;
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero p {
  max-width: 480px;
  color: #eeece6;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 31px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #e7cf77, #a67a24);
  color: #111;
}

.btn-primary:hover {
  box-shadow: 0 11px 22px rgba(201, 163, 75, 0.27);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.hero-controls {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  transform: translateX(-50%);
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 34px;
  height: 3px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: 0.25s;
}

.dot.active {
  background: var(--gold-light);
}

.slide-arrows {
  display: flex;
  gap: 10px;
}

.arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(1, 8, 23, 0.22);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
  transition: 0.2s;
}

.arrow:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

/* =========================================
   Seção Institucional
========================================= */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(35px, 8vw, 110px);
}

.intro-image {
  position: relative;
  padding: 0 30px 30px 0;
}

.intro-image::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 76%;
  height: 78%;
  background: var(--gold);
  content: "";
}

.intro-image img {
  position: relative;
  z-index: 1;
  height: 600px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.signature {
  margin-top: 25px;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
  font-style: italic;
}

/* =========================================
   Produtos
========================================= */

.products {
  position: relative;
  overflow: hidden;
  background: #071830;
  color: var(--white);
}

.products::before {
  position: absolute;
  top: 35px;
  right: -30px;
  color: rgba(255, 255, 255, 0.025);
  font-family: "Cormorant Garamond", serif;
  font-size: 18vw;
  font-weight: bold;
  content: "PAXEIRÁ";
}

.products .section-copy {
  color: #c8d0dd;
}

.product-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 47px;
}

.card {
  overflow: hidden;
  border: 1px solid rgba(232, 205, 126, 0.18);
  background: #0d254b;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.card:hover {
  box-shadow: 0 26px 45px rgba(0, 0, 0, 0.28);
  transform: translateY(-10px);
}

.card-image {
  height: 310px;
  overflow: hidden;
  background: #eef0ed;
}

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

.card:hover img {
  transform: scale(1.07);
}

.card-body {
  padding: 20px 19px 22px;
}

.card-body h3 {
  color: var(--gold-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.card-body p {
  margin-top: 6px;
  color: #d6dbe2;
  font-size: 0.79rem;
  line-height: 1.7;
}

.card-link {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================================
   Benefícios
========================================= */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}

.benefit {
  padding: 23px 8px 12px 0;
  border-top: 1px solid #d8c68e;
}

.benefit-number {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
}

.benefit h3 {
  margin: 4px 0 8px;
  color: var(--navy);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
}

.benefit p {
  color: #605d57;
  font-size: 0.86rem;
  line-height: 1.75;
}

/* =========================================
   Galeria
========================================= */

.gallery {
  background: #eeeae0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-rows: 270px 270px;
  gap: 15px;
  margin-top: 45px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  background: rgba(4, 17, 41, 0);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  opacity: 0;
  place-items: center;
  text-transform: uppercase;
  content: "Ver imagem";
  transition: 0.3s;
}

.gallery-item:hover::after {
  background: rgba(4, 17, 41, 0.6);
  opacity: 1;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  width: auto;
  max-width: min(90vw, 800px);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
}

/* =========================================
   CTA e Rodapé
========================================= */

.cta {
  padding: 100px 0;
  background:
    linear-gradient(
      110deg,
      rgba(4, 16, 39, 0.88),
      rgba(4, 16, 39, 0.65)
    ),
    url("assets/todos.jpeg") center / cover;
  color: var(--white);
  text-align: center;
}

.cta .section-copy {
  margin: 17px auto 29px;
  color: #eeeae0;
}

.footer {
  padding: 45px 0;
  margin-top: 0;
  background: var(--navy);
  color: var(--white);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-link {
  display: inline-block;
}

.footer .logo2 {
  display: block;
  width: auto;
  height: 120px;
  max-width: 260px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  color: #c9c4bb;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* =========================================
   Botão Flutuante do WhatsApp
========================================= */

.whatsapp {
  position: fixed;
  z-index: 35;
  right: 20px;
  bottom: 21px;
  display: grid;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.27);
  place-items: center;
  transition: 0.25s ease;
}

.whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
}

.whatsapp svg {
  width: 29px;
  fill: currentColor;
}

/* =========================================
   Animações de entrada
========================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================
   Responsividade - Tablets
========================================= */

@media (max-width: 850px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 21px;
    padding: 25px 20px;
    background: #071830;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

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

  .intro-image {
    max-width: 600px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px 220px;
  }

  .gallery-item:first-child {
    grid-row: span 2;
  }

  .gallery-item:last-child {
    grid-column: span 2;
  }
}

/* =========================================
   Responsividade - Celulares
========================================= */

@media (max-width: 540px) {
  .container {
    width: min(100% - 30px, 1160px);
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 3.7rem;
  }

  .hero-controls {
    bottom: 21px;
  }

  .slide-arrows {
    display: none;
  }

  .intro-image {
    padding: 0 18px 18px 0;
  }

  .intro-image img {
    height: 445px;
  }

  .product-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 360px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 380px repeat(3, 240px);
  }

  .gallery-item:first-child,
  .gallery-item:last-child {
    grid-row: auto;
    grid-column: auto;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    width: 100%;
  }
}
