:root {
  --bg: #f8f1e5;
  --bgdark: #e7dece;
  --text: #6c573a;
  --accent: #a27f4d;
  --accent-dark: #8c6a3f;
  --card: rgba(255, 255, 255, 0.35);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* ritmo vertical do site */
  --section-y: 42px; /* troca pra 32px se quiser mais compacto */
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  color: var(--accent);
  margin: 0 0 14px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px;
}

/* Seções com padding padronizado */
.sobre-ela,
.localizacao {
  background: var(--bg);
  padding: var(--section-y) 18px;
}

/* (se quiser manter localizacao com fundo diferente, muda aqui) */
.localizacao {
  background: #f8f1e5;
  text-align: center;
}

/* HERO antigo (parece não estar em uso, mas mantido) */
.hero {
  background: url("../img/banner.jpg") center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: white;
}

.hero .logo {
  width: 250px;
}

/* SOBRE */
.sobre-ela {
  background-color: var(--bgdark);
  padding: 60px 0;
}
.sobre-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.sobre-foto {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border-radius: 0 150px 0 150px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  clip-path: inset(0 round 0 150px 0 150px);
}

.sobre-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transform: translateZ(0) scale(1.03);
  backface-visibility: hidden;
  will-change: transform;
}

.sobre-foto::after {
  content: "";
  position: absolute;
  inset: 6px;
  outline: 8px solid var(--accent);
  border-radius: inherit;
  pointer-events: none;
}

.sobre-texto h2 {
  font-size: 42px;
  margin-bottom: 0;
}

.sobre-texto h3 {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  margin: 8px 0 24px;
}

.sobre-texto ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sobre-texto li {
  font-size: 17px;
  margin-bottom: 14px;
  position: relative;
  padding-left: 18px;
}

.sobre-texto li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* GRID SERVIÇOS */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.servicos h2{
  font-size: 35px;
  align-items: center;
  justify-content: center;
}
.servicos h3 {
  font-size: 25px;
}
.servicos p{
  font-size: 18px;
}

.card {
  flex: 1;
  background: #f8f1e5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* RRESULTADOS */
.resultados {
  background: var(--bgdark);
  padding: var(--section-y) 0;
}

.resultados-inner {
  padding-top: 56px;
  padding-bottom: 56px;
}

.resultados-header {
  max-width: 980px;
}

.resultados-title {
  font-family: "Playfair Display", serif;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 76px);
  color: var(--text);
  margin: 0 0 10px;
}

.resultados-subtitle {
  font-family: "Montserrat", serif;
  font-size: 25px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 30px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: end;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.ba-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.2);
}

.ba-card img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 10%;
  transform: scale(1.01);
}

.ba-card1 {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.2);
}

.ba-card1 img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
}

/* plaquinhas ANTES/DEPOIS */
.ba-tag {
  position: absolute;
  bottom: 16px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.ba-tag--left {
  left: 16px;
}

.ba-tag--right {
  right: 16px;
}

/* responsivo */
@media (max-width: 768px) {
  .resultados-inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .before-after {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .resultados-header {
    text-align: center;
    margin: 0 auto;
  }

  .resultados-subtitle {
    margin-bottom: 22px;
  }
}




/* DEPOIMENTOS */
.depoimentos {
  padding: var(--section-y) 18px;
}
.depoimentos h2{
  font-size: 35px;
}
.depoimentos p {
  font-size: 18px;
}

.carousel {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.carousel-track {
  display: flex;
  transform: translateX(0);
  transition: transform 0.35s ease;
  will-change: transform;
}

.testimonial {
  min-width: 100%;
  border-left: 5px solid var(--accent);
  padding: 26px 22px;
}

.testimonial-text {
  margin: 0;
  font-style: italic;
}

.testimonial-author {
  margin: 14px 0 0;
  font-weight: 600;
  color: var(--accent-dark);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(162, 127, 77, 0.35);
  color: var(--accent-dark);
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(162, 127, 77, 0.6);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(162, 127, 77, 0.35);
  border: 0;
  cursor: pointer;
}

.carousel-dot[aria-selected="true"] {
  background: var(--accent);
  width: 18px;
}

/*INSTAGRAM*/
.insta-section {
  background: var(--bgdark);
  padding: var(--section-y) 0;
}

.insta-head h2{
  font-size: 35px;
}
.insta-head p{
  font-size: 18px;
}

.insta-header-section {
  max-width: 640px;
  margin-bottom: 26px;
}

.insta-header-section h2 {
  font-size: 35px;
  margin-bottom: 6px;
}

.insta-header-section p {
  font-size: 18px;
  margin: 0;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insta-grid a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.insta-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.insta-grid a:hover img {
  transform: scale(1.04);
}

.insta-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  position: relative;
  border: 2px solid var(--accent-dark);
  border-radius: 999px;
  padding: 8px 16px;
  top: 10px;
}

.insta-cta a i {
  font-size: 40px;
  text-decoration: none;
}

.insta-cta a:hover {
  color: var(--bg);
  background: var(--accent-dark);
}

.insta-cta a:hover i {
  transform: translateY(-1px);
}


/* CONTATO*/

.contato{
  background: var(--bg);
}
.contato h2{
  font-size: 35px;
}
.contato p{
  font-size: 18px;
}

/* PERFIL (se usar depois) */
.perfil {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.perfil img {
  width: 150px;
  border-radius: 100%;
}

.endereco {
  margin-top: 20px;
  font-style: italic;
}
.localizacao{
  background: var(--bgdark);
}
.localizacao h2{
  font-size: 35px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: var(--bg);
  color: #a27f4d;
}

/* MAPA */
.mapa-wrapper {
  max-width: 800px;
  margin: 0 auto 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.localizacao .endereco {
  font-style: italic;
  color: #a27f4d;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366; /* verde oficial WhatsApp */
  display: grid;
  place-items: center;
  z-index: 1000;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  animation: whatsPulse 3s ease-in-out infinite;
  text-decoration: none;
}

.whatsapp-float i {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
}
@keyframes whatsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* HERO SPLIT (compactado) */
.hero-split {
  background: var(--bg);
  min-height: 78vh; /* antes 92vh */
  display: flex;
  align-items: center;
  padding-block: 36px; /* antes 60px */
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px; /* antes 48px */
  align-items: center;
}

.hero-title {
  font-size: 120px;
  line-height: 0.9;
  letter-spacing: 2px;
  font-family: "Allura", cursive;;
  font-weight: 400;
}

.hero-subtitle {
  margin: 18px 0 26px;
  font-size: 26px;
  max-width: 480px;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* BTN */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary:hover {
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: min(420px, 100%);
  aspect-ratio: 3 / 4;
  object-fit: cover;

  /* borda gradiente */
  padding: 6px;
  border-radius: var(--radius);
  background:
    linear-gradient(
      135deg,
      rgba(184, 134, 11, 0.9) 0%,
      rgba(162, 127, 77, 0.5) 40%,
      rgba(162, 127, 77, 0.7) 60%,
      rgba(153, 110, 45, 0.9) 100%
    );
  background-clip: padding-box;
  animation: borderBreath 3s ease-in-out infinite;
}
@keyframes borderBreath {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; }
}


/* HEADER / LOGO */
.site-header {
  background: var(--bg);
  width: 100%;
  padding-top: 12px;
  padding-bottom: 0;
  position: relative;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-wave {
  position: relative;
  padding: 18px 0 40px; /* espaço pro recorte */
}

.header-wave .header-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.header-wave .site-logo {
  height: 76px;
  width: auto;
}

.header-wave-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px; /* ajusta a altura do recorte */
  transform: none;
  z-index: 1;
  display: block;
}

.site-logo {
  height: 330px;
  width: auto;
  margin-top: -120px;
  z-index: 2;
}

.insta-header {
  position: absolute;
  top: 18px;
  right: 70px;
  z-index: 3; /* acima do SVG */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.insta-header i {
  font-size: 35px;
  color: var(--accent);
}

.insta-header i:hover {
  transform: translateY(-2px);
  color: var(--accent-dark);
}


/* RESPONSIVO */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .hero-image {
    order: -1;
  }

  .hero-title,
  .hero-subtitle {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .grid {
    flex-direction: column;
  }

  .perfil {
    flex-direction: column;
    text-align: center;
  }

  .container {
    padding: 24px 18px;
  }

  .hero-split {
    min-height: auto;
    padding-block: 28px;
  }

  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .sobre-foto {
    margin: 0 auto;
    width: 250px;
    aspect-ratio: 9 / 16;
    border-radius: 0 25px 0 25px;
  }

  .sobre-texto h2 {
    font-size: 35px;
  }

  .sobre-texto h3 {
    font-size: 37px;
  }

  .sobre-texto li {
    font-size: 16px;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 12px;
  }

  .hero-image img{
      width: 100%;
      max-width: 290px; /* controla o tamanho */
      aspect-ratio: 3 / 4; /* mantém proporção elegante */
  }

  .hero-title {
    font-size: 79px;
    margin-top: 5px;
  }
  .hero-subtitle p {
    font-size: 25px;
  }
  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .testimonial {
    padding: 22px 18px;
  }
  .hero-split {
    padding-block: 20px;
  }
  .site-header.header-wave {
    padding: 10px 0 18px;
    overflow: hidden;
  }
  .header-wave-shape {
    height: 120px; /* antes 140px */
    transition: height 0.3s ease;
  }
  .header-wave .site-logo {
    height: 54px;
    transform: translateY(-4px);
  }
  .insta-header {
    top: 7px;
    right: 19px;
    width: 36px;
    height: 36px;
  }

  .insta-header i {
    font-size: 37px;
  }
  .hero-split {
    padding-top: 10px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
  .hero-image::before {
    animation: none;
    opacity: 0.3;
  }
}

@media (max-width: 600px) {
  .site-logo {
    height: 68px;
  }

  .header-inner {
    padding-top: 20px;
  }
}

@media (max-width: 768px) {
  /* HERO: tudo centralizado */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 18px 18px;
    justify-items: center; /* centraliza os itens do grid */
    text-align: center;
  }

  .hero-text {
    width: 100%;
    display: grid;
    justify-items: center;
  }

  .hero-title {
    text-align: center;
    line-height: 50px;
  }

  .hero-subtitle {
    text-align: center;
    max-width: 32ch; /* deixa a leitura bonita */
    margin: 12px auto 18px;
    font-size: 19px; /* ajusta pra não ficar gigante */
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-image {
    width: 100%;
    justify-content: center;
  }

  .hero-image img {
    width: min(360px, 92vw);
  }

  /* Header/logo no mobile */
  .header-inner {
    padding-top: 14px;
  }

  .site-logo {
    margin-top: -70px;
    height: 190px; /* ajusta se quiser maior */
  }
  .insta-header-section {
    text-align: center;
    margin-inline: auto;
  }

  .insta-grid {
    display: grid !important;
    grid-template-columns: unset !important; /* mata o repeat(3, 1fr) */
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    padding: 6px 18px 12px;
    margin: 0 -18px; /* deixa “full width” no container */
  }

  .insta-grid a {
    scroll-snap-align: center;
  }

  .insta-grid img {
    aspect-ratio: 4 / 3; /* fica mais bonito no swipe */
  }

  .insta-cta {
    text-align: center;
  }

  .insta-cta a {
    font-size: 16px;
    padding: 10px 14px;
  }
  .insta-grid::-webkit-scrollbar {
    display: none;
  }
  .insta-grid {
    scrollbar-width: none;
  }
  .resultados-subtitle{
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 14px;      /* menos perto da borda */
    bottom: 14px;
    width: 52px;
    height: 52px;
    animation: none;  /* remove o pulse no mobile */
  }

  .whatsapp-float i {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    animation: none; /* ISSO resolve 90% */
  }

  .whatsapp-float i {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .carousel {
    display: block;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    scroll-snap-type: x mandatory;
    scroll-padding: 18px;

    padding: 10px 18px 14px;
    margin: 0 -18px;
  }

  .carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 103%; /* 92% = menos “peek”, 80% = mais “peek” */
    gap: 14px;

    transform: none !important;
    align-items: stretch;
  }

  .testimonial {
    scroll-snap-align: center;

    /* vira card */
    background: #f8f1e5;
    border-radius: 16px;
    padding: 18px 16px 16px;

    /* tira as barras laterais que ficam estranhas no carrossel */
    border-left: 0;

    /* barra superior dourada (bem mais elegante) */
    border-top: 4px solid var(--accent);
  }

  .testimonial-text {
    margin: 0;
    font-style: italic;
    line-height: 1.55;
  }

  .testimonial-author {
    margin: 12px 0 0;
    font-weight: 700;
    color: var(--accent-dark);
  }

  /* esconder scrollbar */
  .carousel-viewport::-webkit-scrollbar {
    display: none;
  }
  .carousel-viewport {
    scrollbar-width: none;
  }
}
