/* -------------------------------------------------------------
   VAUDEIR ALVES - ADVOGADO - DESIGN SYSTEM & STYLESHEET
   ------------------------------------------------------------- */

/* Custom Reset & Variables */
:root {
    --bg-primary: #f7f8fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --color-text-primary: #2d3748;
    --color-text-secondary: #5a6578;
    --color-copper: #e2915e;
    --color-copper-hover: #cc7d49;
    --color-copper-dark: #b86933;
    --color-silver: #cbd5e0;
    --color-border: #e2e8f0;
    --color-error: #e53e3e;
    --color-success: #38a169;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --copper-gradient: linear-gradient(135deg, #f0af85 0%, #e2915e 50%, #b86933 100%);
    --light-gradient: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

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

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--color-copper);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 2px;
    background-color: var(--color-copper);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--copper-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(226, 145, 94, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 145, 94, 0.4);
    background: linear-gradient(135deg, #f5c4a5 0%, #e2915e 50%, #a15523 100%);
}

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

.btn-outline:hover {
    background: rgba(226, 145, 94, 0.05);
    color: var(--color-copper-hover);
    border-color: var(--color-copper-hover);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

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

.logo-area {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-horizontal {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-copper);
}

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

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

.nav-menu .btn-cta {
    border: 1.5px solid var(--color-copper);
    color: var(--color-copper);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    background: transparent;
}

.nav-menu .btn-cta:hover {
    background: var(--copper-gradient);
    color: #ffffff;
    border-color: transparent;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(247, 248, 250, 0.96) 0%, rgba(255, 255, 255, 0.88) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-tag {
    display: inline-block;
    color: var(--color-copper);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-copper);
    padding-bottom: 0.25rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

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

.hero-lead {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about-section {
    padding: 7rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.about-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.feature-icon {
    font-size: 1.5rem;
    color: var(--color-copper);
    background: rgba(226, 145, 94, 0.08);
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 145, 94, 0.15);
}

.feature-item h3 {
    font-size: 1.15rem;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.about-visual-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.experience-card {
    background: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.experience-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    box-shadow: 0 15px 40px rgba(226,145,94,0.12);
    border-color: rgba(226, 145, 94, 0.3);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--color-copper);
    line-height: 1;
    margin-bottom: 1rem;
    background: var(--copper-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.exp-text {
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.05rem;
}

.shield-watermark-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0.08;
}

.logo-watermark {
    max-width: 75%;
    object-fit: contain;
}

/* Services Section */
.services-section {
    padding: 7rem 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--color-border);
}

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

.service-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--color-border);
    padding: 3rem 2.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-copper);
    box-shadow: 0 12px 25px rgba(226, 145, 94, 0.08);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--color-copper);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(226, 145, 94, 0.08) 0%, rgba(226, 145, 94, 0) 100%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 2px solid var(--color-copper);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-secondary);
    font-size: 0.98rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    color: var(--color-copper);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.service-link:hover {
    color: var(--color-copper-hover);
    gap: 0.75rem;
}

/* Contact Section */
.contact-section {
    padding: 7rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-intro {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.detail-icon {
    font-size: 1.3rem;
    color: var(--color-copper);
    background: rgba(226, 145, 94, 0.05);
    width: 3rem;
    height: 3rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.contact-detail-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 0.15rem;
}

.contact-detail-item p, .contact-detail-item a {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.contact-detail-item a:hover {
    color: var(--color-copper);
}

/* Form Styling */
.form-wrapper {
    background-color: var(--bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.form-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-sub {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

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

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

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 0.8rem 1rem;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-copper);
    box-shadow: 0 0 0 2px rgba(226, 145, 94, 0.12);
}

textarea {
    resize: none;
}

.error-message {
    display: none;
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--color-error);
}

.form-group.invalid .error-message {
    display: block;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(56, 161, 105, 0.1);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.form-status.error {
    display: block;
    background-color: rgba(229, 62, 98, 0.1);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

/* Footer Section */
.main-footer {
    padding: 5rem 0 3rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--color-text-secondary);
    background-color: var(--bg-primary);
    border: 1px solid var(--color-border);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: #ffffff;
    background: var(--copper-gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-divider {
    border: 0;
    height: 1px;
    background-color: var(--color-border);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--color-copper);
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ------------------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: var(--transition-smooth);
        padding: 3rem 2rem;
        border-top: 1px solid var(--color-border);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
    }
    
    .nav-menu .btn-cta {
        display: inline-block;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    /* Hero */
    .hero-section {
        min-height: auto;
        padding: 150px 0 80px 0;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    /* Sections */
    .about-section, .services-section, .contact-section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual-column {
        order: -1;
        padding: 0 0 2rem 0;
    }
    
    .experience-card {
        max-width: 100%;
        transform: none !important;
    }
    
    /* Contact */
    .form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Floating WhatsApp Button Styling */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

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