/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-color: #F7C325;
    /* Leiria Yellow */
    --primary-dark: #D4A017;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --bg-dark: #111111;
    --bg-darker: #0A0A0A;
    --bg-light: #FFFFFF;
    --bg-gray: #F4F4F4;
    --border-color: #333333;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Animation & Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: transparent !important;
}

.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #FAFAFA;
    background-image: radial-gradient(ellipse at 50% 0%, rgba(247, 195, 37, 0.12) 0%, transparent 80%);
    
    /* Static mask so the grid gracefully fades out at the edges */
    -webkit-mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, black 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 120% 100% at 50% 0%, black 20%, transparent 100%);
}

.mesh-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100vw;
    height: 100vh;
    /* Grid Pattern */
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 35px 35px;
    /* Animate the background grid */
    animation: scrollGrid 20s linear infinite;
}

@keyframes scrollGrid {
    0% { background-position: 0 0; }
    100% { background-position: 35px 35px; /* Loops perfectly with background-size */ }
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary-color);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    /* Slightly rounded edges for modern feel */
    transition: var(--transition-smooth);
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    /* For dark backgrounds */
}

/* Button variants inside dark sections get special hover */
.hero .btn-primary:hover,
.cta-banner .btn-primary:hover {
    background-color: var(--bg-light);
    color: var(--bg-dark);
    border-color: var(--bg-light);
}

.btn-secondary {
    background-color: var(--bg-dark);
    color: var(--primary-color);
    border: 2px solid var(--bg-dark);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-light);
    border: 2px solid var(--bg-light);
}

.btn-outline:hover {
    background-color: var(--bg-light);
    color: var(--bg-dark);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.header.scrolled {
    background-color: var(--bg-darker);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    transition: var(--transition-fast);
}

.nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=1631&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--text-light);
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Removido .hero-title (Controlado via Tailwind) */

/* Removido .hero-title span (Controlado via Tailwind text-primary) */

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 650px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}


/* ==========================================================================
   About Section
   ========================================================================== */
/* .about e .about-container refeitos com Tailwind */

/* As classes .about-image e .about-image img foram passadas para o Tailwind no HTML */

.experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-dark);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--bg-dark);
    text-align: center;
    margin-top: 0.5rem;
}

.section-text {
    color: #444;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-content .btn {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Services / Atuação
   ========================================================================== */
.services {
    padding: 8rem 0;
    background-color: transparent;
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-gray);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-content {
    padding: 2rem;
    position: relative;
}

.service-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--bg-dark);
    transition: var(--transition-fast);
}

.service-content p {
    color: #555;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background-color: var(--bg-dark);
    transform: translateY(-10px);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card:hover .service-img::after {
    opacity: 1;
}

.service-card:hover .service-content h3 {
    color: var(--primary-color);
}

.service-card:hover .service-content p {
    color: #CCC;
}

.service-card:hover .service-link {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateX(10px);
}

/* ==========================================================================
   CTA Parallax Banner
   ========================================================================== */
.cta-banner {
    position: relative;
    padding: 7rem 0;
    background: url('https://images.unsplash.com/photo-1541888086425-d81bb19240f5?q=80&w=1470&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.85);
}

.cta-content {
    position: relative;
    z-index: 2;
    color: var(--bg-light);
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio {
    padding: 8rem 0;
    background-color: var(--bg-darker);
    color: var(--bg-light);
}

.portfolio .section-title {
    color: var(--bg-light);
    margin-bottom: 0;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid var(--bg-light);
    color: var(--bg-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item-slide {
    position: relative;
    min-width: calc(33.333% - 1rem);
    /* 3 items visible at a time */
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.portfolio-item-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}



.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.portfolio-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.portfolio-info span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CCC;
}

.portfolio-item-slide:hover img {
    transform: scale(1.05);
}

.portfolio-item-slide:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #050505;
    color: #999;
    padding: 6rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 48px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1A1A1A;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: #050505;
}

.footer h3 {
    color: var(--bg-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: block;
}

.contact-list-avatars li {
    margin-bottom: 1.2rem !important;
}

.contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.footer-contact ul li i {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #000000;
    padding: 1.5rem 0;
    border-top: 1px solid #1A1A1A;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-policy {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.privacy-policy:hover {
    color: var(--primary-color);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dev-link {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.dev-link span {
    font-weight: 600;
    color: var(--bg-light);
    transition: var(--transition-fast);
}

.dev-link:hover span {
    color: var(--primary-color);
}

.separator {
    color: #333;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive & Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    /* .about-container max-width 1024px removido */

    .portfolio-item-slide {
        min-width: calc(50% - 0.75rem);
        /* 2 items visible */
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-darker);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 6rem;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1.5rem;
        font-size: 1.2rem;
    }

    .nav-cta {
        margin-top: 2rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Removido hero-title do media query 768px */

    .qualities-grid {
        grid-template-columns: 1fr;
    }

    .quality-card {
        border-right: none;
        border-bottom: 1px solid var(--bg-gray);
    }

    .qualities {
        margin-top: 0;
    }

    /* .about-container max-width 768px removido */

    /* about-image img substituído no HTML com Tailwind (md:h-[600px] h-[400px]) */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .portfolio-item-slide {
        min-width: 100%;
        /* 1 item visible */
    }

    /* Removido hero-title do media query 480px */
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Canal de Ética - Modal Global
   ========================================================================== */

/* Overlay escuro */
.denuncia-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    backdrop-filter: blur(2px);
}

.denuncia-overlay.show {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

/* Modal centralizado */
.denuncia-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 92vw;
    max-width: 440px;
    max-height: 88vh;
    overflow-y: auto;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    padding: 24px;
    z-index: 9999;
    cursor: default;
}

.denuncia-modal.show {
    display: block;
    animation: modalIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.denuncia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.denuncia-header h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: #e74c3c;
}

.denuncia-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.denuncia-form .form-group {
    margin-bottom: 15px;
    text-align: left;
}

.denuncia-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.denuncia-form input,
.denuncia-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.denuncia-form input:focus,
.denuncia-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(247, 195, 37, 0.2);
}

.denuncia-form .submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #1c2e42;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.denuncia-form .submit-btn:hover {
    background-color: #243b52;
}

.form-message {
    margin-top: 10px;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    color: #27ae60;
}

.form-message.error {
    color: #e74c3c;
}

/* ==========================================================================
   Portfolio Carrossel Focado (Novo)
   ========================================================================== */
#portfolio-track-new {
    will-change: transform;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-slide-item {
    flex-shrink: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
}

.portfolio-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.portfolio-info span {
    font-size: 0.8rem;
    color: #F7C325;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* ==========================================================================
   Testimonials (Notification Style)
   ========================================================================== */
.testimonials {
    background-color: #fcfcfc;
}

.review-bubble {
    z-index: 10;
}

@keyframes float-review {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

#depoimentos .review-bubble:nth-child(1) { animation: float-review 5s ease-in-out infinite; }
#depoimentos .review-bubble:nth-child(2) { animation: float-review 4.5s ease-in-out infinite 0.2s; }
#depoimentos .review-bubble:nth-child(3) { animation: float-review 6s ease-in-out infinite 0.5s; }
#depoimentos .review-bubble:nth-child(4) { animation: float-review 5.5s ease-in-out infinite 0.8s; }
#depoimentos .review-bubble:nth-child(5) { animation: float-review 6.5s ease-in-out infinite 1s; }
#depoimentos .review-bubble:nth-child(6) { animation: float-review 6s ease-in-out infinite 1.3s; }

#depoimentos .review-bubble:hover {
    z-index: 70 !important;
    transform: scale(1.05) !important;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    /* Reduzir paddings globais para mobile */
    .services, .portfolio, .cta-banner {
        padding: 4rem 0 !important;
    }
    
    .about {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* Services Grid para 1 coluna no mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    /* Menu Mobile Glassmorphism */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 15, 15, 0.9);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    /* Escalar cards de parceiros no mobile */
    .portfolio-slide-item .partner-box {
        transform: scale(0.85);
        transform-origin: top right;
    }

    #depoimentos .relative.max-w-5xl {
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    #depoimentos .review-bubble {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(0, 0) rotate(0) !important;
        width: 100% !important;
        opacity: 1 !important;
        scale: 1 !important;
        animation: none !important;
        filter: blur(0px) !important;
    }
    
    .testimonials {
        padding: 4rem 0 !important;
    }
}

/* Copy Email Fallback */
#copy-feedback.show,
.copy-feedback.show {
    opacity: 1;
}

/* Contact Row - uniform structure for all footer contact items */
.contact-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-sublabel {
    font-size: 0.72rem;
    color: #555;
    padding-left: 1.5rem;
    margin-top: 2px;
}

/* Footer Ethics link style */
#footer-etica-link {
    display: inline-flex;
    align-items: center;
}