/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */

@import url("https://use.typekit.net/mes6fnj.css");

:root {
  /* Colors */
  --color-bg-light: #f5f5f5;
  /* Fundo off-white principal */
  --color-bg-dark: #000000;
  --color-text-dark: #333333;
  --color-text-light: #ffffff;
  --color-brand-orange: #ca571e;
  /* Laranja da marca Nomma */
  --Laranja-1: #ba520e;
  /* Cor para o texto do manifesto */
  --Neutro-2: #ebe6da;
  /* Adicionado para a cor do slogan do banner */

  /* Typography */
  --font-primary: "roc-grotesk", sans-serif;

  /* Spacing */
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container-max-width: 1200px;
  --container-sm-width: 800px;
  --container-md-width: 900px;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}
/*Recapcha*/
.grecaptcha-badge {
  display: none !important;
}
/* Utils */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-sm {
  max-width: var(--container-sm-width);
}

.container-md {
  max-width: var(--container-md-width);
}

.text-orange {
  color: var(--color-brand-orange);
}

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

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 800px;
  background-image: url("../img/bg_new.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-bg-dark);
  display: flex;
  justify-content: center;
}

/* Conteúdo absoluto sobre o banner */
.hero-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  /* Centraliza na tela inteira */
  width: 100%;
  max-width: 1420px;
  /* Equivalente ao container xxl do Bootstrap */
  padding: 0 15px;
  /* Padding padrão do Bootstrap */
  height: 100%;
  display: flex;
  align-items: center;
  /* Centraliza verticalmente no banner */
  flex-direction: column;
    justify-content: center;
    color: var(--Neutro-2, #ebe6da);
    gap: 58px;
    text-align: center;
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
  font-size: 40px;

  strong {
    font-weight: 600;
  }
}

.hero-text-box {
  text-align: left;
    max-width: 100%;
    display: grid;
    grid-template-columns: .5fr 1fr .5fr;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  /* Evita que o texto encoste muito na direita */
}

.hero-text-box h2 {
  max-width: 300px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.1;
  font-size: 30px;

  @media(max-width: 950px) {
    font-size: 24px;
  }
}

.hero-logo {
  max-width: 700px;
  /* Largura alterada de 250px para 530px */
  width: 100%;
  /* Garantia de responsividade antes dos 530px em mobile */
  height: auto;
  margin-bottom: 0;
  display: block;
  opacity: 0;
  animation: slideInFromRight 1s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-subtitle {
  color: var(--Neutro-2, #ebe6da);
  font-family: var(--font-primary);
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
  opacity: 0;
  animation: slideInFromRight 1s ease-out forwards;
  animation-delay: 0.6s;
  text-align: right;
  max-width: 530px;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Manifesto
   ========================================================================== */
.manifesto {
  padding: var(--space-xl) 0 var(--space-lg);
  background-color: var(--color-bg-light);
}

.manifesto-title {
  color: var(--Laranja-1, #ba520e);
  text-align: center;
  font-family: var(--font-primary);
  /* Já configurada para Roc Grotesk e importada do Typekit */
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  /* 57.6px */
  margin-bottom: var(--space-lg);
}

.manifesto-text p {
  font-size: 1rem;
  color: var(--color-text-dark);
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
}

/* ==========================================================================
   Gallery (Slick Slider)
   ========================================================================== */
.gallery {
  padding: var(--space-md) 0 var(--space-xl);
  background-color: var(--color-bg-light);
  overflow: hidden;
  /* Esconde o que vazar da tela */
}

.container-slider {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.slick-carousel {
  width: calc(100% - 120px);
  margin: 0 auto;
  /* overflow: hidden removed to show outer arrows, Slick-list keeps its own overflow */
  padding: 20px 0;
}

.slick-slide {
  /* Slick slide padroniza slides. Vamos ajustar para centralizar a imagem dentro do slide */
  margin: 0 20px;
  /* Criação do gap no Slick */
  transition: all 0.4s ease;
  opacity: 0.5;
  position: relative;
  overflow: hidden;
  height: 350px;
}

.slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slick-center {
  opacity: 1;
  /* Destaque no card central em tamanho real */
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Informações do slide (Vero / Latão) apenas no slide ativo */
.slide-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slick-center .slide-info {
  opacity: 1;
}

.slide-info h3 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 2px;
}

.slide-info h3 span {
  font-size: 24px;
  font-weight: 400;
}

.slide-info p {
  font-size: 16px;
  font-weight: 400;
  color: #ddd;
}

/* Setas customizadas para fora do container do swiper, para não sobrepor as pontas */
.custom-nav-btn {
  color: var(--color-brand-orange);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.custom-nav-btn:hover {
  transform: translateY(-50%) scale(1.1);
  color: var(--color-brand-orange);
}

.slick-prev.custom-nav-btn {
  left: -40px;
}

.slick-next.custom-nav-btn {
  right: -40px;
}

/* Remove as setas padrão (pseudo-elementos ::before) que causam duplicidade */
.slick-prev::before,
.slick-next::before {
  display: none !important;
}

/* Esconde setas padrão do swiper se não desabilitou via js */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Botão Catálogo */
.catalog-link-wrapper {
  margin-top: var(--space-lg);
}

.catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand-orange);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-brand-orange);
  transition: opacity 0.3s ease;
}

.catalog-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   Contato / Form
   ========================================================================== */
.contact {
  padding: var(--space-md) 0 var(--space-xl);
  background-color: var(--color-bg-light);
}

.contact-title {
  color: var(--Laranja-1, #ba520e);
  font-family: var(--font-primary);
  font-size: 38px;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.contact-subtitle {
  margin-bottom: var(--space-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.contact-form-wrapper {
  width: 100%;
  max-width: 400px;
}

.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group input,
.input-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #999;
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  outline: none;
  transition: border-color 0.3s ease;
}

.input-group input::placeholder,
.input-group select {
  color: #666;
}

.input-group input:focus,
.input-group select:focus {
  border-bottom-color: var(--color-brand-orange);
}

/* Select Box customizado (seta padrão retirada e usando minimalismo) */
.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.custom-select::after {
  content: "";
  width: 14px;
  height: 10px;
  background-image: url("../img/arrow-select.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
  margin-top: 2rem;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #999;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: var(--color-brand-orange);
  border-color: var(--color-brand-orange);
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: #666;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  background-color: var(--color-brand-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #a84715;
}

.form-feedback {
  margin-top: 20px;
  padding: 15px;
  background: rgba(186, 82, 14, 0.05);
  /* Laranja-1 bem clarinho */
  color: var(--Laranja-1, #ba520e);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: 4px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.footer-top {
  padding: var(--space-lg) 0;
}

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

.footer-logo-col img {
  max-width: 180px;
}

.footer-social-col {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-col span {
  font-size: 0.9rem;
  color: #ddd;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.footer-bottom {
  background-color: var(--color-brand-orange);
  padding: 10px 0;
}

.footer-bottom p {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    height: 450px;
    min-height: 450px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-text-box h2 {
    font-size: 16px;
  }

  .hero-content {
    justify-content: center;
    text-align: center;
  }


  .hero-logo {
    max-width: 260px !important;
    margin: 0;
  }

  .hero-subtitle {
    font-size: 24px !important;
    line-height: 120% !important;
    text-align: right;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .contact-form-wrapper {
    text-align: left;
    /* Mantém o form alinhado à esquerda como pedido */
    margin: 0 auto;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info h3,
  .contact-info p {
    text-align: center;
  }

  .contact-title {
    font-size: 32px;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    line-height: 120%;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-social-col {
    flex-direction: column;
    gap: 1rem;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 15px;
  }

  .social-icons::after {
    content: "";
    width: 100%;
    order: 1;
  }

  .social-icons a:nth-child(-n + 3) {
    order: 0;
  }

  .social-icons a:nth-child(n + 4) {
    order: 2;
  }

  .custom-nav-btn {
    display: none;
    /* No mobile esconde setas para focar no swiping */
  }

  .swiper-slide {
    width: 250px;
    height: 250px;
  }

  .manifesto-title {
    font-size: 28px;
  }

  .container-slider {
    padding: 0 !important;
    max-width: none !important;
  }

  .slick-carousel {
    width: 100% !important;
    margin: 0 !important;
  }

  .slick-slide {
    margin: 0 8px;
    /* Reduz o espaçamento entre slides no mobile */
    height: 300px;
    /* Ajuste opcional de altura para mobile */
  }

  /* Estilização dos Dots (pontinhos) */
  .slick-dots {
    bottom: -35px;
  }

  .slick-dots li button:before {
    font-size: 10px;
    color: var(--color-brand-orange);
    opacity: 0.3;
  }

  .slide-info {
    text-align: left;
    padding: 20px 10px;
  }

  .slide-info h3 {
    font-size: 25px;
  }

  .slide-info h3 span {
    display: block;
    font-size: 16px;
  }
}
