@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* ---------------- Theme ---------------- */
:root{
  --hue: 320;
  --gold-hue: 37;

  /* Cores principais (rosa) + dourado */
  --main-color-1: hsl(var(--hue), 59%, 88%);
  --main-color-2: hsl(var(--hue), 59%, 80%); /* corrigido */
  --main-color-dark-1: hsl(var(--hue), 59%, 70%);
  --main-color-dark-2: hsl(var(--hue), 59%, 60%);
  --main-color-dark-3: hsl(var(--gold-hue), 94%, 57%);
  --main-color-dark-4: hsl(var(--gold-hue), 94%, 47%);

  --section-padding: 7rem;

  --bg-color: hsl(var(--hue), 59%, 96%);
  --bg-color-1: hsl(var(--hue), 59%, 92%);
  --bg-color-2: hsl(var(--hue), 59%, 90%);
  --bg-color-3: hsl(var(--hue), 59%, 98%);
  --bg-color-transparent: hsla(var(--hue), 59%, 96%, 0);
  --header-blur-bg: hsla(var(--hue), 59%, 96%, 0.6);

  --heading-color: hsl(var(--hue), 61%, 24%);
  --text-color: hsl(var(--hue), 17%, 40%);
}

/* ---------------- Reset/Global ---------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body{
  overflow-x: hidden;
  background-color: var(--bg-color);
  font-family: "Poppins", sans-serif;
  transition: background-color .3s ease;
}

::selection{
  background-color: hsla(var(--hue), 100%, 60%, 0.25);
  color: #fff;
}

a{ text-decoration: none; }
ul{ list-style: none; }

/* ---------------- Reusable ---------------- */
.container{
  position: relative;
  width: 100%;
  max-width: 75rem;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.logo{
  margin-right: 1.5rem;
  font-family: "Abril Fatface", cursive;
  font-size: 1.5rem;
  color: var(--heading-color);
  letter-spacing: 1px;
  transition: color .3s ease;
}
.logo span{ color: var(--main-color-dark-4); }

.sub-heading{
  color: var(--heading-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-left: 3px solid var(--main-color-2);
  padding: 0.13rem 0.75rem;
  margin-bottom: 1rem;
  font-weight: 500;
  transition: color .3s ease;
}

.heading{
  color: var(--heading-color);
  font-size: 3rem;
  font-family: "Abril Fatface", cursive;
  font-weight: 400;
  line-height: 1.3;
  transition: color .3s ease;
}

.text{
  color: var(--text-color);
  font-size: 0.95rem;
  margin: 1.2rem 0 2rem;
  line-height: 1.9;
  transition: color .3s ease;
}

.cta{ margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }

.btn{
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 17px;
  background-color: var(--main-color-dark-4);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  min-width: 125px;
  text-align: center;
  text-transform: capitalize;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color .3s ease, transform .1s ease;
}
.btn:hover{ background-color: var(--main-color-dark-1); }
.btn:active{ transform: translateY(1px); }

.btn.secondary-btn{
  position: relative;
  background-color: transparent;
  color: var(--main-color-dark-4);
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 2.5px solid var(--main-color-2);
  border-radius: 0;
  padding: 0.15rem 0;
  min-width: unset;
}
.btn.secondary-btn::before{
  content: "";
  position: absolute;
  width: 0%;
  height: 2.5px;
  bottom: -2.5px; left: 0;
  background-color: var(--main-color-1);
  transition: width .3s ease-in-out;
}
.btn.secondary-btn:hover::before{ width: 100%; }

.section{
  position: relative;
  padding: var(--section-padding) 0;
  scroll-margin-top: 120px; /* evita títulos escondidos pelo header fixo */
}

/* ---------------- Header / Navbar ---------------- */
header{
  position: fixed; top: 0; left: 0;
  width: 100%;
  z-index: 10;
  transition: background-color .3s ease, box-shadow .3s ease, height .3s ease;
}
header.scrolled{
  background-color: var(--header-blur-bg);
  box-shadow: 0 5px 20px 0.1px rgba(148, 12, 160, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

nav.container{
  display: flex; align-items: center; flex-wrap: nowrap;
  height: 120px;
}
header.scrolled nav.container{ height: 80px; }

.links{
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.links ul{
  display: flex; align-items: center; gap: .25rem;
}

.nav-link{
  position: relative;
  display: inline-block;
  padding: .6rem .7rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--text-color);
  font-weight: 600;
  opacity: 0.95;
  transition: color .3s ease;
}
.nav-link::after{
  content: "";
  position: absolute;
  width: 0; height: 8px; border-radius: 5px;
  background-color: var(--main-color-1);
  bottom: 0; left: 6px; z-index: -1; opacity: 0; transition: .3s;
}
.nav-link:hover, .nav-link.active{ color: var(--heading-color); }
.nav-link:hover::after, .nav-link.active::after{ width: calc(100% - 12px); opacity: .3; }

/* Hamburger + Overlay (mobile) */
.hamburger{
  display: none;
  padding: 1rem 0;
  height: 12px; width: 26px;
  cursor: pointer; position: relative;
}
.hamburger .bar{
  width: 100%; height: 2px; background-color: var(--heading-color);
  border-radius: 3px; position: absolute;
}
.hamburger .bar:first-child{ top: 1rem; transition: top .2s .15s, transform .3s; }
.hamburger .bar:last-child{ bottom: 1rem; transition: bottom .2s .15s, transform .3s; }

body.open .hamburger .bar:first-child{
  top: 50%; transform: translateY(-50%) rotate(-45deg);
  transition: top .2s, transform .3s .1s;
}
body.open .hamburger .bar:last-child{
  bottom: 50%; transform: translateY(50%) rotate(45deg);
  transition: bottom .2s, transform .3s .1s;
}

.overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
body.open .overlay{ opacity: 1; pointer-events: auto; }

/* ---------------- Showcase (Hero) ---------------- */
.showcase-area{
  padding: 120px 0 40px; /* deixa espaço pro header fixo */
  width: 100%; position: relative;
}
.showcase-area .container{
  display: grid;
  grid-template-columns: minmax(0,1fr) 550px;
  align-items: center;
  gap: 2rem;
  min-height: min(680px, calc(100vh - 120px));
}

.showcase-area .sub-heading{ margin-bottom: .7rem; }
.showcase-area .heading{ font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.showcase-area .text{ margin: .8rem 0 1.2rem; }

.showcase-image{
  position: relative;
  width: 98%;
  min-height: clamp(320px, 45vw, 520px);
  margin: 24px 0 0 auto;  /* encosta à direita */
  border-radius: 30px 0 0 30px; /* arredonda só à esquerda */
  overflow: hidden; /* faz o arredondamento “clipping” */
  background-image: linear-gradient(
    124deg,
    hsla(var(--hue), 59%, 92%, 0.9),
    hsla(var(--gold-hue), 94%, 57%, 0.25)
  );
}
.showcase-image img{
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; /* preenche sem distorcer */
}

/* Shapes decorativas (se quiser manter) */
.shape.square{ width: 70px; opacity: .18; position: absolute; left: 0; top: 140px; }

/* ---------------- Forms (se usar depois) ---------------- */
.form-input{
  display: inline-block;
  padding: 0.9rem 1.5rem;
  background: var(--bg-color-3);
  border: 2px solid var(--bg-color-3);
  width: 100%;
  border-radius: 17px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--heading-color);
  outline: none;
  transition: .3s;
}
.form-input::placeholder{ color: var(--text-color); }
.form-input:hover{ filter: brightness(97%); }
.form-input:valid, .form-input:focus{
  filter: brightness(100%);
  background: var(--bg-color-1);
  border-color: var(--main-color-1);
}

/* ---------------- Responsivo ---------------- */
@media (max-width: 1024px){
  .showcase-area .container{
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .showcase-image{
    width: 100%;
    margin: 24px 0 0 0;
    border-radius: 24px;
  }
}

@media (max-width: 900px){
  .links{
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-color);
    box-shadow: -8px 0 20px rgba(0,0,0,.06);
    padding: 100px 24px 24px;
    transition: right .3s ease;
  }
  body.open .links{ right: 0; }
  .links ul{ flex-direction: column; align-items: flex-start; gap: .75rem; }
  .hamburger{ display: block; margin-left: 1rem; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition: none !important; }
}

/* ------------- Seções novas / utilidades ------------- */
.section-title { margin-bottom: 2rem; }
.center { text-align: center; }

.grid { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

@media (max-width: 1024px){
  .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px){
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
}

/* Trust bar */
.trust-bar{
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  margin-top: 1.25rem;
}
.trust-bar li{
  font-size: .85rem;
  color: var(--heading-color);
  background: var(--bg-color-3);
  border: 1px solid var(--bg-color-2);
  padding: .35rem .6rem;
  border-radius: 999px;
}

/* Cards básicos */
.card{
  background: var(--bg-color-3);
  border: 1px solid var(--bg-color-2);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.03);
}
.card h3{ color: var(--heading-color); margin-bottom: .35rem; }

/* Seção alternada (levemente diferente) */
.section-alt{ background: var(--bg-color-1); }

/* Serviços */
/* ======== Serviços (grade de cards com imagem) ======== */
.services-grid{
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1rem;
}
@media (min-width: 1200px){
  .services-grid{ grid-template-columns: repeat(4, 1fr); } /* mantém 4 colunas como no mock */
}

.service-card{
  background: var(--bg-color-3);
  border: 1px solid var(--bg-color-2);
  border-radius: 18px;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  border-color: var(--bg-color-1);
}

.service-media{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9/16;              /* mantém proporção das imagens */
  margin-bottom: .75rem;
  background: var(--bg-color-2);
}
.service-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  filter: none ;          /* igual ao estilo de referência */
  display: block;
}

.service-title{
  text-align: center;
  color: var(--main-color-dark-4);  /* dourado do seu tema */
  font-weight: 800;
  line-height: 1.15;
  margin: .25rem 0 .25rem;
  font-size: 1.06rem;
}
.service-desc{
  text-align: center;
  color: var(--text-color);
  font-size: .95rem;
  line-height: 1.35;
  max-width: 32ch;
}

/* ======== Efeito Slide nas Imagens dos Serviços ======== */
.service-media {
  position: relative;
  overflow: hidden;
}

.service-media img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.service-media img:first-child {
  opacity: 1;
}

/* Quando o mouse passa, ativa o slide */
.service-card:hover .service-media img {
  animation: slideImagens 6s infinite;
}

/* Controla o tempo de cada imagem */
.service-card:hover .service-media img:nth-child(1) { animation-delay: 0s; }
.service-card:hover .service-media img:nth-child(2) { animation-delay: 2s; }
.service-card:hover .service-media img:nth-child(3) { animation-delay: 4s; }

@keyframes slideImagens {
  0% { opacity: 0; }
  10%, 30% { opacity: 1; }
  40%, 100% { opacity: 0; }
}

/* Passo a passo */
.steps{
  counter-reset: step;
  display: grid;
  gap: .75rem;
  max-width: 680px;
  margin: 0 auto 1rem;
}
.steps li{
  background: var(--bg-color-3);
  border: 1px solid var(--bg-color-2);
  border-radius: 14px;
  padding: .85rem 1rem .85rem 3rem;
  position: relative;
}
.steps li::before{
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: .9rem; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--main-color-1);
  color: #fff; font-weight: 700; font-size: .9rem;
}

/* Galeria 
.gallery{
  grid-template-columns: repeat(3, 1fr);
}
.gallery img{
  width: 100%; height: 500px; object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--bg-color-2);
  background: var(--bg-color-3);
}
@media (max-width: 900px){
  .gallery{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .gallery{ grid-template-columns: 1fr; }
}
 */



/* FAQ (nativo com <details>) */
.faq{ display: grid; gap: .6rem; max-width: 820px; margin: 0 auto; }
.faq-item{
  background: var(--bg-color-3);
  border: 1px solid var(--bg-color-2);
  border-radius: 14px;
  padding: .6rem .8rem;
}
.faq-item[open]{ border-color: var(--main-color-1); }
.faq-item summary{
  cursor: pointer;
  color: var(--heading-color);
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item p{ margin-top: .35rem; color: var(--text-color); }


/* ======== Mapas das Unidades ======== */
.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 0.75rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}





/* Formulário */
.contact-form{ margin-top: 1.5rem; }
.form-grid{
  grid-template-columns: 1fr 1fr;
}
.form-grid .full{ grid-column: 1 / -1; }
.label{
  display: inline-block;
  font-size: .85rem; color: var(--heading-color); margin-bottom: .35rem;
}
@media (max-width: 900px){
  .form-grid{ grid-template-columns: 1fr; }
}

/* Microcopy */
.microcopy{
  margin-top: 1.25rem;
  display: grid; gap: .35rem;
  color: var(--text-color);
}

/* Botão WhatsApp flutuante */
.whats-float{
  position: fixed; right: 18px; bottom: 18px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  font-size: 1.6rem;
  z-index: 50;
  transition: transform .15s ease;
}
.whats-float:hover{ transform: translateY(-2px); }

/* Footer */
.footer{
  padding: 2rem 0;
  background: var(--bg-color-3);
  border-top: 1px solid var(--bg-color-2);
  color: var(--text-color);
  text-align: center;
}
.footer a{ color: var(--heading-color); text-decoration: underline; }
