/* Definição de variáveis e estilos globais */
:root {
  --text-color: #281a03; 
  --primary-color: #D98DB1; 
  --background-light: #F1EFEA; 
  --font-main: "Palanquin", sans-serif;
  --font-title: "Philosopher", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: #fff;
  font-size: 15.5px;
  line-height: 24.8px;
  overflow-x: hidden;
}

/* Estilos do Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Seção Hero (Banner Principal) */
.hero-section {
  position: relative;
  /* padding: 150px 50px 80px 40px; */
  /*background-image: ;*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

/* Cor escurecida na parte superior do site, como um óculos de sol */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1c1917; /* stone-950 */
  opacity: 0.65;
}

/*SVG, curva estética no meio do site */
.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: scale(-1, -1); /* Mantém a inversão para a forma ficar correta */
}

/* Faz a onda ser maior que a tela horizontalmente pra não ter risco, já que overflow hidden vai cortar do mesmo jeito  */
.hero-shape svg {
    position: relative;
    display: block;
    width: calc(127% + 1.3px);
    height: 113px;
}

.hero-shape .shape-fill {
    fill: var(--background-light);
}

.hero-content {
  position: relative; 
  z-index: 2;
}
/* tamanho da logo e dimensoes */
.logo {
  width: 290px; 
  max-width: 100%; 
  height: auto;
  margin-bottom: 15px;
}

.main-title {
  color: var(--primary-color);
  font-family: var(--font-title);
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 30px;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Estilos de Botões */
.btn {
  position: relative;
  display: inline-block;
  padding: 17px 50px;
  border-radius: 14px;
  border: 2px solid transparent;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
  display: inline-flex; /* Transforma o botão em um container flex */
  align-items: center;  /* Alinha o ícone e o texto no centro verticalmente */
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #F1EFEA;
}

.btn-secondary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border-color: white;
  color: white;
}

/* Estilo para os ícones dentro dos botões */
.btn i {
  margin-right: 10px; /* Cria um espaço entre o ícone e o texto */
  font-size: 20px;
}

/* Seção de Informações */
.info-section {
  padding: 30px;
  background-color: var(--background-light);
}

.info-columns {
  display: flex;
  flex-direction: column;
}

.info-column {
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
}

.section-title {
  font-family: var(--font-title);
  color: #b12a88b9;
  font-size: 34px;
  line-height: 42px;
  margin-bottom: 20px;
}

.sub-title {
  font-family: var(--font-title);
  color: #D98DB1;
  font-size: 18.24px;
  line-height: 27.36px;
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Estilos para telas maiores (Desktop) - o que era `md:` */
@media (min-width: 768px) {
  body {
    font-size: 17px;
    line-height: 27.2px;
  }

  .hero-section {
    padding: 215px 0;
    background-position: 100% top;
  }

  .hero-shape img {
    height: 60px;
    width: calc(200% + 1.3px);
  }

  .main-title {
    font-size: 55px;
    line-height: 66px;
  }
  
  .button-group {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .info-columns {
    flex-direction: row;
  }

  .info-column {
    width: 50%;
  }

  .section-title {
    font-size: 40px;
    line-height: 50px;
  }

  .sub-title {
    font-size: 25px;
    line-height: 37.5px;
  }
}

/* Estilos para o mapa incorporado */
.map-responsive {
  width: 90%;             /* Faz o mapa ocupar toda a largura da coluna */
  height: 250px;         
  border: none;            
  border-radius: 14px;     
  margin-top: 25px;       
}


/* =================================
   ESTILOS DA PÁGINA DE SERVIÇOS
   ================================= */

/* Cabeçalho da página de serviços */
.services-header {
  background-color: #746774; /* Mesmo fundo escuro da home */
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.services-header .section-title {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.services-header .header-subtitle {
  font-family: var(--font-main);
  font-size: 18px;
  color: var(--background-light);
  margin-top: 0;
  margin-bottom: 30px;
}

/* Lista que organiza os cards de serviço */
.services-list {
  display: grid;
  grid-template-columns: 1fr; /* 1 coluna em telas pequenas */
  gap: 25px; /* Espaçamento entre os cards */
  margin-top: 30px;
}

/* Card individual de cada serviço */
.service-card {
  background-color: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  border-top: 5px solid var(--primary-color);
  transition: transform 0.3s ease;
  display: flex; 
  flex-direction: column;
}

/* Estilo para o 'rodapé' do card, que alinha duração e preço */
.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
} 
.service-footer .service-duration {
  color:var(--primary-color);
  font-size: 18px;
  font-weight: bold;
  
}
.service-card:hover {
    transform: translateY(-5px); /* Efeito de elevação ao passar o mouse */
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.service-card .service-price {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

/* Ajuste para telas maiores (desktop) */
@media (min-width: 768px) {
  .services-list {
    grid-template-columns: 1fr 1fr; /* 2 colunas em telas maiores */
  }
}


.btn::after {
    content: '✦';
    font-size: 20px;
    position: absolute;
    right: 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

/* O que acontece ao passar o mouse */
.btn:hover {
    padding-right: 60px; /* Aumenta o espaço à direita para o brilho aparecer */
    padding-left: 40px;
}

.btn:hover::after {
    opacity: 1; /* Mostra o brilho */
    transform: rotate(360deg); /* Faz o brilho girar ao aparecer */
}

.services-header .btn {
  width: auto; /* Remove a largura de 100% APENAS para este botão */
}
/* Ajuste para telas menores (mobile) */
@media (max-width: 767px) {
 .service-footer {
  flex-direction: column; /* Empilha os itens verticalmente */
  align-items: flex-start; /* Alinha os itens à esquerda */
 }

 .service-footer .service-price {
  margin-top: 5px; /* Adiciona um pequeno espaço entre a manutenção e o preço */
 }
}

.sub-title {
        font-size: 22px; /* Aumenta o tamanho da fonte */
        line-height: 30px; /* Ajusta a altura da linha para a nova fonte */
}
/* Ajuste para telas maiores (desktop) */
@media (min-width: 768px) {
 .services-list {
  grid-template-columns: 1fr 1fr; /* 2 colunas em telas maiores */
 }
}


/* ---------------------- sobre mim */

/* =================================
   ESTILOS DA PÁGINA SOBRE MIM
   ================================= */

/* ===================================================
   NOVO ESTILO 'SOBRE MIM' COM BLOCOS SEPARADOS
   =================================================== */

/* Estrutura principal da página 'Sobre Mim' */
.about-me-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Espaço entre a foto e o container dos blocos */
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-me-pic-container {
  text-align: center;
}

.about-me-pic {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-me-main-title {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Container que segura todos os blocos de texto */
.about-me-blocks-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Espaço entre cada bloco de texto */
}

/* Estilo individual de cada bloco de parágrafo */
.about-me-block {
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--primary-color); /* Detalhe estético na lateral */
    display: flex;
    align-items: flex-start; /* Alinha ícone e texto no topo */
    gap: 20px; /* Espaço entre o ícone e o texto */
    transition: transform 0.3s ease;
}

.about-me-block:hover {
    transform: translateY(-5px); /* Efeito sutil para desktop */
}

.about-me-block i {
    font-size: 28px;
    color: var(--primary-color);
    padding-top: 3px; /* Ajuste fino para alinhar o ícone com o texto */
}

.about-me-block p {
    flex: 1; /* Faz o parágrafo ocupar o espaço restante */
    margin: 0; /* Remove margens padrão do parágrafo */
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

/* Ajustes para telas maiores (Desktop) */
@media (min-width: 768px) {
    .about-me-pic {
        width: 250px;
        height: 250px;
    }

    .about-me-main-title {
        font-size: 34px;
    }

    .about-me-blocks-container {
        gap: 25px;
        max-width: 700px; /* Limita a largura dos blocos no desktop para melhor leitura */
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   BOTÃO DE AGENDAMENTO FLUTUANTE (FAB)
   ========================================= */

.floating-schedule-button {
    display: none; /* Escondido por padrão em telas grandes */
}

@media (max-width: 767px) {
    .floating-schedule-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* Espaço entre o ícone e o texto */
        position: fixed;
        bottom: 25px;
        right: 25px;
        z-index: 1000;

        background-color: var(--primary-color);
        color: white;
        font-family: var(--font-main);
        font-weight: bold;
        text-decoration: none;
        font-size: 15px;

        padding: 15px 32px;
        border-radius: 50px; /* Pílula */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        
        /* Efeito de entrada/saída */
        opacity: 0;
        transform: translateY(100px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .floating-schedule-button.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .floating-schedule-button i {
        font-size: 20px;
    }
}