* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  model-viewer#reveal {
    --poster-color: transparent;
  
  }
  
  #lazy-load-poster {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url("../assets/poster-damagedhelmet.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #button-load {
    background-image: url("../assets/ic_get_app_white_24dp.svg");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 6% 50%;
    background-color: #000;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    display: inline-block;
    padding: 10px 18px 9px 40px;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(0,0,0,.2), 0 0 4px rgba(0,0,0,.25);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 100;
  }

    
  /*====  VARIABLES ============================ */
  :root {
    --header-height: 4.5rem;
  
    /* colors */
    --hue: 350;
    /* HSL color mode */
    --base-color: #A47750;
    --base-color-second:#F0D5A6;
    --base-color-alt: #F0D5A6;
    --title-color: #26150B;
    --text-color: hsl(0 20% 40%);
    --text-color-light: hsl(0 30% 98%);
    --body-color: hsl(15, 100%, 99%);
  
    /* fonts */
    --title-font-size: 1.875rem;
    --subtitle-font-size: 2rem;
  
    --title-font: 'Zen Maru Gothic', sans-serif;
    --body-font: 'Zen Maru Gothic', sans-serif;
  }
  
  /*===  BASE ============================ */
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font: 400 1rem var(--body-font);
    color: var(--text-color);
    background: var(--body-color);
    -webkit-font-smoothing: antialiased;
  }
  
  .title {
    font: 700 var(--title-font-size) var(--title-font);
    color: var(--title-color);
    -webkit-font-smoothing: auto;
  }
  
  .button {
    background-color: var(--base-color);
    color: var(--text-color-light);
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    border-radius: 0.25rem;
    font: 500 1rem var(--body-font);
    transition: background 0.3s;    
  }
  
  .button:hover {
    background: var(--base-color-alt);
  }
  
  .divider-1 {
    height: 1px;
    background: linear-gradient(
      270deg,
      hsla(var(--hue), 36%, 57%, 1),
      hsla(var(--hue), 65%, 88%, 0.34)
    );
  }
  
  .divider-2 {
    height: 1px;
    background: linear-gradient(
      270deg,
      hsla(var(--hue), 65%, 88%, 0.34),
      hsla(var(--hue), 36%, 57%, 1)
    );
  }

  body, ul{
    margin: 0px;
    padding: 0px;
  }

  a{
    color: black;
    text-decoration: none;

  }
  .a:hover{
    color: var(--base-color);
  }
  
  /*====  LAYOUT ============================ */
  .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  .grid {
    display: grid;
    gap: 2rem;
  }
  
  .section {
    padding: calc(5rem + var(--header-height)) 0;
  }
  
  .section .title {
    margin-bottom: 1rem;
  }
  
  .section .subtitle {
    font-size: var(--subtitle-font-size);
  }
  
  .section header {
    margin-bottom: 4rem;
  }
  
  .section header strong {
    color: var(--base-color);
  }

  img{
    width:75%;
  }
  
  /*====  HOME ============================ */

.containergrid1{

    display: grid;
    

    grid-template-columns: 50% 30%;
    justify-content: space-evenly;
    
}
  
#home .text {    

  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 5rem;
  
  text-align: center;
  
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

#home .image{ 
    display: inline-flex;
    align-items: center;
    justify-content: center; 
}

#home img{
  border-radius: 1.5rem;
  box-shadow: 50px 50px 1px var(--base-color-second);
}

  #youtube {
    width: 100%;            /* Ocupa a largura total do container pai */
    max-width: 650px;       /* Limita o tamanho máximo que você queria */
    margin: 0 auto;         /* Centraliza o vídeo */
}

#youtube iframe {
    width: 100%;            /* O iframe segue a largura do div pai */
    aspect-ratio: 16 / 9;   /* FORÇA a proporção padrão do YouTube */
    height: auto;           /* A altura é calculada automaticamente para não sobrar borda */
    border-radius: 12px;    /* Opcional: arredonda os cantos para combinar com seu site */
    display: block;
}


  /*====  ABOUT ============================ */
  #about {    
    background: white;
  }
  .gridAbout{
    display: grid;
    grid-template-columns: 40% 40%;
    justify-content: space-evenly;
  }
  
  #about .image{
    display: inline-flex;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    
    align-items: center;
    justify-content: center;
    
  }

  #about img{
    border-radius: 1.5rem;
    box-shadow: -50px -50px 1px var(--base-color-second);
  }
  
  #about .text {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 5%;
  }

  /*====  SERVICES ============================ */
  .cards{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1.5rem;
    
  }
  
  .card {
    padding: 3.625rem 2rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 0.25rem solid var(--base-color);
    border-radius: 0.25rem 0.25rem 0 0;
    text-align: center;
    background: white;
  }
  
  .card i {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 5rem;
    color: var(--base-color);
  }
  
  .card .title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  #services{
    display: flex;
    
    justify-content: center;
    
  }
  /* PARCEIROS */

#parceiros{
  margin: 0;
}
#parceiros p{
  padding: 1rem;
   background: #FFFFFF
}
  .container-imagens {
    width: 100%;
    overflow: hidden; /*Esconde o que sai da tela */
    display: flex;
    background: #FFFFFF; /* Ou a cor do seu fundo */
  }

.linha-imagens {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 1rem;

    
    /* Animação: nome | duração | curva | infinito */
    animation: loop-infinito 99s linear infinite;
}

.linha-imagens li {
    width: 3rem;
    height: 3rem;
    flex-shrink: 0; /* Não deixa as bolinhas esmagarem */
    border-radius: 50%;
    overflow: hidden;
}

.linha-imagens li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A MÁGICA: Move a lista para a esquerda até metade dela sumir */
@keyframes loop-infinito {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Movemos exatamente 50% (a parte duplicada) */
        /* Usamos calc para compensar o gap se necessário, mas 50% resolve na maioria dos casos */
        transform: translateX(calc(-50% - 20px)); 
    }
}

/* Pausa a animação quando o usuário passa o mouse (opcional) 
.container-imagens:hover .linha-imagens {
    animation-play-state: paused;
}*/
  /*  TESTIMONIALS  */

.profile{
  border-radius: 100%;
  width: 70px;
  margin-top: 2%;

  margin-right: 25px;
}

  #testimonial {
    background: white;
  }
  
  #testimonials .container {
    margin-left: 0;
    margin-right: 0;
  }
  
  #testimonials header {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 0;
  }
  
  #testimonials blockquote {
    padding: 2rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
  }
  
  #testimonials blockquote p {
    position: relative;
    text-indent: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--title-color);
  }
  
  #testimonials blockquote p span {
    font: 700 2.5rem serif;
    position: absolute;
    top: -0.375rem;
    left: -1.875rem;
    color: var(--base-color);
  }
  
  #testimonials cite {
    display: flex;
    align-items: center;
    font-style: normal;
  }
  
  #testimonials cite img {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    clip-path: circle();
    margin-right: 0.5rem;
  }
  
  /* swiper */
  .swiper-slide {
    height: auto;
    padding: 4rem 1rem;
  }
  
  .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .swiper-pagination-bullet-active {
    background: var(--base-color);
  }

  /* --- CONTAINER DO CARROSSEL --- */

  .center{
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 15px;
  }
        .carrossel-section {
            width: 95%;
            max-width: 800px;
            margin: 0px;
            background-color:#FFFFFF; /* Cor do fundo */
            padding: 0;
            border-radius: 16px;
            text-align: center;
        }

        .carrossel-section h2 {
            color: #382313; /* Cor do título */
            margin-top: 0;
            margin-bottom: 20px;
            text-transform: uppercase;
            font-size: 1.5rem;
            letter-spacing: 1px;
        }

        .carrossel-container {
            position: relative;
            width: 100%;
            height: 400px; /* Altura ideal das imagens */
            overflow: hidden;
            border-radius: 12px;
        }

        /* --- SLIDES --- */
        .carrossel-slides {
            display: flex;
            width: 400%; /* 4 slides = 400% */
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }

        .slide {
            width: 25%; /* Cada slide ocupa exatamente 1/4 do container */
            height: 100%;
            position: relative;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Preenche o espaço sem distorcer as imagens */
            display: block;
        }

        /* Legenda opcional sobreposta na imagem */
        .slide-legenda {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(74, 47, 27, 0.85));
            color: #ffffff;
            padding: 20px;
            font-size: 1.2rem;
            font-weight: 500;
        }

        /* --- BOTÕES DE NAVEGAÇÃO (SETAS) --- */
        .seta {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(74, 47, 27, 0.3); /* Marrom translúcido */
            color: #FFFFFF;
            border: none;
            width: 70px;
            height: 80px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.1s;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .seta:hover {
            background-color: rgba(74, 47, 27, 0.6);
        }

        .seta:active {
            transform: translateY(-50%) scale(0.95);
        }

        .seta-esq {
            left: 15px;
        }

        .seta-dir {
            right: 15px;
        }

        /* --- INDICADORES (BOLINHAS) --- */
        .indicadores {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
            margin-bottom: 15px;
        }

        .bolinha {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #c4b4a3;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .bolinha.ativa {
            background-color: #4a2f1b; /* Marrom escuro ativo */
        }

        /* Responsividade para telas de celulares */
@media (max-width: 600px) {
    /* Faz o container não encostar grudado na tela do celular */
    .carrossel-section {
        width: 92%; 
        margin: 10px auto; /* Centraliza e dá um respiro em cima/baixo */
    }

    .carrossel-container {
        height: auto; /* Permite que a altura se ajuste à imagem */
        aspect-ratio: 4 / 3; /* Define uma proporção (ex: 4:3) para não achatar */
    }
  }



        .maps img{

          width: 100%;
          height: 400;
        }
  
  /*====  CONTACT ============================ */
  #contact .grid {
    gap: 4rem;
  }
  
  #contact .text p {
    margin-bottom: 2rem;
  }
  
  #contact .button i,
  #contact ul li i {
    font-size: 1.5rem;
    margin-right: 0.625rem;
  }
  
  #contact ul.grid {
    gap: 0rem;
  }
  
  #contact ul li {
    display: flex;
    align-items: center;
  }
  
  #contact ul li i {
    color: var(--base-color);
  }
  .maps {
    border-radius: 1.5rem;
    margin-top: 1rem;
    margin-bottom: -0.3rem;
  }

/* MEDIA QUERIES */

@media (max-width: 1000px){

#btn-mobile{
    display: block;
  }

  #menu{
    display: block;
    position: absolute;
    width: 100%;
    top: 70px;
    right: 0px;
    background:var(--text-color-light);
    height: 0px;
    transition: .6s;
    visibility: hidden;
    overflow: hidden;
    z-index: 1000;

  }
  #nav.active #menu{
    height:calc(100vh - 70px);
    visibility: visible;
    overflow: auto;
  }
  #menu a {
    padding: 1rem 0;
    margin: 0 3rem;
    border-bottom: 2px solid var(--base-color);
  }
  #btn-mobile{
    display: flex;
    padding: .5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer; 
    gap:1rem;

  }
  #hamburger{
    color: var(--base-color);
    border-top: 2px solid;
    width: 20px;
  }
  #hamburger::after, #hamburger::before{
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: .3s;
    position: relative;
  }

  nav.active #hamburger{
    border-top-color: transparent;
  }

  nav.active #hamburger::after{
    transform: rotate(135deg);
    top: -7px;
  }

  nav.active #hamburger::before{
    transform: rotate(-135deg);    
  }}


@media (max-width: 750px){
  .containergrid1{
  
    grid-template-columns: 90vw;
    grid-template-rows: 50% 50%;

  }

 #home img{
    margin-top: 3rem;
  }
  
  .gridAbout{
    
    grid-template-columns: 400px;
    grid-template-rows: 50% 50%;
    
  
  }

  #contact{
    padding: 0;
    padding-top: 5rem;
  }
  
@media (max-width: 1000px){

.cards{
  display: block;
}
.card{
  margin-bottom: 25px;
}

.section .subtitle {
  font-size: 1.5rem;
}
}}


/*ABOUT US*/

.form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

h2 { text-align: center; color: #333; }

.input-group { margin-bottom: 15px; }

label { display: block; margin-bottom: 5px; font-weight: bold; }

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color:#A47750;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-submit:hover { background-color: #F0D5A6; }

main{
  padding: 6rem 3rem 3rem 3rem;
}

/*BARRA DE SCROLL*/

.progress-container {
  width: 100%;
  height: 3px;
  background: #A47750;
  position: fixed;
  top: 70px;
  left: 0;
  z-index: 9999; /* Garante que fique acima de tudo */
}

.progress-bar {
  height: 3px;
  background: #A47750; /* Cor da barra - pode alterar para a cor da sua identidade */
  width: 0%;
}

