/* 
    PotiguarDev v2.0 - Premium Minimalist Style (Apple/Stripe inspired)
    Design principles: Clean space, bold typography, subtle glassmorphism, fluid transitions.
*/

:root {
    /* Colors - Dark Premium Palette */
    --bg-dark: #0a0c10;
    --bg-dark-alt: #11141a;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-light: #60a5fa;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);

    /* Layout */
    --container-max: 1200px;
    --header-height: 90px; /* Reduzido para um equilíbrio mais sofisticado */
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sections */
.section {
    padding: 100px 0;
}

.alternate-bg {
    background-color: var(--bg-dark-alt);
}

.align-center {
    text-align: center;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* Navbar */
nav.nav-glass {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 70px; /* Tamanho refinado e perfeitamente equilibrado */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05); /* Efeito de zoom sutil ao passar o mouse */
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Buttons */
.btn-primary-sm {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    display: inline-block;
    margin-left: 1rem;
    background: var(--glass-bg);
}

.btn-primary:hover,
.btn-primary-sm:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.08) 0%, rgba(10, 12, 16, 1) 70%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
}

.shadow-blue {
    background: var(--accent);
    top: 10%;
    right: -10%;
}

.shadow-blue-alt {
    background: #60a5fa;
    bottom: 10%;
    left: -10%;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    background: var(--glass-hover);
    transform: translateY(-10px);
    border-color: var(--accent-light);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Event Grid */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.align-items-center {
    align-items: center;
}

.event-card-main {
    padding: 3rem;
    position: relative;
    border: 2px solid var(--accent-glow);
}

.trophy-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fbbf24;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    width: fit-content;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.check-list i {
    color: var(--accent);
}

/* Footer / Contact */
.section-footer {
    padding: 100px 0 0;
}

.contact-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
    margin-bottom: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 700px;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: scale(1.02);
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive */
@media (max-width: 968px) {

    .grid-two-cols,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }

    .logo-img {
        max-height: 55px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease forwards;
    }

    .menu-toggle {
        display: block;
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Team Slider (v2.1) --- */
.team-slider-container {
    position: relative;
    padding: 0 50px;
    margin-top: 2rem;
}

.team-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.team-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.team-card-v2 {
    flex: 0 0 280px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card-v2:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid var(--accent);
    background: var(--glass-bg);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.team-info .role {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.team-social-v2 {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social-v2 a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.team-social-v2 a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    border-color: var(--accent);
}

.team-social-v2 i, 
.team-social-v2 svg,
.lucide-icon {
    width: 18px !important;
    height: 18px !important;
    display: block;
    stroke: #ffffff !important;
    stroke-width: 2px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

@media (max-width: 768px) {
    .team-slider-container {
        padding: 0 10px;
    }
    .slider-btn {
        display: none; /* Hide buttons on mobile, use touch scroll */
    }
    .team-card-v2 {
        flex: 0 0 240px;
    }
}

/* --- Gallery Slider --- */
.gallery-slider-container {
    position: relative;
    padding: 0 50px;
    margin-top: 2rem;
}

.gallery-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 350px;
    height: 450px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.gallery-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.gallery-btn.prev { left: 0; }
.gallery-btn.next { right: 0; }

@media (max-width: 768px) {
    .gallery-slider-container {
        padding: 0;
    }
    .gallery-item {
        flex: 0 0 280px;
        height: 380px;
    }
    .gallery-btn {
        display: none;
    }
}

/* --- Lightbox Modal --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 650px;
    width: 85%;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lightbox-image-wrapper {
    width: 100%;
    max-height: 50vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 50vh;
    object-fit: contain;
    display: block;
    background: #0a0c10;
}

.lightbox-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    animation: lightboxInfoSlide 0.6s ease 0.2s both;
}

@keyframes lightboxInfoSlide {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lightbox-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Lightbox Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
    }
    .lightbox-info {
        padding: 1rem 1.2rem;
    }
    .lightbox-info h3 {
        font-size: 1.15rem;
    }
    .lightbox-info p {
        font-size: 0.85rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i,
.whatsapp-float svg {
    width: 30px !important;
    height: 30px !important;
    stroke: #ffffff !important;
    stroke-width: 2px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float i,
    .whatsapp-float svg {
        width: 26px !important;
        height: 26px !important;
    }
}
