/* Telas E. Santos - Base Styles */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

h1 {
    font-size: var(--font-size-7xl);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--spacing-2xl);
}

h2 {
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xl);
}

h3 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-lg);
}

h4 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

h5 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

h6 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
}

/* Paragraph and Text Elements */
p {
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.lead {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-relaxed);
    color: var(--text-muted);
    margin-bottom: var(--spacing-2xl);
}

.text-accent {
    color: var(--accent-primary);
}

.text-bold {
    font-weight: var(--font-weight-bold);
}

.text-semibold {
    font-weight: var(--font-weight-semibold);
}

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

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

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

/* Links */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-hover);
}

/* Lists */
ul, ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-2xl);
}

li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

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

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-3xl);
}

/* Mobile-optimized containers */
@media (max-width: 767px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .container-fluid {
        padding: 0 var(--spacing-lg);
    }
    
    body {
        font-size: var(--font-size-base);
        line-height: var(--line-height-relaxed);
    }
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Selection */
::selection {
    background-color: var(--accent-primary);
    color: var(--color-white);
}

::-moz-selection {
    background-color: var(--accent-primary);
    color: var(--color-white);
}

/* Scrollbar Styling - Hidden */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* Focus Styles */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Touch-friendly tap targets for mobile */
@media (max-width: 767px) {
    button, 
    a, 
    input, 
    textarea, 
    select {
        min-height: 44px;
        min-width: 44px;
    }
    
    .product-menu-item {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .hero-cta,
    .product-cta {
        min-height: 56px;
        touch-action: manipulation;
    }
}

/* Enhanced Mobile Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-5xl);
        line-height: 1.1;
        margin-bottom: var(--spacing-lg);
    }
    
    h2 {
        font-size: var(--font-size-4xl);
        line-height: 1.2;
        margin-bottom: var(--spacing-lg);
    }
    
    h3 {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
        margin-bottom: var(--spacing-md);
    }
    
    h4 {
        font-size: var(--font-size-2xl);
        line-height: 1.3;
    }
    
    h5 {
        font-size: var(--font-size-xl);
        line-height: 1.3;
    }
    
    h6 {
        font-size: var(--font-size-lg);
        line-height: 1.4;
    }
    
    p {
        font-size: var(--font-size-base);
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--spacing-lg);
    }
    
    .lead {
        font-size: var(--font-size-lg);
        line-height: var(--line-height-relaxed);
    }
    
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: var(--font-size-4xl);
        line-height: 1.1;
    }
    
    h2 {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
    }
    
    h3 {
        font-size: var(--font-size-2xl);
        line-height: 1.2;
    }
    
    p {
        font-size: var(--font-size-base);
        line-height: 1.6;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .container-fluid {
        padding: 0 var(--spacing-md);
    }
}