*{
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@font-face{
    font-family: "ArchivoBlack";
    src: url(../fonts/ArchivoBlack-Regular.woff);
}
@font-face{
    font-family: "LibreBaskerville";
    src: url(../fonts/LibreBaskerville-Regular.woff);
}

@media (max-width: 767px) {
    #home {
        padding-top: 120px; 
        padding-bottom: 80px; 
        display: block;       
    }
    
    .img-home {
        max-width: 220px; 
        height: auto;
        margin-bottom: 15px;
    }

    #home .col-md-6 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }

    #home h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    #fundo {
        height: 100dvh;
        padding-top: 20px;
    }
    .img-home{
        width: 200px;        
    }
    .mt-5 { margin-top: 1rem !important; 
    }
    .mb-5 { margin-bottom: 1rem !important; 
    }
}

@media (max-width: 768px) {
    .img-sobre-responsiva {
        max-width: 180px !important; 
        margin: 0 auto !important;
    }

    .titulo-sobre {
        text-align: center;
        padding-left: 0 !important;
        font-size: 1.8rem;
        width: 100%; 
    }

    .texto-profissional {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .card-servico {
        margin: 0 15px; /* Adiciona um respiro nas laterais no mobile */
    }
}

h1{
    font-family: "ArchivoBlack";
}
p{
    font-family: "LibreBaskerville";
    font-size: 14px;
}

@media (max-width: 768px) {
    .titulo-contato {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .bg-vinho {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .card-faq .btn {
        font-size: 0.9rem;
    }
}

#fundo{
    background: url(../images/background-home.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    width: 100%;
}

#home{
    color: #fff;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 120px;
}

#sobre{
    background-color: #f4f4f4;
    color: #333;
}

#servicos {
    background-color: #5c0a0a;
    color: #fff;
}

#contato {
    background-color: #f8f9fa;
}

#contato .form-control {
    border-radius: 0;
    border: 1px solid #ced4da;
    padding: 10px;
}

#contato label {
    font-family: "LibreBaskerville", serif;
    font-weight: bold;
    color: #333;
}

#navbar-principal {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

#navbar-principal.navbar-rolagem {
    background-color: #5c0a0a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.nav-link{
    font-family: "LibreBaskerville";
    font-size: 14px;
}

.navbar-nav .nav-link {
    position: relative;
    color: #ffffff !important;
    font-family: "LibreBaskerville", serif;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.navbar-nav .active.nav-link::after,
.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.prata{
    background: linear-gradient(to right, #bdc3c7, #ece9e6);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.moldura-foto {
    display: block;
    text-align: center; /* Garante centralização */
}

.img-sobre-responsiva {
    width: 100%; /* Remova o !important daqui para testar a flexibilidade */
    max-width: 350px; 
    height: auto;
    display: block;
}

.titulo-sobre {
    font-family: "ArchivoBlack", sans-serif;
    font-size: 2.5rem;
    color:#000000;
    border-left: 5px solid #5c0a0a; 
    padding-left: 15px;
    margin-bottom: 25px;
}

.destaque-sobre {
    color: #5c0a0a;
}

.btn-padrao {
    background: linear-gradient(to right, #bdc3c7, #ece9e6, #bdc3c7);
    border: 1px solid #a6a6a6;
    color: #330a0a !important; 
    font-family: "LibreBaskerville";
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}
.btn-padrao:hover {
    background-position: right center; 
    text-decoration: none;

}
.btn{
    display: block;
    border-radius: 0px;
}

.btn-enviar {
    background-color: #5c0a0a;
    color: white;
    font-family: "LibreBaskerville", serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px; 
    padding: 12px;
    border: none;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: #3d0707;
    color: #fff;
    transform: scale(1.02);
}

/* Sombreamento do Box */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.175) !important;
}

.color-tema{
    color: #330a0a;
}

.titulo-servicos {
    font-family: "ArchivoBlack", sans-serif;
    letter-spacing: 2px;
}

.subtitulo-servicos {
    font-family: "LibreBaskerville", serif;
    font-size: 0.9rem;
    max-width: 700px;
    margin: 0 auto;
}


.card-servico {
    background: linear-gradient(135deg, #d3d3d3 0%, #ffffff 100%);
    color: #330a0a; 
    padding: 40px 20px;
    height: 100%;

    transition: transform 0.3s ease;
}

.card-servico:hover {
    transform: translateY(-10px); /* Efeito de flutuar ao passar o mouse */
}

.icon-servico {
    font-size: 2.5rem;
    color: #5c0a0a;
    margin-bottom: 20px;
}

.card-servico h3 {
    font-family: "LibreBaskerville", serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #5c0a0a;
}

.card-servico p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.bg-vinho {
    background-color: #5c0a0a;
}

.text-vinho {
    color: #5c0a0a;
    font-family: "LibreBaskerville", serif;
}

.titulo-contato {
    font-family: "ArchivoBlack", sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
}

.titulo-faq {
    font-family: "LibreBaskerville", sans-serif;
    color: #5c0a0a;
}

.card-faq {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Sombra suave da imagem */
    overflow: hidden;
}

.card-faq .card-header {
    background-color: #5c0a0a;
    border-bottom: none;
    padding: 10px 15px;
}

.card-faq .btn {
    text-decoration: none !important;
    color: #fff !important;
    font-family: "LibreBaskerville", serif;
    font-weight: bold;
    font-size: 1rem;
    white-space: normal; /* Permite que o texto quebre linha no mobile */
}

.card-faq .btn:focus {
    box-shadow: none;
}

.seta-faq {
    color: #fff;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

/* Faz a setinha girar quando o item abre */
.btn:not(.collapsed) .seta-faq {
    transform: rotate(180deg);
}

.card-faq .card-body {
    font-family: "LibreBaskerville", serif;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    padding-top: 2; /* Aproxima a resposta da pergunta */
}

.footer-juridico {
    background-color: #5c0a0a;
    font-family: "LibreBaskerville", serif;
}

.logo-footer {
    font-family: "ArchivoBlack", sans-serif;
    letter-spacing: 1px;
    color: #ffffff;
}

.desc-footer {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e0e0e0; /* Um branco levemente acinzentado para não cansar a vista */
}

.titulo-coluna-footer {
    font-family: "ArchivoBlack", sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    text-transform: uppercase;
}

/* Estilo dos Links Rápidos */
.links-footer li {
    margin-bottom: 10px;
}

.links-footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.links-footer a:hover {
    color: #d3d3d3; /* Fica um pouco mais claro ao passar o mouse */
    text-decoration: underline;
}

/* Estilo dos Contatos */
.contato-footer li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #e0e0e0;
}


/* Ícones das Redes Sociais */
.redes-sociais a {
    display: inline-block;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1); /* Fundo transparente clarinho */
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.redes-sociais a:hover {
    background-color: #fff;
    color: #5c0a0a; /* Inverte a cor no hover */
}


.linha-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Linha bem sutil */
}

.copy-footer p {
    font-size: 0.85rem;
    color: #ccc;
}

.copy-footer small {
    color: #888;
    font-size: 0.75rem;
}


@media (max-width: 768px) {
    .footer-juridico {
        text-align: center; 
    }
    
    .d-flex.align-items-md-center {
        align-items: center !important;
    }
    
    .redes-sociais {
        margin-bottom: 30px;
    }
}

.redes-sobre {
    
    display: flex;
    gap: 20px; 
}


.redes-sobre a {
    color: #5c0a0a; 
    font-size: 1.8rem; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    display: inline-block; 
}

.redes-sobre a:hover {
    color: #000; 
    transform: translateY(-3px); 
}


@media (max-width: 768px) {
    .redes-sobre {
        justify-content: center;
        margin-top: 30px !important; 
    }
    
    .redes-sobre a {
        font-size: 2rem; 
    }
}

@media (max-width: 767px) {
    #nav-main {
        position: absolute;
        top: 100%;
        left: 5%;
        right: 5%;
        width: 90%;
        background-color: rgba(92, 10, 10, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 8px;
        margin-top: 10px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .navbar-nav .nav-item {
        margin-bottom: 15px;
    }

    .navbar-nav .active.nav-link::after,
    .navbar-nav .nav-link:hover::after {
        width: 40px; 
    }
    
    .navbar-collapse {
        transition: all 0.3s ease;
    }
}

.btn-whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.btn-whatsapp-flutuante img {
    width: 60px; /* Tamanho do ícone. Aumente ou diminua se precisar */
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); /* Sombra para destacar do fundo */
}

.btn-whatsapp-flutuante:hover {
    transform: scale(1.1); /* Efeito de pulo ao passar o mouse */
}

/* Ajuste para não ficar gigante no celular */
@media (max-width: 767px) {
    .btn-whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
    }
    
    .btn-whatsapp-flutuante img {
        width: 50px;
    }
}