/* ==========================================================================
   STYLE SYSTEM - DR. LUCAS OLIVEIRA LANDING PAGE
   Aesthetics: Luxury Navy Slate & Champagne Gold (Conversion Focused)
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');

/* Variables */
:root {
    --navy-deep: #070B14;
    --navy-medium: #0E1624;
    --navy-light: #162236;
    --navy-card: #121C2E;
    
    --gold-primary: #C5A059;
    --gold-bright: #E5C483;
    --gold-dark: #9A7737;
    --gold-glow: rgba(197, 160, 89, 0.2);
    
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dimmed: #64748B;
    
    --accent-red: #F87171;
    --accent-red-bg: rgba(248, 113, 113, 0.04);
    --accent-red-border: rgba(248, 113, 113, 0.25);
    
    --accent-green: #10B981;
    --accent-green-bg: rgba(16, 185, 129, 0.04);
    --accent-green-border: rgba(16, 185, 129, 0.25);
    
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    
    --font-title: 'Sora', sans-serif;
    --font-body: 'Sora', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --max-width: 1200px;
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy-deep);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-light);
}

p {
    color: var(--text-muted);
    font-family: var(--font-body);
}

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

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

/* Utility Layouts */
.section {
    padding: 6.5rem 1.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 1rem;
    }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

/* Buttons and CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    gap: 0.75rem;
}

.btn-primary {
    background-color: var(--gold-primary);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background-color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* Header & Navigation */
.header {
    background-color: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 4px;
}

.header-contact-link {
    color: var(--gold-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
}

.header-contact-link:hover {
    color: var(--navy-deep);
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at 70% 30%, rgba(19, 34, 60, 0.4) 0%, rgba(7, 11, 20, 1) 70%);
    padding: 5rem 1.5rem 6.5rem 1.5rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    color: var(--gold-primary);
    border: 1px solid rgba(197, 160, 89, 0.2);
    background-color: rgba(197, 160, 89, 0.05);
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--gold-primary);
    display: block;
}

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

.hero-image-container {
    position: relative;
    justify-self: center;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(197, 160, 89, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 50px rgba(197, 160, 89, 0.25);
}

.hero-lawyer-img {
    width: 380px;
    height: 480px;
    object-position: center 15%;
}

.hero-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background-color: var(--navy-medium);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.hero-badge-title {
    font-family: var(--font-title);
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.hero-badge-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-image-wrapper {
        transform: none;
    }
    
    .hero-image-wrapper:hover {
        transform: translateY(-5px);
    }
    
    .hero-lawyer-img {
        width: 320px;
        height: 400px;
    }
}

/* Comparative Section: Risks vs Benefits */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

.comparison-card {
    border-radius: var(--border-radius-md);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
}

.comparison-card-risks {
    background: linear-gradient(145deg, var(--navy-medium), var(--accent-red-bg));
    border-color: var(--accent-red-border);
}

.comparison-card-benefits {
    background: linear-gradient(145deg, var(--navy-medium), var(--accent-green-bg));
    border-color: var(--accent-green-border);
}

.comp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comp-icon {
    font-size: 2rem;
}

.comp-card-title {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.comp-marker {
    font-size: 1.1rem;
    line-height: 1.5rem;
}

.comp-item-title {
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.comp-item-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comparison-card {
        padding: 2rem;
    }
    
    .comp-card-title {
        font-size: 1.5rem;
    }
}

/* Practice Areas Section */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

@media (max-width: 350px) {
    .practice-grid {
        grid-template-columns: 1fr;
    }
}

.practice-card {
    background-color: var(--navy-card);
    border: 1px solid rgba(197, 160, 89, 0.08);
    border-radius: var(--border-radius-md);
    padding: 2.5rem 2.2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.practice-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(197, 160, 89, 0.05);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

.practice-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 89, 0.08);
    border-radius: var(--border-radius-sm);
    color: var(--gold-primary);
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(197, 160, 89, 0.15);
}

.practice-card:hover .practice-icon-box {
    background-color: var(--gold-primary);
    color: var(--navy-deep);
    transform: scale(1.05);
}

.practice-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.practice-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: var(--navy-medium);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
}

.about-image-container {
    position: relative;
    justify-self: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 25px 45px rgba(197, 160, 89, 0.15);
}

.about-lawyer-img {
    width: 380px;
    height: 480px;
    object-position: center 10%;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.about-badge-content {
    font-size: 2.2rem;
}

.about-tag {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-signature {
    margin-top: 2rem;
    border-top: 1px solid rgba(197, 160, 89, 0.15);
    padding-top: 1.5rem;
}

.sig-name {
    font-family: var(--font-title);
    color: var(--gold-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sig-title {
    font-size: 0.78rem;
    color: var(--text-dimmed);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image-container {
        order: 2;
    }
    
    .about-lawyer-img {
        width: 320px;
        height: 400px;
    }
}

/* Contact Section */
.contact {
    background: radial-gradient(circle at 10% 80%, rgba(19, 34, 60, 0.3) 0%, rgba(7, 11, 20, 1) 60%);
}

.contact-card {
    background-color: var(--navy-card);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 4rem 3.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.03) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.contact-info {
    z-index: 2;
}

.contact-action-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    z-index: 2;
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

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

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

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(197, 160, 89, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.15);
    color: var(--gold-primary);
    font-size: 1.2rem;
    border-radius: var(--border-radius-sm);
}

.detail-content .detail-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dimmed);
}

.detail-content .detail-value {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.detail-content a.detail-value:hover {
    color: var(--gold-primary);
}

.btn-whatsapp-pulse {
    position: relative;
}

.btn-whatsapp-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--whatsapp-color);
    top: 0;
    left: 0;
    transform: scale(1);
    opacity: 1;
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}

.cta-explanation {
    font-size: 0.8rem;
    color: var(--text-dimmed);
    text-align: center;
}

@media (max-width: 991px) {
    .contact-card {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 2.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-floating::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--whatsapp-color);
    top: 0;
    left: 0;
    z-index: -1;
    animation: floating-pulse 2s infinite;
}

.whatsapp-floating:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--navy-medium);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes floating-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    .whatsapp-tooltip {
        display: none; /* Hide tooltip on small screens */
    }
}

/* Footer Section */
.footer {
    background-color: #04070D;
    padding: 4.5rem 1.5rem 2.5rem 1.5rem;
    border-top: 1px solid rgba(197, 160, 89, 0.06);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.footer-logo-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.footer-logo-desc {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dimmed);
}

.footer-contact-details {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-item span {
    color: var(--gold-primary);
    font-weight: 600;
    margin-right: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal-note {
    font-size: 0.75rem;
    color: var(--text-dimmed);
    max-width: 600px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--gold-primary);
}

.footer-copyright {
    font-size: 0.72rem;
    color: var(--text-dimmed);
    margin-top: 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.04);
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .footer-contact-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Animations Scroll Reveal Utility classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
