/* ══════════════════════════════════════════════════════════════════
   Bubblelê — Design System & Layout
   Identidade visual: Buttercream Bloom · Golden Whisper · Allura
   ══════════════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
    /* Brand palette */
    --gold:              #C6A75F;  /* Golden Whisper — botões, acentos */
    --gold-dark:         #a8873d;  /* hover state */
    --gold-light:        #E8D9B0;  /* bordas, divisores suaves */
    --cream:             #F3E7D3;  /* Buttercream Bloom — fundo principal */
    --cream-light:       #FDFAF5;  /* superfície dos cards */
    --cream-mid:         #EDE0CA;  /* fundo de seções alternadas */
    --powder-blue:       #B7C9E2;  /* Powder Blue */
    --blush:             #F6C1C7;  /* Blush Petal */
    --lavender:          #AEA6D9;  /* Lavender Mist */
    --charcoal:          #3D3D3D;  /* texto, título da marca */
    --charcoal-light:    #6B6459;  /* texto secundário, muted */

    /* Semânticos */
    --primary:           var(--gold);
    --primary-dark:      var(--gold-dark);
    --on-primary:        #ffffff;
    --background:        var(--cream);
    --surface:           var(--cream-light);
    --surface-alt:       var(--cream-mid);
    --on-surface:        var(--charcoal);
    --on-surface-variant:var(--charcoal-light);

    /* Toy card bg tints */
    --toy-pink-bg:       rgba(246,193,199,.28);
    --toy-blue-bg:       rgba(183,201,226,.28);
    --toy-lavender-bg:   rgba(174,166,217,.22);

    /* Radius */
    --radius-card:       2rem;
    --radius-pill:       9999px;

    /* Shadows — warm golden undertone */
    --shadow-soft:       0 4px 24px rgba(198,167,95,.10),
                         0 1px 4px  rgba(198,167,95,.06);
    --shadow-btn:        0 6px 20px rgba(198,167,95,.30),
                         inset 0 0 0 1px rgba(255,255,255,.20);
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--background);
    color: var(--on-surface);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    line-height: 1.70;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Cream paper background with subtle pastel blobs ── */
body.bubble-bg {
    background-image:
        radial-gradient(ellipse 55% 45% at 12% 20%, rgba(183,201,226,.30) 0%, transparent 100%),
        radial-gradient(ellipse 50% 40% at 88% 80%, rgba(246,193,199,.30) 0%, transparent 100%),
        radial-gradient(ellipse 40% 35% at 50% 55%, rgba(174,166,217,.18) 0%, transparent 100%);
    background-color: var(--background);
    background-attachment: local;
    min-height: 100vh;
}

/* ── Glass panels ── */
.glass-panel {
    background: rgba(253,250,245,.92);
    border: 1px solid rgba(198,167,95,.15);
}

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--on-primary);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    box-shadow: var(--shadow-btn);
    transition: filter .18s, transform .14s;
    white-space: nowrap;
}
.btn-primary:hover  { filter: brightness(1.08); transform: translateY(-2px); }
.btn-primary:active { transform: scale(.97); }

.btn-primary.btn-large { padding: 18px 40px; font-size: 1.05rem; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    color: var(--gold);
    border: 1.5px solid rgba(198,167,95,.35);
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: .95rem;
    transition: background .18s, transform .14s;
    white-space: nowrap;
}
.btn-outline:hover  { background: var(--cream-mid); transform: translateY(-2px); }
.btn-outline:active { transform: scale(.97); }

.btn-toy {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--cream-mid);
    color: var(--gold-dark);
    padding: 13px 0;
    border-radius: var(--radius-pill);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .03em;
    transition: background .18s, color .18s, box-shadow .18s;
    box-shadow: 0 2px 8px rgba(198,167,95,.12);
}
.btn-toy:hover {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 6px 20px rgba(198,167,95,.28);
}

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(253,250,245,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateZ(0);
    box-shadow: 0 1px 0 rgba(198,167,95,.12), 0 4px 16px rgba(198,167,95,.07);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.nav-logo-globe {
    width: 46px;
    height: 50px;
    flex-shrink: 0;
}
.nav-logo-globe img,
.nav-logo-globe svg {
    width: 100%;
    height: 100%;
}
.nav-logo-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}
.nav-logo-name {
    display: block;
    font-family: 'Allura', cursive;
    font-size: 2.1rem;
    color: var(--charcoal);
    line-height: 1;
}
.nav-logo-tagline {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .55rem;
    font-weight: 500;
    letter-spacing: .20em;
    color: var(--gold);
    text-transform: uppercase;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-style: italic;
    color: var(--charcoal-light);
    font-size: .93rem;
    transition: color .18s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active {
    color: var(--gold);
    border-bottom: 1.5px solid var(--gold);
    padding-bottom: 2px;
}

.nav-cta { flex-shrink: 0; }

#mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 4px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(253,250,245,.97);
    border-top: 1px solid rgba(198,167,95,.12);
    padding: 20px 24px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.mobile-nav-links a {
    padding: 10px 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-style: italic;
    color: var(--charcoal-light);
    font-size: 1rem;
    border-bottom: 1px solid rgba(198,167,95,.10);
}
.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-ctas .btn-primary { width: 100%; justify-content: center; }

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    #mobile-toggle { display: block; }
}

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero-section {
    padding: 100px 0 64px;
}
@media (min-width: 769px) { .hero-section { padding: 120px 0 96px; } }

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 40px 32px;
}
@media (min-width: 769px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        padding: 56px 64px;
    }
}

.hero-text { flex: 1; display: flex; flex-direction: column; gap: 20px; }

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.20;
    text-wrap: balance;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    max-width: 480px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.hero-image-wrap {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.hero-image-circle {
    width: min(380px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(198,167,95,.22);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}
.hero-image-circle img { width: 100%; height: 100%; object-fit: cover; }

.hero-blob {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: .50;
}
.hero-blob-blue {
    width: 160px; height: 160px;
    background: var(--powder-blue);
    top: -24px; right: -24px;
}
.hero-blob-pink {
    width: 200px; height: 200px;
    background: var(--blush);
    bottom: -24px; left: -24px;
}

/* ═══════════════════════════════════
   FEATURES
═══════════════════════════════════ */
.features-section {
    background: var(--cream-mid);
    padding: 64px 0;
}
@media (min-width: 769px) { .features-section { padding: 96px 0; } }

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 769px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    padding: 36px 28px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    flex-shrink: 0;
}
.feature-icon-pink    { background: rgba(246,193,199,.45); }
.feature-icon-blue    { background: rgba(183,201,226,.45); }
.feature-icon-mint    { background: rgba(174,166,217,.35); }

.feature-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
}
.feature-desc {
    color: var(--charcoal-light);
    font-size: .93rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════
   SECTION HEADER
═══════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}
.section-sub {
    font-size: 1.05rem;
    color: var(--charcoal-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.70;
}

/* ═══════════════════════════════════
   TOYS
═══════════════════════════════════ */
.toys-section { padding: 64px 0; }
@media (min-width: 769px) { .toys-section { padding: 96px 0; } }

.toys-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 769px) { .toys-grid { grid-template-columns: repeat(3, 1fr); } }

.toy-card {
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s;
}
.toy-card:hover {
    box-shadow: 0 8px 32px rgba(198,167,95,.18), 0 2px 6px rgba(198,167,95,.09);
}

.toy-img-wrap {
    height: 260px;
    overflow: hidden;
    padding: 0;
}
.toy-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    border-radius: 0;
    transition: transform .45s ease;
    will-change: transform;
}
.toy-card:hover .toy-img-wrap img { transform: scale(1.04); }

.toy-img-pink    { background: var(--toy-pink-bg); }
.toy-img-surface { background: var(--toy-lavender-bg); }
.toy-img-blue    { background: var(--toy-blue-bg); }

.toy-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
}
.toy-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
}
.toy-desc {
    color: var(--charcoal-light);
    font-size: .93rem;
    line-height: 1.65;
    flex: 1;
}

/* ═══════════════════════════════════
   MISSÃO
═══════════════════════════════════ */
.missao-section { padding: 48px 0; }
@media (min-width: 769px) { .missao-section { padding: 72px 0; } }

.missao-panel {
    padding: 52px 36px;
    border-radius: 3rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
@media (min-width: 769px) { .missao-panel { padding: 72px 80px; } }

.missao-title {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    color: var(--gold-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}
.missao-text {
    font-size: 1.12rem;
    color: var(--charcoal-light);
    line-height: 1.80;
    max-width: 640px;
    margin: 0 auto;
}

/* ═══════════════════════════════════
   DIVISOR DECORATIVO
═══════════════════════════════════ */
.divider-gold {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
    color: var(--gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .7rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.divider-gold::before,
.divider-gold::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--gold-light);
}

/* ═══════════════════════════════════
   CTA / CONTATO
═══════════════════════════════════ */
.cta-section { padding: 32px 0 80px; }
@media (min-width: 769px) { .cta-section { padding: 48px 0 96px; } }

.cta-panel {
    padding: 52px 36px;
    border-radius: 3rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    background: linear-gradient(135deg, rgba(253,250,245,.96) 0%, rgba(246,193,199,.25) 100%);
    border: 1px solid rgba(198,167,95,.15);
}
@media (min-width: 769px) { .cta-panel { padding: 68px 80px; } }

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 14px;
}
.cta-sub {
    font-size: 1.08rem;
    color: var(--charcoal-light);
    margin-bottom: 32px;
    line-height: 1.65;
}

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
#site-footer {
    background: var(--cream-mid);
    border-top: 1px solid rgba(198,167,95,.14);
    padding: 64px 0;
}
@media (min-width: 769px) { #site-footer { padding: 88px 0; } }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
}
@media (min-width: 769px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
    display: block;
    font-family: 'Allura', cursive;
    font-size: 2.4rem;
    color: var(--charcoal);
    margin-bottom: 4px;
    line-height: 1;
}
.footer-sub-brand {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.footer-tagline {
    color: var(--charcoal-light);
    font-size: .9rem;
    line-height: 1.65;
    max-width: 340px;
    margin-bottom: 22px;
}
.footer-socials { display: flex; gap: 12px; }
.social-btn {
    width: 44px;
    height: 44px;
    background: var(--cream-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .18s;
}
.social-btn:hover { box-shadow: 0 4px 16px rgba(198,167,95,.22); }

.footer-col-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 18px;
    letter-spacing: .04em;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
    color: var(--charcoal-light);
    font-size: .93rem;
    transition: color .18s;
}
.footer-links-list a:hover { color: var(--gold); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact p { font-size: .93rem; color: var(--charcoal-light); line-height: 1.5; }
.footer-contact strong { color: var(--charcoal); display: block; margin-bottom: 3px; }
.footer-contact a { color: var(--charcoal-light); transition: color .18s; }
.footer-contact a:hover { color: var(--gold); }

/* ═══════════════════════════════════
   FLOATING WHATSAPP BUTTON
═══════════════════════════════════ */
.whatsapp-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #fff;
    padding: 16px 20px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 28px rgba(198,167,95,.38);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: .9rem;
    transition: transform .18s, box-shadow .18s;
    will-change: transform;
    overflow: hidden;
}
.whatsapp-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 36px rgba(198,167,95,.48);
}
.fab-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .35s ease;
}
.whatsapp-fab:hover .fab-label { max-width: 120px; }

/* ═══════════════════════════════════
   ENTRY CONTENT (blog/page)
═══════════════════════════════════ */
.entry-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.8rem; font-weight: 700; margin: 1.5em 0 .6em; color: var(--charcoal); }
.entry-content p  { color: var(--charcoal-light); line-height: 1.75; margin-bottom: 1em; }
.entry-content a  { color: var(--gold); text-decoration: underline; }

/* ═══════════════════════════════════
   SCRIPT / HANDWRITTEN BRAND TYPOGRAPHY
   Allura (400) — nome da marca e nomes dos brinquedos
═══════════════════════════════════ */

/* Logo nav — nome em cursiva */
.nav-logo-text.script-brand {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: 2.1rem;
    color: var(--charcoal);
    line-height: 1;
}

/* Título da seção Nossos Brinquedos */
.section-title.script-section-title {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    color: var(--charcoal);
    margin-bottom: 12px;
}

/* Nomes individuais dos brinquedos */
.toy-name.script-toy-name {
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: clamp(2rem, 3vw, 2.7rem);
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 4px;
}

/* ── Títulos dos brinquedos como imagem PNG ── */
.toy-name-png {
    margin-bottom: 4px;
    display: block;
}
.toy-title-img {
    display: block;
    width: 100%;
    height: 5rem;
    object-fit: contain;
    object-position: center center;
}

/* ═══════════════════════════════════
   DECORATIVE "B" — Allura script watermark
   Usado como fundo decorativo nas seções hero, missão e CTA
═══════════════════════════════════ */
.deco-b-section {
    position: relative;
    overflow: hidden;
}
.deco-b-section::before {
    content: 'B';
    font-family: 'Allura', cursive;
    font-weight: 400;
    font-size: clamp(320px, 45vw, 560px);
    color: var(--charcoal);
    opacity: .045;
    position: absolute;
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}
.deco-b-section > * { position: relative; z-index: 1; }

/* Hero: B gigante centralizado à direita */
.hero-section.deco-b-section::before {
    font-size: clamp(600px, 90vw, 1100px);
    opacity: .10;
    color: var(--charcoal);
    left: auto;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
}

/* Missão: B à esquerda */
.missao-section.deco-b-section::before {
    right: auto;
    left: -4%;
    opacity: .06;
}

/* CTA: B centralizado, maior opacidade dourada */
.cta-section.deco-b-section::before {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    opacity: .09;
}

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