/* ==========================================================================
   styles.css  —  VISUAL DO SITE
   >>> Para mudar a identidade visual, altere apenas as variáveis em :root. <<<
   ========================================================================== */
:root {
  /* Paleta lavanda */
  --lavender:        #A78BFA;   /* lavanda principal */
  --lavender-soft:   #DDD1FD;   /* lavanda suave (faixas, selos) */
  --purple:          #6D28D9;   /* roxo de destaque (botões, links) */
  --purple-dark:     #5B21B6;   /* roxo para hover */
  --lilac-light:     #F5F0FF;   /* lilás muito claro (faixas secundárias) */
  --page-bg:         #E8DFFB;   /* FUNDO PRINCIPAL do site (lavanda suave) */
  --white:           #FFFFFF;

  /* Textos, bordas e neutros */
  --text:            #30243D;
  --text-2:          #5F5470;
  --border:          #E4DAF5;
  --ink:             #2A1F38;   /* rodapé / faixas escuras */

  /* Destaque do frete (contrasta com o fundo lavanda) */
  --promo-bg:        #FFF1C9;
  --promo-border:    #E3A008;
  --promo-text:      #6B3A00;

  /* Cores funcionais */
  --whatsapp:        #0F7A3D;   /* verde da marca WhatsApp (contraste AA com texto branco) */
  --whatsapp-hover:  #0B6632;

  /* Tipografia, raios e sombras */
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-title:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 6px 22px rgba(109, 40, 217, .08);
  --shadow-hover: 0 14px 34px rgba(109, 40, 217, .18);
  --maxw:         1180px;
  --gap:          16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── BOTÕES ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 14px/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); box-shadow: 0 6px 16px rgba(109,40,217,.28); }
.btn-outline { background: var(--white); color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--lilac-light); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn svg { flex-shrink: 0; }

/* ── CABEÇALHO COMPACTO ── */
.topbar { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font: 600 24px/1 var(--font-title); color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--purple); font-style: italic; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a:not(.btn) {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px;
}
.topnav a:not(.btn):hover { color: var(--purple); background: var(--lilac-light); }
.topnav .btn { min-height: 40px; padding: 8px 16px; }

/* ── APRESENTAÇÃO COMPACTA ── */
.intro { background: linear-gradient(100deg, var(--lavender) 0%, #C4B1FC 60%, var(--lavender-soft) 100%); color: var(--text); }
.intro .wrap { display: flex; align-items: center; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.avatar {
  --size: 92px;
  position: relative; flex: 0 0 var(--size); width: var(--size); height: var(--size);
  border-radius: 50%; overflow: hidden; border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(42, 31, 56, .22); display: block;
}
/* Recorte apenas por CSS (rosto e blusa); o arquivo da foto não é alterado e nenhuma cor é filtrada. */
.avatar img { position: absolute; left: -78%; top: -93%; width: 260%; height: 260%; max-width: none; }
.intro-text { flex: 1; min-width: 0; }
.intro-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: .85; }
.intro h1 { font: 600 clamp(26px, 3.2vw, 34px)/1.05 var(--font-title); color: var(--ink); margin: 2px 0 4px; }
.intro p { font-size: 14px; max-width: 720px; color: var(--ink); }
.intro-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* ── VITRINE ── */
.showcase { padding: 16px 0 36px; }
.showcase-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 12px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.section-title { font: 600 clamp(24px, 3vw, 32px)/1.15 var(--font-title); color: var(--text); }
.section-title em { color: var(--purple); font-style: italic; }
.shipping-note {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--promo-bg); border: 1.5px solid var(--promo-border); color: var(--promo-text);
  font-size: 14px; font-weight: 700; letter-spacing: .01em; text-align: center;
  animation: shipping-blink 2.6s ease-in-out infinite;
}
/* Pisca suave: só a opacidade, nunca abaixo de 80% (contraste mínimo 5:1, sempre legível) */
@keyframes shipping-blink { 0%, 100% { opacity: 1; } 50% { opacity: .8; } }
.showcase-hint { margin-top: 18px; text-align: center; font-size: 13px; color: var(--text-2); }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --gap: 12px; } }
@media (max-width: 339px)  { .grid { grid-template-columns: minmax(0, 1fr); } }
.grid-empty { grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--text-2); background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius); }

/* ── CARD DE PRODUTO ── */
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-media {
  position: relative; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 40%, var(--white) 0%, var(--lilac-light) 55%, var(--lavender-soft) 100%);
}
.card-emoji { font-size: 52px; line-height: 1; }
.card-media.has-image .card-emoji { display: none; }
/* A imagem é posicionada dentro da área fixa (não influencia a altura do card) e centralizada */
.card-media { overflow: hidden; }
.card-media img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.card-badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px;
  background: var(--white); color: var(--purple-dark); border: 1px solid var(--border);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 12px; gap: 6px; }
.card-name {
  font: 600 21px/1.15 var(--font-title); color: var(--text);
  min-height: 2.3em; /* reserva 2 linhas: nomes longos não desalinham */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-desc {
  font-size: 13px; line-height: 1.5; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 4.5em; /* reserva 3 linhas: área de descrição com altura fixa */
}
.card-desc.is-open { display: block; -webkit-line-clamp: unset; min-height: 0; overflow: visible; }
.card-more-desc { align-self: flex-start; background: none; border: 0; padding: 0 0 2px; min-height: 24px; font: 600 12px var(--font-body); color: var(--purple); cursor: pointer; text-decoration: underline; }
.card-more-desc[hidden] { display: block; visibility: hidden; } /* mantém o espaço: preços e botões alinhados */
.card-price { font-size: 13px; font-weight: 600; color: var(--purple-dark); min-height: 1.5em; }
.card-actions { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.card-actions .btn { width: 100%; font-size: 13px; }
.card-more {
  display: flex; align-items: center; justify-content: center; min-height: 44px;
  font-size: 13px; font-weight: 600; color: var(--purple); text-decoration: none; border-radius: var(--radius-sm);
}
.card-more::after { content: "→"; margin-left: 6px; transition: margin .2s; }
.card-more:hover { background: var(--lilac-light); text-decoration: underline; }
.card-more:hover::after { margin-left: 10px; }

/* ── KITS / INDICAÇÃO ── */
.kits { padding: 8px 0 44px; }
.kits .section-title { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; }
.kits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.kit-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.kit-card strong { font: 600 21px/1.2 var(--font-title); color: var(--purple-dark); }
.kit-card span { font-size: 13px; color: var(--text-2); }
.kit-card a { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--purple); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.kit-card a:hover { text-decoration: underline; }

/* ── SOBRE ── */
.about { background: var(--lilac-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about .eyebrow { margin-bottom: 10px; }
.about .section-title { margin-bottom: 16px; }
.section-body { font-size: 15px; line-height: 1.75; color: var(--text-2); margin-bottom: 14px; }
.about-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--purple); text-decoration: none; border-bottom: 1.5px solid var(--purple); }
.leaf-card { background: var(--white); border: 1px solid var(--border); border-radius: 24px 24px 64px 24px; padding: 32px; }
.leaf-card-title { font: 600 24px/1.2 var(--font-title); color: var(--purple-dark); margin-bottom: 18px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.benefit-item:last-child { margin-bottom: 0; }
.benefit-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--lavender-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.benefit-text strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.benefit-text span { font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* ── CHAMADA FINAL ── */
.final-cta { padding: 56px 0; text-align: center; }
.final-cta .eyebrow { margin-bottom: 10px; }
.final-cta .section-title { margin-bottom: 10px; }
.final-cta .section-body { max-width: 500px; margin: 0 auto 26px; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn { padding: 12px 28px; font-size: 15px; }

/* ── RODAPÉ ── */
footer { background: var(--ink); color: rgba(255,255,255,.72); text-align: center; padding: 26px 20px 96px; font-size: 13px; }
footer a { color: var(--lavender-soft); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer p + p { margin-top: 8px; }

/* ── WHATSAPP FLUTUANTE ── */
.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s, background .2s;
}
.floating-whatsapp:hover { transform: scale(1.06); background: var(--whatsapp-hover); }

/* ── COOKIES E MODAIS ── */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--ink); color: var(--white); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,.3); }
.cookie-banner p { font-size: 13px; line-height: 1.6; max-width: 720px; }
.cookie-banner a { color: var(--lavender-soft); }
.cookie-banner button { background: var(--lavender); color: var(--ink); border: 0; border-radius: 999px; padding: 12px 24px; min-height: 44px; font: 700 13px var(--font-body); cursor: pointer; white-space: nowrap; }
.cookie-banner button:hover { background: var(--lavender-soft); }
.modal { display: none; position: fixed; inset: 0; z-index: 1100; background: rgba(42,31,56,.6); align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--white); border-radius: var(--radius); max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 40px 36px; position: relative; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--text-2); }
.modal-box h2 { font: 600 28px var(--font-title); color: var(--purple-dark); margin-bottom: 18px; }
.modal-box h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.modal-box p { font-size: 14px; line-height: 1.75; color: var(--text-2); margin-bottom: 14px; }
.modal-box .updated { font-size: 13px; color: var(--text-2); opacity: .85; }

/* ── RESPONSIVO ── */
@media (max-width: 900px) {
  .intro-actions { display: none; }
  .about .wrap { grid-template-columns: 1fr; gap: 32px; }
  .kits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .wrap { padding: 0 14px; }
  .topbar .wrap { min-height: 54px; }
  .brand { font-size: 21px; }
  .topnav a.nav-link { display: none; }
  .topnav .btn { padding: 8px 14px; font-size: 13px; }
  .intro .wrap { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .avatar { --size: 66px; border-width: 2px; }
  .intro-eyebrow { font-size: 10px; letter-spacing: .05em; }
  .intro h1 { font-size: 22px; margin-bottom: 2px; }
  .intro p { font-size: 12.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .showcase { padding: 16px 0 28px; }
  .shipping-note { font-size: 13px; padding: 6px 14px; margin-top: 6px; }
  .card-media { aspect-ratio: 1 / 1; }
  .card-emoji { font-size: 44px; }
  .card-body { padding: 10px 10px 8px; }
  .card-name { font-size: 18px; }
  .card-desc { font-size: 12px; -webkit-line-clamp: 3; min-height: 4.5em; }
  .card-actions .btn { font-size: 12.5px; padding: 8px 10px; }
  .card-more { font-size: 12px; }
  .about, .final-cta { padding: 40px 0; }
  .modal-box { padding: 32px 22px; }
  .cookie-banner { padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
}
