
:root {
  --preto: #111111;
  --vermelho: #ff2800;
  --branco: #ffffff;
  --cinza: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--preto);
  line-height: 1.6;
}

header {
  background: var(--preto);
  color: var(--branco);
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

header a {
  color: var(--branco);
  text-decoration: none;
  font-weight: bold;
}   

nav {
  display: flex;
  gap: 24px;
}

main section {
  padding: 65px 8%;
}


main section:first-child {
    background: var(--preto);
    color: var(--branco);
    padding-top: 90px;
    padding-bottom: 15px;
    min-height: 430px;
    box-sizing: border-box;
}


h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

main section:first-child a {
  display: inline-block;
  background: var(--vermelho);
  color: var(--branco);
  padding: 14px 26px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

#servicos {
  background: var(--cinza);
}

#servicos li {
  margin-bottom: 12px;
}

#contato {
  text-align: center;
}

footer {
  background: var(--preto);
  color: var(--branco);
  padding: 25px;
  text-align: center;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  main section {
    padding: 45px 6%;
  }
}

/* CARROSSEL - FAIXA FOTOGRAFICA */

.carrossel-cambio {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 200px;
    margin: 28px auto 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #1c1c1c;
}

.carrossel-cambio img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
}

.carrossel-anterior,
.carrossel-proximo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    cursor: pointer;
    font-size: 24px;
}

.carrossel-anterior {
    left: 12px;
}

.carrossel-proximo {
    right: 12px;
}

/* RESPONSIVIDADE PARA CELULARES */

@media (max-width: 768px) {
    .carrossel-cambio {
        height: 190px;
        margin-top: 20px;
        border-radius: 8px;
    }

    .carrossel-anterior,
    .carrossel-proximo {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}


/* AJUSTE VISUAL FINAL DO CARROSSEL */

.carrossel-cambio {
    width: 100%;
    max-width: 1200px;
    height: 250px;
    margin: 24px auto 0;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a1a;
}

.carrossel-cambio img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CELULAR */

@media (max-width: 768px) {
    .carrossel-cambio {
        height: 190px;
        width: 100%;
        margin-top: 18px;
    }

    .carrossel-cambio img {
        object-fit: cover;
    }
}



/* AJUSTE FINAL DO CARROSSEL - DESKTOP E CELULAR */

.carrossel-cambio {
    position: relative !important;
    width: 100% !important;
    max-width: 1000px !important;
    height: 220px !important;
    margin: 24px auto !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background-color: #1c1c1c !important;
}

.carrossel-cambio img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (max-width: 768px) {
    .carrossel-cambio {
        height: 160px !important;
        max-width: 100% !important;
        margin: 20px auto !important;
    }

    .carrossel-cambio img {
        height: 100% !important;
        max-height: 160px !important;
    }
}

/* BOTÃO WHATSAPP - ESTILO DA HOMEPAGE */


.whatsapp-flutuante {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: #20c768 !important;
    padding: 8px 12px !important;
    border-radius: 8px;
    box-shadow: none !important;
    text-decoration: none;
}


.whatsapp-flutuante span {
    background-color: transparent;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}


.whatsapp-flutuante .icone-whatsapp {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0;
    filter: brightness(0) invert(1);
}


@media (max-width: 600px) {
    .whatsapp-flutuante span {
        font-size: 11px;
        padding: 9px;
    }

    .whatsapp-flutuante .icone-whatsapp {
        width: 48px;
        height: 48px;
    }
}



/* NOVO CARROSSEL - FILME CONTÍNUO */

.carrossel-cambio {
    width: 100%;
    max-width: none;
    height: 300px;
    margin: 28px auto;
    overflow: hidden;
    border-radius: 12px;
    background-color: #1c1c1c;
}

.carrossel-faixa {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    height: 100%;
}

.carrossel-cambio .carrossel-faixa img {
    display: block;
    width: 300px;
    height: 200px;
    max-width: none;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 8px;
}

/* MOVIMENTO CONTÍNUO DO FILME FOTOGRÁFICO */

.carrossel-faixa {
    animation: filmeContinuo 30s linear infinite;
    will-change: transform;
}

@keyframes filmeContinuo {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* CORREÇÃO DO TAMANHO DAS FOTOS DO CARROSSEL */
.carrossel-cambio .carrossel-faixa img {
    width: 160px !important;
    height: 200px !important;
    max-width: none !important;
    max-height: none !important;
    flex: 0 0 160px !important;
    object-fit: contain !important;
}

/* CARROSSEL - LARGURA TOTAL DA TELA */

main section:first-child .carrossel-cambio {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
}


/* HEADER FIXO - MECÂNICA CARRARA */

.header-carrara {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 12px 5%;
    box-sizing: border-box;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 9999;
}

.header-carrara .header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-carrara .header-logo img {
    display: block;
    width: auto;
    height: auto;
    max-height: 65px;
    max-width: 190px;
    object-fit: contain;
}

.header-carrara .header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}

.header-carrara .header-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
}

.header-carrara .header-menu a:hover {
    color: #ff2800;
}

/* Header sem espaçamento superior */
body {
    padding-top: 0;
}


/* CARTÃO DE AVALIAÇÕES DO GOOGLE */


.avaliacoes-google {
    position: absolute;
    top: 115px;
    right: 3%;
    width: 520px;
    max-width: 46%;
    padding: 10px 22px;
    box-sizing: border-box;
    background: #ffffff;
    color: #222222;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    text-align: center;
    z-index: 2;
}


.avaliacoes-nota h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.nota-google {
  font-size: 36px;
  font-weight: bold;
  line-height: 1;
}

.estrelas-google {
  color: #fbbc04;
  font-size: 22px;
  letter-spacing: 3px;
  margin: 5px 0;
}

.avaliacoes-nota p {
  font-size: 12px;
  color: #666666;
  margin: 5px 0;
}

.avaliacoes-depoimentos {
  border-top: 1px solid #dddddd;
  padding-top: 12px;
}

.titulo-depoimentos {
  font-size: 15px;
  font-weight: bold;
}

.depoimento-ativo p {
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
}

.depoimento-ativo strong {
  display: block;
  font-size: 13px;
  margin-top: 10px;
}

/* ADAPTAÇÃO PARA CELULARES */

@media (max-width: 768px) {
  .avaliacoes-google {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    padding: 20px;
  }
}



/* CARTÃO DE AVALIAÇÕES — PRETO E DOURADO */

.avaliacoes-google {
    position: absolute;
    isolation: isolate;
    box-sizing: border-box;
    background: rgba(8, 8, 8, 0.94);
    color: #e8c66a;
    border: 1px solid #b99339;
    border-radius: 18px;
    box-shadow:
        0 0 14px rgba(212, 175, 55, 0.18),
        inset 0 0 12px rgba(212, 175, 55, 0.08);
    overflow: hidden;
}

/* Reflexo dourado que percorre o cartão */

.avaliacoes-google::before {
    content: "";
    position: absolute;
    inset: -70%;
    z-index: -1;
    pointer-events: none;

    background: conic-gradient(
        transparent 0deg,
        transparent 285deg,
        rgba(255, 215, 110, 0.04) 305deg,
        rgba(255, 215, 110, 0.40) 330deg,
        #ffe6a0 345deg,
        transparent 360deg
    );

    animation: brilhoDourado 8s linear infinite;
}

/* Mantém o centro escuro e deixa a luz nas bordas */

.avaliacoes-google::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;
    background: rgba(8, 8, 8, 0.97);
    border-radius: 16px;
    pointer-events: none;
}

@keyframes brilhoDourado {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Títulos, números e textos */

.avaliacoes-google h2,
.avaliacoes-google .nota-google,
.avaliacoes-google .titulo-depoimentos,
.avaliacoes-google .depoimento-ativo strong {
    color: #e8c66a;
}

.avaliacoes-google .estrelas-google {
    color: #ffd166;
}

.avaliacoes-google p {
    color: #e9d8ae;
}

/* Linha divisória dourada */

.avaliacoes-depoimentos {
    border-top: 1px solid rgba(232, 198, 106, 0.4);
}

/* Respeita preferência por movimento reduzido */

@media (prefers-reduced-motion: reduce) {
    .avaliacoes-google::before {
        animation: none;
    }
}


/* AJUSTE COMPACTO DO CARD DOURADO */

.avaliacoes-google {
    width: 560px;
    max-width: 48%;
    padding: 8px 20px;
}

.avaliacoes-nota h2 {
    font-size: 15px;
    line-height: 1.2;
    margin: 0 0 4px;
}

.nota-google-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-google-dourado {
    width: 36px;
    height: 36px;
    color: #e9c46a;
}

.nota-google {
    font-size: 38px;
    line-height: 1;
    margin: 0;
}

.estrelas-google {
    font-size: 30px;
    line-height: 1;
    letter-spacing: 4px;
    margin: 4px 0;
}

.avaliacoes-nota p {
    margin: 3px 0;
    font-size: 11px;
}

.avaliacoes-depoimentos {
    padding-top: 5px;
    margin-top: 5px;
}

.titulo-depoimentos {
    margin: 0 0 4px;
    font-size: 12px;
}

.depoimento-ativo {
    font-size: 12px;
    line-height: 1.2;
}

.depoimento-ativo p {
    margin: 4px 0;
}

.depoimento-ativo {
    transition: opacity 0.35s ease-in-out;
}

.depoimento-ativo.trocando {
    opacity: 0;
}



/* CORREÇÃO DO CARTÃO GOOGLE NO CELULAR */

@media (max-width: 768px) {
  .avaliacoes-google {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    padding: 16px;
  }
}


/* CARTÕES DOS SERVIÇOS DE CÂMBIO */

#servicos {
  background-color: #f5f5f5;
  padding: 70px 8%;
}

#servicos h2 {
  text-align: center;
  margin-bottom: 35px;
}

.grade-servicos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.card-servico {
    min-width: 0;
    min-height: 130px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.icone-servico {
  display: inline-block;
  color: #d62828;
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 14px;
}

.card-servico h3 {
    font-size: clamp(11px, 3.2vw, 16px);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

.card-servico p {
  font-size: 15px;
  color: #555555;
  line-height: 1.6;
}

/* TABLETS */
@media (max-width: 900px) {
  .grade-servicos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CELULARES */
@media (max-width: 600px) {
    #servicos,
    #Modelos {
        padding: 40px 12px;
    }

    .grade-servicos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .card-servico {
        padding: 20px 10px;
        min-width: 0;
        overflow-wrap: break-word;
    }

    .card-servico {
    min-height: 100px;
    padding: 10px 8px;
    min-width: 0;
    overflow-wrap: break-word;
    }


    .card-servico p {
        font-size: 13px;
        line-height: 1.4;
    }
}


/* PADRONIZAÇÃO DOS TÍTULOS DAS SEÇÕES */

#servicos > h2,
#Modelos > h2,
#localizacao > h2,
#contato > h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 35px;
}



/* SEÇÃO DE LOCALIZAÇÃO */

#localizacao {
    background-color: #f5f5f5;
    padding: 70px 8%;
}

#localizacao .map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

#localizacao .map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* AJUSTE PARA CELULARES */

@media (max-width: 600px) {
    #localizacao {
        padding: 45px 18px;
    }

    #localizacao .map-container iframe {
        height: 320px;
    }
}



/* CABEÇALHO SEM FIXAÇÃO NA ROLAGEM */

.header-carrara {
    position: relative !important;
    top: auto !important;
    width: 100%;
}


/* IMAGENS DOS CARTÕES DE SERVIÇOS E MODELOS */

.card-servico .imagem-card {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}


/* LEGENDA DO CARROSSEL DE FOTOS REAIS */

.legenda-carrossel {
    font-size: 10px !important;
    font-weight: 400 !important;
    font-style: italic;
    color: #888888 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin: 4px auto 0 !important;
    padding: 0 10px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* CARROSSEL DE MARCAS AUTOMOTIVAS */

.carrossel-marcas {
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    padding: 10px 0;
    box-sizing: border-box;
}

.faixa-marcas {
    display: flex;
    width: max-content;
    animation: movimento-marcas 65s linear infinite;
}

.grupo-marcas {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
    padding-right: 20px;
}

.grupo-marcas img {
    display: block;
    width: 105px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes movimento-marcas {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* CARROSSEL DE MARCAS NO CELULAR */

@media (max-width: 600px) {

    .carrossel-marcas {
        padding: 6px 0;
    }

    .grupo-marcas {
        gap: 12px;
        padding-right: 12px;
    }

    .grupo-marcas img {
        width: 78px;
        height: 52px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .faixa-marcas {
        animation: none;
    }

    .carrossel-marcas {
        overflow-x: auto;
    }
}


/* ENDEREÇO DISCRETO ACIMA DO MAPA */

#localizacao > h2 {
    font-size: 16px;
    font-weight: 500;
    color: #555555;
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    #localizacao > h2 {
        font-size: 13px;
        margin-bottom: 8px;
    }
}