/* ============================================
   SUSIN PRODUTOS COLONIAIS - Style Sheet
   Réplica fiel do site original
   ============================================ */

/* --- Fontes --- */
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Jost:ital,wght@0,300;0,400;1,300&display=swap');

/* --- Variáveis Globais --- */
:root {
  --font-primary: 'Krona One', sans-serif;
  --font-secondary: 'Jost', sans-serif;
  
  --color-bg-light: rgb(235, 192, 154);
  --color-bg-dark: rgb(69, 46, 50);
  --color-text-dark: rgb(69, 46, 50);
  --color-text-light: rgb(235, 192, 154);
  --color-text-body: rgb(33, 41, 49);
  --color-white: #ffffff;
  
  --h1-font-size: 140px;
  --h1-m-font-size: 47px;
  --h2-font-size: 100px;
  --h2-m-font-size: 36px;
  --h3-font-size: 48px;
  --h3-m-font-size: 28px;
  --h4-font-size: 32px;
  --h4-m-font-size: 21px;
  --h5-font-size: 24px;
  --h5-m-font-size: 18px;
  --h6-font-size: 16px;
  --body-font-size: 14px;
  --body-m-font-size: 16px;
  --body-large-font-size: 18px;
  --nav-link-font-size: 16px;
  
  --content-width: 1224px;
  --content-max-width: 1600px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--body-font-size);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* --- Tipografia --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

.body-large {
  font-size: var(--body-large-font-size);
  font-weight: 400;
  line-height: 1.8;
}

.body-small {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: relative;
  z-index: 20;
  background-color: var(--color-bg-light);
  height: 121px;
}

.header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: block;
  flex-shrink: 0;
}

.header__logo img {
  width: 121px;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav-link {
  font-family: var(--font-secondary);
  font-size: var(--nav-link-font-size);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-dark);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--color-text-dark);
  opacity: 0.8;
}

/* Hamburger Menu (Mobile) */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 30;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 192, 154, 0.97);
  z-index: 25;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 16px 40px;
  gap: 32px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .header__nav-link {
  font-size: 24px;
  text-align: center;
  color: var(--color-text-dark);
  padding: 8px 16px;
}

/* ============================================
   SLIDESHOW
   ============================================ */
.slideshow {
  position: relative;
  width: 100%;
  height: 669px;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.slideshow__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slideshow__slide.active {
  opacity: 1;
}

.slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgb(136, 136, 136);
  padding: 16px;
  z-index: 10;
  transition: color 0.2s ease;
}

.slideshow__btn:hover {
  color: rgb(100, 100, 100);
}

.slideshow__btn--prev {
  left: 16px;
}

.slideshow__btn--next {
  right: 16px;
}

.slideshow__btn svg {
  width: 14px;
  height: 26px;
}

.slideshow__btn--prev svg {
  transform: rotate(180deg);
}

.slideshow__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(136, 136, 136, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slideshow__dot.active {
  background-color: rgb(136, 136, 136);
}

/* ============================================
   BLOCKS / SECTIONS
   ============================================ */
.block {
  position: relative;
  width: 100%;
}

.block__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.block__background--light {
  background-color: var(--color-bg-light);
}

.block__background--dark {
  background-color: var(--color-bg-dark);
}

.block__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 16px 16px;
}

/* ============================================
   SECTION: PRODUZIDO NA SERRA GAÚCHA
   ============================================ */
.section-produzido {
  padding: 0;
}

.section-produzido .block__inner {
  display: grid;
  /* Grid de 8 colunas baseado no original */
  grid-template-columns: 103px 104px 288px 257px 19px 41px 309px 103px;
  grid-template-rows: 51px 29px 14px 52px 38px 16px 187px 13px 90px 53px 1fr;
  gap: 16px 24px;
  min-height: 584px;
}

.section-produzido__label {
  grid-column: 2 / 7;
  grid-row: 5 / 6;
  align-self: end;
}

.section-produzido__label h4 {
  font-size: var(--h4-font-size);
  color: var(--color-text-dark);
}

.section-produzido__title {
  grid-column: 2 / 5;
  grid-row: 7 / 8;
}

.section-produzido__title h1 {
  font-size: 72px;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.section-produzido__divider {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
  align-self: center;
}

.section-produzido__divider img {
  width: 104px;
  height: auto;
}

.section-produzido__text {
  grid-column: 2 / 4;
  grid-row: 9 / 10;
}

.section-produzido__text p {
  font-style: italic;
  color: var(--color-text-body);
}

.section-produzido__image {
  grid-column: 6 / 8;
  grid-row: 2 / 11;
  align-self: center;
  justify-self: center;
}

.section-produzido__image img {
  width: 350px;
  height: auto;
}

/* ============================================
   SECTION: ATENÇÃO EM CADA DETALHE (DARK)
   ============================================ */
.section-detalhe {
  padding: 16px 0;
}

.section-detalhe .block__inner {
  display: grid;
  /* Grid de 12 colunas baseado no original */
  grid-template-columns: 103px 91px 309px 31px 20px 20px 76px 20px 20px 31px 400px 103px;
  grid-template-rows: 144px 16px 7px 12px 18px 67px 23px 30px 26px 19px 6px 15px 57px 33px 53px 19px 21px 6px 5px 5px 41px 33px 1fr;
  gap: 16px 24px;
  min-height: 854px;
}

.section-detalhe__title {
  grid-column: 2 / 4;
  grid-row: 2 / 9;
}

.section-detalhe__title h3 {
  color: var(--color-text-light);
}

.section-detalhe__subtitle-1 {
  grid-column: 11 / 12;
  grid-row: 3 / 5;
}

.section-detalhe__subtitle-2 {
  grid-column: 11 / 12;
  grid-row: 10 / 11;
}

.section-detalhe__subtitle-3 {
  grid-column: 11 / 12;
  grid-row: 16 / 17;
}

.section-detalhe__subtitle-1 h6,
.section-detalhe__subtitle-2 h6,
.section-detalhe__subtitle-3 h6 {
  color: var(--color-text-light);
  text-transform: none;
}

.section-detalhe__text-1 {
  grid-column: 11 / 12;
  grid-row: 6 / 8;
}

.section-detalhe__text-2 {
  grid-column: 11 / 12;
  grid-row: 13 / 15;
}

.section-detalhe__text-3 {
  grid-column: 11 / 12;
  grid-row: 18 / 23;
}

.section-detalhe__text-1 p,
.section-detalhe__text-2 p,
.section-detalhe__text-3 p {
  color: var(--color-text-light);
}

.section-detalhe__icon-1 {
  grid-column: 5 / 10;
  grid-row: 4 / 7;
  align-self: center;
  justify-self: center;
}

.section-detalhe__icon-2 {
  grid-column: 6 / 9;
  grid-row: 12 / 14;
  align-self: center;
  justify-self: center;
}

.section-detalhe__icon-3 {
  grid-column: 7 / 8;
  grid-row: 20 / 22;
  align-self: center;
  justify-self: center;
}

.section-detalhe__icon-1 img,
.section-detalhe__icon-2 img,
.section-detalhe__icon-3 img {
  width: 116px;
  height: auto;
}

.section-detalhe__divider {
  grid-column: 2 / 3;
  grid-row: 19 / 21;
  align-self: center;
  justify-self: center;
}

.section-detalhe__divider img {
  width: 91px;
  height: auto;
}

/* ============================================
   SECTION: ORIGEM LOCAL
   ============================================ */
.section-origem {
  padding: 16px 0;
}

.section-origem .block__inner {
  display: grid;
  /* Grid de 12 colunas baseado no original */
  grid-template-columns: 103px 6px 497px 6px 6px 91px 178px 40px 88px 79px 27px 103px;
  grid-template-rows: 120px 24px 58px 37px 25px 296px 24px 19px 61px 44px 23px 1fr;
  gap: 16px 24px;
  min-height: 844px;
}

.section-origem__title {
  grid-column: 2 / 10;
  grid-row: 3 / 4;
}

.section-origem__title h3 {
  color: var(--color-text-dark);
}

.section-origem__text {
  grid-column: 2 / 7;
  grid-row: 10 / 12;
}

.section-origem__text p {
  color: var(--color-text-dark);
}

.section-origem__subtitle-1 {
  grid-column: 2 / 4;
  grid-row: 8 / 9;
}

.section-origem__subtitle-2 {
  grid-column: 6 / 12;
  grid-row: 8 / 9;
}

.section-origem__subtitle-1 h6,
.section-origem__subtitle-2 h6 {
  color: var(--color-text-dark);
  text-transform: none;
}

.section-origem__image-1 {
  grid-column: 3 / 5;
  grid-row: 6 / 7;
  align-self: center;
  justify-self: center;
  overflow: hidden;
}

.section-origem__image-2 {
  grid-column: 6 / 12;
  grid-row: 6 / 7;
  align-self: center;
  justify-self: center;
}

.section-origem__image-1 img,
.section-origem__image-2 img {
  width: 503px;
  height: 296px;
  object-fit: cover;
}

/* Crop da imagem bg para focar no centro (como no original) */
.section-origem__image-1 img {
  object-position: center 30%;
}

.section-origem__icon {
  grid-column: 9 / 11;
  grid-row: 2 / 5;
  align-self: center;
  justify-self: center;
}

.section-origem__icon img {
  width: 167px;
  height: auto;
}

.section-origem__btn {
  grid-column: 8 / 12;
  grid-row: 10 / 11;
  align-self: center;
  justify-self: end;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  padding: 14px 76px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.btn-primary--dark:hover {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg-dark);
  padding: 16px 0;
}

.footer .block__inner {
  display: grid;
  /* Grid de 6 colunas baseado no original: 14.052% 28.023% 15.850% 9.395% 15.850% 16.830% */
  grid-template-columns: 172px 343px 194px 115px 194px 206px;
  grid-template-rows: 79px 1px 19px 21px 45px 2px 22px 1fr;
  gap: 16px 24px;
  min-height: 302px;
}

.footer__social {
  grid-column: 1 / 2;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
}

.footer__social a {
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.footer__social a:hover {
  color: var(--color-white);
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__title-1 {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
}

.footer__title-2 {
  grid-column: 5 / 6;
  grid-row: 3 / 4;
}

.footer__title-1 h6,
.footer__title-2 h6 {
  color: var(--color-text-light);
}

.footer__phones {
  grid-column: 3 / 4;
  grid-row: 5 / 6;
}

.footer__phones p {
  color: var(--color-text-light);
}

.footer__phones a {
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

.footer__phones a:hover {
  color: var(--color-white);
}

.footer__address {
  grid-column: 5 / 6;
  grid-row: 5 / 6;
}

.footer__address p {
  color: var(--color-text-light);
}

.footer__email {
  grid-column: 3 / 4;
  grid-row: 7 / 8;
}

.footer__email p {
  color: var(--color-text-light);
}

/* ============================================
   WHATSAPP BUBBLE
   ============================================ */
.whatsapp-bubble {
  position: fixed;
  z-index: 19;
  display: flex;
  right: 20px;
  bottom: 24px;
  cursor: pointer;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-bubble img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* ============================================
   ANIMAÇÕES (SCROLL)
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVO - TABLET
   ============================================ */
@media (max-width: 1024px) {
  h1 {
    font-size: 60px;
  }
  
  h3 {
    font-size: 36px;
  }
  
  .slideshow {
    height: 500px;
  }
  
  .section-produzido .block__inner {
    grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr 40px;
  }
  
  .section-produzido__title h1 {
    font-size: 52px;
  }
  
  .section-produzido__image img {
    width: 280px;
  }
  
  .section-detalhe .block__inner {
    grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 40px;
  }
  
  .section-origem .block__inner {
    grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 40px;
  }
  
  .section-origem__image-1 img,
  .section-origem__image-2 img {
    width: 100%;
    height: auto;
  }
  
  .footer .block__inner {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVO - MOBILE
   ============================================ */
@media (max-width: 768px) {
  .header {
    height: 130px;
  }
  
  .header__inner {
    padding: 24px 16px;
  }
  
  .header__logo img {
    width: 82px;
  }
  
  .header__nav {
    display: none;
  }
  
  .header__hamburger {
    display: block;
  }
  
  .slideshow {
    height: 300px;
  }
  
  h1 {
    font-size: var(--h1-m-font-size);
  }
  
  h3 {
    font-size: var(--h3-m-font-size);
  }
  
  h4 {
    font-size: var(--h4-m-font-size);
  }
  
  body {
    font-size: var(--body-m-font-size);
  }
  
  /* Section Produzido - Mobile */
  .section-produzido {
    padding: 40px 16px;
  }
  
  .section-produzido .block__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
    padding: 0;
  }
  
  .section-produzido__label {
    order: 1;
  }
  
  .section-produzido__label h4 {
    font-size: 16px;
  }
  
  .section-produzido__title {
    order: 2;
  }
  
  .section-produzido__title h1 {
    font-size: 47px;
  }
  
  .section-produzido__divider {
    order: 3;
  }
  
  .section-produzido__divider img {
    width: 65px;
  }
  
  .section-produzido__text {
    order: 4;
  }
  
  .section-produzido__image {
    order: 5;
  }
  
  .section-produzido__image img {
    width: 100%;
    max-width: 328px;
    height: auto;
  }
  
  /* Section Detalhe - Mobile */
  .section-detalhe {
    padding: 80px 16px;
  }
  
  .section-detalhe .block__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-height: auto;
    padding: 0;
  }
  
  .section-detalhe__title h3 {
    font-size: 28px;
    margin-bottom: 60px;
  }
  
  .section-detalhe__icon-1 img,
  .section-detalhe__icon-2 img,
  .section-detalhe__icon-3 img {
    width: 61px;
  }
  
  .section-detalhe__divider img {
    width: 71px;
  }
  
  /* Section Origem - Mobile */
  .section-origem {
    padding: 40px 16px 80px;
  }
  
  .section-origem .block__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
    padding: 0;
  }
  
  .section-origem__title h3 {
    font-size: 28px;
    margin-bottom: 24px;
  }
  
  .section-origem__image-1 img,
  .section-origem__image-2 img {
    width: 100%;
    height: auto;
    max-width: 328px;
  }
  
  .section-origem__icon img {
    width: 84px;
  }
  
  .section-origem__btn {
    align-self: flex-start;
    justify-self: flex-start;
  }
  
  .btn-primary {
    padding: 14px 76px;
    font-size: 12px;
  }
  
  /* Footer - Mobile */
  .footer {
    padding: 80px 16px;
  }
  
  .footer .block__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: auto;
    padding: 0;
  }
  
  .footer__social {
    margin-bottom: 40px;
  }
  
  .footer__phones p,
  .footer__address p,
  .footer__email p {
    font-size: 12px;
    line-height: 1.3;
  }
}

/* ============================================
   PAGE: SOBRE NÓS / CONTATO (placeholder)
   ============================================ */
.page-section {
  padding: 80px 16px;
  min-height: 400px;
}

.page-section .block__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.page-section h1 {
  margin-bottom: 40px;
}

.page-section p {
  max-width: 800px;
  margin-bottom: 20px;
}
