:root {
    --grenadier: #df3512;
    --black: #0e0200;
    --reddish-brown: #922f0c;
    --white: #ffffff;
    --card-bg: rgba(24, 8, 5, 0.78);
    --text-muted: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Efeito Ripple */
.ripple-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    user-select: none;
}
.ripple-btn:active { transform: scale(0.95); }

span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.65s linear;
    background-color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* Cabeçalho */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(14, 2, 0, 0.92);
    backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(223, 53, 18, 0.3);
}

.header-main {
    padding: 0.9rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spin-logo-3d {
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-logo:hover .spin-logo-3d {
    transform: rotateY(360deg);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.brand-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

nav { display: flex; gap: 1.6rem; }
nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    transition: color 0.3s;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--grenadier);
    transition: width 0.3s ease;
}
nav a:hover { color: var(--grenadier); }
nav a:hover::after { width: 100%; }

/* Faixa Deslizante */
.marquee-bar {
    background: linear-gradient(90deg, #922f0c, #df3512, #922f0c);
    padding: 0.35rem 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
}
.marquee-track {
    display: inline-block;
    animation: marqueeScroll 24s linear infinite;
}
.marquee-bar:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Secções Gerais */
section { padding: 5.5rem 8%; }
.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}
.section-header h2 span { color: var(--grenadier); }
.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 680px;
    line-height: 1.6;
}

/* Hero */
.hero {
    min-height: 100vh;
    padding: 9.5rem 8% 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
    background: radial-gradient(circle at 80% 30%, rgba(223, 53, 18, 0.22), transparent 50%);
}
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.45rem 1.1rem;
    background: rgba(223, 53, 18, 0.15);
    border: 1px solid rgba(223, 53, 18, 0.45);
    color: var(--grenadier);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.hero h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}
.hero h1 span {
    color: var(--grenadier);
    text-shadow: 0 0 30px rgba(223, 53, 18, 0.4);
}
.presentation-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-left: 4px solid var(--grenadier);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.8rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}
.presentation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0.8rem;
}
.presentation-card h3 {
    color: var(--grenadier);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.director-badge {
    font-size: 0.78rem;
    background: rgba(255,255,255,0.07);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    color: var(--text-muted);
}
.presentation-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
    background: linear-gradient(135deg, var(--grenadier), var(--reddish-brown));
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 28px rgba(223, 53, 18, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.03);
    color: var(--white);
    padding: 1rem 1.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline:hover {
    border-color: var(--grenadier);
    background: rgba(223, 53, 18, 0.12);
}

/* Cartão 3D Giratório */
.hero-3d-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    cursor: pointer;
}
.flip-card-inner {
    width: 320px;
    height: 390px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.flip-card-inner.is-flipped { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 28px;
    border: 1px solid rgba(223, 53, 18, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(223, 53, 18, 0.25);
}
.flip-card-front {
    background: linear-gradient(145deg, rgba(223, 53, 18, 0.18), rgba(14, 2, 0, 0.92));
}
.flip-card-back {
    background: linear-gradient(145deg, #210905, #0e0200);
    transform: rotateY(180deg);
}
.bolt-3d-svg {
    filter: drop-shadow(0 15px 25px rgba(223, 53, 18, 0.65));
    animation: pulseBolt 3.5s ease-in-out infinite;
}
@keyframes pulseBolt {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
.bolt-3d-label {
    margin-top: 1.4rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
}
.flip-hint {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--grenadier);
    font-weight: 600;
}
.director-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--grenadier);
    margin-bottom: 1rem;
    background: #1a0603;
}
.director-avatar img { width: 100%; height: 100%; object-fit: cover; }
.director-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--grenadier);
    font-weight: 800;
}
.flip-card-back h3 { font-size: 1.45rem; margin: 0.3rem 0 0.6rem; }
.flip-card-back p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* Contadores */
.stats-bar {
    margin: 0 8% 2rem;
    padding: 2.2rem;
    background: linear-gradient(90deg, rgba(223, 53, 18, 0.14), rgba(24, 8, 5, 0.85), rgba(223, 53, 18, 0.14));
    border: 1px solid rgba(223, 53, 18, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.stat-item h3 { font-size: 2.3rem; font-weight: 800; color: var(--grenadier); }
.stat-item p { font-size: 0.88rem; color: var(--text-muted); margin-top: 0.3rem; }

/* Metodologia & Portfólio */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.pillar-card {
    background: var(--card-bg);
    border: 1px solid rgba(223, 53, 18, 0.25);
    border-radius: 20px;
    padding: 2rem;
}
.pillar-icon {
    width: 48px;
    height: 48px;
    background: rgba(223, 53, 18, 0.15);
    border: 1px solid rgba(223, 53, 18, 0.4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.pillar-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.pillar-card p { color: var(--text-muted); font-size: 0.94rem; line-height: 1.6; }

.filter-tabs { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.65rem 1.3rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}
.tab-btn.active, .tab-btn:hover { background: var(--grenadier); border-color: var(--grenadier); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.portfolio-card {
    background: var(--card-bg);
    border: 1px solid rgba(223, 53, 18, 0.22);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
}
.portfolio-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.portfolio-info { padding: 1.3rem; }
.portfolio-tag { font-size: 0.72rem; font-weight: 800; color: var(--grenadier); text-transform: uppercase; letter-spacing: 0.8px; }
.portfolio-info h3 { font-size: 1.1rem; margin: 0.4rem 0; }
.portfolio-info p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.5; }
/* Turismo & Gastronomia Benguela */
.tourism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.tourism-card {
    background: var(--card-bg);
    border: 1px solid rgba(223, 53, 18, 0.25);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tourism-card:hover {
    border-color: var(--grenadier);
    box-shadow: 0 18px 40px rgba(223, 53, 18, 0.22);
}
.tourism-card.highlight-tourism {
    background: linear-gradient(145deg, rgba(223, 53, 18, 0.2), rgba(24, 8, 5, 0.9));
    border-color: var(--grenadier);
}
.tourism-img-wrap {
    position: relative;
    height: 175px;
    background: linear-gradient(135deg, #2b0b05, #120301);
    overflow: hidden;
}
.tourism-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.tourism-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(14, 2, 0, 0.85);
    border: 1px solid rgba(223, 53, 18, 0.5);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}
.tourism-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tourism-body h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.tourism-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex: 1;
}
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.86rem; width: 100%; text-align: center; }

/* Cotações */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.price-card {
    background: var(--card-bg);
    border: 1px solid rgba(223, 53, 18, 0.25);
    border-radius: 22px;
    padding: 2.2rem;
    cursor: pointer;
}
.price-card.featured, .price-card.selected {
    border-color: var(--grenadier);
    background: linear-gradient(180deg, rgba(223, 53, 18, 0.16), rgba(24, 8, 5, 0.9));
    box-shadow: 0 20px 50px rgba(223, 53, 18, 0.22);
}
.plan-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; color: var(--grenadier); margin-bottom: 0.4rem; }
.plan-sub { display: block; font-size: 1rem; font-weight: 700; }
.price-card h3 { font-size: 1.85rem; color: var(--grenadier); margin: 0.4rem 0 1.4rem; }
.price-card ul { list-style: none; margin-bottom: 1.8rem; }
.price-card ul li { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.75rem; }

/* Colaborações */
.collab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.collab-card {
    background: var(--card-bg);
    border: 1px solid rgba(223, 53, 18, 0.25);
    border-radius: 18px;
    padding: 1.7rem;
}
.collab-card:hover { border-color: var(--grenadier); box-shadow: 0 15px 35px rgba(223, 53, 18, 0.2); }
.collab-top { display: flex; align-items: center; gap: 14px; margin-bottom: 1rem; }
.collab-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(223, 53, 18, 0.18);
    border: 1.5px solid var(--grenadier);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--grenadier);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.collab-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.collab-badge { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: var(--grenadier); }
.collab-card h3 { font-size: 1.15rem; }
.collab-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

/* Rodapé */
footer { background: #090100; border-top: 1px solid rgba(223, 53, 18, 0.25); margin-top: 3rem; }
.footer-bottom { padding: 2.5rem 8%; text-align: center; color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; }
.footer-bottom strong { color: var(--white); }

/* Modal & Botão WhatsApp */
#imgModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
#imgModal img { max-width: 90%; max-height: 85vh; border-radius: 16px; border: 2px solid var(--grenadier); }

.wpp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #16a34a;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.2rem;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.45);
}
.wpp-dot { width: 9px; height: 9px; background: #bbf7d0; border-radius: 50%; }

/* Responsividade */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .tourism-grid, .collab-grid, .pricing-grid, .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hero, .stats-bar, .portfolio-grid, .tourism-grid, .collab-grid, .pricing-grid, .pillars-grid {
        grid-template-columns: 1fr;
    }
    nav { display: none; }
}
