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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2E7D32;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50, #81C784);
    border-radius: 2px;
}

/* PNAB Banner */
.pnab-banner {
    background: #FFFFFF;
    padding: 0;
    border-bottom: 2px solid #E0E0E0;
    margin-top: 70px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pnab-banner .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.pnab-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    padding: 1rem 0;
}

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

.nav-brand {
    flex-shrink: 0;
}

.nav-menu {
    flex-grow: 1;
    justify-content: flex-end;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E7D32;
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #4CAF50;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

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

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

.instagram-link {
    color: #333;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.instagram-link:hover {
    color: #E4405F;
    transform: scale(1.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1B5E20;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4A6741;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E7D32;
    font-weight: 500;
}

.feature i {
    font-size: 1.2rem;
    color: #4CAF50;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #FAFAFA;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.activities h3 {
    font-size: 1.5rem;
    color: #2E7D32;
    margin-bottom: 1.5rem;
}

.activity-list {
    display: grid;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-2px);
}

.activity-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-top: 0.2rem;
}

.activity-item h4 {
    font-size: 1.1rem;
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.activity-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.carousel {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.carousel-image:hover {
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(46, 125, 50, 0.7);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(46, 125, 50, 1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #2E7D32;
}

.dot:hover {
    background: #4CAF50;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Schedule Section */
.schedule {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
}

.schedule-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.schedule-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.schedule-grid {
    display: flex;
    justify-content: center;
}

.schedule-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 600px;
    width: 100%;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.schedule-header {
    text-align: center;
    margin-bottom: 2rem;
}

.schedule-header h3 {
    color: #2E7D32;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.schedule-dates {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.date-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 12px;
    min-width: 120px;
}

.date-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.date-value {
    font-size: 1.1rem;
    font-weight: 700;
}

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

.schedule-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.activities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.activity-tag {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #2E7D32;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

@media (max-width: 768px) {
    .schedule-dates {
        flex-direction: column;
        gap: 1rem;
    }
    
    .date-option {
        min-width: 100px;
    }
    
    .schedule-card {
        padding: 2rem;
    }
}

/* ODS Section */
.ods {
    padding: 6rem 0;
    background: #FAFAFA;
}

.ods-description {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.ods-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ods-item:hover {
    transform: translateY(-3px);
}

.ods-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: white;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info h3 {
    font-size: 2rem;
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.location-subtitle {
    font-size: 1.1rem;
    color: #8D6E63;
    margin-bottom: 2rem;
    font-style: italic;
}

.address {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #F8F8F8;
    border-radius: 12px;
}

.address i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-top: 0.2rem;
}

.address p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E7D32;
    font-weight: 500;
}

.feature-item i {
    color: #4CAF50;
}

.location-image {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.carousel-location {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-container-location {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image-location {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.carousel-image-location:hover {
    opacity: 0.9;
}

.prev-location {
    left: 10px;
}

.next-location {
    right: 10px;
}

.carousel-dots-location {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot-location {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot-location.active {
    background: #2E7D32;
}

.dot-location:hover {
    background: #4CAF50;
}

.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.maps-link:hover {
    background: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.maps-link i {
    font-size: 1.1rem;
}

/* Target Audience Section */
.target-audience {
    padding: 6rem 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #F1F8E9 100%);
}

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

.audience-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-3px);
}

.audience-card i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.audience-card h3 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.audience-card p {
    color: #555;
    line-height: 1.6;
}

.guidelines {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.guidelines h3 {
    text-align: center;
    color: #2E7D32;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.guideline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F8F8F8;
    border-radius: 12px;
    font-weight: 500;
    color: #2E7D32;
}

.guideline-item i {
    font-size: 1.5rem;
    color: #4CAF50;
}

/* Registration Section */
.registration {
    padding: 6rem 0;
    background: #FAFAFA;
}

.registration-methods h3 {
    text-align: center;
    color: #2E7D32;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.whatsapp-method {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.whatsapp-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.whatsapp-card:hover {
    transform: translateY(-3px);
}

.whatsapp-card i.fab.fa-whatsapp {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 1rem;
}

.whatsapp-card h4 {
    color: #2E7D32;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.whatsapp-card p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-link i {
    font-size: 1.2rem;
}

.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border-radius: 16px;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-cta {
    background: white;
    color: #25D366;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-cta:hover {
    background: #f5f5f5;
    color: #128C7E;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #F8F8F8;
    border-radius: 12px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4CAF50;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

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

.contact-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #1B5E20;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #81C784;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section h4 {
    color: #A5D6A7;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-realization {
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid #2E7D32;
    border-bottom: 1px solid #2E7D32;
    margin-bottom: 1.5rem;
    background: #C8E6C9;
}

.footer-realization h4 {
    color: #1B5E20;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.realization-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

@media (max-width: 1024px) {
    .realization-logo img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .realization-logos {
        gap: 1.5rem;
    }
    
    .realization-logo img {
        height: 70px;
    }
}

@media (max-width: 600px) {
    .footer-realization {
        padding: 1rem 0.5rem;
    }
    
    .realization-logo {
        padding: 0.3rem 0.2rem;
    }
    
    .realization-logos {
        gap: 0.5rem;
    }
    
    .realization-logo img {
        height: 65px;
    }
}

@media (max-width: 480px) {
    .footer-realization {
        padding: 1rem 0.3rem;
    }
    
    .realization-logo {
        padding: 0.3rem 0.1rem;
    }
    
    .realization-logos {
        gap: 0.3rem;
    }
    
    .realization-logo img {
        height: 55px;
    }
}

.realization-logo {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.realization-logo:hover {
    transform: translateY(-2px);
}

.realization-logo img {
    height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
    }
    
    .methods-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .guidelines-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .schedule-card,
    .audience-card,
    .method-card {
        margin: 0 10px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease;
}

.hero-image {
    animation-delay: 0.2s;
}

/* Smooth scrolling para navegação */
section {
    scroll-margin-top: 80px;
}


/* Correções específicas para Samsung Internet - Sem alterações no layout original */
@supports (-webkit-appearance: none) {
    /* Samsung Internet fix para imagens em flex containers */
    .featured-image-img {
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
        display: block;
    }
    
    /* Garantir que o carrossel funcione corretamente */
    .carousel-image {
        -webkit-flex-shrink: 0;
        flex-shrink: 0;
    }
}

/* Samsung Internet specific media query */
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    /* Fix para viewport em Samsung Internet */
    .about-images {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    /* Garantir que imagens responsivas funcionem */
    img {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
    }
    
    /* Fix para carrossel em Samsung Internet */
    .carousel {
        -webkit-flex-basis: 100%;
        flex-basis: 100%;
        width: 100%;
    }
    
    .carousel-container {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .carousel-image {
        display: block !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Esconder imagens do carrossel que não devem aparecer */
    .carousel-image[style*="display: none"] {
        display: none !important;
    }
}


/* Receitas da Vovó Section - NOVA VERSÃO (Lista e Galeria) */
.recipes {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f9f7 0%, #e8f5e9 100%);
}

.recipe-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.recipe-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.recipe-name {
    font-size: 2rem;
    text-align: center;
    color: #2E7D32;
    margin-bottom: 3rem;
    font-family: 'Poppins', sans-serif;
}

.recipe-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.recipe-steps-list h4 {
    color: #2E7D32;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid #e8f5e9;
    padding-bottom: 0.5rem;
}

.recipe-steps-list ul {
    list-style: none;
    padding: 0;
}

.recipe-steps-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    line-height: 1.5;
    color: #444;
}

.step-num {
    background: #2E7D32;
    color: white;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.recipe-gallery {
    position: sticky;
    top: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.gallery-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Lightbox para receitas */
#lightbox-recipe {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

#lightbox-recipe.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-recipe .lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

#lightbox-recipe .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
}

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

/* Responsividade para Receitas */
@media (max-width: 992px) {
    .recipe-content-grid {
        grid-template-columns: 1fr;
    }
    .recipe-gallery {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .recipe-section {
        padding: 1.5rem;
    }
    .gallery-img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .recipe-name {
        font-size: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-img {
        height: 250px;
    }
}
