/*
Theme Name: Fauna Urbana
Description: Tema customizado para a Fauna Urbana - Educação Ambiental
Version: 2.0
Author: Fauna Urbana
Text Domain: fauna-urbana
*/

/* ===== RESET E BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ===== VARIÁVEIS CSS ===== */
:root {
    /* Cores */
    --primary: #4C6F55;
    --primary-light: #6E947F;
    --primary-dark: #2d4a3a;
    --secondary: #B2C9B8;
    --accent: #7C9883;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Tipografia */
    --font-title: 'Bungee', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Roboto Condensed', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Tamanhos de fonte */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    --text-7xl: 4.5rem;    /* 72px */
    --text-8xl: 6rem;      /* 96px */
    --text-9xl: 8rem;      /* 128px */
    
    /* Espaçamentos */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    
    /* Border radius */
    --radius-sm: 0.25rem;  /* 4px */
    --radius: 0.5rem;      /* 8px */
    --radius-md: 0.75rem;  /* 12px */
    --radius-lg: 1rem;     /* 16px */
    --radius-xl: 1.5rem;   /* 24px */
    --radius-2xl: 2rem;    /* 32px */
    --radius-3xl: 3rem;    /* 48px */
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 400;
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

h5 {
    font-size: var(--text-lg);
}

h6 {
    font-size: var(--text-base);
}

p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-4);
}

/* ===== LINKS E BOTÕES ===== */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
    text-decoration: none;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* ===== CONTAINER E LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.custom-logo-link {
    display: block;
    transition: var(--transition);
}

.custom-logo-link:hover {
    transform: scale(1.05);
}

.custom-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.site-title {
    font-family: var(--font-title);
    font-size: var(--text-2xl);
    color: var(--primary);
    margin: 0;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-description {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

/* ===== NAVEGAÇÃO ===== */
.main-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-8);
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a {
    color: var(--primary);
    background-color: var(--gray-100);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.toggled .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.toggled .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.toggled .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsividade do Header */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-navigation.toggled {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 0;
        padding: var(--space-4);
    }
    
    .primary-menu li {
        border-bottom: 1px solid var(--gray-200);
    }
    
    .primary-menu li:last-child {
        border-bottom: none;
    }
    
    .primary-menu a {
        padding: var(--space-4);
        border-radius: 0;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../public/images/textura_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

.hero-text {
    text-align: center;
    color: var(--white);
}

.hero-text h1 {
    font-size: var(--text-5xl);
    color: var(--white);
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.hero-text h1 span {
    color: var(--secondary);
    display: block;
}

.hero-text p {
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: var(--space-8);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* Responsividade do Hero */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: var(--text-7xl);
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-text h1 {
        font-size: var(--text-4xl);
    }
    
    .hero-text p {
        font-size: var(--text-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== SEÇÕES ===== */
.section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ANIMALS SECTION ===== */
.animals-section {
    background-color: var(--gray-50);
}
.post-summary {
    padding: var(--space-6);
}
.animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.animal-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.animal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.animal-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.animal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.animal-title {
    font-size: var(--text-xl);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.animal-species {
    font-size: var(--text-sm);
    color: var(--primary);
    font-style: italic;
    margin-bottom: var(--space-3);
}

.animal-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.animal-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

.animal-link:hover {
    text-decoration: underline;
}

/* ===== SERVIÇOS ===== */

.palestras-hero .hero-content,
.cursos-hero .hero-content,
.oficinas-hero .hero-content,
.atividades-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.palestras-hero .hero-text,
.cursos-hero .hero-text,
.oficinas-hero .hero-text,
.atividades-hero .hero-text {
    flex: 1;
    background-color: var(--primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    color: var(--white);
    max-width: 800px;
}

.palestras-hero .hero-text h1,
.cursos-hero .hero-text h1,
.oficinas-hero .hero-text h1,
.atividades-hero .hero-text h1 {
    font-family: var(--font-title);
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
    color: var(--white);
}

.palestras-hero .hero-description,
.cursos-hero .hero-description,
.oficinas-hero .hero-description,
.atividades-hero .hero-description {
    font-size: var(--text-lg);
    color: var(--white);
    line-height: 1.7;
}

.palestras-hero .hero-description p,
.cursos-hero .hero-description p,
.oficinas-hero .hero-description p,
.atividades-hero .hero-description p {
    color: var(--white);
    margin-bottom: 0;
    max-width: 100%;
}

.palestras-section,
.cursos-section,
.oficinas-section,
.atividades-section {
    padding: var(--space-16) 0;
    background-color: var(--gray-50);
}

.palestras-grid,
.cursos-grid,
.oficinas-grid,
.atividades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.palestra-item,
.curso-item,
.oficina-item,
.atividade-item {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.palestra-item:hover,
.curso-item:hover,
.oficina-item:hover,
.atividade-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.palestra-item:hover .palestra-link,
.curso-item:hover .curso-link,
.oficina-item:hover .oficina-link,
.atividade-item:hover .atividade-link {
    transform: none;
}

.palestra-image,
.curso-image,
.oficina-image,
.atividade-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.palestra-image img,
.curso-image img,
.oficina-image img,
.atividade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}



.palestra-title,
.curso-title,
.oficina-title,
.atividade-title {
    font-size: var(--text-xl);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.palestra-link,
.curso-link,
.oficina-link,
.atividade-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease;
}

.palestra-link:hover,
.curso-link:hover,
.oficina-link:hover,
.atividade-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.palestra-title,
.curso-title,
.oficina-title,
.atividade-title {
    font-size: var(--text-xl);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.palestra-excerpt,
.curso-excerpt,
.oficina-excerpt,
.atividade-excerpt {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-4xl);
}





/* ===== FOOTER ===== */
.site-footer {
    background-color: var(--white);
    color: var(--primary);
    padding: var(--space-16) 0 var(--space-8);
}

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

.footer-section h3 {
    font-family: var(--font-title);
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.contact-info p {
    color: var(--primary);
    opacity: 0.9;
    margin-bottom: var(--space-2);
}

.contact-info a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: var(--space-2);
}

.footer-menu a {
    color: var(--primary);
    opacity: 0.9;
    text-decoration: none;
    transition: var(--transition);
}

.footer-menu a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    text-align: center;
}

.footer-bottom p {
    color: var(--primary);
    opacity: 0.8;
    margin: 0;
}

/* ===== TEMPLATES ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin: var(--space-12) 0;
}

.post-item {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.post-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: var(--space-6);
}

.entry-title {
    font-family: var(--font-title);
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.entry-title a {
    color: var(--gray-900);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--primary);
}

.entry-meta {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-4);
}

.entry-summary {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
}

.single-post .entry-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.single-post .entry-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.single-post .entry-meta {
    color: var(--gray-500);
    font-size: var(--text-base);
}

.single-post .post-thumbnail {
    margin-bottom: var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.single-post .entry-content {
    line-height: 1.8;
    font-size: var(--text-lg);
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
    font-family: var(--font-title);
    margin: var(--space-8) 0 var(--space-4);
    color: var(--gray-900);
}

/* Page Content */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-4);
}

.page-content .entry-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.page-content .entry-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.page-content .page-thumbnail {
    margin-bottom: var(--space-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.page-content .entry-content {
    line-height: 1.8;
    font-size: var(--text-lg);
}

/* Contact Section */
.contact-section {
    background: var(--primary-dark, #1a5f4a);
    padding: var(--space-12) 0;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.contact-title {
    color: white;
    margin-bottom: var(--space-4);
}

.contact-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-8);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
    position: relative;
    margin-top: -60px;
}

.contact-card {
    position: relative;
    padding-top: 50px;
    text-align: center;
}

.contact-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark, #1a5f4a);
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 3px solid var(--primary-dark, #1a5f4a);
}

.contact-card-title {
    margin: 0 0 var(--space-4) 0;
    color: var(--gray-900);
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: var(--space-4);
}

.contact-card-content {
    color: var(--gray-700);
    font-size: var(--text-lg);
    line-height: 1.6;
}

.contact-card-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-card-content a:hover {
    text-decoration: underline;
}

.contact-social {
    text-align: center;
    margin-top: var(--space-12);
}

.contact-social-title {
    margin: 0 0 var(--space-6) 0;
    color: var(--gray-900);
    font-size: var(--text-lg);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-social-links {
    justify-content: center;
    gap: var(--space-4);
}

.contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.contact-social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .contact-card {
        margin-top: 30px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        top: -30px;
    }
    
    .contact-container {
        padding: var(--space-8);
    }
}

/* ===== UTILITÁRIOS ===== */
.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;
}

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVIDADE GERAL ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: var(--text-4xl);
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: var(--text-3xl);
    }
    
    .hero-text p {
        font-size: var(--text-base);
    }
    
    .section {
        padding: var(--space-12) 0;
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    

    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero-content {
        padding: var(--space-6) var(--space-3);
    }
    
    .hero-text h1 {
        font-size: var(--text-2xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --primary-light: #333333;
        --gray-700: #000000;
        --gray-600: #333333;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --gray-50: #2a2a2a;
        --gray-100: #3a3a3a;
        --gray-200: #4a4a4a;
        --gray-300: #5a5a5a;
        --gray-400: #6a6a6a;
        --gray-500: #7a7a7a;
        --gray-600: #8a8a8a;
        --gray-700: #9a9a9a;
        --gray-800: #aaaaaa;
        --gray-900: #ffffff;
    }
}

/* ===== PÁGINAS SINGLE DE SERVIÇOS ===== */

/* Estilos para páginas single de serviços */

.palestra-details,
.curso-details,
.oficina-details,
.atividade-details {
    max-width: 800px;
    margin: 0 auto;
}

.palestra-details-sections,
.curso-details-sections,
.oficina-details-sections,
.atividade-details-sections {
    margin-top: var(--space-12);
    display: grid;
    gap: var(--space-8);
}

.palestra-section,
.curso-section,
.oficina-section,
.atividade-section {
    background-color: var(--white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}

.palestra-section h3,
.curso-section h3,
.oficina-section h3,
.atividade-section h3 {
    color: var(--primary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.palestra-section p,
.curso-section p,
.oficina-section p,
.atividade-section p {
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Navegação entre posts */
.palestra-navigation,
.curso-navigation,
.oficina-navigation,
.atividade-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background-color: var(--gray-50);
    border-radius: var(--radius-lg);
}

.nav-previous a,
.nav-next a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--primary-dark);
}

/* Botão voltar */
.back-to-palestras,
.back-to-cursos,
.back-to-oficinas,
.back-to-atividades {
    text-align: center;
    margin-top: var(--space-8);
    padding-bottom: var(--space-8);
}

.back-to-palestras .btn,
.back-to-cursos .btn,
.back-to-oficinas .btn,
.back-to-atividades .btn {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.back-to-palestras .btn:hover,
.back-to-cursos .btn:hover,
.back-to-oficinas .btn:hover,
.back-to-atividades .btn:hover {
    background-color: var(--primary-dark);
}

/* ===== RESPONSIVIDADE PARA PÁGINAS DE ARQUIVO ===== */
@media (max-width: 768px) {
    .palestras-hero .hero-text h1,
    .cursos-hero .hero-text h1,
    .oficinas-hero .hero-text h1,
    .atividades-hero .hero-text h1 {
        font-size: var(--text-3xl);
    }
    
    .palestras-grid,
    .cursos-grid,
    .oficinas-grid,
    .atividades-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .palestra-content,
    .curso-content,
    .oficina-content,
    .atividade-content {
        padding: 1rem;
    }
    
    /* Responsividade para páginas single */
    .palestra-navigation,
    .curso-navigation,
    .oficina-navigation,
    .atividade-navigation {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .palestra-details-sections,
    .curso-details-sections,
    .oficina-details-sections,
    .atividade-details-sections {
        grid-template-columns: 1fr;
    }
    
    .palestra-section,
    .curso-section,
    .oficina-section,
    .atividade-section {
        padding: var(--space-4);
    }
}

/* ===== ESTILOS PARA PÁGINA DE CONTATO ===== */

/* Hero Section Contato */
.contato-hero {
    background-image: url('../public/images/textura_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: var(--space-16) 0;
    margin-bottom: var(--space-16);
}

.contato-hero .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contato-hero .hero-text {
    flex: 1;
    background-color: var(--primary);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    color: var(--white);
    max-width: 600px;
}

.contato-hero .hero-text h1 {
    font-family: var(--font-title);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
    color: var(--white);
}

.contato-hero .hero-text h1 span {
    color: var(--secondary);
    font-size: var(--text-5xl);
    display: block;
}

.contato-hero .hero-description {
    font-size: var(--text-lg);
    color: var(--white);
    line-height: 1.7;
}

.contato-hero .hero-description p {
    color: var(--white);
    margin-bottom: 0;
}

/* Responsividade para Contato */
@media (max-width: 768px) {
    .contato-hero .hero-text h1 {
        font-size: var(--text-3xl);
    }
    
    .contato-hero .hero-text h1 span {
        font-size: var(--text-4xl);
    }
} 