/* ===========================================================
   Raay Cakes — Landing Page
   Paleta: rosa suave, creme, marrom doce
   =========================================================== */

:root{
  --pink-50:  #fff5f8;
  --pink-100: #fde7ee;
  --pink-200: #fbd0dc;
  --pink-300: #f5a8be;
  --pink-400: #ed7e9e;
  --pink-500: #d65b7e;
  --pink-600: #b54466;
  --cream:    #fffaf3;
  --cocoa:    #5a3a3a;
  --ink:      #3a2a2e;
  --muted:    #8a6f78;
  --white:    #ffffff;
  --shadow-sm: 0 4px 14px rgba(214, 91, 126, .08);
  --shadow-md: 0 12px 32px rgba(214, 91, 126, .14);
  --shadow-lg: 0 20px 48px rgba(214, 91, 126, .18);
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --max-w: 1140px;
  --font-display: 'Dancing Script', cursive;
  --font-body: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html, body{
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 500;
  position: relative;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul{ list-style: none; }

.container{ width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============ HEADER ============ */
.header{
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,250,243,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(214, 91, 126, .08);
}
.header-inner{
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
}
.logo-wrap{ display: flex; align-items: center; gap: 10px; }
.logo-img{ width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.logo-text{ font-family: var(--font-display); font-size: 1.5rem; color: var(--pink-600); font-weight: 700; }

.nav{ display: flex; align-items: center; gap: 28px; }
.nav-list{ display: flex; gap: 26px; }
.nav-list a{
  font-weight: 600; font-size: .95rem; color: var(--ink);
  position: relative; transition: color .25s ease;
}
.nav-list a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height: 2px;
  background: var(--pink-400); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-list a:hover{ color: var(--pink-500); }
.nav-list a:hover::after{ transform: scaleX(1); }

.lang-btn{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--pink-100); color: var(--pink-600);
  font-weight: 700; font-size: .85rem;
  transition: background .25s ease, transform .2s ease;
}
.lang-btn:hover{ background: var(--pink-200); transform: translateY(-1px); }

/* Hamburger */
.hamburger{
  display: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  position: relative; z-index: 100;
}
.hamburger span{
  display: block;
  width: 26px; height: 3px; background: var(--pink-600); border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
  transform-origin: center;
}
.hamburger.active span{ background: var(--pink-600); }
.hamburger.active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px 80px;
  overflow: hidden;
}
.hero-bg{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,245,248,.65), rgba(255,250,243,.95)),
    url('assets/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-content{ position: relative; z-index: 1; max-width: 720px; animation: fadeUp .9s ease both; }
.hero-logo{
  width: 140px; height: 140px; border-radius: 50%; object-fit: contain;
  margin: 0 auto 20px; box-shadow: var(--shadow-md);
  background: rgba(255,255,255,.6); padding: 6px;
}
.hero-title{ display:flex; flex-direction: column; gap: 6px; line-height: 1.1; margin-bottom: 14px; }
.hero-title .script{
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--pink-500); font-weight: 700;
}
.hero-title .hero-em{
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: var(--cocoa); font-weight: 700; letter-spacing: -.5px;
}
.hero-sub{
  color: var(--muted); font-size: 1rem; margin-bottom: 28px;
  font-weight: 500;
}
.hero-cta{ display:flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.hero-meta{
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem; font-weight: 600;
}
.hero-meta span{ display: inline-flex; align-items: center; gap: 6px; }

/* ============ BUTTONS ============ */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost{
  background: var(--white); color: var(--pink-600);
  border: 2px solid var(--pink-200);
}
.btn-ghost:hover{ background: var(--pink-50); border-color: var(--pink-300); transform: translateY(-2px); }

/* ============ SECTIONS ============ */
.section{ padding: 80px 0; }
.eyebrow{
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--pink-500);
  margin-bottom: 12px;
}
.section-title{
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--cocoa); margin-bottom: 18px;
  line-height: 1.15;
}
.section-text{ color: var(--muted); font-size: 1rem; max-width: 620px; margin-bottom: 26px; }

.center{ text-align: center; margin-top: 36px; }

/* Sobre */
.sobre{ text-align: center; }
.sobre .section-text{ margin-left:auto; margin-right:auto; }
.badges{ display:flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.badge{
  display:inline-flex; align-items:center; gap: 8px;
  background: var(--pink-50); border: 1px solid var(--pink-100);
  padding: 10px 18px; border-radius: 999px; font-size: .9rem;
  color: var(--cocoa);
}
.badge span{ font-size: 1.1rem; }

/* Produtos grid */
.grid{
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 36px;
}
.grid-3{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card{
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img{
  aspect-ratio: 1/1;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(135deg, var(--pink-50), var(--pink-100));
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.card-img img{
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform .6s ease;
  filter: drop-shadow(0 6px 14px rgba(214,91,126,.18));
}
.card:hover .card-img img{ transform: scale(1.04); }
.card h3{
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--pink-600); padding: 18px 20px 4px; font-weight: 700;
}
.card p{ padding: 0 20px 22px; color: var(--muted); font-size: .92rem; }

/* Menu CTA */
.menu-cta{ background: linear-gradient(135deg, var(--pink-50), var(--pink-100)); }
.menu-box{ text-align: center; max-width: 720px; }
.menu-box .section-text{ margin-left:auto; margin-right:auto; }
.menu-icon{
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--white); color: var(--pink-500);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 20px; box-shadow: var(--shadow-md);
}
.menu-buttons{ display:flex; gap: 14px; justify-content:center; flex-wrap: wrap; margin-top: 24px; }
.small-note{ margin-top: 18px; font-size: .8rem; color: var(--muted); opacity: .7; }

/* Feedbacks (imagens) */
.feedbacks{ background: var(--cream); text-align: center; }
.feedbacks .section-text{ margin-left:auto; margin-right:auto; }
.fb-sub{ margin-bottom: 8px; }
.fb-grid{
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.fb-img{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(135deg, var(--pink-50), var(--pink-100));
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  transition: transform .35s ease, box-shadow .35s ease;
}
.fb-img:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.fb-img img{
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 4px 10px rgba(214,91,126,.15));
}
@media (max-width: 760px){
  .fb-grid{ grid-template-columns: 1fr; max-width: 420px; margin-left:auto; margin-right:auto; }
}

/* Local / Mapa */
.map-wrap{
  margin-top: 28px;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  background: var(--pink-50);
}
.map-wrap iframe{ width: 100%; height: 100%; border: 0; display: block; }

/* Contato */
.contato{ text-align: center; background: linear-gradient(180deg, var(--cream), var(--pink-50)); }
.contato .section-text{ margin-left:auto; margin-right:auto; }
.contact-grid{
  margin-top: 36px;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.contact-card{
  background: var(--white); border-radius: var(--radius);
  padding: 28px 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
  color: var(--cocoa);
}
.contact-card svg{ color: var(--pink-500); margin-bottom: 6px; }
.contact-card strong{ font-size: 1.05rem; }
.contact-card span{ color: var(--muted); font-size: .9rem; }
.contact-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--pink-500); }
.contact-card:hover svg{ color: var(--pink-600); }

/* Footer */
.footer{
  background: var(--cocoa); color: rgba(255,255,255,.85);
  padding: 36px 0; text-align: center;
}
.footer-inner{ display:flex; flex-direction: column; align-items:center; gap: 10px; }
.footer img{ border-radius: 50%; background: white; padding: 4px; }
.footer .tiny{ font-size: .85rem; opacity: .7; }

/* Float WhatsApp */
.float-wa{
  position: fixed;
  bottom: 22px; right: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.45);
  z-index: 9999;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: pulse 2.4s ease-in-out infinite;
  /* iOS safe area */
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  right: calc(22px + env(safe-area-inset-right, 0px));
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.float-wa svg{ width: 28px; height: 28px; display: block; color: #ffffff; stroke: #ffffff; fill: #ffffff; }
.float-wa:hover{ transform: scale(1.08); }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(24px); }
  to{ opacity:1; transform: translateY(0); }
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 12px 28px rgba(37,211,102,.4); }
  50%{ box-shadow: 0 12px 38px rgba(37,211,102,.7); }
}
[data-aos]{ opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
[data-aos].visible{ opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px){
  .hamburger{ display: flex; }
  .nav{
    position: fixed; top: 0; right: 0;
    width: 78%; max-width: 320px; height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 90px 28px 32px;
    transform: translateX(110%);
    transition: transform .35s ease;
    box-shadow: none;
    z-index: 70;
    overflow-y: auto;
  }
  .nav.open{
    transform: translateX(0);
    box-shadow: -16px 0 40px rgba(214,91,126,.12);
  }
  .nav-list{ flex-direction: column; gap: 4px; width: 100%; }
  .nav-list a{
    display: block; padding: 14px 0;
    border-bottom: 1px solid rgba(214,91,126,.08);
    font-size: 1.05rem;
  }
  .nav-list a::after{ display: none; }
  .nav-actions{ margin-top: 22px; }

  .section{ padding: 64px 0; }
  .hero{ min-height: auto; padding: 48px 20px 64px; }
  .hero-logo{ width: 110px; height: 110px; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-cta .btn{ width: 100%; }

  .float-wa{
    width: 56px; height: 56px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }
  .float-wa svg{ width: 26px; height: 26px; }
}

@media (max-width: 480px){
  .logo-text{ font-size: 1.25rem; }
  .badges{ flex-direction: column; align-items: stretch; }
  .badge{ justify-content: center; }
  .container{ padding: 0 16px; }
  .header-inner{ padding: 12px 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .float-wa{ animation: none; }
}
