/* 
   Jefferson Adam Advogados - Design System 
   Theme: Minimalist, Professional, Authority
   Palette: Black, White, Neutral Greys, Subtle Gold
*/

:root {
    /* Color Palette - Minimalist */
    --color-primary: #111111;
    /* Almost Black */
    --color-secondary: #D4AF37;
    /* Classic Gold */
    --color-accent: #F5F5F5;
    /* Light Grey/Off-White */
    --color-text-main: #222222;
    /* Dark Grey */
    --color-text-light: #666666;
    /* Medium Grey */
    --color-white: #FFFFFF;
    --color-bg-light: #FAFAFA;
    /* Very Light Grey */
    --color-whatsapp: #25D366;
    /* WhatsApp Green */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    /* Increased whitespace for minimalist feel */

    /* Transitions */
    --transition-standard: all 0.3s ease;

    /* Shadows - softer */
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.8;
    /* Increased line-height for elegance */
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    /* Authority style */
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1100px;
    /* Slightly narrower for reading focus */
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    /* Sharp edges for minimalism */
    cursor: pointer;
    transition: var(--transition-standard);
    font-size: 0.85rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

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

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    border: 1px solid var(--color-whatsapp);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

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

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

/* Header */
.header {
    background-color: var(--color-white);
    /* White header */
    color: var(--color-primary);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-primary);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    height: calc(100vh - 60px);
    min-height: 500px;
    background: url('banner.png');
    background-color: #ffffff;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    font-weight: 700;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Profile / Quem Sou Eu */
.profile-section {
    background-color: var(--color-bg-light);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.profile-img-container {
    position: relative;
}

.profile-img {
    filter: grayscale(100%);
    box-shadow: var(--shadow-card);
}

.profile-quote {
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin: var(--spacing-md) 0;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
}

/* About - Modern Card Layout */
.about {
    background-color: var(--color-bg-light);
}

.about .section-title {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.about-intro p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-standard);
    box-shadow: var(--shadow-card);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #666666;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.about-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-centered h2 {
    text-align: center;
}

.about-content-centered ul {
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-img {
    filter: grayscale(100%);
    /* Black and white image style */
    transition: var(--transition-standard);
}

.about-img:hover {
    filter: grayscale(0%);
}

/* Services - Clean Grid */
.services {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: var(--spacing-xs) auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px 30px;
    border: 1px solid #eee;
    /* Minimal border instead of heavy shadow */
    transition: var(--transition-standard);
}

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

.service-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Contact Section */
.contact {
    background-color: var(--color-primary);
    /* Dark bg */
    color: var(--color-white);
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3,
.contact-info h4 {
    color: var(--color-white);
}

.contact-info p {
    color: #bdbdbd;
}

/* Footer */
.footer {
    background-color: #000;
    color: #555;
    padding: 40px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-standard);
    }

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

    .nav-menu.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        height: 60vh;
        min-height: 300px;
        background-size: 90%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 0 20px;
    }
}

/* Extra small screens - smaller fonts */
@media (max-width: 500px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.75rem;
        padding: 12px 30px;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1rem;
    }
}