:root{
  --bg: #f4ede7;
  --bg-soft: #efe6dd;
  --white: #ffffff;
  --text: #6f5c4c;
  --text-soft: #9a8776;
  --gold: #b79d81;
  --gold-dark: #9c7f61;
  --line: rgba(183, 157, 129, 0.28);
  --shadow: 0 20px 60px rgba(78, 57, 35, 0.10);
  --shadow-soft: 0 12px 30px rgba(78, 57, 35, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1400px;
  --transition: .35s ease;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Montserrat", sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.65), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.35), transparent 25%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
  overflow-x:hidden;
}

img{
  display:block;
  width:100%;
}

a{
  color:inherit;
}

.container{
  width:100%;
  max-width:none;
  margin:0 auto;
}

/* ─── HEADER ─────────────────────────────────────────── */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(0,0,0,.04);
}

.header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:82px;
  gap:20px;
  padding:0 34px;
}

.logo{
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
  color:var(--gold-dark);
  font-weight:600;
  letter-spacing:.5px;
  flex-shrink:0;
}

nav{
  display:flex;
  align-items:center;
  gap:22px;
}

nav a{
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  color:var(--text);
  position:relative;
  transition:var(--transition);
}

nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition:var(--transition);
}

nav a:hover{ color:var(--gold-dark); }
nav a:hover::after{ width:100%; }

/* Hamburguer - só visível no mobile */
.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:6px;
  background:none;
  border:none;
}

.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--gold-dark);
  border-radius:999px;
  transition:var(--transition);
}

/* Menu mobile aberto */
.nav-open nav{
  display:flex !important;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:90px 0 60px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:64px;
  align-items:center;
}

.hero-text h1{
  font-family:"Cormorant Garamond", serif;
  font-size:68px;
  line-height:.95;
  color:var(--gold-dark);
  margin-bottom:18px;
  max-width:none;
}

.hero-text p{
  font-size:17px;
  line-height:1.75;
  color:var(--text);
  max-width:520px;
  margin-bottom:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  padding:15px 28px;
  background:linear-gradient(180deg, var(--gold), var(--gold-dark));
  color:var(--white);
  border:none;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  letter-spacing:.3px;
  box-shadow:var(--shadow-soft);
  transition:var(--transition);
}

.btn:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px rgba(78,57,35,.16);
}

.hero-img{ position:relative; }

.hero-img::before{
  content:"";
  position:absolute;
  inset:-18px -18px 18px 18px;
  border:1px solid var(--line);
  border-radius:32px;
}

.hero-img img{
  border-radius:32px;
  box-shadow:var(--shadow);
  object-fit:cover;
  min-height:640px;
}

/* ─── SECTIONS ───────────────────────────────────────── */
.section{
  padding:110px 0;
}

.section h2{
  font-family:"Cormorant Garamond", serif;
  font-size:48px;
  line-height:1;
  color:var(--gold-dark);
  margin-bottom:22px;
}

.section p{
  font-size:16px;
  line-height:1.8;
  color:var(--text);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:56px;
  align-items:center;
}

.grid .img img{
  border-radius:28px;
  box-shadow:var(--shadow);
}

.grid .text{
  max-width:560px;
}

/* ─── AGENDAMENTOS ───────────────────────────────────── */
.agendamentos{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:22px;
  margin-top:32px;
}

.cidade{
  background:rgba(255,255,255,.72);
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow-soft);
  font-size:16px;
  line-height:1.7;
  color:var(--text);
  transition:var(--transition);
}

.cidade:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.cidade a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:16px;
  text-decoration:none;
  background:linear-gradient(180deg, var(--gold), var(--gold-dark));
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  font-size:13px;
  font-weight:700;
  transition:var(--transition);
}

.cidade a:hover{ transform:translateY(-2px); }

/* ─── GALERIA ────────────────────────────────────────── */
.galeria{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
  margin-top:34px;
}

.galeria img{
  border-radius:24px;
  box-shadow:var(--shadow);
  min-height:320px;
  object-fit:cover;
  transition:var(--transition);
}

.galeria img:hover{
  transform:translateY(-4px) scale(1.01);
}

/* ─── SERVIÇOS ───────────────────────────────────────── */
.servicos{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
  margin-top:34px;
}

.servico{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:26px;
  padding:20px;
  box-shadow:var(--shadow-soft);
  transition:var(--transition);
}

.servico:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow);
}

.servico img{
  border-radius:18px;
  margin-bottom:16px;
  min-height:260px;
  object-fit:cover;
}

.servico h3{
  font-family:"Cormorant Garamond", serif;
  font-size:30px;
  color:var(--gold-dark);
  margin-bottom:10px;
}

.servico p{
  font-size:15px;
  line-height:1.75;
  color:var(--text);
}

/* ─── LISTAS ─────────────────────────────────────────── */
ul{
  margin-top:24px;
  padding-left:20px;
}

ul li{
  font-size:16px;
  line-height:1.9;
  color:var(--text);
  margin-bottom:6px;
}

/* ─── FINAL ──────────────────────────────────────────── */
.final{ padding:120px 0; }

.final .img img{
  border-radius:28px;
  box-shadow:var(--shadow);
  min-height:560px;
  object-fit:cover;
}

.preco{
  font-size:52px !important;
  font-weight:700;
  color:var(--gold-dark) !important;
  margin:14px 0 4px;
}

.pagamento{
  margin-top:18px;
  color:var(--text-soft);
  font-size:15px;
  line-height:1.8;
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer{
  padding:40px 0 70px;
  text-align:center;
  color:var(--text-soft);
  font-size:14px;
}

/* ─── REVEAL ─────────────────────────────────────────── */
.reveal{
  opacity:0;
  transform:translateY(34px);
  transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVO — do maior para o menor (ordem correta!)
   ════════════════════════════════════════════════════════ */

/* ─── TABLET ≤ 980px ─────────────────────────────────── */
@media (max-width: 980px){

  .hero-grid,
  .grid{
    grid-template-columns:1fr;
    gap:34px;
  }

  .hero{
    min-height:auto;
    padding:70px 0 50px;
  }

  .hero-text h1{
    font-size:48px;
    max-width:100%;
  }

  .hero-text p{ max-width:100%; }

  .hero-img img{ min-height:420px; }

  .agendamentos{ grid-template-columns:1fr 1fr; }

  .galeria{ grid-template-columns:1fr 1fr; }

  .servicos{ grid-template-columns:1fr 1fr; }

  nav{
    gap:14px;
    flex-wrap:wrap;
    justify-content:flex-end;
  }
}

/* ─── MOBILE ≤ 768px ─────────────────────────────────── */
@media (max-width: 768px){

  /* Header */
  .header .container{
    padding:0 20px;
    flex-wrap:nowrap;
  }

  .menu-toggle{
    display:flex;
  }

  nav{
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(14px);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:12px 0;
    border-bottom:1px solid var(--line);
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
    z-index:999;
  }

  nav a{
    width:100%;
    padding:14px 24px;
    font-size:15px;
    border-bottom:1px solid rgba(183,157,129,0.12);
  }

  nav a::after{ display:none; }

  /* Forçar layout coluna nos flex-row do HTML inline */
  .hero .container > div,
  .grid,
  section .container > div[style*="display:flex"]{
    flex-direction:column !important;
    flex-wrap:wrap !important;
    gap:32px !important;
  }

  /* Corrigir larguras fixas do HTML inline */
  .text,
  .img,
  div[style*="min-width:590px"],
  div[style*="width:590px"]{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  /* Padding geral das sections */
  .container,
  section > .container,
  .section > .container{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  /* Títulos — sobrescreve o font-size inline */
  h1[style], h2[style]{
    font-size:32px !important;
    line-height:1.15 !important;
  }

  /* Parágrafo intro — também pode ter size grande inline */
  p[style*="font-size:20px"]{
    font-size:16px !important;
  }

  /* Grids */
  .agendamentos,
  .galeria,
  .servicos{
    grid-template-columns:1fr !important;
  }

  /* Grids de cuidados e informações (repeat(2,1fr) inline) */
  div[style*="grid-template-columns:repeat(2, 1fr)"]{
    grid-template-columns:1fr !important;
  }

  /* Imagens com altura fixa */
  img{ max-width:100%; height:auto; }

  div[style*="min-height:650px"]{
    min-height:360px !important;
  }

  /* Botões lado a lado viram coluna */
  div[style*="display:flex"][style*="gap:16px"]{
    flex-direction:column !important;
    align-items:flex-start !important;
  }

  .section{
    padding:60px 0;
  }

  .final{ padding:60px 0; }
}

/* ─── MOBILE PEQUENO ≤ 480px ─────────────────────────── */
@media (max-width: 480px){

  .logo{ font-size:18px; }

  h1[style], h2[style]{
    font-size:26px !important;
  }

  .section{ padding:48px 0; }

  .servico img,
  .servico[style] img{
    min-height:200px !important;
  }

  .preco{ font-size:34px !important; }

  /* Card do hero direito — esconde a barra lateral em tela muito pequena */
  div[style*="width:58px"][style*="height:100%"]{
    display:none !important;
  }

  /* Ajusta padding esquerdo dos cards que dependiam da barra */
  div[style*="padding-left:58px"]{
    padding-left:16px !important;
  }
}

/* ─── GRID-2 (cuidados e informações) ───────────────────── */
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}

.card-info{
  background:linear-gradient(180deg,#ffffff 0%,#f8f0e7 100%);
  border:1px solid rgba(185,144,104,0.18);
  border-radius:28px;
  padding:26px 24px;
  box-shadow:0 20px 40px rgba(120,84,52,0.10);
  font-family:'Montserrat',sans-serif;
  font-size:17px;
  line-height:1.7;
  color:#6f5848;
}

/* ─── CLASSES DE LINHA (hero, sobre, agendar) ────────────── */
.hero-left{
  flex:1;
  min-width:0;
}

.hero-right{
  flex:0 0 auto;
  width:100%;
  max-width:560px;
}

/* ─── TÍTULOS com classe (sobrescreve inline no mobile) ──── */
@media (max-width: 768px){

  .titulo-hero,
  .titulo-secao{
    font-size:30px !important;
    line-height:1.2 !important;
  }

  .hero-row,
  .sobre-row,
  .agendar-row{
    flex-direction:column !important;
    gap:32px !important;
  }

  .hero-left,
  .hero-right,
  .sobre-row .img,
  .sobre-row .text,
  .agendar-row .img,
  .agendar-row .text{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:none !important;
  }

  .grid-2{
    grid-template-columns:1fr !important;
  }

  .phone-mockup{
    display:none !important;
  }
}

@media (max-width: 480px){

  .titulo-hero,
  .titulo-secao{
    font-size:26px !important;
  }

  .barra-lateral{
    display:none !important;
  }

  .hero-right > div,
  .sobre-row .img > div,
  .agendar-row .img > div{
    min-height:300px !important;
  }
}
/* ════════════════════════════════════════════════════════
   PATCH MOBILE — adicionar no FINAL do style.css existente
   ════════════════════════════════════════════════════════ */

/* ─── FIX: Hero card direito — sobreposição texto/imagem ─ */
@media (max-width: 768px) {

  /* Card hero-right e cards de "Sobre" e "Agendar":
     no mobile saem do fluxo absoluto e viram flexbox simples */
  .hero-right > div,
  .sobre-row .img > div,
  .agendar-row .img > div {
    position: relative !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  /* Barra lateral: no mobile vira faixa horizontal no topo do card */
  .hero-right .barra-lateral,
  .sobre-row .barra-lateral,
  .agendar-row .barra-lateral {
    position: relative !important;
    width: 100% !important;
    height: 42px !important;
    top: auto !important;
    left: auto !important;
    border-radius: 28px 28px 0 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
  }

  .hero-right .barra-lateral > div,
  .sobre-row .barra-lateral > div,
  .agendar-row .barra-lateral > div {
    transform: none !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    padding: 0 16px !important;
  }

  /* Conteúdo interno do hero-right (logo + título + texto) */
  .hero-right > div > div[style*="position:absolute; top:30px"] {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 20px 20px 0 20px !important;
  }

  /* Foto grande dentro do hero-right */
  .hero-right > div > div[style*="position:absolute; right:-8px"] {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .hero-right > div > div[style*="position:absolute; right:-8px"] img {
    max-width: 85% !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Badge Instagram dentro do hero-right */
  .hero-right > div > div[style*="position:absolute; left:86px; bottom:28px"] {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 16px 16px 16px !important;
    width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
  }

  /* Phone mockup — esconder no mobile (já estava, reforça) */
  .phone-mockup {
    display: none !important;
  }

  /* ── Sobre e Agendar: foto com position:absolute → normal ── */
  .sobre-row .img > div > div[style*="position:absolute; inset:0"],
  .agendar-row .img > div > div[style*="position:absolute; inset:0"] {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding-left: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .sobre-row .img > div > div[style*="position:absolute; inset:0"] img,
  .agendar-row .img > div > div[style*="position:absolute; inset:0"] img {
    max-width: 90% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
  }
}

/* ─── FIX extra para telas muito pequenas ≤ 480px ───────── */
@media (max-width: 480px) {
  .hero-right > div > div[style*="position:absolute; right:-8px"] img {
    max-width: 100% !important;
  }

  .sobre-row .img > div > div[style*="position:absolute; inset:0"] img,
  .agendar-row .img > div > div[style*="position:absolute; inset:0"] img {
    max-height: 300px !important;
  }
}