/* Reset */
* {
  margin: 0; 
  padding: 0;
  box-sizing: border-box; 
}

/* Corpo */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f7e8d3;
  color: #333;
  line-height: 1.6;

  /* Ajuste para garantir que a Hero Section comece abaixo do cabeçalho grande. */
  padding-top: 200px; 
}

/* --- CABEÇALHO (HEADER) --- */

header {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 5%; 
  
  background: #fff;
  box-shadow: none; 
  
  z-index: 1000;
  transition: all 0.4s ease-in-out; 

  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 15px; 
}

/* --- ESTADO ROLADO (Classe 'shrink' adicionada pelo JavaScript) --- */
header.shrink {
  height: 80px; 
  padding: 10px 5%;
  
  background-color: #ffffff; 
  box-shadow: none;
  backdrop-filter: none; 

  flex-direction: row; 
  justify-content: space-between; 
}

/* --- LOGO --- */
.logo {
  width: 200px; 
  transition: width 0.4s ease-in-out;
}

header.shrink .logo {
  width: 80px; 
}

/* --- NAVEGAÇÃO (ÍNDICE) --- */
nav {
  flex-grow: 1; 
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center; 
  gap: 20px;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #fdd09b;
}

/* --- HERO SECTION --- */
.hero {
  text-align: center;
  padding: 80px 20px; 
  background-color: #f3eadf; 
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #c69f86;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-whatsapp:hover {
  background-color: #703d1de5;
}

/* --- SEÇÕES --- */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  font-family: 'Playfair Display', serif;
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* Sobre */
.sobre p {
  max-width: 700px;
  margin: 0 auto;
}

/* Serviços */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.img-servico {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* --- SEÇÃO DEPOIMENTOS (Estrutura Geral) --- */
.depoimentos {
    text-align: center;
    padding: 60px 20px;
}

/* Container principal de visualização (limita a largura do carrossel) */
.depoimento-visualizacao {
    max-width: 1000px;
    margin: 10px auto;
    overflow: hidden; 
    position: relative; 
}

/* O Carrossel em si - Contém todos os slides */
.depoimentos-carrossel {
    display: flex; 
    transition: transform 0.6s ease-in-out; 
    position: relative;
    width: 100%; 
}

/* Cada grupo de 3 depoimentos */
.carrossel-slide {
    display: flex;
    flex-shrink: 0; 
    width: 100%; 
}

/* Cada caixa de depoimento individual */
.depoimento-item {
    flex: 1; 
    min-width: 30%; 
    padding: 20px;
    margin: 0 10px;
    text-align: center;
    background-color: #fcf8f5; 
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.depoimento-item blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    border: none;
    margin: 0 0 10px;
    padding: 0;
}

.depoimento-item .autor {
    font-weight: 600;
    color: #888;
    display: block;
}

/* --- Indicadores (Dots) --- */
.carrossel-indicadores {
    text-align: center;
    margin-top: 20px;
}

/* --- Botão "Deixar um Recado" (Centralizar) --- */
.feedback-btn-container {
    text-align: center; 
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Estilo do botão primário */
.btn-primario { 
    padding: 12px 30px;
    background-color: #c69f86; 
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primario:hover {
    background-color: #a3816c; 
}


/* --- Estilos do Formulário (Ocultar e Centralizar) --- */
.novo-depoimento {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: 8px;
    border-radius: 8px;
    text-align: center;
}

/* Classe para ocultar/mostrar o formulário */
.hidden {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.form-depoimento {
    display: inline-block;
    text-align: left;
    width: 100%;
    max-width: 400px;
}

.form-depoimento .form-group { 
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.form-depoimento input[type="text"], 
.form-depoimento textarea {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
}

.form-depoimento button[type="submit"] {
    width: 100%; 
    max-width: 400px; 
    margin: 10px auto; 
    display: block; 
}

/* Contato */
.contato a {
    color: auto; /* Corrigido para um valor válido */
    font-weight: 600;
}

/* --- ESTILO ESPECÍFICO PARA LINKS NA SEÇÃO CONTATO --- */

/* Estilo para todos os links na seção contato, se necessário, mas vamos focar no Instagram */
.contato a {
    font-weight: 600;
}

/* NOVO: Estiliza o link do Instagram com a cor azul */
.contato .link-instagram {
    color: #007bff; /* Azul padrão, você pode usar o azul do Instagram se quiser */
    text-decoration: none;
    transition: color 0.3s;
}

.contato .link-instagram:hover {
    color: #0056b3; /* Um tom de azul mais escuro no hover */
    text-decoration: underline;
}

/* Footer */
footer {
    background: #fff;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 40px;
}

/* --- Estilização dos Links de Serviço (Saber Mais) --- */
.link-servico {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    border: 1px solid #000;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.link-servico:hover {
    background-color: #9c8060;
    color: #fff;
    border-color: #9c8060;
}

/* =============================================== */
/* --- MEDIA QUERIES (RESPONSIVIDADE MOBILE) --- */
/* =============================================== */

@media (max-width: 768px) {
    /* --- AJUSTES GERAIS --- */
    
    body {
        padding-top: 150px; 
    }
    
    section {
        padding: 30px 15px; 
    }

    h2 {
        font-size: 1.5rem;
    }

    /* --- CABEÇALHO (HEADER) --- */

    header {
        padding: 15px 5%; 
    }

    nav {
        display: none; 
    }
    
    header.shrink {
        height: 60px; 
        padding: 5px 5%;
    }

    header.shrink .logo {
        width: 60px; 
    }
    
    header.shrink nav {
        display: block; 
    }
    
    /* --- SERVIÇOS (Cards) --- */
    
    .cards {
        grid-template-columns: 1fr; 
    }


    /* --- CARROSSEL DE DEPOIMENTOS --- */
    
    .depoimento-visualizacao {
        overflow: hidden; 
    }
    
    .depoimentos-carrossel {
        white-space: nowrap; 
    }

    .carrossel-slide {
        width: 100%; 
        display: inline-block; 
        white-space: normal; 
        
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 20px; 
    }
    
    .depoimento-item {
        width: 90%; 
        max-width: 90%; 
        min-height: 250px; 
        margin: 10px auto; 
        padding: 15px;
    }
    
    /* OBS: As regras .prev-btn e .next-btn foram removidas daqui */

    /* --- FORMULÁRIO --- */
    
    .novo-depoimento {
        padding: 15px;
        margin: 20px 10px;
    }
    
    .form-depoimento, 
    .form-depoimento .form-group,
    .form-depoimento button[type="submit"] {
        max-width: 100%;
        width: 100%;
    }
}

