/* ==================================================================
   ROSA ENCANTADA BY LORRAINE
   Design system — paleta inspirada na marca
   ================================================================== */
:root {
  /* Cores */
  --rosa-claro: #fdeef2;
  --rosa-suave: #fbd5dd;
  --rosa-medio: #f7c6d3;
  --rosa-pink:  #e87a9a;
  --rosa-vivo:  #d6336c;
  --rosa-deep:  #b1264e;
  --choco:      #4a2418;
  --choco-soft: #6b3525;
  --creme:      #fffaf7;
  --creme-warm: #fcf3ec;
  --branco:     #ffffff;
  --cinza-100:  #f5eef0;
  --cinza-300:  #d9c9cd;
  --cinza-500:  #8a7479;
  --cinza-700:  #4a3a3d;
  --gold:       #c69963;

  /* Sombras (camadas suaves) */
  --sombra-xs:  0 2px 6px rgba(74, 36, 24, .04);
  --sombra-sm:  0 4px 14px rgba(74, 36, 24, .06);
  --sombra-md:  0 12px 30px rgba(74, 36, 24, .10);
  --sombra-lg:  0 25px 60px rgba(74, 36, 24, .14);
  --sombra-xl:  0 40px 90px rgba(74, 36, 24, .18);
  --sombra-pink: 0 18px 40px rgba(214, 51, 108, .25);

  /* Raios */
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;
  --radius-xl:  40px;

  /* Layout */
  --max:        1240px;
  --gutter-x:   clamp(1rem, 3.5vw, 1.5rem);   /* recuo lateral fluido (cada lado) */

  /* Easing & timing */
  --ease:       cubic-bezier(.22, 1, .36, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --t-fast:     .25s var(--ease);
  --t-med:      .5s var(--ease);
  --t-slow:     .8s var(--ease);

  /* Tipografia */
  --f-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --f-script:  'Dancing Script', cursive;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Surfaces semânticas (light) */
  --bg-base:    var(--creme);
  --bg-warm:    var(--creme-warm);
  --bg-soft:    var(--rosa-claro);
  --surface:    var(--branco);
  --surface-2:  var(--cinza-100);
  --text:       var(--cinza-700);
  --text-muted: var(--cinza-500);
  --text-strong: var(--choco);
  --border:     var(--cinza-100);
  --header-bg:  rgba(255, 250, 247, .82);
  --nav-mobile-bg: rgba(255, 250, 247, .98);
}

/* ============ TEMA ESCURO ============
   Princípio: --choco e --choco-soft NÃO mudam (são cores de marca,
   usadas como fundo do footer/CTAs). Apenas --text-strong e tokens
   de superfície (creme, branco, cinzas, rosa-claro/suave/medio)
   ganham equivalentes escuros para preservar a paleta da marca. */
[data-theme="dark"] {
  /* Bases (vinho/marrom escuro com toque de rosa pra harmonizar com o chocolate) */
  --creme:      #1a1216;
  --creme-warm: #211519;
  --branco:     #241a1f;

  /* Superfícies rosa: viram tons profundos de vinho, não pretos chapados */
  --rosa-claro: #2a1d22;
  --rosa-suave: #3a2429;
  --rosa-medio: #4a2c33;

  /* Texto: inverte pra ler bem em fundo escuro */
  --text-strong: #fbeae3;     /* h1-h4, preços, links fortes */
  --cinza-700:   #e7d6d2;     /* corpo do texto */
  --cinza-500:   #b4a098;     /* muted (descrições) */
  --cinza-300:   #5a4348;     /* divisórias visíveis */
  --cinza-100:   #2e2126;     /* hairlines/borders sutis */

  /* Sombras mais profundas pra criar elevação real no escuro */
  --sombra-xs:  0 2px 6px rgba(0, 0, 0, .35);
  --sombra-sm:  0 4px 14px rgba(0, 0, 0, .4);
  --sombra-md:  0 12px 30px rgba(0, 0, 0, .5);
  --sombra-lg:  0 25px 60px rgba(0, 0, 0, .6);
  --sombra-xl:  0 40px 90px rgba(0, 0, 0, .7);
  --sombra-pink: 0 18px 40px rgba(214, 51, 108, .4);
}

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

/* Overrides específicos do tema escuro para elementos com cores hardcoded */
[data-theme="dark"] .header { background: rgba(26, 18, 22, .82); }
[data-theme="dark"] .header.is-scrolled { background: rgba(26, 18, 22, .95); }
[data-theme="dark"] .nav { background: rgba(26, 18, 22, .98); }
[data-theme="dark"] .form__note.is-success {
  background: rgba(45, 106, 49, .18); color: #b8e0bc; border-color: rgba(45, 106, 49, .4);
}
[data-theme="dark"] .form__note.is-error {
  background: rgba(177, 38, 78, .2); color: #f5b8c4; border-color: rgba(177, 38, 78, .45);
}

/* ============ PRODUTOS — DARK THEME REFINO ============
   Light theme já cuidado pelos tokens. No escuro, os tokens de rosa
   ficam muito próximos do fundo e os cards somem. Aqui empurramos
   contraste, calor e brilho rosé pra seção respirar. */
[data-theme="dark"] .produtos {
  background: #1d1318;
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(214, 51, 108, .18) 0%, transparent 45%),
    radial-gradient(ellipse at 88% 82%, rgba(232, 122, 154, .12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(74, 36, 24, .35) 0%, transparent 70%);
}
[data-theme="dark"] .filter {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(232, 122, 154, .18);
  color: var(--text-strong);
}
[data-theme="dark"] .filter:hover {
  background: rgba(214, 51, 108, .14);
  border-color: var(--rosa-pink);
}
[data-theme="dark"] .filter.is-active {
  background: linear-gradient(135deg, var(--rosa-vivo), var(--rosa-deep));
  border-color: var(--rosa-pink);
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 51, 108, .35);
}
[data-theme="dark"] .product {
  background: linear-gradient(180deg, #2e2026 0%, #261a20 100%);
  border: 1px solid rgba(232, 122, 154, .1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
[data-theme="dark"] .product:hover {
  border-color: rgba(232, 122, 154, .28);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(214, 51, 108, .18);
}
[data-theme="dark"] .product__media {
  background:
    radial-gradient(circle at 50% 45%, rgba(232, 122, 154, .35), transparent 65%),
    linear-gradient(135deg, #4a2c33 0%, #3a2129 100%);
}
[data-theme="dark"] .product__media::after {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 220, 230, .18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, .05), transparent 50%);
}
[data-theme="dark"] .product__badge {
  background: linear-gradient(135deg, var(--rosa-vivo), var(--rosa-deep));
  color: #fff;
  box-shadow: 0 6px 18px rgba(214, 51, 108, .45);
}
[data-theme="dark"] .product__cat { color: var(--rosa-pink); }
[data-theme="dark"] .product__foot { border-top-color: rgba(232, 122, 154, .12); }
[data-theme="dark"] .product__add {
  background: rgba(232, 122, 154, .12);
  color: var(--text-strong);
  border-color: rgba(232, 122, 154, .2);
}
[data-theme="dark"] .product__add:hover {
  background: var(--rosa-vivo);
  color: #fff;
  border-color: var(--rosa-vivo);
}

/* ============ DARK THEME — DEMAIS SEÇÕES ============
   Mesma filosofia da seção produtos: empurrar contraste entre
   superfícies (que ficam todas próximas no escuro), trazer calor
   com gradientes rosé/chocolate e dar pop aos acentos rosa. */

/* HERO — gradiente mais profundo, blobs com brilho rosé real */
[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(214, 51, 108, .14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(232, 122, 154, .1) 0%, transparent 60%),
    linear-gradient(180deg, #1f141a 0%, #1a1216 100%);
}
[data-theme="dark"] .blob--1 { background: #6b2643; opacity: .55; }
[data-theme="dark"] .blob--2 { background: #4a2c33; opacity: .65; }
[data-theme="dark"] .blob--3 { background: #5a3a1c; opacity: .35; }
[data-theme="dark"] .hero__chips li {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(232, 122, 154, .25);
  color: #f4dfd5;
  backdrop-filter: blur(8px);
}
[data-theme="dark"] .hero__chips li:hover {
  background: rgba(214, 51, 108, .14);
  border-color: var(--rosa-pink);
}
[data-theme="dark"] .floating-card {
  background: linear-gradient(180deg, #2e2026, #261a20);
  border-color: rgba(232, 122, 154, .18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .55);
}
[data-theme="dark"] .floating-card span { color: #b4a098; }

/* MARQUEE — texto rosa-medio em fundo choco fica invisível no dark */
[data-theme="dark"] .marquee { color: #f4dfd5; }
[data-theme="dark"] .marquee__track span:nth-child(even) { color: var(--rosa-pink); }

/* SOBRE — moldura da imagem com mais brilho rosé */
[data-theme="dark"] .sobre {
  background: linear-gradient(180deg, #1a1216 0%, #1d1318 100%);
}
[data-theme="dark"] .sobre__media-inner {
  background:
    radial-gradient(circle at 50% 60%, rgba(232, 122, 154, .35) 0%, transparent 65%),
    linear-gradient(135deg, #3a2429, #4a2c33);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(232, 122, 154, .12);
}

/* PROCESSO — cards quase invisíveis no fundo branco-dark */
[data-theme="dark"] .processo { background: #1a1216; }
[data-theme="dark"] .step {
  background: linear-gradient(180deg, #2a1d22 0%, #241a1f 100%);
  border-color: rgba(232, 122, 154, .1);
}
[data-theme="dark"] .step:hover {
  background: linear-gradient(180deg, #321f27 0%, #2a1820 100%);
  border-color: rgba(232, 122, 154, .3);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
[data-theme="dark"] .step__num { -webkit-text-stroke-color: var(--rosa-pink); }

/* ENCOMENDAS — mesma moléstia dos produtos: card e fundo iguais */
[data-theme="dark"] .encomendas {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(214, 51, 108, .12) 0%, transparent 50%),
    #1d1318;
}
[data-theme="dark"] .bullets li::before {
  box-shadow: 0 0 0 4px rgba(214, 51, 108, .22);
}
[data-theme="dark"] .encomendas__card {
  background: linear-gradient(180deg, #2e2026 0%, #261a20 100%);
  border-left-color: var(--rosa-pink);
  border-top: 1px solid rgba(232, 122, 154, .08);
  border-right: 1px solid rgba(232, 122, 154, .08);
  border-bottom: 1px solid rgba(232, 122, 154, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .encomendas__card::before {
  background: linear-gradient(135deg, rgba(214, 51, 108, .12), transparent 70%);
}
[data-theme="dark"] .encomendas__card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}

/* DEPOIMENTOS — gradiente sumia (rosa-claro→branco viram tons quase iguais) */
[data-theme="dark"] .depoimentos {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(214, 51, 108, .1) 0%, transparent 55%),
    linear-gradient(180deg, #1d1318 0%, #1a1216 100%);
}
[data-theme="dark"] .testimonial {
  background: linear-gradient(180deg, #2e2026 0%, #261a20 100%);
  border-color: rgba(232, 122, 154, .12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
[data-theme="dark"] .testimonial:hover {
  border-color: rgba(232, 122, 154, .3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
}
[data-theme="dark"] .testimonial::before { color: var(--rosa-pink); opacity: .35; }
[data-theme="dark"] .testimonial:hover::before { opacity: .6; }
[data-theme="dark"] .testimonial figcaption { border-top-color: rgba(232, 122, 154, .12); }
[data-theme="dark"] .testimonial__stars { color: #e2b878; }

/* CONTATO — form e inputs precisam destacar */
[data-theme="dark"] .contato { background: #1a1216; }
[data-theme="dark"] .contato__list li { border-bottom-color: rgba(232, 122, 154, .1); }
[data-theme="dark"] .contato__form {
  background: linear-gradient(160deg, #2a1d22 0%, #211519 100%);
  border-color: rgba(232, 122, 154, .18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
[data-theme="dark"] .contato__form::before {
  background: radial-gradient(circle, rgba(214, 51, 108, .25), transparent 70%);
}
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea {
  background: rgba(0, 0, 0, .25);
  color: var(--text-strong);
  border-color: rgba(232, 122, 154, .15);
}
[data-theme="dark"] .field input::placeholder,
[data-theme="dark"] .field textarea::placeholder { color: #7a6066; }
[data-theme="dark"] .field input:hover,
[data-theme="dark"] .field select:hover,
[data-theme="dark"] .field textarea:hover { border-color: var(--rosa-pink); }
[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field select:focus,
[data-theme="dark"] .field textarea:focus {
  border-color: var(--rosa-vivo);
  box-shadow: 0 0 0 4px rgba(214, 51, 108, .22);
}

/* CART DRAWER — itens precisam descolar do painel */
[data-theme="dark"] .cart__overlay { background: rgba(0, 0, 0, .65); }
[data-theme="dark"] .cart__head { border-bottom-color: rgba(232, 122, 154, .12); }
[data-theme="dark"] .cart-item {
  background: linear-gradient(180deg, #2e2026 0%, #261a20 100%);
  border-color: rgba(232, 122, 154, .12);
}
[data-theme="dark"] .cart-item:hover { border-color: rgba(232, 122, 154, .3); }
[data-theme="dark"] .cart-item__qty { background: rgba(232, 122, 154, .1); }
[data-theme="dark"] .cart-item__qty button { background: #3a2429; }
[data-theme="dark"] .cart__foot {
  background: #211519;
  border-top-color: rgba(232, 122, 154, .12);
}

/* HEADER ações — botões circulares precisam ser mais visíveis */
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .cart-btn { background: rgba(232, 122, 154, .12); }
[data-theme="dark"] .cart-btn__count { border-color: #1a1216; }

/* LOADER — fundo já é dark via token, mas a borda do logo some */
[data-theme="dark"] .loader__logo { border-color: rgba(232, 122, 154, .35); }

/* SCROLLBAR — no dark fica trilho preto com thumb quase invisível */
[data-theme="dark"] ::-webkit-scrollbar-track { background: #1a1216; }
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #4a2c33; border-color: #1a1216;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: var(--rosa-deep); }

/* SCROLL PROGRESS — sombra precisa ser mais forte no escuro */
[data-theme="dark"] .scroll-progress { box-shadow: 0 0 14px rgba(214, 51, 108, .6); }

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--cinza-700);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img { max-width: 100%; display: block; }
a {
  color: inherit; text-decoration: none;
  transition: color var(--t-fast), opacity var(--t-fast);
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--text-strong);
  margin: 0;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}

::selection { background: var(--rosa-medio); color: var(--text-strong); }

/* Quebra segura de palavras longas e toque limpo no mobile */
h1, h2, h3, h4, p, a, li, span, blockquote, label,
.product__name, .hero__title, .section__title { overflow-wrap: break-word; }
a, button, .btn, input, select, textarea { -webkit-tap-highlight-color: transparent; }

/* Scrollbar refinado */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--creme); }
::-webkit-scrollbar-thumb { background: var(--rosa-suave); border-radius: 999px; border: 2px solid var(--creme); }
::-webkit-scrollbar-thumb:hover { background: var(--rosa-medio); }

/* Focus ring acessível */
:focus-visible {
  outline: 2.5px solid var(--rosa-vivo);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: min(100% - var(--gutter-x) * 2, var(--max)); margin-inline: auto; }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--creme);
  display: grid; place-items: center;
  transition: opacity .6s ease, visibility .6s ease;
}
body.is-loaded .loader { opacity: 0; visibility: hidden; }
.loader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: loader-fade .8s var(--ease);
}
.loader__logo {
  width: 80px; height: 80px; border-radius: 50%;
  border: 2px solid var(--rosa-suave);
  box-shadow: var(--sombra-md);
  animation: loader-spin 1.6s var(--ease-soft) infinite;
}
.loader__text {
  font-family: var(--f-script);
  font-size: 1.4rem;
  color: var(--rosa-vivo);
  letter-spacing: .02em;
}
@keyframes loader-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loader-spin {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.08) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}
body.is-loading { overflow: hidden; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--rosa-pink), var(--rosa-vivo), var(--gold));
  z-index: 999;
  transition: width .1s linear;
  box-shadow: 0 0 10px rgba(214, 51, 108, .4);
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 247, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), padding var(--t-fast);
}
.header.is-scrolled {
  background: rgba(255, 250, 247, .95);
  border-color: var(--cinza-100);
  box-shadow: var(--sombra-sm);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .9rem 0;
  transition: padding var(--t-fast);
}
.header.is-scrolled .header__inner { padding: .65rem 0; }

.brand { display: flex; align-items: center; gap: .85rem; transition: transform var(--t-fast); }
.brand:hover { transform: translateY(-1px); }
.brand__logo {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; box-shadow: var(--sombra-sm);
  border: 2px solid var(--rosa-suave);
  transition: transform var(--t-med), border-color var(--t-fast);
}
.brand:hover .brand__logo {
  transform: rotate(-8deg) scale(1.05);
  border-color: var(--rosa-pink);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display); font-size: 1.18rem;
  font-weight: 700; color: var(--text-strong); letter-spacing: -.01em;
}
.brand__tag {
  font-family: var(--f-script); font-size: 1.05rem;
  color: var(--rosa-vivo); margin-top: 2px;
}

.nav { display: flex; gap: 2.2rem; }
.nav__link {
  position: relative;
  font-size: .92rem; font-weight: 500;
  color: var(--cinza-700);
  padding: .25rem 0;
  transition: color var(--t-fast);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--rosa-pink), var(--rosa-vivo));
  border-radius: 2px;
  transition: width var(--t-med);
}
.nav__link:hover { color: var(--rosa-vivo); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active { color: var(--rosa-vivo); }
.nav__link.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: .5rem; }

.theme-toggle {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rosa-claro);
  color: var(--text-strong);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.theme-toggle:hover {
  background: var(--rosa-vivo); color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sombra-pink);
}
.theme-toggle svg {
  position: absolute;
  transition: transform .45s var(--ease), opacity .35s var(--ease);
}
.theme-toggle__sun { transform: rotate(0) scale(1); opacity: 1; }
.theme-toggle__moon { transform: rotate(-90deg) scale(0); opacity: 0; }
[data-theme="dark"] .theme-toggle__sun  { transform: rotate(90deg) scale(0); opacity: 0; }
[data-theme="dark"] .theme-toggle__moon { transform: rotate(0) scale(1); opacity: 1; }

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--rosa-claro);
  color: var(--text-strong);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.cart-btn:hover {
  background: var(--rosa-vivo); color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sombra-pink);
}
.cart-btn__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px;
  background: var(--rosa-vivo); color: #fff;
  font-size: .72rem; font-weight: 600;
  display: grid; place-items: center;
  border: 2px solid var(--creme);
  transition: transform var(--t-fast);
}
.cart-btn__count.is-bumped { animation: count-pop .45s var(--ease); }
@keyframes count-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.menu-btn {
  display: none; width: 40px; height: 40px;
  flex-direction: column; gap: 5px; padding: 10px;
  border-radius: 50%;
  transition: background var(--t-fast);
}
.menu-btn:hover { background: var(--rosa-claro); }
.menu-btn span {
  display: block; height: 2px; background: var(--text-strong); border-radius: 2px;
  transition: all var(--t-fast); transform-origin: center;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-script);
  font-size: 1.35rem; color: var(--rosa-vivo);
  margin-bottom: .75rem;
  letter-spacing: .01em;
}
.eyebrow__line {
  display: inline-block; width: 28px; height: 1.5px;
  background: var(--rosa-vivo); border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(2.75rem, 6vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--rosa-claro) 0%, var(--creme) 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  animation: float 20s ease-in-out infinite;
}
.blob--1 { width: 380px; height: 380px; background: var(--rosa-medio); top: -100px; left: -80px; }
.blob--2 { width: 460px; height: 460px; background: var(--rosa-suave); bottom: -140px; right: -120px; animation-delay: -7s; }
.blob--3 { width: 280px; height: 280px; background: #ffe9c2; top: 35%; right: 28%; animation-delay: -13s; opacity: .35; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -50px) scale(1.06); }
  66%      { transform: translate(-25px, 35px) scale(.94); }
}

.hero__sparkles { position: absolute; inset: 0; }
.hero__sparkles span {
  position: absolute; width: 6px; height: 6px;
  background: var(--rosa-vivo); border-radius: 50%;
  opacity: 0;
  animation: sparkle 4.5s var(--ease) infinite;
  box-shadow: 0 0 12px rgba(214, 51, 108, .6);
}
.hero__sparkles span:nth-child(1) { top: 22%; left: 12%;  animation-delay: 0s; }
.hero__sparkles span:nth-child(2) { top: 65%; left: 8%;   animation-delay: .8s; }
.hero__sparkles span:nth-child(3) { top: 35%; left: 48%;  animation-delay: 1.6s; width: 4px; height: 4px; }
.hero__sparkles span:nth-child(4) { top: 15%; right: 30%; animation-delay: 2.4s; }
.hero__sparkles span:nth-child(5) { top: 75%; right: 12%; animation-delay: 3.2s; width: 5px; height: 5px; }
.hero__sparkles span:nth-child(6) { top: 50%; right: 5%;  animation-delay: 1.2s; width: 4px; height: 4px; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50%      { opacity: .9; transform: scale(1); }
}

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr;
  align-items: center; gap: clamp(2.25rem, 5vw, 3.5rem);
  min-height: 70vh; min-height: 70dvh;
}

.hero__content > * {
  opacity: 0;
  animation: hero-rise .9s var(--ease) forwards;
}
.hero__content .eyebrow      { animation-delay: .15s; }
.hero__content .hero__title  { animation-delay: .3s; }
.hero__content .hero__lead   { animation-delay: .45s; }
.hero__content .hero__cta    { animation-delay: .6s; }
.hero__content .hero__chips  { animation-delay: .75s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-size: clamp(2.6rem, 5.8vw, 4.4rem);
  letter-spacing: -.025em;
  margin: 0 0 1.4rem;
  line-height: 1.08;
}
.hero__title em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--rosa-vivo);
  font-weight: 700;
  font-size: 1.05em;
}
.hero__title .accent {
  color: var(--rosa-vivo);
  position: relative;
  display: inline-block;
}
.hero__title .accent::after {
  content: ''; position: absolute; left: -4%; right: -4%; bottom: .08em;
  height: .28em;
  background: linear-gradient(90deg, transparent, var(--rosa-suave) 20%, var(--rosa-medio) 80%, transparent);
  z-index: -1; border-radius: 6px;
  transform: scaleX(0); transform-origin: left;
  animation: underline-grow 1.2s var(--ease) 1.1s forwards;
}
@keyframes underline-grow {
  to { transform: scaleX(1); }
}

.hero__lead {
  max-width: 540px;
  font-size: 1.08rem;
  color: var(--cinza-700);
  margin: 0 0 2.2rem;
  line-height: 1.75;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.8rem; }

.hero__chips { display: flex; gap: .6rem; flex-wrap: wrap; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--choco-soft); font-weight: 500;
  padding: .5rem 1rem;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--rosa-suave);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition: all var(--t-fast);
}
.hero__chips li:hover {
  background: var(--branco);
  border-color: var(--rosa-pink);
  transform: translateY(-2px);
  box-shadow: var(--sombra-xs);
}
.hero__chips .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rosa-vivo);
  box-shadow: 0 0 8px rgba(214, 51, 108, .5);
}

.hero__image {
  position: relative;
  opacity: 0;
  animation: hero-rise 1s var(--ease) .4s forwards;
}
.hero__image-frame {
  position: relative;
  width: 100%; max-width: 520px; margin-inline: auto;
  aspect-ratio: 4/5;
  background: radial-gradient(circle at 50% 60%, var(--rosa-suave) 0%, var(--rosa-medio) 55%, transparent 75%);
  border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
  display: grid; place-items: end center;
  animation: bob 7s ease-in-out infinite;
  transition: transform .3s var(--ease-soft);
  will-change: transform;
}
.hero__image-frame img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 40px rgba(214, 51, 108, .28));
  transition: transform .3s var(--ease-soft);
  will-change: transform;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.floating-card {
  position: absolute;
  background: var(--branco); padding: .9rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--sombra-md);
  display: flex; flex-direction: column; line-height: 1.2;
  animation: bob 8s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, .8);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.floating-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: var(--sombra-lg);
}
.floating-card strong {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--rosa-vivo);
  font-weight: 700;
}
.floating-card span {
  font-size: .78rem;
  color: var(--cinza-500);
  margin-top: 2px;
}
.floating-card--1 { top: 10%;   left: -20px;  animation-delay: -1s; }
.floating-card--2 { bottom: 18%; right: -15px; animation-delay: -3s; }
.floating-card--3 { top: 52%;   right: -30px; animation-delay: -5s; }

.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  color: var(--cinza-500);
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  opacity: 0; animation: hero-rise 1s var(--ease) 1.2s forwards;
}
.hero__scroll span {
  width: 22px; height: 36px;
  border: 1.5px solid var(--cinza-500);
  border-radius: 12px;
  position: relative;
}
.hero__scroll span::before {
  content: ''; position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--rosa-vivo);
  border-radius: 2px;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0%   { transform: translate(-50%, 0); opacity: 1; }
  60%  { transform: translate(-50%, 14px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}
.hero__scroll:hover { color: var(--rosa-vivo); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--choco);
  color: var(--rosa-medio);
  padding: 1.1rem 0;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .04);
}
.marquee__track {
  display: flex; gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display);
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.marquee__track span:nth-child(even) {
  color: var(--rosa-pink);
  font-family: var(--f-script);
  font-size: 1.3rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ BUTTONS ============ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: 1rem 1.9rem;
  font-weight: 500; font-size: .95rem;
  border-radius: 999px;
  transition: all var(--t-fast);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn svg { transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--rosa-vivo) 0%, var(--rosa-deep) 100%);
  color: #fff;
  box-shadow: var(--sombra-pink);
}
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--choco) 0%, var(--choco-soft) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: -1;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(74, 36, 24, .28);
}
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: transparent; color: var(--text-strong);
  border: 1.5px solid var(--text-strong);
}
.btn--ghost::before {
  content: ''; position: absolute; inset: 0;
  background: var(--choco);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med);
  z-index: -1;
}
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }

.btn--block { width: 100%; }

/* ============ SECTIONS ============ */
.section { padding: clamp(3.75rem, 8vw, 7rem) 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__head .eyebrow { justify-content: center; }
.section__title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  letter-spacing: -.02em;
  margin: .25rem 0 1rem;
  line-height: 1.15;
}
.section__title em {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--rosa-vivo);
  font-weight: 700;
  font-size: 1.05em;
}
.section__sub {
  color: var(--cinza-500);
  font-size: 1.04rem;
  margin: 0;
  line-height: 1.7;
}

.lead { font-size: 1.08rem; color: var(--cinza-700); }

/* ============ SOBRE ============ */
.sobre { background: var(--branco); }
.sobre__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem; align-items: center;
}
.sobre__media {
  position: relative;
  aspect-ratio: 4/5;
}
.sobre__media-inner {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-medio));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
  transform: rotate(-2deg);
  transition: transform var(--t-med);
}
.sobre__media:hover .sobre__media-inner { transform: rotate(0deg); }
.sobre__media-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .35), transparent 60%);
  pointer-events: none;
}
.sobre__media-inner img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 2rem 1rem 0;
}
.sobre__seal {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: var(--choco); color: #fffaf7;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--f-display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: var(--sombra-md);
  animation: seal-spin 22s linear infinite;
  border: 4px solid var(--creme);
}
.sobre__seal strong {
  display: block;
  font-family: var(--f-script);
  font-size: 1.6rem;
  color: var(--rosa-pink);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}
@keyframes seal-spin {
  to { transform: rotate(360deg); }
}

.sobre__content p { margin: 0 0 1.1rem; }
.sobre__content p strong { color: var(--text-strong); font-weight: 600; }

.features {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-top: 2.2rem;
}
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: 1.15rem;
  padding: 1.3rem 1.5rem;
  background: var(--rosa-claro);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--t-med);
  align-items: start;
}
.feature:hover {
  background: var(--branco);
  border-color: var(--rosa-suave);
  transform: translateX(6px);
  box-shadow: var(--sombra-sm);
}
.feature__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-vivo), var(--rosa-deep));
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.25rem;
  box-shadow: var(--sombra-pink);
  transition: transform var(--t-fast);
}
.feature:hover .feature__icon { transform: rotate(-12deg) scale(1.08); }
.feature h3 { font-size: 1.08rem; margin: 0 0 .25rem; }
.feature p  { margin: 0; font-size: .92rem; color: var(--cinza-500); line-height: 1.6; }

/* ============ PRODUTOS ============ */
.produtos {
  background: var(--rosa-claro);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(247, 198, 211, .4) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(253, 238, 242, .6) 0%, transparent 40%);
}
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  margin-bottom: 3.5rem;
}
.filter {
  position: relative;
  padding: .7rem 1.5rem;
  font-size: .88rem; font-weight: 500;
  border-radius: 999px;
  background: var(--rosa-suave); color: var(--text-strong);
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
}
.filter:hover {
  background: var(--rosa-medio);
  border-color: var(--rosa-pink);
  color: var(--text-strong);
  transform: translateY(-2px);
}
.filter.is-active {
  background: var(--choco); color: #fff;
  border-color: var(--text-strong);
  box-shadow: 0 8px 20px rgba(74, 36, 24, .2);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.85rem;
}

.product {
  background: var(--branco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex; flex-direction: column;
  position: relative;
  isolation: isolate;
}
.product::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(214, 51, 108, .04) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
  z-index: 1;
}
.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-xl);
}
.product:hover::before { opacity: 1; }

.product__media {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa-medio));
  display: grid; place-items: center;
  font-size: 5rem; color: var(--text-strong);
  position: relative; overflow: hidden;
  transition: background var(--t-med);
}
.product__media > span {
  transition: transform var(--t-med);
  filter: drop-shadow(0 8px 16px rgba(74, 36, 24, .15));
}
.product:hover .product__media > span {
  transform: scale(1.18) rotate(-6deg);
}
.product__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.15), transparent 50%);
  pointer-events: none;
}
.product__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-med);
  z-index: 1;
  cursor: zoom-in;
}
.product__photo:focus-visible {
  outline: 3px solid var(--rosa-forte, var(--text-strong));
  outline-offset: -3px;
}
.product:hover .product__photo {
  transform: scale(1.06);
}
.product__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--choco); color: #fff;
  font-size: .68rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 999px;
  letter-spacing: .12em; text-transform: uppercase;
  z-index: 2;
  box-shadow: var(--sombra-sm);
}
.product__body {
  padding: 1.5rem 1.6rem 1.6rem;
  flex: 1;
  display: flex; flex-direction: column;
  position: relative;
  z-index: 2;
}
.product__cat {
  font-size: .68rem; color: var(--rosa-vivo); font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
}
.product__name {
  font-size: 1.22rem;
  margin: .35rem 0 .55rem;
  line-height: 1.25;
}
.product__desc {
  font-size: .88rem;
  color: var(--cinza-500);
  margin: 0 0 1.4rem;
  flex: 1;
  line-height: 1.6;
}
.product__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cinza-100);
}
.product__price {
  font-family: var(--f-display);
  font-size: 1.45rem;
  color: var(--text-strong);
  font-weight: 600;
}
.product__add {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .65rem 1.15rem;
  background: var(--rosa-claro);
  color: var(--text-strong);
  border-radius: 999px;
  font-size: .85rem; font-weight: 500;
  transition: all var(--t-fast);
  border: 1.5px solid transparent;
}
.product__add:hover {
  background: var(--rosa-vivo); color: #fff;
  transform: scale(1.06);
  box-shadow: var(--sombra-pink);
}
.product__add:active { transform: scale(.98); }
.product__add:disabled {
  opacity: .5; cursor: not-allowed;
  background: var(--surface-2); color: var(--text-muted);
  transform: none; box-shadow: none;
}
.product.is-hidden { display: none; }

/* ===== Montador de buquê (bolinhas de sabor) ===== */
.builder {
  display: flex; flex-direction: column; gap: .65rem;
  margin: 0 0 1.1rem;
  padding: .9rem 1rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.builder__label {
  font-size: .82rem; font-weight: 600; color: var(--text-strong);
}
.builder__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--cinza-300); border-radius: 999px;
  background: var(--surface); overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.chip:hover { border-color: var(--chip); transform: translateY(-1px); }
.chip.is-active { border-color: var(--chip); box-shadow: inset 0 0 0 1.5px var(--chip); }
.chip__body {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .55rem;
  font-family: var(--f-body);
  font-size: .78rem; font-weight: 600; color: var(--text);
}
.chip__dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--chip); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
  flex: 0 0 auto;
}
.chip__count {
  min-width: 18px; height: 18px; padding: 0 .3rem;
  border-radius: 999px; background: var(--choco); color: #fff;
  font-size: .66rem; font-weight: 800;
  display: inline-grid; place-items: center;
}
.chip__minus,
.chip__add {
  width: 28px; align-self: stretch;
  border: none;
  background: var(--surface-2); color: var(--text-strong);
  font-size: 1.15rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--t-fast);
}
.chip__minus { border-right: 1px solid var(--cinza-300); }
.chip__add { border-left: 1px solid var(--cinza-300); }
.chip__minus:hover,
.chip__add:hover { background: var(--rosa-suave); }
.builder__counter { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.cart-item__flavors {
  font-size: .74rem; color: var(--rosa-vivo); font-weight: 600;
  margin: .15rem 0;
}

/* ===== Modal de sabores ===== */
.fmodal {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center; padding: 1rem;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.fmodal[aria-hidden="false"] { visibility: visible; opacity: 1; }
.fmodal__overlay {
  position: absolute; inset: 0;
  background: rgba(40, 20, 14, .55); backdrop-filter: blur(3px);
}
.fmodal__panel {
  position: relative; z-index: 1;
  width: min(440px, 100%); max-height: 90vh; max-height: 90dvh; overflow-y: auto;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--sombra-xl);
  display: flex; flex-direction: column;
  transform: translateY(18px) scale(.97);
  transition: transform .38s var(--ease);
}
.fmodal[aria-hidden="false"] .fmodal__panel { transform: none; }
.fmodal__close {
  position: absolute; top: .8rem; right: .9rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .9); color: var(--choco);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--sombra-sm);
  transition: transform var(--t-fast);
}
.fmodal__close:hover { transform: rotate(90deg); }
.fmodal__media {
  aspect-ratio: 1 / 1; max-height: 46vh; overflow: hidden; flex: 0 0 auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa-medio));
  display: grid; place-items: center; font-size: 4.5rem;
}
.fmodal__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fmodal__body { padding: 1.4rem 1.5rem .4rem; }
.fmodal__title { font-size: 1.45rem; margin: 0 0 .15rem; }
.fmodal__price {
  font-family: var(--f-display); font-size: 1.3rem;
  color: var(--text-strong); font-weight: 600; margin: 0 0 1.1rem;
}
.fmodal__foot { padding: .6rem 1.5rem 1.5rem; }
.fmodal__add { width: 100%; justify-content: center; }
.fmodal__add:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
/* dentro do modal o montador não precisa do box próprio */
.fmodal .builder { background: none; border: none; padding: 0; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1300;
  display: grid; place-items: center; padding: 1.5rem;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox[aria-hidden="false"] { visibility: visible; opacity: 1; }
.lightbox__overlay {
  position: absolute; inset: 0; cursor: zoom-out;
  background: rgba(40, 20, 14, .8); backdrop-filter: blur(4px);
}
.lightbox__panel {
  position: relative; z-index: 1;
  max-width: min(640px, 92vw); max-height: 88vh; max-height: 88dvh;
  transform: scale(.94); transition: transform .38s var(--ease);
}
.lightbox[aria-hidden="false"] .lightbox__panel { transform: none; }
.lightbox__img {
  display: block; max-width: 100%; max-height: 88vh; max-height: 88dvh;
  object-fit: contain; border-radius: var(--radius-lg);
  box-shadow: var(--sombra-xl);
}
.lightbox__close {
  position: absolute; top: -.6rem; right: -.6rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .95); color: var(--choco);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--sombra-sm);
  transition: transform var(--t-fast);
}
.lightbox__close:hover { transform: rotate(90deg); }

.produtos__note {
  text-align: center;
  margin-top: 3.5rem;
  font-size: .95rem;
  color: var(--cinza-500);
}
.produtos__note a {
  color: var(--rosa-vivo); font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  transition: color var(--t-fast);
}
.produtos__note a:hover { color: var(--text-strong); }

/* ============ PROCESSO ============ */
.processo { background: var(--branco); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2.5rem 1.8rem 2rem;
  background: var(--creme-warm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cinza-100);
  transition: all var(--t-med);
}
.step:hover {
  background: var(--branco);
  border-color: var(--rosa-suave);
  transform: translateY(-6px);
  box-shadow: var(--sombra-md);
}
.step:hover .step__num {
  color: var(--rosa-vivo);
  -webkit-text-stroke-color: var(--rosa-vivo);
}
.step__num {
  display: block;
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rosa-medio);
  transition: all var(--t-med);
}
.step h3 { font-size: 1.2rem; margin: 0 0 .55rem; }
.step p {
  margin: 0; font-size: .92rem;
  color: var(--cinza-500); line-height: 1.65;
}

/* ============ ENCOMENDAS ============ */
.encomendas { background: var(--rosa-claro); }
.encomendas__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4.5rem; align-items: center;
}
.encomendas__content > p { margin: 0 0 1.1rem; }
.bullets {
  margin: 1.6rem 0 2.2rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.bullets li {
  position: relative;
  padding-left: 2rem;
  font-size: .98rem;
}
.bullets li strong { color: var(--text-strong); font-weight: 600; }
.bullets li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--rosa-vivo);
  box-shadow: 0 0 0 4px rgba(214, 51, 108, .12);
}
.bullets li::after {
  content: ''; position: absolute; left: 5px; top: .85em;
  width: 6px; height: 3px;
  border: solid #fff;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
}

.encomendas__media { display: grid; gap: 1rem; }
.encomendas__card {
  position: relative;
  padding: 1.8rem 2rem;
  background: var(--branco);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--rosa-vivo);
  transition: all var(--t-med);
  overflow: hidden;
}
.encomendas__card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--rosa-claro), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.encomendas__card:hover {
  transform: translateX(8px);
  box-shadow: var(--sombra-md);
  border-left-width: 6px;
}
.encomendas__card:hover::before { opacity: 1; }
.encomendas__card > * { position: relative; z-index: 1; }
.encomendas__card-num {
  display: block;
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--rosa-vivo);
  margin-bottom: .25rem;
}
.encomendas__card h3 { font-size: 1.18rem; margin: 0 0 .5rem; }
.encomendas__card p  { margin: 0; font-size: .92rem; color: var(--cinza-500); line-height: 1.65; }

/* ============ DEPOIMENTOS ============ */
.depoimentos {
  background: linear-gradient(180deg, var(--rosa-claro) 0%, var(--branco) 100%);
}
.testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  margin: 0;
  background: var(--branco);
  padding: 2.3rem 2rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra-sm);
  position: relative;
  transition: all var(--t-med);
  border: 1px solid var(--cinza-100);
}
.testimonial::before {
  content: '"';
  position: absolute; top: -20px; left: 24px;
  font-family: var(--f-display);
  font-size: 6rem; color: var(--rosa-vivo);
  line-height: 1; opacity: .3;
  transition: opacity var(--t-med), transform var(--t-med);
}
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-md);
  border-color: var(--rosa-suave);
}
.testimonial:hover::before { opacity: .55; transform: translateY(-4px); }
.testimonial__stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: .15em;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  margin: 0 0 1.4rem;
  font-size: .98rem;
  color: var(--cinza-700);
  font-style: italic;
  line-height: 1.7;
}
.testimonial figcaption {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--cinza-100);
  padding-top: 1rem;
}
.testimonial figcaption strong {
  color: var(--text-strong);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
}
.testimonial figcaption span {
  font-size: .8rem;
  color: var(--cinza-500);
  margin-top: 2px;
}

/* ============ CONTATO ============ */
.contato { background: var(--branco); }
.contato__grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem; align-items: start;
}
.contato__info > p { margin: 0 0 .5rem; }
.contato__list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contato__list li {
  display: grid; grid-template-columns: 130px 1fr; gap: 1rem; align-items: center;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--cinza-100);
}
.contato__list li:last-child { border-bottom: 0; }
.contato__list strong {
  color: var(--rosa-vivo);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
}
.contato__list a {
  font-size: 1rem;
  color: var(--text-strong);
  font-weight: 500;
  transition: color var(--t-fast);
}
.contato__list a:hover { color: var(--rosa-vivo); }
.contato__list span {
  font-size: 1rem; color: var(--cinza-700);
}

.contato__form {
  background: linear-gradient(160deg, var(--rosa-claro) 0%, var(--creme-warm) 100%);
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  display: grid; gap: 1.15rem;
  border: 1px solid var(--rosa-suave);
  box-shadow: var(--sombra-sm);
  position: relative;
  overflow: hidden;
}
.contato__form::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--rosa-medio), transparent 70%);
  opacity: .5;
  border-radius: 50%;
  pointer-events: none;
}
.contato__form > * { position: relative; }
.contato__form-title {
  font-size: 1.4rem;
  margin: 0;
  color: var(--text-strong);
}
.contato__form-sub {
  margin: -.4rem 0 .6rem;
  font-size: .9rem;
  color: var(--cinza-500);
}

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  padding: .9rem 1.05rem;
  border: 1.5px solid transparent;
  background: var(--branco);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--cinza-700);
  transition: all var(--t-fast);
  box-shadow: var(--sombra-xs);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--cinza-300);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--rosa-suave);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rosa-vivo);
  box-shadow: 0 0 0 4px rgba(214, 51, 108, .14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form__note {
  margin: 0;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
}
.form__note.is-success { background: #e8f6e8; color: #2d6a31; border: 1px solid #b9e0bd; }
.form__note.is-error   { background: #fde2e7; color: #b1264e; border: 1px solid #f5b8c4; }

/* ============ FOOTER ============ */
.footer {
  background: var(--choco);
  color: #f4dfd5;
  padding: 5rem 0 1.8rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(214, 51, 108, .15), transparent 70%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}
.footer__brand img {
  width: 78px; height: 78px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid var(--rosa-suave);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
.footer__motto {
  max-width: 340px;
  opacity: .8;
  font-size: .94rem;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.footer__social {
  display: flex; gap: .6rem;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid; place-items: center;
  color: var(--rosa-medio);
  transition: all var(--t-fast);
}
.footer__social a:hover {
  background: var(--rosa-vivo);
  color: #fff;
  transform: translateY(-3px);
}

.footer__col h4 {
  color: #fff;
  font-size: .95rem;
  margin: 0 0 1.1rem;
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__col ul li {
  margin-bottom: .65rem;
  font-size: .92rem;
  opacity: .75;
  transition: opacity var(--t-fast);
}
.footer__col ul li a {
  position: relative;
  display: inline-block;
}
.footer__col ul li a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--rosa-medio);
  transition: width var(--t-fast);
}
.footer__col ul li a:hover {
  color: var(--rosa-medio);
  opacity: 1;
}
.footer__col ul li a:hover::after { width: 100%; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.8rem;
  flex-wrap: wrap; gap: .5rem;
  font-size: .82rem;
  opacity: .65;
}
.footer__bottom .heart {
  color: var(--rosa-pink);
  display: inline-block;
  animation: heart-beat 1.4s ease-in-out infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}

/* ============ CART DRAWER ============ */
.cart {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
}
.cart[aria-hidden="false"] { pointer-events: auto; }
.cart__overlay {
  position: absolute; inset: 0;
  background: rgba(74, 36, 24, .45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-med);
}
.cart[aria-hidden="false"] .cart__overlay { opacity: 1; }
.cart__panel {
  position: absolute; top: 0; right: 0;
  width: min(440px, 100%); height: 100%;
  background: var(--creme);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-med);
  box-shadow: var(--sombra-xl);
}
.cart[aria-hidden="false"] .cart__panel { transform: translateX(0); }

.cart__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.75rem 1.85rem 1.25rem;
  border-bottom: 1px solid var(--cinza-100);
}
.cart__head h3 {
  font-size: 1.4rem;
  margin: 0;
}
.cart__head-sub {
  margin: .25rem 0 0;
  font-size: .82rem;
  color: var(--cinza-500);
}
.cart__close {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--rosa-claro);
  color: var(--text-strong);
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.cart__close:hover {
  background: var(--rosa-vivo);
  color: #fff;
  transform: rotate(90deg);
}

.cart__items {
  flex: 1; overflow-y: auto;
  padding: 1.25rem 1.85rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cart-empty {
  text-align: center;
  color: var(--cinza-500);
  padding: 4rem 1rem;
  font-size: .95rem;
  line-height: 1.7;
}
.cart-empty span {
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: .7;
}
.cart-empty strong {
  display: block;
  font-family: var(--f-display);
  color: var(--text-strong);
  font-size: 1.15rem;
  margin-bottom: .35rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem; align-items: center;
  padding: 1rem;
  background: var(--branco);
  border-radius: var(--radius-md);
  border: 1px solid var(--cinza-100);
  transition: all var(--t-fast);
}
.cart-item:hover { border-color: var(--rosa-suave); box-shadow: var(--sombra-xs); }
.cart-item__media {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--rosa-suave), var(--rosa-medio));
  display: grid; place-items: center;
  font-size: 1.7rem;
}
.cart-item__name {
  font-weight: 500; color: var(--text-strong);
  font-size: .95rem; line-height: 1.3;
}
.cart-item__price {
  font-size: .8rem;
  color: var(--cinza-500);
  margin-top: 2px;
}
.cart-item__qty {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .5rem;
  background: var(--rosa-claro);
  border-radius: 999px;
  padding: 3px;
}
.cart-item__qty button {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--branco); color: var(--text-strong);
  font-size: .9rem; font-weight: 600;
  line-height: 1;
  display: grid; place-items: center;
  transition: all var(--t-fast);
}
.cart-item__qty button:hover { background: var(--rosa-vivo); color: #fff; }
.cart-item__qty span {
  font-weight: 600;
  min-width: 22px; text-align: center;
  font-size: .88rem;
}
.cart-item__remove {
  font-size: .75rem;
  color: var(--cinza-500);
  transition: color var(--t-fast);
  align-self: start;
}
.cart-item__remove:hover { color: var(--rosa-vivo); }

.cart__foot {
  padding: 1.5rem 1.85rem;
  border-top: 1px solid var(--cinza-100);
  background: var(--branco);
}
.cart__total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.1rem;
}
.cart__total-label {
  display: block;
  font-weight: 600;
  color: var(--text-strong);
  font-size: .95rem;
}
.cart__total small {
  font-size: .75rem;
  color: var(--cinza-500);
  display: block;
  margin-top: 2px;
}
.cart__total strong {
  font-family: var(--f-display);
  font-size: 1.7rem;
  color: var(--rosa-vivo);
  font-weight: 700;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 95px; right: 24px;
  z-index: 250;
  min-width: 240px; max-width: 320px;
  padding: .9rem 1.15rem;
  background: var(--choco);
  color: #fffaf7;
  border-radius: var(--radius-md);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--sombra-lg);
  display: flex; align-items: center; gap: .65rem;
  opacity: 0;
  transform: translateY(20px) scale(.95);
  pointer-events: none;
  transition: all var(--t-med);
  border-left: 3px solid var(--rosa-pink);
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.toast::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--rosa-vivo);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
  transition: transform var(--t-fast);
  animation: pulse 2.6s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(-5deg);
}
.whatsapp-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--choco);
  color: #fffaf7;
  padding: .5rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--t-fast);
  box-shadow: var(--sombra-md);
}
.whatsapp-float:hover .whatsapp-float__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .45); }
  50%      { box-shadow: 0 12px 28px rgba(37, 211, 102, .4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal--stagger.is-visible > * {
  opacity: 1; transform: translateY(0);
}
.reveal--stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal--stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal--stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal--stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
.reveal--stagger.is-visible > *:nth-child(5) { transition-delay: .45s; }
.reveal--stagger.is-visible > *:nth-child(6) { transition-delay: .55s; }

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav { gap: 1.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero__grid,
  .sobre__grid,
  .encomendas__grid,
  .contato__grid { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__media { max-width: 420px; margin: 0 auto; }
  .floating-card--3 { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255, 250, 247, .98);
    backdrop-filter: blur(14px);
    flex-direction: column; gap: 0;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cinza-100);
    box-shadow: var(--sombra-md);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: all var(--t-fast);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__link { padding: .95rem 0; border-bottom: 1px solid var(--cinza-100); }
  .nav__link:last-child { border-bottom: 0; }

  .hero { min-height: auto; }
  .hero__grid { min-height: auto; }
  .hero__scroll { display: none; }

  .floating-card--1 { left: 0; }
  .floating-card--2 { right: 0; }

  .steps { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__brand { grid-column: auto; }

  .contato__form { padding: 1.85rem 1.35rem; }
  .contato__list li { grid-template-columns: 1fr; gap: .25rem; padding-bottom: 1rem; }

  .cart__panel { width: 100%; }
  .cart__head, .cart__items, .cart__foot { padding-inline: 1.25rem; }

  .toast { right: 12px; bottom: 92px; left: 12px; max-width: none; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .whatsapp-float__tip { display: none; }
}

/* Mobile pequeno (≤ 540px) */
@media (max-width: 540px) {
  .header__inner { padding-block: .65rem; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1.05rem; }
  .header__actions { gap: .35rem; }
  .theme-toggle, .cart-btn { width: 40px; height: 40px; }

  .hero__title { font-size: clamp(2.1rem, 8vw, 2.8rem); line-height: 1.12; }
  .hero__lead { font-size: 1rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__chips { gap: .5rem .85rem; font-size: .82rem; }

  .section__title { font-size: clamp(1.7rem, 6vw, 2.3rem); }
  .section__sub { font-size: .98rem; }

  /* Filtros viram scroll horizontal pra não quebrar em duas linhas */
  .filters {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none;
    margin-inline: -1.1rem; padding-inline: 1.1rem;
    margin-bottom: 2.5rem;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; flex-shrink: 0; padding: .6rem 1.2rem; font-size: .85rem; }

  .products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
  .product__name { font-size: 1.05rem; }
}

/* Mobile muito pequeno (≤ 380px) */
@media (max-width: 380px) {
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: .98rem; }
  .theme-toggle, .cart-btn { width: 38px; height: 38px; }
  .menu-btn { width: 38px; height: 38px; padding: 8px; }

  .hero__title { font-size: 1.85rem; }
  .hero__chips li { font-size: .78rem; }

  .products { grid-template-columns: 1fr; }
  .product__media { aspect-ratio: 1.2/1; }
}

/* ============ AJUSTES FINOS PARA TODOS OS DISPOSITIVOS ============ */

/* Modal de sabores em celulares: evita que a foto domine a tela
   e garante rolagem confortável do conteúdo */
@media (max-width: 540px) {
  .fmodal__media  { max-height: 40vh; }
  .fmodal__body   { padding: 1.2rem 1.25rem .3rem; }
  .fmodal__foot   { padding: .5rem 1.25rem 1.25rem; }
  .fmodal__title  { font-size: 1.3rem; }
  .builder__chips { gap: .35rem; }
}

/* Orientação paisagem em celulares (altura baixa): compacta o hero
   e mantém modais/foto ampliada dentro da viewport, com rolagem */
@media (orientation: landscape) and (max-height: 500px) {
  .hero        { padding: 2.5rem 0 3rem; }
  .hero__grid  { min-height: auto; gap: 2rem; }
  .floating-card { display: none; }
  .fmodal        { padding: .5rem; align-items: start; }
  .fmodal__panel { max-height: 96vh; }
  .fmodal__media { max-height: 34vh; }
  .lightbox      { padding: .75rem; }
  .lightbox__img { max-height: 92vh; }
  .whatsapp-float { width: 50px; height: 50px; }
}

/* ============ ULTRA-WIDE (laptops grandes → monitores 4K/5K) ============
   Escala progressiva: a coluna de conteúdo ganha largura aos poucos e o
   corpo de texto cresce em telas enormes, sem nunca perder o centro. */

/* Laptops/monitores grandes (~1440px+) */
@media (min-width: 1440px) {
  :root { --max: 1320px; }
}

/* Monitores full-HD widescreen */
@media (min-width: 1680px) {
  :root { --max: 1400px; }
  .hero__grid { gap: 4rem; }
}

/* QHD / ultrawide 1440p */
@media (min-width: 1920px) {
  :root { --max: 1500px; }
  body { font-size: 17px; }
  .products { gap: 2.25rem; }
}

/* 4K / 5K — limita a leitura e amplia tipografia/respiros */
@media (min-width: 2560px) {
  :root { --max: 1640px; }
  body { font-size: 18px; }
  .hero__grid { gap: 5rem; }
}
