/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores principais */
    --primary-color: #2c5f7c;        /* Azul profundo */
    --secondary-color: #7ba7bc;       /* Azul claro */
    --accent-color: #955251;          /* Marsala */
    --light-accent: #b8706f;          /* Marsala claro */
    --background-light: #f8fafb;      /* Cinza muito claro */
    --background-white: #ffffff;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --border-light: #e2e8f0;
    --success-color: #48bb78;
    --warning-color: #ed8936;
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Bordas */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
}

/* Configurações globais */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Botões */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Header */
.site-header {
    background-color: var(--background-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: var(--text-dark);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand-logo {
    max-height: 64px;
    width: auto;
}

.nav-brand-text h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-color);
}

.nav-brand-text .tagline {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle span {
.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 28px;
    width: auto;
    display: block;
    object-fit: contain;
}
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    display: block;
    transform-origin: center;
}

/* Hero Section */
.hero {
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gradiente mais moderno */
.hero-gradient {
    background: linear-gradient(135deg, #2c5f7c 0%, #355f75 40%, #7ba7bc 100%);
}

/* Container central */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Conteúdo do Hero */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

/* Título do Hero */
.hero h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Subtítulo mais legível */
.hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.9); /* branco quase cheio */
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* sombra mais suave */
}

/* Botão no Hero */
.hero .btn-primary {
    background-color: var(--accent-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
}

.hero .btn-primary:hover {
    background-color: var(--light-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}


/* Authority Figure Section */
.authority-figure {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
    position: relative;
    overflow: hidden;
}

.authority-figure::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 95, 124, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.authority-figure::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(149, 82, 81, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.authority-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: var(--spacing-2xl);
}

.authority-image {
    position: relative;
}

.authority-image .thumbnail {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--background-white);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.authority-image .thumbnail:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.authority-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

.authority-description {
    max-width: 600px;
}

.authority-description h2 {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    position: relative;
}

.authority-description h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--light-accent) 100%);
    border-radius: 2px;
}

.authority-description p {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 400;
}

/* Sections */
.featured-posts, .all-posts, .featured-products {
    padding: var(--spacing-3xl) 0;
}

.featured-posts {
    background-color: var(--background-white);
}

.featured-products {
    background-color: var(--background-light);
}

.featured-posts h2, .all-posts h2, .featured-products h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--primary-color);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.post-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-image {
    height: 200px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--spacing-xl);
}

.post-content h3 {
    margin-bottom: var(--spacing-md);
}

.post-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.post-content h3 a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.read-more {
    color: var(--accent-color);
    font-weight: 500;
}

.read-more:hover {
    color: var(--light-accent);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.product-card {
    background-color: var(--background-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--background-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-content h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-size: var(--font-size-xl);
}

.product-description {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    flex: 1;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--accent-color);
}

.btn-small {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.post-item {
    display: flex;
    background-color: var(--background-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.post-item:hover {
    box-shadow: var(--shadow-md);
}

.post-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    padding: var(--spacing-xl);
    flex: 1;
}

.post-info h3 {
    margin-bottom: var(--spacing-md);
}

.post-info h3 a {
    color: var(--text-dark);
}

.post-info h3 a:hover {
    color: var(--primary-color);
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--light-accent) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: var(--spacing-lg);
}

.cta p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.795);
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
}

.footer-section p {
    color: #cbd5e0;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    color: #cbd5e0;
}

.contact-info i {
    margin-right: var(--spacing-sm);
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: var(--spacing-xl);
    text-align: center;
    color: #a0aec0;
}

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

/* Formulários */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.form-input, .form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Alertas */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-lg);
}

.alert-success {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #22543d;
}

.alert-error {
    background-color: #fed7d7;
    border: 1px solid #feb2b2;
    color: #742a2a;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--background-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--spacing-2xl);
        box-shadow: none;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        gap: var(--spacing-xl);
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 0;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.3s ease;
        transition-delay: 0.1s;
    }
    
    .nav-menu.active li {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    
    .nav-menu .nav-link {
        display: block;
        padding: var(--spacing-lg) var(--spacing-xl);
        border-radius: var(--border-radius-lg);
        transition: all 0.3s ease;
        font-size: var(--font-size-xl);
        font-weight: 600;
        color: var(--primary-color);
        text-align: center;
        min-width: 200px;
        border: 2px solid transparent;
    }
    
    .nav-menu .nav-link:hover {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10000;
        padding: var(--spacing-sm);
        border-radius: var(--border-radius-md);
        transition: all 0.3s ease;
    }
    
    .nav-toggle:hover {
        background-color: rgba(44, 95, 124, 0.1);
    }
    
    .nav-toggle span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--accent-color);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--accent-color);
    }
    
    .hero {
        min-height: 400px;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-with-banner {
        background-attachment: scroll;
        min-height: 70vh;
        height: 70vh;
    }
    
    .hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .post-item {
        flex-direction: column;
    }
    
    .post-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .authority-content {
        gap: var(--spacing-xl);
    }
    
    .authority-image .thumbnail {
        width: 180px;
        height: 180px;
    }
    
    .authority-description h2 {
        font-size: var(--font-size-2xl);
    }
    
    .authority-description p {
        font-size: var(--font-size-base);
    }
      
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-3xl: 2rem;
        --spacing-2xl: 1.5rem;
    }
    
    .hero {
        padding: var(--spacing-2xl) 0;
        min-height: 300px;
    }
    
    .hero-with-banner {
        min-height: 50vh;
        height: 50vh;
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-card {
        margin: 0 var(--spacing-sm);
    }
    
    .authority-figure {
        padding: var(--spacing-2xl) 0;
    }
    
    .authority-content {
        gap: var(--spacing-lg);
    }
    
    .authority-image .thumbnail {
        width: 150px;
        height: 150px;
    }
    
    .authority-description h2 {
        font-size: var(--font-size-xl);
    }
    
    .authority-description h2::after {
        width: 60px;
    }
    
    .authority-description p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }
}
