* {
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

body {
  font-family: var(--font-primary);
}

:root {
    --color-primary: #C4891A;
    --color-secondary: #2D2D2D;

    --font-primary: 'Noto Serif JP';
    --font-secondary: 'Domine';

    --font-size-xs: 0.75rem;
    --font-title: 2rem;
    --font-base: 1rem;

    --line-height-base: 1.5;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    --space-1: 0.3rem;
    --space-2: 0.8rem;
    --space-3: 1.5rem;
    --space-4: 2.2rem;

}


section h1 {
    display: block;
    font-size: 2em;        /* Tamanho grande padrão (2x o texto normal) */
    font-weight: bold;     /* Negrito */
    margin: 0;
}


/* Section About us - Mobile*/

.trace-desktop {
  display: none;
}

#s-about {
  max-width: 1600px;
  margin: auto;
    margin-top: 4rem;
    background-color: #F4F4F4;
    margin-bottom: 100px;
    padding: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    gap: var(--space-3);
}


.title-block-about-h1 {
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50vw;
    height: 90px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.473) 1px 5px 5px;
    background-color: var(--color-secondary);
}

.about-us-line {
  font-family: var(--font-secondary);
  line-height: 30px;
  text-indent: 20px;
  text-align: justify;
}

.container-wrap-icons {
  margin-top: var(--space-4);
  margin-bottom: 4rem;
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
}

.card-icons {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  border-bottom: solid 1px var(--color-secondary);
  text-align: center;
  gap: var(--space-2);
  padding-bottom: var(--space-2);
}

.icons-about {
  width: 70px;

}

.break-sections {
    margin-top: var(--space-3);
    width: 80vw;
    height: 2px;
    background-color: #C4891A;
    
}

/* Section carrossel - Mobile*/

.parallax-container {
  min-height: 80vh;
  padding: 2rem 0px;
  background-color: #2D2D2D;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url('../images/criativa-carrossel-section.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.title-block-parallax-h1 {
    margin-bottom: 70px;
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
    height: 90px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.473) 1px 5px 5px;
    background-color: var(--color-secondary);
}

h2 {
    font-size: 1rem;
}

@media (min-width: 1024px) {
  .parallax-container { background-attachment: fixed; }
}

.carousel-wrapper {
  width: 87%;
  max-width: 1200px;
}

/* Trilho do Carrossel */
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }


.card {
  flex: 0 0 100%; 
  scroll-snap-align: center;
  position: relative;
  height: 420px; 
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 0px 2px  rgba(0, 0, 0, 0.192) ;
}

.title-card {
  font-size: 2.5rem;
  color: white;
  position: absolute;
  left: 20px;
  bottom: 60px;
  padding: var(--space-2);
 
 
  
}


@media (min-width: 768px) {
  .card {
    flex: 0 0 calc(33.333% - 14px); /* Desktop: 3 por view */
    display: flex;

  }
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botão no canto inferior direito */
.btn-float {
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 20px;
  right: 0px;
  width: 145px;
  height: 40px;
  border: none;
  background: #C4891A;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.btn-float:hover {
  transform: scale(1.1);
  background: #64460d;
  border: 1px solid white;
}

/* Controles */
.carousel-controls {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nav-arrows {
  display: flex; 
  gap: 30px; 
  align-items: center;
}

.arrow-btn {
  background: var(--color-secondary);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-primary);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; 
}

.arrow-btn svg {
  width: 50px; 
  height: 50px;
}

.arrow-btn:hover {
  background: rgb(100, 98, 98); 
  color: rgb(255, 255, 255); 
}

/* Section Carrossel Loop !!!!!!!!!!!!!!!!!!!!!!!!!!!!*/ 

section.automatic-carousel {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  
}


.automatic-carousel-h1-block {
  font-size: 0.8rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80vw;
  height: 90px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.473) 1px 5px 5px;
  background-color: var(--color-secondary);
}

.logos-slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: #ffffff;
  box-shadow: 0px 7px 12px rgba(0, 0, 0, 0.411);
  position: relative;
  left: 0;
  right: 0;
}

    
.logos-slider::before,
.logos-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
}


.logos-slider::before { left: 0; background: linear-gradient(to right, white, transparent); }
.logos-slider::after { right: 0; background: linear-gradient(to left, white, transparent); }

.logos-slide-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
  will-change: transform;
}


.logos-slide-track img {
  height: 35px;
  margin: 0 25px;
}


    

@media (min-width: 1024px) {
.logos-slider {
  padding: 50px 0;
}
       

.logos-slide-track {
  animation: scroll 50s linear infinite; 
}


.logos-slide-track img {
  height: 55px;
  margin: 0 45px;
}

.logos-slider::before,
.logos-slider::after {
  width: 200px;
}
}


@keyframes scroll {
0% { transform: translateX(0); }
100% { transform: translateX(calc(-100% / 3)); }
}
    
/* SECTION s-hero - Mobile*/



@media (min-width:796px) {
  .trace-desktop {
  display: none;
}

#s-about {
    margin-top: 4rem;
    padding: var(--space-3);
    display: grid;
    grid-template-columns: 1fr 40vw; 
    grid-template-rows: auto 1fr;   
    grid-template-areas: 
      "titulo titulo"  
      "icons  texto";  
    justify-items: center;
    gap: var(--space-3);
}

/* 1. Área do Título */
.title-block-about-h1 {
    grid-area: titulo; 
    justify-self: center; 
    align-items: center;
    font-size: 0.8rem;
    color: white;
    display: flex;
    min-width: 400px;
    width: 20vw;
    height: 90px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.473) 1px 5px 5px;
    background-color: var(--color-secondary);
}

/* 2. Área do Texto (direita) */
.about-us-line {
  grid-area: texto; 
  padding: var(--space-4);
  border-right: 1px solid var(--color-secondary);
    font-family: var(--font-secondary);
    line-height: 30px;
    text-indent: 20px;
    text-align: justify;
    display: flex;
    margin-right: 50px;
}


.container-wrap-icons {
    grid-area: icons; 
    display: grid;
    gap: 50px;
    width: 30vw;
    grid-template-columns: 1fr 1fr;
}


.card-icons {
    display: flex;
    flex-flow: column nowrap;
    gap: var(--space-2);
    margin: auto;
    padding-bottom: var(--space-2);
}

.card-icons h2 {
  font-size: 1.3rem;
}

.icons-about {
  min-width: 70px;
    width: 4vw;
}


.break-sections {
    display: none;
}

/* Title parallax - Desktop*/

.title-block-parallax-h1 {
    margin-bottom: 70px;
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 350px;
    height: 90px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.473) 1px 5px 5px;
    background-color: var(--color-secondary);
}

}