/* =============================================
   PARTY WORLD BUFFET — style.css
   Cores: #FBB12F (amarelo) / #222DA3 (azul)
   ============================================= */

:root {
    --amarelo:  #FBB12F;
    --azul:     #222DA3;
    --azul-esc: #1a2282;
    --verde:    #4CAF50;
    --rosa:     #FF6B9D;
    --lilas:    #9C59D1;
    --laranja:  #FF7043;
    --ciano:    #00BCD4;
    --branco:   #FFFFFF;
    --cinza-bg: #F8F6FF;
    --texto:    #2D2D2D;
    --texto-s:  #666;
    --radius:   16px;
    --shadow:   0 8px 32px rgba(34,45,163,.13);
    --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--texto);
    background: var(--branco);
    overflow-x: hidden;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BOTÕES ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--amarelo);
    color: var(--azul);
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(251,177,47,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,177,47,.55); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--branco);
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.7);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-full { width: 100%; justify-content: center; }

.btn-wpp-big {
    margin-top: 24px;
    font-size: 1.05rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    transition: opacity var(--transition), transform var(--transition);
}
.btn-instagram svg { flex-shrink: 0; }
.btn-instagram:hover { opacity: .9; transform: translateY(-2px); }

.btn-primary svg,
.btn-secondary svg,
.btn-wpp-big svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== SECTION LABELS ===== */
.section-tag {
    display: inline-block;
    background: var(--amarelo);
    color: var(--azul);
    font-weight: 800;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; margin-bottom: 12px; }
.section-header p  { color: var(--texto-s); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

h2 .destaque { color: var(--azul); }

/* ===== HEADER ===== */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(34,45,163,.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(34,45,163,.3);
    transition: box-shadow var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px;
}
.logo-img { height: 52px; width: auto; }

#nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
#nav a {
    font-weight: 700;
    font-size: .95rem;
    color: rgba(255,255,255,.85);
    position: relative;
    transition: color var(--transition);
}
#nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 2px;
    background: var(--amarelo);
    border-radius: 2px;
    transition: width var(--transition);
}
#nav a:hover { color: var(--amarelo); }
#nav a:hover::after { width: 100%; }

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 50px;
    padding: 5px 14px !important;
    font-size: .88rem !important;
    transition: background var(--transition), border-color var(--transition) !important;
}
.nav-login:hover { background: rgba(255,255,255,.25) !important; border-color: rgba(255,255,255,.7) !important; color: #fff !important; }
.nav-login::after { display: none !important; }

.btn-wpp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    padding: 9px 18px;
    border-radius: 50px;
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn-wpp svg { width: 18px; height: 18px; }
.btn-wpp:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,211,102,.4); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 24px; height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--azul) 0%, #3a45c5 50%, #5b3fa6 100%);
    overflow: hidden;
    padding: 100px 24px 60px;
    text-align: center;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: .15;
    animation: float 6s ease-in-out infinite;
}
.b1 { width: 300px; height: 300px; background: var(--amarelo); top: -80px; left: -60px; animation-delay: 0s; }
.b2 { width: 200px; height: 200px; background: var(--rosa);   bottom: 10%; right: -40px; animation-delay: 1.5s; }
.b3 { width: 150px; height: 150px; background: var(--ciano);  top: 30%; left: 5%; animation-delay: 3s; }
.b4 { width: 250px; height: 250px; background: var(--lilas);  bottom: -60px; left: 30%; animation-delay: 2s; }
.b5 { width: 100px; height: 100px; background: var(--verde);  top: 15%; right: 15%; animation-delay: 4s; }

.deco {
    position: absolute;
    animation: spin-float 8s ease-in-out infinite;
}
.deco svg { display: block; }
.d1 { width: 60px; height: 60px; top: 20%; left: 10%; animation-delay: 0s; }
.d2 { width: 70px; height: 70px; top: 60%; right: 8%; animation-delay: 2s; }
.d3 { width: 50px; height: 50px; bottom: 25%; left: 20%; animation-delay: 4s; }
.d4 { width: 64px; height: 64px; top: 35%; right: 20%; animation-delay: 1s; }
.d5 { width: 80px; height: 80px; bottom: 15%; right: 35%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-20px) scale(1.05); }
}
@keyframes spin-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-15px) rotate(15deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-logo {
    height: 308px;
    width: auto;
    margin: 0 auto 24px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.3));
    animation: logo-bounce 3s ease-in-out infinite;
}
@keyframes logo-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--amarelo);
    text-shadow: 0 3px 12px rgba(0,0,0,.3);
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.9);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== SOBRE ===== */
#sobre {
    padding: 100px 0;
    background: var(--cinza-bg);
}
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.sobre-img-placeholder {
    background: linear-gradient(135deg, var(--amarelo) 0%, var(--laranja) 100%);
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #fff;
    box-shadow: var(--shadow);
}
.sobre-img-placeholder p {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    margin-top: 12px;
}
.sobre-texto { display: flex; flex-direction: column; gap: 16px; }
.sobre-texto h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; }
.sobre-texto p  { color: var(--texto-s); line-height: 1.8; font-size: 1.05rem; }
.sobre-badges   { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--branco);
    border: 2px solid var(--amarelo);
    color: var(--azul);
    font-weight: 700;
    font-size: .85rem;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(251,177,47,.2);
}
.badge svg { flex-shrink: 0; }

/* ===== SERVIÇOS ===== */
#servicos {
    padding: 100px 0;
    background: var(--branco);
}
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.servico-card {
    background: var(--cinza-bg);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: default;
}
.servico-card:hover {
    border-color: var(--amarelo);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.servico-icone {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--azul) 0%, #3a45c5 100%);
    border-radius: 16px;
    color: #fff;
    transition: transform var(--transition);
}
.servico-icone svg { width: 28px; height: 28px; }
.servico-card:hover .servico-icone { transform: scale(1.1) rotate(-4deg); }
.servico-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 10px;
}
.servico-card p { font-size: .92rem; color: var(--texto-s); line-height: 1.6; }

/* ===== GALERIA ===== */
#galeria {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--azul) 0%, #3a45c5 100%);
}
#galeria .section-tag { background: var(--amarelo); }
#galeria h2 { color: var(--branco); }
#galeria h2 .destaque { color: var(--amarelo); }
#galeria .section-header p { color: rgba(255,255,255,.8); }

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.galeria-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(255,255,255,.1);
}
.galeria-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.galeria-item:hover img { transform: scale(1.07); }

.galeria-placeholder {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gal-ph-item {
    background: rgba(255,255,255,.12);
    border-radius: var(--radius);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255,255,255,.3);
    transition: background var(--transition);
    color: rgba(255,255,255,.7);
}
.gal-ph-item svg { width: 40px; height: 40px; }
.gal-ph-item:hover { background: rgba(255,255,255,.2); }
.galeria-aviso {
    text-align: center;
    color: rgba(255,255,255,.7);
    margin-top: 20px;
    font-style: italic;
    grid-column: 1 / -1;
}
.galeria-cta { text-align: center; margin-top: 36px; }

/* ===== CONTATO ===== */
#contato {
    padding: 100px 0;
    background: var(--cinza-bg);
}
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contato-info { display: flex; flex-direction: column; gap: 24px; }
.contato-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contato-icone {
    width: 50px;
    height: 50px;
    background: var(--branco);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34,45,163,.1);
    flex-shrink: 0;
    color: var(--azul);
}
.contato-icone svg { width: 22px; height: 22px; }
.contato-item strong { display: block; font-weight: 800; color: var(--azul); margin-bottom: 4px; }
.contato-item p { color: var(--texto-s); font-size: .95rem; line-height: 1.5; }

.contato-form-wrap {
    background: var(--branco);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contato-form h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 700; font-size: .9rem; color: var(--texto); }
.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #E8E8F0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    color: var(--texto);
    background: var(--cinza-bg);
    transition: border-color var(--transition);
    outline: none;
    resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--azul);
    background: var(--branco);
}
.form-status {
    margin-top: 12px;
    font-weight: 700;
    font-size: .95rem;
    text-align: center;
    min-height: 24px;
}
.form-status.ok  { color: var(--verde); }
.form-status.err { color: #e53935; }

/* ===== FOOTER ===== */
#footer {
    background: var(--azul);
    color: #fff;
    padding: 48px 0 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-logo img  { height: 60px; }
.footer-logo p    { color: rgba(255,255,255,.7); font-family: 'Pacifico', cursive; font-size: .95rem; margin-top: 6px; }
.footer-links     { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.footer-links a   { color: rgba(255,255,255,.8); font-weight: 600; font-size: .95rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--amarelo); }
.footer-social     { display: flex; gap: 12px; align-items: center; }
.footer-social a   { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: transform var(--transition), color var(--transition); }
.footer-social a:hover { transform: scale(1.2); color: var(--amarelo); }
.footer-copy {
    text-align: center;
    padding: 16px 24px;
    color: rgba(255,255,255,.5);
    font-size: .85rem;
}

/* ===== BOTÃO FLUTUANTE WPP ===== */
.wpp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    background: #25D366;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    transition: transform var(--transition), box-shadow var(--transition);
}
.wpp-float svg    { width: 32px; height: 32px; fill: #fff; }
.wpp-float:hover  { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.7); }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .sobre-grid,
    .contato-grid { grid-template-columns: 1fr; gap: 36px; }
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .galeria-grid,
    .galeria-placeholder { grid-template-columns: repeat(2, 1fr); }
    #nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: rgba(34,45,163,.98); flex-direction: column; gap: 0; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
    #nav.open { display: flex; }
    #nav a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; color: rgba(255,255,255,.85); }
    .menu-toggle { display: flex; }
    .btn-wpp { display: none; }
    .header-inner { flex-wrap: wrap; }
}

@media (max-width: 580px) {
    .servicos-grid { grid-template-columns: 1fr; }
    .galeria-grid,
    .galeria-placeholder { grid-template-columns: 1fr 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .contato-form-wrap { padding: 24px 18px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { margin-left: 0; justify-content: center; }
}
