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

:root {
    --primary-color: #2c5530;
    --accent-color: #4a7c59;
    --accent-bright: #6b9f7a;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    /* Tipografias seguras */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    --font-monospace: 'Courier New', Courier, monospace;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
    padding: 0.5rem;
}

.menu-toggle:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.menu-toggle.active {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease;
}

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

/* Page Header */
.page-header {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* Receitas Grid */
.receitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Receita Cards - 3 Estilos Diferentes */
.receita-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.receita-card-style-1 {
    box-shadow: var(--shadow);
}

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

.receita-card-style-2 {
    border: 2px solid var(--border-color);
}

.receita-card-style-2:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.receita-card-style-3 {
    /* Sem sombra, sem borda - estilo minimalista */
}

.receita-card-style-3:hover {
    transform: scale(1.02);
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.receita-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.receita-content {
    padding: 1.5rem;
}

.receita-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.receita-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.receita-calorias,
.receita-tempo,
.receita-porcoes {
    display: inline-block;
}

.receita-descricao {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Botão Accent */
.btn-accent {
    display: inline-block;
    background-color: var(--accent-bright);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-accent:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-accent:active {
    transform: translateY(0);
}

/* Receita Full Page */
.receitas-section {
    padding: 3rem 0;
}

.receita-full {
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.receita-full-header {
    margin-bottom: 1.5rem;
}

.receita-full-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.receita-full-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.receita-full-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.receita-full-content h3:first-of-type {
    margin-top: 0;
}

.ingredientes-list,
.passos-list,
.dicas-list,
.sustentabilidade-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.ingredientes-list li,
.passos-list li,
.dicas-list li,
.sustentabilidade-list li {
    margin-bottom: 0.5rem;
}

.passos-list {
    list-style-type: decimal;
}

/* Beneficios Section */
.beneficios-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.beneficio-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-5px);
}

.beneficio-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
}

.content-article h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-article h2:first-of-type {
    margin-top: 0;
}

.content-article h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-article p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-article ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.content-article ul li {
    margin-bottom: 0.5rem;
}

.content-article a {
    color: var(--accent-color);
    text-decoration: none;
}

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

/* Contact Form */
.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-bright);
    text-decoration: underline;
}

.contact-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.contact-form-wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Voltar ao Topo Button */
.voltar-topo {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--accent-bright);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow);
}

.voltar-topo.visible {
    opacity: 1;
    visibility: visible;
}

.voltar-topo:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        max-height: 0;
        overflow: hidden;
        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        max-height: 500px;
        display: flex;
    }

    .nav-menu li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: 0s;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.35s;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .receitas-grid {
        grid-template-columns: 1fr;
    }

    .voltar-topo {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

