/* ============================================
   Melhor Açaí Guará II — Design tokens
   Paleta extraída do logo real da marca
   ============================================ */
:root{
  --bg:            #0E0616;
  --bg-elevated:   #17091F;
  --bg-card:       #1D0C27;

  --purple-deep:   #3A0A54;
  --purple:        #6E00A6;
  --purple-light:  #B267E8;
  --purple-glow:   rgba(178, 103, 232, .35);

  --green:         #9CB400;
  --gold:          #FAB400;

  --cream:         #F6F1EA;
  --muted:         #C4B3D4;
  --muted-dim:     #8A7599;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--cream);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

.scroll-progress{
  position:fixed;
  top:0; left:0;
  width:100%;
  height:3px;
  z-index:200;
  background:transparent;
  pointer-events:none;
}
.scroll-progress span{
  display:block;
  height:100%;
  width:0%;
  background:linear-gradient(90deg, var(--purple), var(--purple-light));
  transition:width .12s linear;
}

.skip-link{
  position:absolute; left:-999px; top:0; z-index:100;
  background:var(--cream); color:var(--bg); padding:.8em 1.2em; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

a{ color:inherit; text-decoration:none; }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
  border-radius:6px;
}

.wrap{
  max-width:640px;
  margin:0 auto;
  padding:0 24px;
}
.wrap-narrow{ max-width:520px; }

/* ============================================
   HERO
   ============================================ */
.hero{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:90px 0 60px;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--purple-deep) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 55%);
  overflow:hidden;
  isolation:isolate;
}

.hero-glow{
  position:absolute;
  top:-20%;
  left:50%;
  width:900px;
  height:900px;
  transform:translateX(-50%);
  background:radial-gradient(circle, var(--purple-glow) 0%, transparent 65%);
  filter:blur(10px);
  z-index:-1;
  animation:glow-pulse 8s var(--ease) infinite alternate;
}
@keyframes glow-pulse{
  from{ opacity:.6; transform:translateX(-50%) scale(1); }
  to{ opacity:1; transform:translateX(-50%) scale(1.08); }
}

.hero-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.hero-logo{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.5);
  margin-bottom:28px;
  animation:rise .8s var(--ease) both;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--purple-light);
  margin:0 0 18px;
  animation:rise .8s var(--ease) .05s both;
}
.eyebrow-dark{ color:var(--purple); }

.hero-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(2.6rem, 9vw, 3.6rem);
  line-height:1.05;
  letter-spacing:-.01em;
  margin:0 0 20px;
  color:var(--cream);
  animation:rise .8s var(--ease) .1s both;
}

.hero-sub{
  font-size:1.05rem;
  line-height:1.55;
  color:var(--muted);
  max-width:38ch;
  margin:0 0 32px;
  animation:rise .8s var(--ease) .15s both;
}

@keyframes rise{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}

.status-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-family:var(--font-mono);
  font-size:.78rem;
  color:var(--muted);
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  padding:9px 16px;
  border-radius:999px;
  margin-bottom:36px;
  animation:rise .8s var(--ease) .2s both;
}
.status-dot{
  width:7px; height:7px; border-radius:50%;
  background:var(--muted-dim);
  flex-shrink:0;
}
.status-dot.is-open{
  background:var(--green);
  box-shadow:0 0 0 3px rgba(156,180,0,.22);
}
.status-dot.is-closed{
  background:#E85D5D;
  box-shadow:0 0 0 3px rgba(232,93,93,.18);
}

.cta-group{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  max-width:340px;
  animation:rise .8s var(--ease) .25s both;
}

.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.98rem;
  padding:16px 22px;
  border-radius:999px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn-icon{ width:20px; height:20px; flex-shrink:0; }

.btn-primary{
  background:linear-gradient(135deg, var(--purple-light), var(--purple));
  color:#fff;
  box-shadow:0 12px 30px -8px rgba(178,103,232,.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -6px rgba(178,103,232,.7); }

.btn-ghost{
  background:transparent;
  color:var(--cream);
  border:1px solid rgba(255,255,255,.16);
}
.btn-ghost:hover{ border-color:rgba(255,255,255,.4); transform:translateY(-2px); }

.scroll-cue{
  position:absolute;
  bottom:26px;
  left:50%;
  transform:translateX(-50%);
  width:22px; height:34px;
  border:1.5px solid rgba(255,255,255,.25);
  border-radius:20px;
}
.scroll-cue span{
  position:absolute;
  top:6px; left:50%;
  width:4px; height:4px;
  background:var(--purple-light);
  border-radius:50%;
  transform:translateX(-50%);
  animation:scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue{
  0%{ opacity:1; top:6px; }
  70%{ opacity:0; top:18px; }
  100%{ opacity:0; top:6px; }
}
@media (max-width:480px){ .scroll-cue{ display:none; } }

/* ============================================
   SECTIONS shared
   ============================================ */
.section{ padding:56px 0; }
.map-section{ padding-top:8px; }
.hours-section{ padding-top:8px; }

.section-title{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(1.7rem, 5.5vw, 2.3rem);
  line-height:1.15;
  color:var(--bg);
  margin:0 0 8px;
}

/* Gallery & map & hours sit on a cream card for contrast against the dark hero */
.gallery-section, .map-section, .hours-section{
  background:var(--cream);
  color:var(--bg);
}
.gallery-section{ padding-bottom:40px; }

/* ============================================
   GALLERY
   ============================================ */
.gallery{
  position:relative;
  margin-top:36px;
}

.gallery-track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:0 24px 12px;
  scrollbar-width:none;
}
.gallery-track::-webkit-scrollbar{ display:none; }

.gallery-item{
  flex:0 0 78%;
  max-width:340px;
  scroll-snap-align:center;
  margin:0;
  border-radius:var(--radius-md);
  overflow:hidden;
  aspect-ratio:4/5;
  background:#000;
}
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
  cursor:zoom-in;
}
.gallery-item img:hover{ transform:scale(1.04); }

.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:44px; height:44px;
  border-radius:50%;
  background:var(--bg);
  color:var(--cream);
  border:none;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.18);
  transition:opacity .2s ease, transform .2s ease;
}
.gallery-arrow svg{ width:18px; height:18px; }
.gallery-arrow-prev{ left:6px; }
.gallery-arrow-next{ right:6px; }
.gallery-arrow:hover{ transform:translateY(-50%) scale(1.06); }
@media (max-width:640px){ .gallery-arrow{ display:none; } }

.gallery-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:20px;
}
.gallery-dots button{
  width:6px; height:6px;
  border-radius:50%;
  border:none;
  background:rgba(14,6,22,.2);
  cursor:pointer;
  padding:0;
  transition:all .25s var(--ease);
}
.gallery-dots button.is-active{
  width:22px;
  background:var(--purple);
  border-radius:4px;
}

/* ============================================
   INFO CARD (mapa / horários)
   ============================================ */
.info-card{
  background:#fff;
  border:1px solid rgba(58,10,84,.08);
  border-radius:var(--radius-lg);
  padding:28px;
  margin-top:32px;
  box-shadow:0 24px 48px -28px rgba(58,10,84,.25);
}

/* ============================================
   MAP
   ============================================ */
.map-address{
  font-size:1rem;
  color:#4A3B57;
  margin:0 0 20px;
}

.map-frame{
  position:relative;
  border-radius:var(--radius-md);
  overflow:hidden;
  aspect-ratio:4/3;
  box-shadow:0 20px 50px -20px rgba(58,10,84,.35);
}
.map-frame iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
  filter:grayscale(.15) contrast(1.02);
}

.map-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:20px;
  font-weight:600;
  font-size:.95rem;
  color:var(--purple);
  border-bottom:1px solid var(--purple);
  padding-bottom:2px;
}
.map-link svg{ width:16px; height:16px; }

/* ============================================
   HOURS
   ============================================ */
.hours-list{
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid rgba(14,6,22,.1);
}
.hours-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid rgba(14,6,22,.1);
  font-family:var(--font-mono);
  font-size:.85rem;
  color:#4A3B57;
}
.hours-day{ font-weight:500; }
.hours-time{ color:#8A7599; }

.hours-list li.is-today{
  color:var(--bg);
}
.hours-list li.is-today .hours-day{
  color:var(--purple);
}
.hours-list li.is-today .hours-day::before{
  content:"";
  display:inline-block;
  width:6px; height:6px;
  border-radius:50%;
  background:var(--green);
  margin-right:9px;
  vertical-align:middle;
}
.hours-list li.is-today .hours-time{ color:var(--bg); font-weight:500; }

/* ============================================
   FOOTER
   ============================================ */
.footer{
  background:var(--bg);
  padding:64px 0 40px;
  text-align:center;
}
.footer-inner{ display:flex; flex-direction:column; align-items:center; }
.footer-logo{
  width:44px; height:44px;
  border-radius:50%;
  margin-bottom:16px;
  opacity:.9;
}
.footer-tag{
  color:var(--muted);
  font-size:.92rem;
  margin:0 0 22px;
}
.footer-links{
  display:flex;
  gap:22px;
  margin-bottom:28px;
}
.footer-links a{
  font-size:.88rem;
  color:var(--cream);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, color .2s ease;
}
.footer-links a:hover{ border-color:var(--purple-light); color:var(--purple-light); }
.footer-copy{
  font-family:var(--font-mono);
  font-size:.72rem;
  color:var(--muted-dim);
  margin:0;
}

/* ============================================
   FLOATING ACTIONS
   ============================================ */
.floating-actions{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:50;
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .35s var(--ease), transform .35s var(--ease);
}
.floating-actions.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.fab-bubble{
  position:absolute;
  bottom:66px;
  right:0;
  width:max-content;
  max-width:210px;
  background:#fff;
  color:var(--bg);
  font-family:var(--font-body);
  font-size:.85rem;
  font-weight:600;
  line-height:1.35;
  padding:12px 30px 12px 16px;
  border-radius:16px;
  box-shadow:0 16px 34px -10px rgba(58,10,84,.4);
  opacity:0;
  transform:translateY(8px) scale(.96);
  pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.fab-bubble.is-shown{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.fab-bubble p{ margin:0; }
.fab-bubble-tail{
  position:absolute;
  bottom:-6px;
  right:22px;
  width:12px; height:12px;
  background:#fff;
  transform:rotate(45deg);
}
.fab-bubble-close{
  position:absolute;
  top:6px; right:6px;
  width:20px; height:20px;
  border:none;
  background:transparent;
  color:var(--muted-dim);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.fab-bubble-close svg{ width:12px; height:12px; }

.fab{
  display:flex;
  align-items:center;
  gap:10px;
  height:50px;
  width:50px;
  border-radius:999px;
  justify-content:center;
  box-shadow:0 12px 28px -6px rgba(0,0,0,.4);
  transition:width .3s var(--ease), transform .2s ease, box-shadow .2s ease;
  overflow:hidden;
  white-space:nowrap;
}
.fab svg{ width:22px; height:22px; flex-shrink:0; }
.fab-label{
  font-family:var(--font-body);
  font-weight:600;
  font-size:.88rem;
  opacity:0;
  max-width:0;
  transition:opacity .2s ease .05s, max-width .3s ease;
}
.fab:hover{ width:190px; transform:translateY(-2px); }
.fab:hover .fab-label{ opacity:1; max-width:140px; padding-right:4px; }

.fab-ifood{ background:linear-gradient(135deg, var(--purple-light), var(--purple)); color:#fff; }

@media (max-width:480px){
  .fab{ width:48px; height:48px; }
  .fab:hover{ width:48px; }
  .fab:hover .fab-label{ opacity:0; max-width:0; }
}

/* ============================================
   RESPONSIVE — desktop refinements
   ============================================ */
@media (min-width:720px){
  .wrap{ padding:0 40px; }
  .cta-group{ flex-direction:row; max-width:none; }
  .btn{ flex:1; }
  .section{ padding:80px 0; }
  .map-section{ padding-top:16px; }
  .hours-section{ padding-top:16px; }
  .gallery-item{ flex-basis:340px; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox{
  position:fixed;
  inset:0;
  z-index:300;
  background:rgba(8,3,13,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s var(--ease);
}
.lightbox.is-open{
  opacity:1;
  pointer-events:auto;
}
.lightbox-img{
  max-width:min(680px, 90vw);
  max-height:86vh;
  width:auto;
  border-radius:var(--radius-md);
  box-shadow:0 30px 80px rgba(0,0,0,.5);
  transform:scale(.96);
  transition:transform .25s var(--ease);
}
.lightbox.is-open .lightbox-img{ transform:scale(1); }
.lightbox-close{
  position:absolute;
  top:22px; right:22px;
  width:44px; height:44px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}
.lightbox-close svg{ width:18px; height:18px; }
