/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400; line-height: 1.7;
    color: #2d2d2d; background: #ffffff;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700; line-height: 1.25; color: #1a1a2e;
}
h1 { font-size: 3.5rem; } h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; } h4 { font-size: 1.35rem; } h5 { font-size: 1.1rem; }
p { margin-bottom: 1rem; color: #555; }

.txt-white { color: #ffffff !important; }
.txt-burgundy { color: #7a1f1f !important; }
.txt-dark { color: #1a1a2e !important; }
.txt-gray { color: #888 !important; }
.txt-center { text-align: center; }

/* ===== CONTAINER ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; font-family: 'Inter', sans-serif; font-size: 0.9rem;
    font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    border: none; border-radius: 4px; cursor: pointer;
    transition: all 0.35s ease; text-decoration: none;
}
.btn-primary { background: #7a1f1f; color: #fff; }
.btn-primary:hover {
    background: #5a1515; color: #fff;
    transform: translateY(-2px); box-shadow: 0 4px 15px rgba(122,31,31,0.35);
}
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-burgundy-outline { background: transparent; color: #7a1f1f; border: 2px solid #7a1f1f; }
.btn-burgundy-outline:hover {
    background: #7a1f1f; color: #fff;
    transform: translateY(-2px); box-shadow: 0 4px 15px rgba(122,31,31,0.3);
}
.btn-sm { padding: 10px 24px; font-size: 0.8rem; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-dark { background: #1a1a2e; color: #fff; }
.section-dark p { color: rgba(255,255,255,0.8); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-light { background: #f8f7f4; }
.section-black { background: #0f0f1a; }
.section-black p { color: rgba(255,255,255,0.7); }
.section-black h2, .section-black h3, .section-black h4 { color: #fff; }

.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { margin-bottom: 16px; position: relative; display: inline-block; }
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: #7a1f1f; margin: 16px auto 0;
}
.section-title p { font-size: 1.1rem; color: #888; max-width: 600px; margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
    background: #0f0f1a; position: relative; z-index: 100;
    border-bottom: 1px solid rgba(122,31,31,0.3);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.site-logo {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: 1.6rem; font-weight: 700; color: #fff;
    letter-spacing: 2px; text-decoration: none; flex-shrink: 0;
}
.site-logo:hover { color: #7a1f1f; }
.header-attorney {
    font-family: 'Inter', sans-serif; font-size: 0.85rem;
    color: rgba(255,255,255,0.8); text-align: right;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 8px; padding: 14px 20px; }
    .header-attorney { text-align: center; font-size: 0.75rem; }
    .site-logo { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .header-inner { padding: 12px 16px; }
    .site-logo { font-size: 1.1rem; letter-spacing: 1px; }
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    background: url('https://silviolobo.com.br/images/euternomaior.jpg') center center / cover no-repeat;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,15,26,0.92) 30%, rgba(26,26,46,0.7) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 650px; }
.hero-badge {
    display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.8rem;
    font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #fff;
    border: 1px solid rgba(255,255,255,0.4); padding: 6px 18px; margin-bottom: 28px;
}
.hero-content h1 { font-size: 4rem; color: #fff; margin-bottom: 8px; line-height: 1.1; }
.hero-content .hero-subtitle {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem;
    font-style: italic; color: rgba(255,255,255,0.85); margin-bottom: 24px; font-weight: 400;
}
.hero-content .hero-desc {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    margin-bottom: 36px; line-height: 1.8; max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 992px) {
    .hero { min-height: 70vh; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content .hero-subtitle { font-size: 1.2rem; }
}
@media (max-width: 768px) {
    .hero { min-height: 60vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; text-align: center; }
}
@media (max-width: 480px) {
    .hero { min-height: 80vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.7rem; padding: 4px 14px; }
}

/* ===== PRACTICE AREAS ===== */
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.practice-card {
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    padding: 40px 28px; text-align: center; transition: all 0.4s ease;
}
.practice-card:hover {
    transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #7a1f1f;
}
.practice-icon { width: 64px; height: 64px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
.practice-icon img { width: 100%; height: 100%; object-fit: contain; }
.practice-card h4 {
    font-size: 1.1rem; margin-bottom: 12px; color: #1a1a2e;
    text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;
}
.practice-card p { font-size: 0.9rem; color: #777; line-height: 1.7; margin-bottom: 0; }

@media (max-width: 992px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .practice-grid { grid-template-columns: 1fr; } .practice-card { padding: 30px 20px; } }

/* ===== SPLIT LAYOUT ===== */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 550px; }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 80px 60px; }
.split-content h2 { margin-bottom: 20px; }
.split-content p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 24px; }
.split-image { background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 400px; }
.split-image-right { order: 2; }
.split-content-left { order: 1; }

@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; }
    .split-content { padding: 60px 40px; }
    .split-image { min-height: 350px; }
    .split-image-right { order: unset; }
    .split-content-left { order: unset; }
}
@media (max-width: 576px) { .split-content { padding: 40px 24px; } .split-image { min-height: 280px; } }

/* ===== ABOUT ===== */
.about-section {
    background: #7a1f1f; position: relative;
}
.about-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, #7a1f1f 0%, #5a1515 100%); z-index: 0;
}
.about-section .container { position: relative; z-index: 1; }
.about-section h2 { color: #fff; }
.about-section .section-title h2::after { background: #fff; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px; }
.about-item { display: flex; gap: 24px; align-items: flex-start; }
.about-marker {
    width: 50px; height: 50px; min-width: 50px; background: #1a1a2e;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.about-marker span { color: #fff; font-size: 1.3rem; font-weight: 700; font-family: 'Playfair Display', Georgia, serif; }
.about-item p { color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.7; margin-bottom: 0; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== VALUES ===== */
.values-section { background: #0f0f1a; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.quote-card { background: #fff; border-radius: 8px; padding: 50px 40px; position: relative; }
.quote-icon { margin-bottom: 20px; }
.quote-icon img { width: 48px; opacity: 0.6; }
.quote-text {
    font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem;
    line-height: 1.8; color: #666; font-style: italic; margin-bottom: 24px;
}
.quote-author { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: #1a1a2e; letter-spacing: 1px; }
.quote-author i { color: #7a1f1f; font-weight: 400; }
.values-card { padding: 40px; }
.values-card h2 { color: #fff; margin-bottom: 24px; }
.values-card > p { color: rgba(255,255,255,0.75); font-size: 1.1rem; line-height: 1.9; margin-bottom: 20px; }
.values-card .signature {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff; font-size: 1.1rem; font-style: italic; margin-top: 32px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
    .quote-card { padding: 36px 28px; }
    .quote-text { font-size: 1.2rem; }
    .values-card { padding: 0; }
}

/* ===== FLEXIBLE SERVICE ===== */
.service-section { background: #f0eee8; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 8px; overflow: hidden; }
.service-content { background: #fff; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; }
.service-content h3 { font-size: 2.2rem; margin-bottom: 20px; color: #1a1a2e; }
.service-content p { font-size: 1rem; line-height: 1.9; margin-bottom: 16px; color: #666; }
.service-image { min-height: 450px; background-size: cover; background-position: center; background-repeat: no-repeat; }

@media (max-width: 992px) { .service-grid { grid-template-columns: 1fr; } .service-content { padding: 40px 32px; } .service-image { min-height: 320px; } }
@media (max-width: 576px) { .service-content { padding: 32px 24px; } }

/* ===== MISSION ===== */
.mission-section { background: #1a1a2e; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mission-image { min-height: 500px; background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 8px; }
.mission-card { background: #fff; border-radius: 8px; padding: 50px 40px; }
.mission-card h2 { color: #1a1a2e; margin-bottom: 20px; }
.mission-card p { font-size: 1.2rem; line-height: 2; color: #666; font-family: 'Playfair Display', Georgia, serif; font-style: italic; margin-bottom: 20px; }
.mission-card .signature { font-family: 'Playfair Display', Georgia, serif; color: #7a1f1f; font-size: 1rem; font-weight: 600; font-style: normal; }

@media (max-width: 992px) { .mission-grid { grid-template-columns: 1fr; } .mission-image { min-height: 350px; } .mission-card { padding: 36px 28px; } }

/* ===== CONTACT ===== */
.contact-section { position: relative; }
.contact-section .bg-overlay { position: absolute; top: 0; left: 0; right: 0; height: 50%; background: #f8f7f4; z-index: 0; }
.contact-section .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-profile { text-align: center; }
.contact-profile img {
    width: 280px; height: 280px; object-fit: cover; border-radius: 50%;
    margin: 0 auto 16px; border: 4px solid #7a1f1f;
    cursor: pointer; transition: transform 0.4s ease;
}
.contact-profile img:hover { transform: scale(1.03); }
.contact-info { background: #1a1a2e; padding: 50px 40px; border-radius: 8px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon {
    width: 24px; height: 24px; min-width: 24px;
    background: rgba(122,31,31,0.25); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-top: 4px;
}
.contact-info-icon::before { content: ''; width: 8px; height: 8px; background: #7a1f1f; border-radius: 50%; }
.contact-info-item h5 { color: #fff; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.contact-info-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-profile img { width: 220px; height: 220px; }
    .contact-info { padding: 36px 28px; }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0f0f1a; padding: 40px 0 24px;
    border-top: 1px solid rgba(122,31,31,0.3);
}
.footer-content { text-align: center; }
.footer-content p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 8px; }
.footer-content a { color: rgba(255,255,255,0.8); }
.footer-content a:hover { color: #fff; text-decoration: underline; }
.footer-links { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.8rem; }
.footer-links a:hover { color: #fff; }