/* =========================================================
   BOUTIQUE DOS BALÕES — design tokens
   ========================================================= */
:root{
  --cream:        #FBF6F1;
  --cream-deep:   #F4E9E1;
  --surface:      #FFFFFF;
  --ink:          #2B211D;
  --ink-soft:     #6B5D56;
  --rose:         #C08478;
  --rose-soft:    #E7CFC7;
  --wine:         #6E2F2A;
  --wine-deep:    #591F1B;
  --gold:         #AD8A54;
  --gold-soft:    #D9C6A0;
  --whatsapp:     #3FA65C;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --shadow-soft: 0 18px 40px -22px rgba(43,33,29,0.35);
  --shadow-card: 0 14px 30px -18px rgba(43,33,29,0.28);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }

::selection{ background:var(--rose-soft); color:var(--wine-deep); }

.eyebrow{
  font-family:var(--font-body);
  font-size:12.5px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--rose);
  margin:0 0 12px;
}
.eyebrow-light{ color:var(--gold-soft); }

.section-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(28px, 6vw, 44px);
  line-height:1.15;
  margin:0 0 16px;
  color:var(--ink);
  letter-spacing:-0.01em;
}
.section-title em{ font-style:italic; color:var(--wine); font-weight:400; }

.section-sub{
  font-size:15.5px;
  color:var(--ink-soft);
  max-width:480px;
  margin:0;
}

.section-head{
  padding:0 24px;
  max-width:640px;
  margin:0 auto 40px;
  text-align:center;
}
.section-head .section-sub{ margin:0 auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:14.5px;
  letter-spacing:0.01em;
  padding:15px 28px;
  border-radius:100px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-block{ width:100%; }

.btn-primary{
  background:var(--wine);
  color:#fff;
  box-shadow:0 14px 26px -14px rgba(110,47,42,0.55);
}
.btn-primary:hover{ background:var(--wine-deep); box-shadow:0 18px 32px -14px rgba(110,47,42,0.6); transform:translateY(-1px); }

.btn-ghost-light{
  background:rgba(255,255,255,0.08);
  color:#fff;
  border-color:rgba(255,255,255,0.55);
  backdrop-filter:blur(6px);
}
.btn-ghost-light:hover{ background:rgba(255,255,255,0.18); border-color:#fff; }

.btn-outline{
  background:transparent;
  color:var(--wine);
  border-color:var(--rose-soft);
}
.btn-outline:hover{ background:var(--wine); color:#fff; border-color:var(--wine); }

.btn-whatsapp{
  background:var(--whatsapp);
  color:#fff;
}
.btn-whatsapp:hover{ background:#358f4f; }

.btn-small{ padding:9px 16px; font-size:13px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  padding:16px 20px;
  transition:padding .4s ease, background .4s ease, box-shadow .4s ease;
}
.site-header::before{
  content:"";
  position:absolute; inset:0;
  background:rgba(251,246,241,0);
  backdrop-filter:blur(0px);
  transition:background .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
  z-index:-1;
}
.site-header.scrolled{ padding:10px 20px; }
.site-header.scrolled::before{
  background:rgba(251,246,241,0.86);
  backdrop-filter:blur(14px);
  box-shadow:0 8px 30px -18px rgba(43,33,29,0.4);
}

.header-inner{
  max-width:var(--container);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--ink);
}
.brand-logo{
  height:46px;
  width:46px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 6px 18px -6px rgba(43,33,29,0.4);
  transition:transform .35s ease, box-shadow .35s ease;
}
.brand:hover .brand-logo{ transform:scale(1.05); }

.nav-desktop{
  display:none;
  align-items:center;
  gap:34px;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.02em;
}
.nav-desktop a{
  position:relative;
  padding:4px 0;
  color:var(--ink);
}
.site-header:not(.scrolled) .nav-desktop a{ color:#fff; text-shadow:0 1px 6px rgba(0,0,0,0.25); }
.nav-desktop a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0;
  height:1px; background:currentColor;
  transition:right .35s ease;
}
.nav-desktop a:hover::after{ right:0; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.nav-whatsapp{ display:none; }

.icon-btn{
  width:40px; height:40px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.16);
  color:#fff;
  flex-shrink:0;
  transition:background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.icon-btn:hover{ transform:translateY(-2px); }
.site-header.scrolled .icon-btn{ background:rgba(110,47,42,0.08); color:var(--wine); }
.icon-btn-instagram:hover{
  background:linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7);
  color:#fff;
  box-shadow:0 10px 20px -10px rgba(238,42,123,0.55);
}

.hamburger{
  width:40px; height:40px;
  border-radius:50%;
  border:1px solid transparent;
  background:rgba(255,255,255,0.16);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  cursor:pointer;
  transition:background .3s ease;
}
.site-header.scrolled .hamburger{ background:rgba(110,47,42,0.08); }
.hamburger span{
  width:18px; height:1.4px; background:#fff; border-radius:2px;
  transition:transform .35s ease, opacity .35s ease, background .3s ease;
}
.site-header.scrolled .hamburger span{ background:var(--ink); }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.4px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.4px) rotate(-45deg); }
.hamburger[aria-expanded="true"]{ background:rgba(110,47,42,0.08); }
.hamburger[aria-expanded="true"] span{ background:var(--ink) !important; }

/* =========================================================
   MOBILE MENU
   ========================================================= */
.menu-backdrop{
  position:fixed; inset:0; background:rgba(43,33,29,0.35);
  z-index:210; opacity:0; visibility:hidden; transition:opacity .35s ease, visibility .35s ease;
}
.menu-backdrop.open{ opacity:1; visibility:visible; }

.mobile-menu{
  position:fixed; top:0; right:0; bottom:0;
  width:min(320px, 82vw);
  background:var(--cream);
  z-index:220;
  padding:110px 32px 40px;
  transform:translateX(100%);
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
  box-shadow:-20px 0 50px -20px rgba(43,33,29,0.35);
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu nav{ display:flex; flex-direction:column; gap:6px; }
.mobile-link{
  font-family:var(--font-display);
  font-size:24px;
  font-weight:400;
  padding:14px 0;
  border-bottom:1px solid var(--cream-deep);
  color:var(--ink);
}
.mobile-link-whatsapp{
  margin-top:20px;
  border-bottom:none;
  background:var(--whatsapp);
  color:#fff;
  font-family:var(--font-body);
  font-size:15px;
  font-weight:600;
  text-align:center;
  border-radius:100px;
  padding:15px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  object-position:65% 30%;
  transform:scale(1.02);
}
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(43,25,20,0.55) 0%, rgba(43,25,20,0.15) 32%, rgba(43,25,20,0.15) 55%, rgba(30,18,15,0.88) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px 100px;
  color:#fff;
}
.hero-title{
  font-family:var(--font-display);
  font-weight:400;
  font-size:clamp(34px, 9vw, 68px);
  line-height:1.08;
  margin:0 0 18px;
  max-width:15ch;
  text-shadow:0 4px 30px rgba(0,0,0,0.25);
}
.hero-title em{ font-style:italic; font-weight:500; color:var(--gold-soft); }
.hero-sub{
  font-size:16px;
  max-width:38ch;
  color:rgba(255,255,255,0.88);
  margin:0 0 32px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }

.scroll-cue{
  position:absolute; left:50%; bottom:28px; transform:translateX(-50%);
  z-index:2; width:1px; height:46px;
}
.scroll-cue span{
  display:block; width:1px; height:100%;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  animation:scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform:scaleY(0); transform-origin:top; opacity:0; }
  40%{ transform:scaleY(1); transform-origin:top; opacity:1; }
  60%{ transform:scaleY(1); transform-origin:bottom; opacity:1; }
  100%{ transform:scaleY(0); transform-origin:bottom; opacity:0; }
}

/* =========================================================
   RIBBON DIVIDER (signature motif)
   ========================================================= */
.ribbon-divider{ width:100%; line-height:0; margin-top:-2px; background:var(--cream); }
.ribbon-divider svg{ width:100%; height:34px; display:block; }

/* =========================================================
   SERVICES / PRODUCT GRID
   ========================================================= */
.services{ padding:88px 0 96px; background:var(--cream); }

.product-grid{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}

.product-card{
  position:relative;
  background:var(--surface);
  border-radius:var(--radius-lg);
  overflow:hidden;
  cursor:pointer;
  box-shadow:var(--shadow-card);
  border:1px solid rgba(173,138,84,0.12);
  transition:transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
  display:flex;
  flex-direction:column;
}
.product-card:hover{ transform:translateY(-5px); box-shadow:0 26px 46px -20px rgba(43,33,29,0.32); }

.product-media{
  position:relative;
  aspect-ratio:5/4;
  overflow:hidden;
  background:var(--cream-deep);
}
.product-media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover .product-media img{ transform:scale(1.06); }

.product-card--contain .product-media img{
  object-fit:contain;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.product-card--contain:hover .product-media img{ transform:scale(1.03); }

.product-price-tag{
  position:absolute; top:14px; left:14px;
  background:rgba(251,246,241,0.92);
  backdrop-filter:blur(6px);
  color:var(--wine);
  font-size:12px; font-weight:700; letter-spacing:0.02em;
  padding:7px 13px;
  border-radius:100px;
}

.product-info{ padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.product-name{
  font-family:var(--font-display);
  font-size:21px;
  font-weight:500;
  margin:0 0 8px;
  color:var(--ink);
}
.product-desc{
  font-size:14px;
  color:var(--ink-soft);
  margin:0 0 16px;
  flex:1;
}
.product-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; font-weight:600; letter-spacing:0.03em;
  color:var(--rose);
  text-transform:uppercase;
}
.product-link svg{ width:13px; height:13px; transition:transform .3s ease; }
.product-card:hover .product-link svg{ transform:translateX(4px); }

/* =========================================================
   ABOUT
   ========================================================= */
.about{
  max-width:var(--container);
  margin:0 auto;
  padding:20px 20px 100px;
  display:grid;
  grid-template-columns:1fr;
  gap:36px;
  align-items:center;
}
.about-media{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  aspect-ratio:4/5;
}
.about-media img{ width:100%; height:100%; object-fit:cover; }
.about-content{ padding:0 4px; }
.about-text{ color:var(--ink-soft); font-size:15.5px; max-width:52ch; margin:0 0 16px; }
.about-content .btn{ margin-top:10px; }

/* =========================================================
   INSTAGRAM
   ========================================================= */
.instagram{
  background:var(--cream-deep);
  padding:88px 0 96px;
  text-align:center;
}
.insta-gallery{
  max-width:var(--container);
  margin:0 auto 40px;
  padding:0 20px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}
.insta-item{
  aspect-ratio:1/1;
  border-radius:var(--radius-sm);
  overflow:hidden;
  position:relative;
}
.insta-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .6s ease;
}
.insta-item:hover img{ transform:scale(1.08); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--wine-deep);
  color:#f4e9e1;
  padding:64px 20px 34px;
}
.footer-inner{
  max-width:640px;
  margin:0 auto;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.footer-logo{
  width:92px; height:92px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  box-shadow:0 10px 26px -8px rgba(0,0,0,0.4);
  margin-bottom:18px;
}
.footer-tag{ font-size:14px; color:rgba(244,233,225,0.65); margin:0 0 30px; }

.footer-contact{ display:flex; flex-direction:column; gap:14px; margin-bottom:30px; }
.footer-link{ display:inline-flex; align-items:center; gap:9px; font-size:14.5px; color:#f4e9e1; opacity:0.92; }
.footer-link:hover{ opacity:1; color:var(--gold-soft); }

.footer-cta{ margin-bottom:34px; }
.footer-fine{ font-size:12px; color:rgba(244,233,225,0.45); margin:0; padding-top:24px; border-top:1px solid rgba(244,233,225,0.14); width:100%; }

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.whatsapp-float{
  position:fixed;
  right:18px; bottom:18px;
  z-index:150;
  width:56px; height:56px;
  border-radius:50%;
  background:var(--whatsapp);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 28px -10px rgba(63,166,92,0.55);
  transition:transform .3s ease, box-shadow .3s ease;
}
.whatsapp-float:hover{ transform:scale(1.07); box-shadow:0 18px 34px -8px rgba(63,166,92,0.6); }

/* =========================================================
   MODAL
   ========================================================= */
.modal-backdrop{
  position:fixed; inset:0; z-index:300;
  background:rgba(43,25,20,0.55);
  backdrop-filter:blur(4px);
  display:flex; align-items:flex-end; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity .35s ease, visibility .35s ease;
}
.modal-backdrop.open{ opacity:1; visibility:visible; }

.modal{
  background:var(--surface);
  width:100%;
  max-width:480px;
  max-height:92svh;
  overflow-y:auto;
  border-radius:26px 26px 0 0;
  position:relative;
  transform:translateY(100%);
  transition:transform .45s cubic-bezier(.2,.7,.2,1);
}
.modal-backdrop.open .modal{ transform:translateY(0); }

.modal-close{
  position:absolute; top:16px; right:16px; z-index:2;
  width:36px; height:36px; border-radius:50%;
  background:rgba(251,246,241,0.9);
  border:none; font-size:22px; line-height:1;
  color:var(--ink); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.modal-media{ aspect-ratio:4/3; overflow:hidden; background:var(--cream-deep); }
.modal-media img{ width:100%; height:100%; object-fit:cover; }
.modal-media.contain img{ object-fit:contain; }
.modal-body{ padding:26px 26px 30px; }
.modal-body .eyebrow{ margin-bottom:8px; }
.modal-body h3{
  font-family:var(--font-display); font-weight:500; font-size:26px; margin:0 0 12px; color:var(--ink);
}
.modal-body p:not(.eyebrow){ color:var(--ink-soft); font-size:15px; margin:0 0 24px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view{ opacity:1; transform:translateY(0); }

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (min-width:640px){
  .product-grid{ grid-template-columns:repeat(2, 1fr); }
  .insta-gallery{ grid-template-columns:repeat(4, 1fr); }
}

/* =========================================================
   RESPONSIVE — DESKTOP
   ========================================================= */
@media (min-width:960px){
  .nav-desktop{ display:flex; }
  .nav-whatsapp{ display:inline-flex; }
  .hamburger{ display:none; }

  .site-header{ padding:26px 40px; }
  .site-header.scrolled{ padding:16px 40px; }
  .brand-logo{ height:56px; width:56px; }
  .icon-btn{ width:42px; height:42px; }

  .hero-content{ padding:0 40px 130px; }
  .hero-media img{ object-position:70% 35%; }

  .product-grid{ grid-template-columns:repeat(3, 1fr); gap:26px; padding:0 40px; }

  .about{
    grid-template-columns:0.85fr 1fr;
    gap:70px;
    padding:40px 40px 140px;
  }
  .about-media{ aspect-ratio:3/4; }

  .services{ padding:120px 0 130px; }
  .instagram{ padding:120px 0 130px; }
  .section-head{ margin-bottom:56px; }

  .insta-gallery{ grid-template-columns:repeat(6, 1fr); gap:14px; padding:0 40px; }

  .modal-backdrop{ align-items:center; }
  .modal{ border-radius:26px; max-width:760px; display:grid; grid-template-columns:1fr 1fr; max-height:80svh; }
  .modal-media{ aspect-ratio:auto; height:100%; }
  .modal-body{ display:flex; flex-direction:column; justify-content:center; padding:44px; }

  .whatsapp-float{ right:32px; bottom:32px; }
}

@media (min-width:1180px){
  .hero-title{ font-size:72px; }
}
