/* ===== VARIÁVEIS ===== */
:root{
  --wine: #4a1c1c;
  --wine-dark: #2e0f0f;
  --wine-light: #7a3030;
  --gold: #c9a24b;
  --gold-light: #e6cd8f;
  --cream: #faf6ef;
  --off-white: #f4efe4;
  --text-dark: #2a1c1c;
  --text-muted: #6b5b52;
  --shadow: 0 20px 50px rgba(0,0,0,.25);
  --transition: .4s cubic-bezier(.25,.8,.25,1);
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  font-family:'Poppins', sans-serif;
  color:var(--text-dark);
  background:var(--cream);
  overflow-x:hidden;
}

h1,h2,h3{
  font-family:'Cinzel', serif;
  font-weight:700;
  line-height:1.25;
}

p{line-height:1.8; color:var(--text-muted);}

img{max-width:100%; display:block;}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.tag{
  display:inline-block;
  font-family:'Marcellus', serif;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:13px;
  color:var(--gold);
  border:1px solid var(--gold);
  padding:6px 18px;
  border-radius:30px;
  margin-bottom:18px;
}
.tag.light-tag{color:var(--gold-light); border-color:var(--gold-light);}

.center-text{text-align:center; max-width:760px; margin:0 auto 50px;}
.lead{font-size:17px; margin-top:14px;}

.btn{
  display:inline-block;
  margin-top:28px;
  padding:15px 38px;
  background:linear-gradient(135deg, var(--gold), #a97f2f);
  color:#2a1c1c;
  font-weight:600;
  letter-spacing:1px;
  text-decoration:none;
  border-radius:40px;
  text-transform:uppercase;
  font-size:13px;
  transition:var(--transition);
  box-shadow:0 10px 30px rgba(201,162,75,.4);
}
.btn:hover{transform:translateY(-4px); box-shadow:0 15px 35px rgba(201,162,75,.55);}

/* ===== LOADER ===== */
#loader{
  position:fixed; inset:0; background:var(--wine-dark);
  display:flex; align-items:center; justify-content:center;
  z-index:9999; transition:opacity .6s ease, visibility .6s ease;
}
#loader img{width:90px; animation:pulse 1.4s ease-in-out infinite;}
#loader.hide{opacity:0; visibility:hidden;}
@keyframes pulse{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(1.12);opacity:.7;}}

/* ===== HEADER ===== */
#header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:transparent;
  transition:background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding:18px 0;
}
#header.scrolled{
  background:rgba(20,8,8,.92);
  box-shadow:0 5px 25px rgba(0,0,0,.25);
  padding:10px 0;
  backdrop-filter:blur(6px);
}
.header-inner{
  max-width:1180px; margin:0 auto; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo-area{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color:#fff;
}
.logo-area img{width:48px; height:48px; border-radius:50%;}
.logo-area span{
  font-family:'Cinzel', serif; font-weight:700; font-size:15px;
  letter-spacing:1px; text-transform:uppercase;
}
#nav{display:flex; gap:32px;}
#nav a{
  color:#f4efe4; text-decoration:none; font-size:14px; font-weight:500;
  position:relative; padding-bottom:6px; letter-spacing:.5px;
}
#nav a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--gold); transition:width .3s ease;
}
#nav a:hover::after{width:100%;}

#menu-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; z-index:1100;
}
#menu-toggle span{width:26px; height:2px; background:#fff; transition:var(--transition);}

/* ===== PARALLAX GENERIC ===== */
.parallax{
  position:relative;
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.overlay{position:absolute; inset:0; background:rgba(0,0,0,.35);}
.overlay.dark{background:linear-gradient(180deg, rgba(20,8,8,.55), rgba(20,8,8,.82));}

/* ===== HERO ===== */
.hero{min-height:100vh; text-align:center;}
.hero-content{position:relative; z-index:2; max-width:800px; padding:0 24px;}
.hero-logo{width:120px; margin:0 auto 24px; border-radius:50%; box-shadow:0 0 40px rgba(201,162,75,.4);}
.hero h1{font-size:44px; color:#fff; text-shadow:0 4px 20px rgba(0,0,0,.4);}
.hero h1 span{color:var(--gold-light);}
.hero p{color:#f0e9dc; font-size:17px; margin-top:16px; font-family:'Marcellus', serif; letter-spacing:.5px;}

.scroll-down{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%); z-index:2;
}
.scroll-down span{
  display:block; width:24px; height:40px; border:2px solid #fff; border-radius:20px; position:relative;
}
.scroll-down span::before{
  content:''; position:absolute; top:6px; left:50%; width:4px; height:8px; background:#fff;
  border-radius:2px; transform:translateX(-50%); animation:scrollDot 1.6s infinite;
}
@keyframes scrollDot{0%{opacity:1; top:6px;}100%{opacity:0; top:22px;}}

/* ===== SECTIONS ===== */
.section{padding:110px 0;}
.section.light{background:var(--off-white);}

/* ===== STORY PARALLAX BLOCKS ===== */
.story{min-height:70vh; padding:80px 24px;}
.story-content{position:relative; z-index:2; max-width:640px; text-align:left;}
.story-content h2{font-size:32px; color:#fff; margin-bottom:20px;}
.story-content p{color:#e9dfd2; font-size:16px;}
.story.reverse{justify-content:flex-end;}
.story-content.align-right{text-align:right; margin-left:auto;}

/* ===== TWO COLUMN ===== */
.two-col{
  display:grid; grid-template-columns:1fr 1.2fr; gap:60px; align-items:center;
}
.col-img img.framed{
  border:10px solid #fff; box-shadow:var(--shadow); border-radius:4px;
}
.col-text .tag{margin-bottom:16px;}
.col-text h2{font-size:32px; margin-bottom:20px; color:var(--wine);}
.col-text p{margin-bottom:16px;}

.gallery-strip{
  margin-top:70px; display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.gallery-strip img{
  border-radius:8px; height:320px; width:100%; object-fit:cover; box-shadow:var(--shadow);
  transition:transform .5s ease;
  cursor:pointer;
}
.gallery-strip img:hover{transform:scale(1.03);}

/* ===== MAE MIRA PHOTO ===== */
.mae-mira-photo{
  display:flex; justify-content:center; margin-top:-90px; position:relative; z-index:5; margin-bottom:60px;
}
.mae-mira-photo img.framed{
  width:340px; border:10px solid #fff; box-shadow:var(--shadow); border-radius:4px;
}

/* ===== SERVICES ===== */
.services-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:20px;
}
.service-card{
  background:#fff; padding:40px 28px; border-radius:14px; text-align:center;
  box-shadow:0 10px 35px rgba(74,28,28,.08); transition:var(--transition);
  border:1px solid rgba(201,162,75,.15);
}
.service-card:hover{transform:translateY(-8px); box-shadow:0 20px 45px rgba(74,28,28,.15);}
.service-card .icon{font-size:38px; margin-bottom:16px;}
.service-card h3{font-size:18px; color:var(--wine); margin-bottom:10px;}
.service-card p{font-size:14px;}

/* ===== CTA PARALLAX ===== */
.cta{min-height:50vh; text-align:center;}
.cta-content{position:relative; z-index:2; max-width:700px; padding:0 24px;}
.cta-content h2{font-size:30px; color:#fff; margin-bottom:14px;}
.cta-content p{color:#e9dfd2;}

/* ===== GALLERY GRID ===== */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:18px;
}
.gallery-grid img{
  width:100%; height:230px; object-fit:cover; border-radius:8px; cursor:pointer;
  transition:transform .4s ease, box-shadow .4s ease;
  box-shadow:0 6px 20px rgba(0,0,0,.1);
}
.gallery-grid img:hover{transform:scale(1.04); box-shadow:0 14px 30px rgba(0,0,0,.2);}

/* ===== LIGHTBOX ===== */
#lightbox{
  position:fixed; inset:0; background:rgba(10,4,4,.92); display:none;
  align-items:center; justify-content:center; z-index:2000; padding:30px;
}
#lightbox.active{display:flex;}
#lightbox img{max-width:90vw; max-height:85vh; border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,.5);}
#lightbox-close{
  position:absolute; top:24px; right:34px; font-size:38px; color:#fff; cursor:pointer; line-height:1;
}

/* ===== FOOTER ===== */
.footer{min-height:60vh; text-align:center;}
.footer-content{position:relative; z-index:2; max-width:600px; padding:0 24px;}
.footer-logo{width:80px; margin:0 auto 20px; border-radius:50%;}
.footer-content h2{font-size:24px; color:#fff; margin-bottom:8px;}
.footer-content p{color:#e9dfd2;}
.footer-content .cnpj{font-size:13px; letter-spacing:1px; color:#c9b89a; margin-top:6px;}
.footer-links{margin:26px 0;}
.footer-links a{color:var(--gold-light); text-decoration:none; font-weight:600; letter-spacing:1px; font-size:14px;}
.footer-links a:hover{text-decoration:underline;}
.copy{font-size:12px; color:#b8a58e; margin-top:20px;}

/* ===== SERVICE ACTION BUTTONS ===== */
.service-actions{
  display:flex; gap:10px; margin-top:20px; justify-content:center;
}
.btn-zap, .btn-chat{
  flex:1; padding:10px 16px; border-radius:30px; font-size:13px; font-weight:600;
  text-decoration:none; border:none; cursor:pointer; text-align:center;
  transition:var(--transition); letter-spacing:.5px; display:inline-flex; align-items:center; justify-content:center; gap:6px;
}
.btn-zap{
  background:#25D366; color:#fff;
}
.btn-zap:hover{background:#1eb855; transform:translateY(-2px); box-shadow:0 6px 18px rgba(37,211,102,.4);}
.btn-chat{
  background:var(--wine); color:#fff;
}
.btn-chat:hover{background:var(--wine-light); transform:translateY(-2px); box-shadow:0 6px 18px rgba(74,28,28,.4);}

/* ===== WHATSAPP FLOATING BUTTON (bottom left) ===== */
#whatsapp-float{
  position:fixed; bottom:24px; left:24px; z-index:1500;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,.45);
  transition:var(--transition);
  animation:zapPulse 2.5s infinite;
}
#whatsapp-float:hover{transform:scale(1.1); box-shadow:0 8px 25px rgba(37,211,102,.6);}
@keyframes zapPulse{
  0%,100%{box-shadow:0 6px 20px rgba(37,211,102,.45);}
  50%{box-shadow:0 6px 20px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0);}
}

/* ===== REVEAL ANIMATION ===== */
.reveal{opacity:0; transform:translateY(40px); transition:opacity .8s ease, transform .8s ease;}
.reveal-visible{opacity:1; transform:translateY(0);}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px){
  .two-col{grid-template-columns:1fr; gap:36px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(3,1fr);}
  .parallax{background-attachment:scroll;}
}

@media (max-width: 768px){
  #nav{
    position:fixed; top:0; right:-100%; width:75%; height:100vh;
    background:rgba(20,8,8,.98); flex-direction:column; align-items:flex-start;
    padding:100px 34px; gap:26px; transition:right .4s ease;
  }
  #nav.open{right:0;}
  #menu-toggle{display:flex;}
  .hero h1{font-size:30px;}
  .story-content{max-width:100%;}
  .story-content.align-right{text-align:left;}
  .gallery-strip{grid-template-columns:1fr;}
  .services-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .mae-mira-photo img.framed{width:240px;}
  .section{padding:80px 0;}
}

@media (max-width: 480px){
  .gallery-grid{grid-template-columns:1fr 1fr;}
  .hero-logo{width:90px;}
}
