/* ========================================
   DEYVID CONTABILIDADE - CUSTOM STYLES
   Modern & Professional Design
   ======================================== */

/* === RESET & BASE === */
:root {
    --primary: #FF6B4A;
    --primary-dark: #E64A19;
    --secondary: #FF8B6A;
    --navy: #1a1d2e;
    --navy-light: #252837;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gradient: linear-gradient(135deg, #FF6B4A 0%, #FF8B6A 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVBAR === */
.navbar {
    padding: 1rem 0;
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar.scrolled {
    background: var(--navy);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white) !important;
}
.logo-nav {
    height: 45px;
    margin-right: 0;
    filter: brightness(1.1);
}

.brand-text {
    display: none; /* Logo já contém o texto */
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

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

/* === BUTTONS === */
.btn-primary-custom {
    background: var(--gradient);
    border: none;
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4);
    color: var(--white);
}

.btn-primary-hero {
    background: var(--gradient);
    border: none;
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.5);
    color: var(--white);
}

.btn-outline-hero {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-outline-hero:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}
/* === HERO SECTION === */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, #252837 50%, #2d2d3a 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(255,107,74);stop-opacity:0.15" /><stop offset="100%" style="stop-color:rgb(255,139,106);stop-opacity:0.08" /></linearGradient></defs><rect fill="url(%23grad)" width="1200" height="600"/></svg>');
    opacity: 0.4;
    z-index: -1;
}

.hero-section .container {
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(255, 87, 34, 0.3));
    animation: float 6s ease-in-out infinite;
}

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

/* === SECTIONS === */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 100;
    background: var(--white);
}

#sobre,
#servicos,
#diferenciais,
#depoimentos,
#contato {
    scroll-margin-top: 80px;
    position: relative;
    z-index: 100;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* === FEATURE LIST === */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.feature-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-light);
    margin: 0;
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card.featured {
    background: linear-gradient(135deg, #FF5722 0%, #FF6B35 100%);
    color: var(--white);
}

.service-card.featured h4,
.service-card.featured p,
.service-card.featured .service-list li {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary);
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
}

.service-list i {
    color: var(--primary);
    font-size: 1rem;
}

/* === DIFERENCIAIS === */
.diferencial-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.diferencial-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.diferencial-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.diferencial-card p {
    color: var(--text-light);
    margin: 0;
}

/* === TESTIMONIALS === */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stars i {
    color: #FFD700;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h6 {
    margin: 0;
    font-weight: 600;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === CONTACT === */
.contact-info {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--text);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 87, 34, 0.1);
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-text-sm {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* === FLOATING ELEMENTS === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8); }
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-section {
        padding: 100px 0 50px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: space-around;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card,
    .diferencial-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .col, [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 0.95rem;
    }
    
    .logo-nav {
        height: 32px;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        border: none;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-section {
        padding: 85px 0 40px 0;
        align-items: flex-start;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-bottom: 2rem;
        gap: 0.8rem;
    }
    
    .btn-primary-hero,
    .btn-outline-hero {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.75rem);
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-padding .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    .service-card,
    .diferencial-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
    
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
    
    .scroll-to-top {
        bottom: 75px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }
    
    .col, [class*="col-"] {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .hero-section {
        padding: 80px 0 35px 0;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(33.333% - 0.67rem);
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .btn-primary-hero,
    .btn-outline-hero {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-padding .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.75rem;
    }
    
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 12px;
        right: 12px;
    }
    
    .scroll-to-top {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        bottom: 68px;
        right: 12px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
