/* ------------------------------------------------ */
/* STYLE.CSS - VELLYS ESTÉTICA AVANÇADA             */
/* ------------------------------------------------ */

/* RESET E GLOBAIS */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #4b3b2d;
  background-color: #f7f3ee;
}

/* Utilitários */
img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: #3b2a1b;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  --caramelo: #b8864a;
  --caramelo-escuro: #8a6230;
  --caramelo-claro: #f0e0cf;
  --branco: #ffffff;
  --cinza-claro: #f5f5f5;
  --texto: #4b3b2d;
  --borda-suave: rgba(0, 0, 0, 0.06);
  --sombra-suave: 0 18px 45px rgba(0, 0, 0, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-full: 999px;
  --transition: all 0.25s ease;
}

/* ------------------- */
/* HEADER / NAV        */
/* ------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 2.5rem;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--texto);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--caramelo);
  display: grid;
  place-items: center;
  color: var(--branco);
  font-size: 1rem;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-list li {
  white-space: nowrap;
}

.nav-list a {
  text-decoration: none;
  color: #5b4838;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-list a:not(.btn-nav-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: var(--caramelo);
  transition: width 0.25s ease;
}

.nav-list a:not(.btn-nav-primary):hover::after {
  width: 100%;
}

.logo-img {
    height: 55px; /* Ajuste a altura conforme necessário */
    width: auto;
    object-fit: contain;
}

/* Botão nav "Pílula" */
.btn-nav-primary {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.55rem 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--caramelo);
  color: var(--branco);
  box-shadow: 0 10px 24px rgba(184, 134, 74, 0.45);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-nav-primary:hover {
  background: var(--caramelo-escuro);
  box-shadow: 0 12px 26px rgba(138, 98, 48, 0.55);
  transform: translateY(-1px);
}

/* Menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 10;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--texto);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ------------------- */
/* HERO                */
/* ------------------- */
.hero {
  padding: 6rem 0 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--caramelo-claro);
  color: #7a5b36;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.hero-city {
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 34rem;
  color: #6a5946;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Botões Globais */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-full {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.9rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--caramelo);
  color: var(--branco);
  box-shadow: 0 16px 35px rgba(184, 134, 74, 0.55);
}

.btn-primary:hover {
  background: var(--caramelo-escuro);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--branco);
  color: var(--texto);
  border: 1px solid var(--borda-suave);
}

.btn-secondary:hover {
  background: var(--caramelo-claro);
}

.btn-outline {
 background: var(--caramelo);
  color: var(--branco);
  box-shadow: 0 16px 35px rgba(184, 134, 74, 0.55);
}

.btn-outline:hover {
  background: var(--caramelo-escuro);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.hero-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
  font-size: 0.9rem;
  color: #645340;
}

.hero-highlights i {
  color: var(--caramelo);
  margin-right: 0.4rem;
}

.hero-image figure {
  position: relative;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fdf8f2, #f0e0cf);
  box-shadow: var(--sombra-suave);
}

.hero-image img {
  border-radius: calc(var(--radius-lg) - 6px);
  object-fit: cover;
  height: 100%;
   width: 100%;
}

.hero-image figcaption {
  font-size: 0.8rem;
  color: #7a6a57;
  margin-top: 0.8rem;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  font-size: 0.97rem;
  color: #6b5a47;
}

/* ------------------- */
/* SOBRE               */
/* ------------------- */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra-suave);
  object-fit: cover;
  height: auto;
  width: 100%;
}

.about-intro {
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 0.97rem;
  color: #645442;
  margin-bottom: 0.8rem;
}

.about-list {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.4rem;
}

.about-list li i {
  color: var(--caramelo);
  margin-right: 0.5rem;
}

.about-pro {
  margin-top: 2.5rem;
}

.about-pro h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #3b2a1b;
}

.about-pro p {
  font-size: 0.95rem;
  color: #645442;
  margin-bottom: 0.7rem;
}


/* ------------------- */
/* AVALIAÇÃO (STEPS)   */
/* ------------------- */
.steps {
  background: #faf6f1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}

.step-card {
  background: var(--branco);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.03);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #b8864a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: #6b5a47;
}

/* ------------------- */
/* SERVIÇOS (GALERIA)  */
/* ------------------- */
.services {
  background: var(--cinza-claro);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 2rem;
}

.service-card {
  background: var(--branco);
  border-radius: var(--radius-md);
  border: 1px solid var(--borda-suave);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(184, 134, 74, 0.15);
}

.card-image {
  height: 220px;
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--caramelo-escuro);
}

.card-content p {
  font-size: 0.92rem;
  color: #6b5a47;
  line-height: 1.5;
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}

/* ------------------- */
/* RESULTADOS          */
/* ------------------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.result-card {
  background: var(--branco);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

.result-card img {
  border-radius: var(--radius-md);
  object-fit: cover;
}

.result-card figcaption {
  font-size: 0.83rem;
  color: #6f5f4d;
  margin-top: 0.7rem;
}

.result-card h3 {
   font-size: 1.15rem;
  margin-bottom: 0.6rem;
  margin-top: 0.6rem;
  color: var(--caramelo-escuro);
}


/* ------------------- */
/* DICAS               */
/* ------------------- */
.tips {
  background: #f7f3ee;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.tip-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.03);
}

.tip-card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.tip-card p {
  font-size: 0.9rem;
  color: #6b5a47;
}

/* ------------------- */
/* DEPOIMENTOS         */
/* ------------------- */
.testimonials {
  background: var(--cinza-claro);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.testimonial-card {
  background: var(--branco);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--borda-suave);
}

.testimonial-text {
  font-size: 0.95rem;
  color: #5c4a39;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 500;
  color: #7a6a57;
}

/* ------------------- */
/* FAQ                 */
/* ------------------- */
.faq {
  background: #f5f5f5;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  color: #4b3b2d;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: #b8864a;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  font-size: 0.9rem;
  color: #6b5a47;
  margin-top: 0.5rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ------------------- */
/* CONTATO             */
/* ------------------- */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2.8rem;
  align-items: flex-start;
}

.contact-info p {
  margin-bottom: 1rem;
  color: #645442;
}

.contact-details {
  list-style: none;
  margin-bottom: 1.6rem;
  font-size: 0.95rem;
}

.contact-details li + li {
  margin-top: 0.4rem;
}

.contact-details i {
  color: var(--caramelo);
  margin-right: 0.6rem;
}

/* Classe específica para horário de funcionamento */
.contact-hours {
  display: flex;
  align-items: flex-start;
}

.contact-hours i {
  margin-top: 6px;
}

.contact-hours .note {
  font-size: 0.85em;
  opacity: 0.8;
}

.contact-form {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--sombra-suave);
  border: 1px solid var(--borda-suave);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: #5c4a39;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 0.92rem;
  background: #fcfaf8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(184, 134, 74, 0.3);
  border-color: var(--caramelo);
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.75rem;
  color: #8a7a67;
}

/* ------------------- */
/* FOOTER              */
/* ------------------- */
.site-footer {
  background: #201610;
  color: rgba(255, 255, 255, 0.88);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .logo-mark {
  background: var(--branco);
  color: #201610;
}

.footer-brand .logo-text {
  color: var(--branco);
}

.footer-brand .footer-tagline {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.footer-links ul {
  list-style: none;
  font-size: 0.9rem;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--branco);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-dev {
  margin-top: 0.15rem;
}

/* ------------------- */
/* WHATSAPP FLUTUANTE  */
/* ------------------- */
.whatsapp-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  position: relative; /* Necessário para o efeito */
  transition: all 0.3s ease;
}

/* O pulso (Onda) */
.whatsapp-button::before,
.whatsapp-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid #25d366;
  opacity: 0;
  z-index: -1; /* Fica atrás do botão */
}

/* Animação da primeira onda */
.whatsapp-button::before {
  animation: pulse-green 2s infinite;
}

/* Animação da segunda onda (com atraso) */
.whatsapp-button::after {
  animation: pulse-green 2s 0.5s infinite;
}

.whatsapp-button:hover {
  background-color: #1ebe5c;
  transform: scale(1.05); /* Cresce um pouquinho ao passar o mouse */
}

/* Definição da Animação */
@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8); /* Tamanho final da onda */
    opacity: 0; /* Desaparece no final */
  }
}


/* RESPONSIVO          */

@media (max-width: 960px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 2.5rem;
  }

  .about-photo {
    order: -1;
  }

  /* Cards de serviço: 2 colunas no tablet */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-grid,
  .testimonials-grid,
  .steps-grid,
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

    /* HERO */
  .hero-image figure {
    padding: 0;                 /* tira moldura extra no mobile, se quiser */
    border-radius: var(--radius-lg);
  }

  .hero-image img {
    width: 100%;
    height: auto;               
    object-fit: contain;        
    object-position: center;
  }

  /* SOBRE */
  .about-photo img {
    width: 100%;
    height: auto;               
    object-fit: contain;
    object-position: center;
  }

  .whatsapp-widget {
    right: 6px;   /* posição apenas no mobile */
    bottom: 8px;
  }

  .whatsapp-button {
    width: 38px;  
    height: 38px;
  }

  .about-content {
    flex-direction: column;   /* foto em cima, texto embaixo */
    align-items: stretch;
    gap: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;          /* centraliza textos */
    justify-items: center;       /* centraliza blocos no grid */
  }

  .footer-brand,
  .footer-contact {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

.footer-brand .logo-img {
    display: block;
    margin: 0 auto 1rem; 
    height: 90px; 
    width: auto;
  }
 
  .footer-links {
    display: none;        
  }
  
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(247, 243, 238, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem 1.4rem;
    gap: 1rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-list.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .btn-nav-primary {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .services-grid,
  .results-grid,
  .testimonials-grid,
  .steps-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 200px; 
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    right: 10px;
    bottom: 12px;
  }

   . /* HERO */
  .hero-image figure {
    padding: 0;                
    border-radius: var(--radius-lg);
  }

  .hero-image img {
    width: 100%;
    height: auto;               
    object-fit: contain;        
    object-position: center;
  }

  /* SOBRE */
  .about-photo img {
    width: 100%;
    height: auto;               
    object-fit: contain;
    object-position: center;
  }
}